public abstract class LabelToJavaExpr_c extends java.lang.Object implements LabelToJavaExpr
Constructor and Description |
---|
LabelToJavaExpr_c() |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Expr |
toJava(Label label,
JifToJavaRewriter rw,
polyglot.ast.Expr thisQualifier) |
polyglot.ast.Expr |
toJava(Label label,
JifToJavaRewriter rw,
polyglot.ast.Expr thisQualifier,
boolean simplify) |
public polyglot.ast.Expr toJava(Label label, JifToJavaRewriter rw, polyglot.ast.Expr thisQualifier) throws polyglot.types.SemanticException
toJava
in interface LabelToJavaExpr
thisQualifier
- an Expr representing the translated "this" reference.polyglot.types.SemanticException
public polyglot.ast.Expr toJava(Label label, JifToJavaRewriter rw, polyglot.ast.Expr thisQualifier, boolean simplify) throws polyglot.types.SemanticException
toJava
in interface LabelToJavaExpr
thisQualifier
- an Expr representing the translated "this" reference.simplify
- whether to attempt to simplify the label when it's constructed
at run time.polyglot.types.SemanticException