Class Constant

java.lang.Object
jmri.jmrit.logixng.util.parser.Constant

public final class Constant extends Object
Definition of a constant used in expressions.
  • Constructor Details

  • Method Details

    • getModule

      public String getModule()
      Get the module of the constant, for example "Math" or "Conversion".
      Returns:
      the module name
    • getName

      public String getName()
      Get name of the function, for example "MathPI" or "MathE"
      Returns:
      the name
    • getValue

      public Object getValue()
      Return the value of the constant.
      Returns:
      the result