public class DALExpression extends DALNode implements com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>
| Constructor and Description |
|---|
DALExpression(DALNode left,
DALOperator operator,
DALNode right) |
| Modifier and Type | Method and Description |
|---|---|
Data |
evaluateData(RuntimeContextBuilder.DALRuntimeContext context) |
DALNode |
getLeftOperand() |
int |
getOperandPosition() |
DALOperator |
getOperator() |
DALNode |
getRightOperand() |
java.lang.Object |
getRootSymbolName() |
java.lang.String |
inspect() |
java.util.List<java.lang.Object> |
propertyChain() |
bracketSymbolNode, constFalse, constInteger, constNull, constNumber, constString, constTrue, elementSchemas, evaluate, metaSymbolNode, numberSymbol, parenthesesNode, regex, relaxString, schema, schemas, stringSymbol, symbolNode, verify, verify, verify, verify, verifyBy, verifyBygetPositionBegin, setPositionBeginpublic DALExpression(DALNode left, DALOperator operator, DALNode right)
public DALNode getLeftOperand()
getLeftOperand in interface com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>public DALNode getRightOperand()
getRightOperand in interface com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>public DALOperator getOperator()
getOperator in interface com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>public Data evaluateData(RuntimeContextBuilder.DALRuntimeContext context)
evaluateData in class DALNodepublic java.lang.Object getRootSymbolName()
getRootSymbolName in class DALNodepublic int getOperandPosition()
getOperandPosition in interface com.github.leeonky.interpreter.Node<RuntimeContextBuilder.DALRuntimeContext,DALNode>getOperandPosition in class com.github.leeonky.interpreter.NodeBase<RuntimeContextBuilder.DALRuntimeContext,DALNode>public java.util.List<java.lang.Object> propertyChain()
propertyChain in class DALNode