コード例 #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
ファイル: Smarts2MQLVisitor.cs プロジェクト: ch-hristov/NCDK
 // TODO: I don't think this is implemented in MQL. Throw an exception/warning?
 public object Visit(ASTRecursiveSmartsExpression node, object data)
 {
     return(null);
 }