1 package polyglot.ext.jl.ast; 2 3 import java.util.Collections ; 4 import java.util.List ; 5 6 import polyglot.ast.*; 7 import polyglot.types.*; 8 import polyglot.visit.*; 9 import polyglot.util.*; 10 11 19 public class JL_c extends Ext_c implements JL { 20 public JL_c() { 21 } 22 23 26 public JL jl() { 27 return node(); 28 } 29 30 36 public Node visitChildren(NodeVisitor v) { 37 return jl().visitChildren(v); 38 } 39 40 50 public Context enterScope(Context c) { 51 return jl().enterScope(c); 52 } 53 54 65 public Context enterScope(Node child, Context c) { 66 return jl().enterScope(child, c); 67 } 68 69 75 public void addDecls(Context c) { 76 jl().addDecls(c); 77 } 78 79 94 public NodeVisitor buildTypesEnter(TypeBuilder tb) throws SemanticException { 95 return jl().buildTypesEnter(tb); 96 } 97 98 112 public Node buildTypes(TypeBuilder tb) throws SemanticException { 113 return jl().buildTypes(tb); 114 } 115 116 128 public NodeVisitor disambiguateEnter(AmbiguityRemover ar) throws SemanticException { 129 return jl().disambiguateEnter(ar); 130 } 131 132 143 public Node disambiguate(AmbiguityRemover ar) throws SemanticException { 144 return jl().disambiguate(ar); 145 } 146 147 159 public NodeVisitor addMembersEnter(AddMemberVisitor am) throws SemanticException { 160 return jl().addMembersEnter(am); 161 } 162 163 174 public Node addMembers(AddMemberVisitor am) throws SemanticException { 175 return jl().addMembers(am); 176 } 177 178 190 public NodeVisitor typeCheckEnter(TypeChecker tc) throws SemanticException { 191 return jl().typeCheckEnter(tc); 192 } 193 194 205 public Node typeCheck(TypeChecker tc) throws SemanticException { 206 return jl().typeCheck(tc); 207 } 208 209 221 public NodeVisitor exceptionCheckEnter(ExceptionChecker ec) throws SemanticException { 222 return jl().exceptionCheckEnter(ec); 223 } 224 225 236 public Node exceptionCheck(ExceptionChecker ec) throws SemanticException { 237 return jl().exceptionCheck(ec); 238 } 239 240 244 public List throwTypes(TypeSystem ts) { 245 return jl().throwTypes(ts); 246 } 247 248 254 public void prettyPrint(CodeWriter w, PrettyPrinter pp) { 255 jl().prettyPrint(w, pp); 256 } 257 258 264 public void translate(CodeWriter w, Translator tr) { 265 jl().translate(w, tr); 266 } 267 } 268 | Popular Tags |