Class AbstractFunction
java.lang.Object
jmri.jmrit.logixng.util.parser.functions.AbstractFunction
- All Implemented Interfaces:
Function
Abstract class to help writing LogixNG functions easier.
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractFunction(FunctionFactory functionFactory, String name, String description) -
Method Summary
Modifier and TypeMethodDescriptionGet the descriptions of the constants in the module.Get the description of the function in Markdown formatGet the module of the function, for example "Math" or "Conversion".getName()Get name of the function, for example "sin" or "int"
-
Constructor Details
-
AbstractFunction
-
-
Method Details
-
getModule
Description copied from interface:FunctionGet the module of the function, for example "Math" or "Conversion". -
getConstantDescriptions
Description copied from interface:FunctionGet the descriptions of the constants in the module.- Specified by:
getConstantDescriptionsin interfaceFunction- Returns:
- the description of the constants
-
getName
Description copied from interface:FunctionGet name of the function, for example "sin" or "int" -
getDescription
Description copied from interface:FunctionGet the description of the function in Markdown format- Specified by:
getDescriptionin interfaceFunction- Returns:
- the description
-