Beispiel #1
0
        public static GATNode _params(this LL1Processor ll1)
        {
            var node   = new GATNode();
            var offset = 1;

            if (WordContainer.GetWordType(offset) == WordType.BRACKET_R)
            {
                WordContainer.Advance(WordType.VOID);
            }
            else
            {
                var paramList = ll1._paramList();
                node.AddChild(paramList);
                node.generator = Params;
            }
            return(node);
        }