Package jmri.jmrit.logixng.util.parser
Class ExpressionNodeFalse
- java.lang.Object
-
- jmri.jmrit.logixng.util.parser.ExpressionNodeFalse
-
- All Implemented Interfaces:
ExpressionNode
public class ExpressionNodeFalse extends java.lang.Object implements ExpressionNode
A parsed expression that always return false
-
-
Constructor Summary
Constructors Constructor Description ExpressionNodeFalse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
calculate(SymbolTable symbolTable)
Calculate the expressionjava.lang.String
getDefinitionString()
Get a String that defines this expression node.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.jmrit.logixng.util.parser.ExpressionNode
assignValue, canBeAssigned
-
-
-
-
Constructor Detail
-
ExpressionNodeFalse
public ExpressionNodeFalse()
-
-
Method Detail
-
calculate
public java.lang.Object calculate(SymbolTable symbolTable)
Description copied from interface:ExpressionNode
Calculate the expression- Specified by:
calculate
in interfaceExpressionNode
- Parameters:
symbolTable
- the symbol table- Returns:
- the result
-
getDefinitionString
public java.lang.String getDefinitionString()
Get a String that defines this expression node.- Specified by:
getDefinitionString
in interfaceExpressionNode
- Returns:
- the string
-
-