1 24 25 package org.aspectj.compiler.base.ast; 26 27 import org.aspectj.compiler.base.FlowCheckerPass; 28 import org.aspectj.compiler.base.JavaCompiler; 29 import org.aspectj.compiler.base.CodeWriter; 30 import java.io.IOException ; 31 32 import org.aspectj.compiler.base.bcg.CodeBuilder; 33 34 37 38 public class EmptyExpr extends Expr { 39 40 41 public Type discoverType() { return getTypeManager().anyType; } 42 43 public void unparse(CodeWriter writer) throws IOException { 44 } 45 46 protected void cgValue(CodeBuilder cb) {} 49 50 52 public EmptyExpr(SourceLocation location) { 53 super(location); 54 55 } 56 57 public ASTObject copyWalk(CopyWalker walker) { 58 EmptyExpr ret = new EmptyExpr(getSourceLocation()); 59 ret.preCopy(walker, this); 60 61 return ret; 62 } 63 64 65 public String getDefaultDisplayName() { 66 return "EmptyExpr()"; 67 } 68 69 } 71 72 73 | Popular Tags |