示例#1
0
//        public AstPrinterNode Visit(ProcSignature node)
//        {
//            var printer = new AstPrinterNode(node.ToString());
//            foreach (var param in node.ParamList)
//            {
//                printer.AddChild(param.Accept(this));
//            }
//            return printer;
//        }
//
//        public AstPrinterNode Visit(FuncSignature node)
//        {
//            var printer = new AstPrinterNode(node.ToString());
//            foreach (var param in node.ParamList)
//            {
//                printer.AddChild(param.Accept(this));
//            }
//            printer.AddChild(node.ReturnType.Accept(this));
//            return printer;
//        }

        public AstPrinterNode Visit(ConformantArray node)
        {
            var printer = new AstPrinterNode(node.ToString());

            printer.AddChild(node.ArrayType.Accept(this));
            return(printer);
        }
 public bool Visit(ConformantArray node)
 {
     throw new NotImplementedException();
 }