public object Visit(ASTNotBond node, object data) { System.Console.Out.WriteLine(IndentString() + node); ++indent; data = node.ChildrenAccept(this, data); --indent; return(data); }
public object Visit(ASTNotBond node, object data) { object left = node.JjtGetChild(0).JjtAccept(this, data); if (node.Type == SMARTSParserConstants.NOT) { LogicalOperatorBond bond = new LogicalOperatorBond(builder) { Operator = "not", Left = (IQueryBond)left }; return(bond); } else { return(left); } }
// TODO: Accept only one bond. Need to find out whether MQL supports // logical bonds public object Visit(ASTNotBond node, object data) { return(node.JjtGetChild(0).JjtAccept(this, data)); }