Esempio n. 1
0
 public override bool Visit(ClassRefType node)
 {
     //	Visit((ClassType)node);
     //	Do not traverse this node! circular dependency
     //	traverse(node.reftype);
     return(true);
 }
Esempio n. 2
0
        public override bool Visit(ClassRefType node)
        {
            Visit((ClassType)node);
            //	Do not traverse this node! circular dependency
            //	traverse(node.reftype);

            outputCode(node.qualifid + "* ", false, false);

            return(true);
        }
Esempio n. 3
0
        bool ProcessConstructor(RoutineSection node, MethodType t)
        {
            insideConstructor = true;
            ClassRefType r       = t.funcret as ClassRefType;
            string       classid = r.qualifid;

            outputCode("{", true, true);
            PushIdent();
            outputCode("result = new " + classid + "();", true, true);
            Visit((Section)node);
            traverse(node.block);
            PopIdent();
            outputCode("}", true, true);
            //outputCode("	result ", true, true);
            outputCode("", false, true);
            insideConstructor = false;
            return(true);
        }
Esempio n. 4
0
 public virtual T Visit(ClassRefType node)
 {
     //	Do not traverse this node! circular dependency
     //	traverse(node.reftype);
     return(DefaultReturnValue());
 }