Beispiel #1
0
 private SyntaxNode Expression(Parser.ParserInstance parser)
 {
     if (parser.Current.TypeId == Program.Identifier)
     {
         var ident = (string)parser.Current.Value;
         if (parser.Peek().TypeId == Program.LParen) // FUNC-INVOKE
         {
             parser.ConsumeToken(Program.Identifier);
             return(FunctionInvoke(parser, ident));
         }
     }
     return(OuterTerm(parser));
 }