public void Visit(ClauseNode programNode) { programNode.subject.Accept(this); Print(" :- "); programNode.predicate.Accept(this); PrintLine("."); }
public void Visit(ClauseNode programNode) { PrintLine("<program>"); indent(); programNode.subject.Accept(this); unindent(); PrintLine(":-"); indent(); programNode.predicate.Accept(this); unindent(); PrintLine("."); PrintLine("</program>"); }
public void Visit(ClauseNode programNode) { programNode.subject.Accept(this); programNode.predicate.Accept(this); }
public void Visit(ClauseNode programNode) { throw new NotImplementedException (); }
public void Visit(ClauseNode programNode) { programNode.predicate.Accept(this); PrinterVisitor xpr = new PrinterVisitor(Console.Out); programNode.Accept(xpr); }