jif.translate

## Interface LabelToJavaExpr

- All Superinterfaces:
    java.io.Serializable
  All Known Implementing Classes:
    CannotLabelToJavaExpr_c, DynamicLabelToJavaExpr_c, JoinLabelToJavaExpr_c, LabelToJavaExpr_c, MeetLabelToJavaExpr_c, PairLabelToJavaExpr_c, ParamToJavaExpr_c, ProviderLabelToJavaExpr_c

      public interface LabelToJavaExpr
      extends java.io.Serializable

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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)`

- - ### Method Detail

    - #### toJava

          polyglot.ast.Expr toJava(Label label,
                                   JifToJavaRewriter rw,
                                   polyglot.ast.Expr thisQualifier)
                            throws polyglot.types.SemanticException

      Parameters:
        `thisQualifier` - an Expr representing the translated "this" reference.
      Throws:
        `polyglot.types.SemanticException`

    - #### toJava

          polyglot.ast.Expr toJava(Label label,
                                   JifToJavaRewriter rw,
                                   polyglot.ast.Expr thisQualifier,
                                   boolean simplify)
                            throws polyglot.types.SemanticException

      Parameters:
        `thisQualifier` - an Expr representing the translated "this" reference.
        `simplify` - whether to attempt to simplify the label when it's constructed at run time.
      Throws:
        `polyglot.types.SemanticException`