private void SaveBufferAsExpression(ref List <Token> buffer, CodeNode n) { if (buffer.Count > 0) { n.Node.Add(ExprParser.GetAst(buffer)); buffer = new List <Token>(); } }
public static Node GetAst(List <Token> Expression) { ExprParser e = new ExprParser(); return(e.GenerateAst(Expression));; }