Пример #1
0
 public object Visit(ASTRecursiveSmartsExpression node, object data)
 {
     System.Console.Out.WriteLine(IndentString() + node);
     ++indent;
     data = node.ChildrenAccept(this, data);
     --indent;
     return(data);
 }
Пример #2
0
        public object Visit(ASTRecursiveSmartsExpression node, object data)
        {
            SmartsQueryVisitor recursiveVisitor = new SmartsQueryVisitor(builder)
            {
                query     = new QueryAtomContainer(builder),
                ringAtoms = new RingIdentifierAtom[10]
            };

            return(new RecursiveSmartsAtom((IQueryAtomContainer)node.JjtGetChild(0).JjtAccept(recursiveVisitor, null)));
        }
Пример #3
0
 // TODO: I don't think this is implemented in MQL. Throw an exception/warning?
 public object Visit(ASTRecursiveSmartsExpression node, object data)
 {
     return(null);
 }