protected override bool Visit(ASTSymbol node) { _lastNode = new CSymbol { Name = GetVariableName(node.Name) }; return(true); }
protected override bool Visit(ASTSymbol node) { if (_scope.TryGetTypeOf(node.Name, out var result)) { node.TypeInfo = result; return(true); } Error(node.Position, $"Nothing defined called {node.Name}"); return(false); }
public bool Visit(ASTSymbol node) { throw new NotImplementedException(); }
protected abstract bool Visit(ASTSymbol node);