示例#1
0
        public PrinterNode Visit(ProcedureCallNode node)
        {
            var pNode = new PrinterNode("Procedure");

            pNode.AddChild(node.Function.Name.Accept(this));
            foreach (var arg in node.Function.Args)
            {
                pNode.AddChild(arg.Accept(this));
            }
            return(pNode);
        }
 public bool Visit(ProcedureCallNode node)
 {
     node.Function.Accept(this);
     return(true);
 }