Package jmri.jmrit.logixng.util.parser
Class Constant
java.lang.Object
jmri.jmrit.logixng.util.parser.Constant
Definition of a constant used in expressions.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Constant
-
-
Method Details
-
getModule
Get the module of the constant, for example "Math" or "Conversion".- Returns:
- the module name
-
getName
Get name of the function, for example "MathPI" or "MathE"- Returns:
- the name
-
getValue
Return the value of the constant.- Returns:
- the result
-