コード例 #1
0
        private Ast.Conjunction booleanTerm()
        {
            trace("FIQLParser.Parser.booleanTerm()");
            var termNode = new Ast.Conjunction();

            termNode.AddChild(booleanFactor());
            while (accept(Symbol.semicolon))
            {
                termNode.AddChild(booleanFactor());
            }
            return(termNode);
        }
コード例 #2
0
 public String Visit(Ast.Conjunction booleanTerm)
 {
     return(String.Join(" AND ",
                        booleanTerm.Children.Select(child => child.Accept(this))));
 }