Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public Object | evaluateAtCompileTime()
Overrides com. |
public boolean | |
public void | translate(ClassGenerator
BCEL Java class generator classGen, MethodGenerator BCEL Java method generator methodGen)Overrides com. |
public Type | typeCheck(SymbolTable
The compiler/parser's symbol table stable)Overrides com. |
ElementAvailableCall | back to summary |
---|---|
public ElementAvailableCall(QName fname, List<Expression> arguments) |
evaluateAtCompileTime | back to summary |
---|---|
public Object evaluateAtCompileTime() Overrides com. Returns an object representing the compile-time evaluation of an expression. We are only using this for function-available and element-available at this time. |
getResult | back to summary |
---|---|
public boolean getResult() Returns the result that this function will return |
translate | back to summary |
---|---|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Calls to 'element-available' are resolved at compile time since the namespaces declared in the stylsheet are not available at run time. Consequently, arguments to this function must be literals.
|
typeCheck | back to summary |
---|---|
public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Force the argument to this function to be a literal string.
|