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

            return(e.GenerateAst(Expression));;
        }