public class ParamToJavaExpr_c extends java.lang.Object implements LabelToJavaExpr, PrincipalToJavaExpr
Constructor and Description |
---|
ParamToJavaExpr_c() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
paramArgName(ParamInstance pi) |
static java.lang.String |
paramFieldName(ParamInstance pi) |
static java.lang.String |
paramFieldNameGetter(ParamInstance pi) |
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) |
polyglot.ast.Expr |
toJava(ParamInstance pi,
JifToJavaRewriter rw,
polyglot.ast.Expr thisQualifier) |
polyglot.ast.Expr |
toJava(Principal principal,
JifToJavaRewriter rw,
polyglot.ast.Expr thisQualifier) |
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
public polyglot.ast.Expr toJava(Principal principal, JifToJavaRewriter rw, polyglot.ast.Expr thisQualifier) throws polyglot.types.SemanticException
toJava
in interface PrincipalToJavaExpr
thisQualifier
- an Expr representing the translated "this" reference.polyglot.types.SemanticException
public polyglot.ast.Expr toJava(ParamInstance pi, JifToJavaRewriter rw, polyglot.ast.Expr thisQualifier)
public static java.lang.String paramFieldName(ParamInstance pi)
public static java.lang.String paramFieldNameGetter(ParamInstance pi)
public static java.lang.String paramArgName(ParamInstance pi)