Пример #1
0
        // Static helper to parse from a tokenizer
        public static Node Parse(Tokenizer tokenizer)
        {
            var parser = new Parser(tokenizer);

            return(parser.ParseExpression());
        }
Пример #2
0
 public Parser(Tokenizer tokenizer)
 {
     _tokenizer = tokenizer;
 }