Package gnu.kawa.functions
Class ConstantFunction0
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure0
gnu.kawa.functions.ConstantFunction0
- All Implemented Interfaces:
Named
A 0-argument function that returns a constant value.
Used for false() and true() in XQuery.
-
Field Summary
Fields inherited from class gnu.mapping.Procedure0
applyToObjectFields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKeyFields inherited from class gnu.mapping.PropertySet
nameKey -
Constructor Summary
ConstructorsConstructorDescriptionConstantFunction0(String name, QuoteExp constant) ConstantFunction0(String name, Object value) -
Method Summary
Methods inherited from class gnu.mapping.Procedure0
apply1, apply2, apply3, apply4, applyN, applyToObject, numArgsMethods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toStringMethods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
Constructor Details
-
ConstantFunction0
-
ConstantFunction0
-
-
Method Details
-
apply0
- Specified by:
apply0in classProcedure0
-