appendStageComponents
Appends stage components to the mangled name.
Appends "::component1.component2.component3" or ".component1.component2.component3", depending on the context.
Invoking this method will cause the parser to enter "stage component context", meaning that no more stages or nested stages can be appended.
Throws
if:
The previous token is not a stage type or component identifier.
The components contains an ISO control character or a double-quotation character (
").