public int Interpret(string expresion) { var parser = new Parser(expresion); AbstractSyntaxTreeNode node = parser.Expr(); return(node.Accept(this)); }
public BinaryOperationNode(AbstractSyntaxTreeNode left, AbstractSyntaxTreeNode right, Token token) : base(token) { this.left = left; this.right = right; }