Exemple #1
0
 public IdentifierNode(Z80AsmParser.SymbolContext context) : base(context)
 {
     StartFromGlobal = context.GetChild(0).GetText() == "::";
     SymbolName      = context.IDENTIFIER()?.GetText();
 }
Exemple #2
0
 public IdentifierNode(Z80AsmParser.SymbolContext context) : base(context)
 {
     StartFromGlobal  = context.GetChild(0).GetText() == "::";
     SymbolName       = context.IDENTIFIER()[0].NormalizeToken();
     ScopeSymbolNames = context.IDENTIFIER().Skip(1).Select(i => i.NormalizeToken()).ToList();
 }