示例#1
0
 public virtual void Visit(AstTreeNode node){}
示例#2
0
 public sealed override void Visit(AstTreeNode node) { VisitAndXform(node, Xform(node)); }
示例#3
0
 public override void Visit(AstTreeNode node)
 {
     if (!(node is LiteralNode) && !(node is TermNode && node.Parent is NegationNode))
         writer.Write(new String(' ', 2 * node.Depth()));
 }
示例#4
0
 protected virtual IAstTreeNode Xform(AstTreeNode node) { return null; }