internal SymbolReference CreateSymbolReference(CodeElementsParser.SymbolReference5Context context, SymbolType symbolType)
 {
     AlphanumericValue nameLiteral = CreateAlphanumericValue(context.alphanumericValue5());
     var symbolReference = new SymbolReference(nameLiteral, symbolType);
     symbolInformationForTokens[nameLiteral.Token] = symbolReference;
     return symbolReference;
 }
 internal ExternalNameOrSymbolReference CreateExternalNameOrSymbolReference(CodeElementsParser.ExternalNameOrSymbolReference5Context context, SymbolType[] candidateTypes)
 {
     AlphanumericValue nameLiteral = CreateAlphanumericValue(context.alphanumericValue5());
     var externalNameOrSymbolReference = new ExternalNameOrSymbolReference(nameLiteral, candidateTypes);
     symbolInformationForTokens[nameLiteral.Token] = externalNameOrSymbolReference;
     return externalNameOrSymbolReference;
 }
 internal SymbolDefinition CreateSymbolDefinition(CodeElementsParser.SymbolDefinition5Context context, SymbolType symbolType)
 {
     AlphanumericValue nameLiteral = CreateAlphanumericValue(context.alphanumericValue5());
     var symbolDefinition = new SymbolDefinition(nameLiteral, symbolType);
     symbolInformationForTokens[nameLiteral.Token] = symbolDefinition;
     return symbolDefinition;
 }
 internal ExternalName CreateExternalName(CodeElementsParser.ExternalName5Context context, SymbolType symbolType)
 {
     AlphanumericValue nameLiteral = CreateAlphanumericValue(context.alphanumericValue5());
     var externalName = new ExternalName(nameLiteral, symbolType);
     symbolInformationForTokens[nameLiteral.Token] = externalName;
     return externalName;
 }