appendStageComponent
Appends a stage component to the mangled name.
Appends "::component" or ".component", depending on the context.
Throws
if the previous token is not a stage type or component identifier.
if the string representation of the component contains an ISO control character or a double-quotation character (").