public MemberNotFoundException(SymRecord record, IdentifierToken field, string lexeme, int line, int column) : base(lexeme, line, column) { _record = record; _field = field; }
public void DeclareVariable(string name, SymRecord symRecord) { _out.WriteLine($"{name}: times {(symRecord.BSize).ToString()} db 0"); }
public void Visit(SymRecord symbol) { _nestedSymTable.Add(new KeyValuePair <string, SymTable>($"Record \"{symbol.Name}\"", symbol.Fields)); }