Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.saxonica.codegen
Class Return

    java.lang.Object
      com.saxonica.codegen.Return

All Implemented Interfaces:
  ReturnAction

    public class Return

extends Object
implements ReturnAction

A return action of "return", causing exit from the Java method.

Constructor Summary
`Return()`

Method Summary
`String` | `getVariableName()` Get the name of the variable holding the result
`String` | `output(CompilerService compiler, String expression)` Generate the return text

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Return

    public Return()

Method Detail

### output

    public String output(CompilerService compiler,
                         String expression)

  Generate the return text

  Specified by:
    `output` in interface `ReturnAction`

### getVariableName

    public String getVariableName()

  Get the name of the variable holding the result

  Specified by:
    `getVariableName` in interface `ReturnAction`

Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) Michael H. Kay. All rights reserved.