Пример #1
0
 public void AddSymbol(VariableSymbol symbol)
 {
     SymbolTable.AddSymbol(symbol);
 }
Пример #2
0
 public override void OnAnalyzerVisit(SemanticAnalyzer analyzer, int block)
 {
     symbol = new VariableSymbol(block, DeclareType, Identifier.IdentifierName);
     analyzer.AddSymbol(symbol);
     Identifier.OnAnalyzerVisit(analyzer, block);
 }
Пример #3
0
 public void AddSymbol(VariableSymbol symbol)
 {
     VariableSymbols.Add(symbol);
 }