|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.saxonica.codegen.JavaDeclaration
public class JavaDeclaration
A return action that assigns the value of the expression to a variable supplied by the caller
| Constructor Summary | |
|---|---|
JavaDeclaration(java.lang.Class theClass,
java.lang.String varName)
Create a JavaDeclaration |
|
| Method Summary | |
|---|---|
java.lang.Class |
getVariableClass()
Get the class of the variable |
java.lang.String |
getVariableName()
Get the name of the variable holding the result |
java.lang.String |
output(CompilerService compiler,
java.lang.String expression)
Generate the return text |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaDeclaration(java.lang.Class theClass,
java.lang.String varName)
theClass - the class of variable to be declared, currently always boolean.classvarName - the name of the variable to be declared| Method Detail |
|---|
public java.lang.Class getVariableClass()
public java.lang.String output(CompilerService compiler,
java.lang.String expression)
output in interface ReturnActioncompiler - the compiler serviceexpression - the Java expression that computes the return value
public java.lang.String getVariableName()
getVariableName in interface ReturnAction
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||