public class ProviderLabelToJavaExpr_c extends LabelToJavaExpr_c
Constructor and Description |
---|
ProviderLabelToJavaExpr_c() |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Expr |
toJava(Label label,
JifToJavaRewriter rw,
polyglot.ast.Expr thisQualifier,
boolean simplify) |
toJava
public polyglot.ast.Expr toJava(Label label, JifToJavaRewriter rw, polyglot.ast.Expr thisQualifier, boolean simplify) throws polyglot.types.SemanticException
toJava
in interface LabelToJavaExpr
toJava
in class LabelToJavaExpr_c
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