public void Visit(IdentifierNode identifier) { }
public void Visit(IdentifierNode identifier) { // Identifiers are handled (if necessary) by their parent node }
public VariableReferenceNode(IdentifierNode variable) { Variable = variable; }
public AssignmentStatementNode(IdentifierNode variable, ExpressionNode expression) { Variable = variable; Expression = expression; }
public FunctionCallNode(IdentifierNode name) { Name = name; Arguments = new List<ExpressionNode>(); }
public FunctionNode(IdentifierNode name) { Name = name; Parameters = new List<IdentifierNode>(); }
public FunctionNode(IdentifierNode name) { Name = name; Parameters = new List <IdentifierNode>(); }
public FunctionCallNode(IdentifierNode name) { Name = name; Arguments = new List <ExpressionNode>(); }
public PrinterNode Visit(IdentifierNode node) { return(new PrinterNode(node.Token.StringValue)); }