Interface ExpressionNode

    • Method Detail

      • canBeAssigned

        default boolean canBeAssigned()
        Can this expression be assigned a value?
        Returns:
        true if it's possible to assign a value to this expression, false otherwise
      • assignValue

        default void assignValue​(SymbolTable symbolTable,
                                 java.lang.Object value)
                          throws JmriException
        Assign a value to this expression
        Parameters:
        symbolTable - the symbol table
        value - the value to assign
        Throws:
        JmriException - if an error occurs
      • getDefinitionString

        java.lang.String getDefinitionString()
        Get a String that defines this expression node.
        Returns:
        the string