public class DALExpression extends DALNode implements com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>, ExecutableNode
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<java.lang.Object> |
collectFields(Data<?> data) |
Data<?> |
evaluateData(RuntimeContextBuilder.DALRuntimeContext context) |
static DALNode |
expression(DALNode left,
DALOperator operator,
DALNode right) |
int |
getOperandPosition() |
int |
getPositionBegin() |
java.lang.Object |
getRootSymbolName() |
Data<?> |
getValue(Data<?> data,
RuntimeContextBuilder.DALRuntimeContext context) |
RowType |
guessTableHeaderType() |
java.lang.String |
inspect() |
DALNode |
left() |
boolean |
needPostBlankWarningCheck() |
DALOperator |
operator() |
java.util.List<java.lang.Object> |
propertyChain() |
DALNode |
right() |
evaluate, needPrefixBlankWarningCheck, toString, toVerify, verifygetIndent, setIndent, setPositionBeginclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevaluateInput, getValuepublic static DALNode expression(DALNode left, DALOperator operator, DALNode right)
public DALNode left()
left in interface com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>public DALNode right()
right in interface com.github.leeonky.interpreter.Expression<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALExpression,DALOperator>public DALOperator operator()
operator 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 DALNodepublic java.util.stream.Stream<java.lang.Object> collectFields(Data<?> data)
collectFields in class DALNodepublic Data<?> getValue(Data<?> data, RuntimeContextBuilder.DALRuntimeContext context)
getValue in interface ExecutableNodepublic int getPositionBegin()
getPositionBegin in interface com.github.leeonky.interpreter.Node<RuntimeContextBuilder.DALRuntimeContext,DALNode>getPositionBegin in class com.github.leeonky.interpreter.NodeBase<RuntimeContextBuilder.DALRuntimeContext,DALNode>public RowType guessTableHeaderType()
guessTableHeaderType in class DALNodepublic boolean needPostBlankWarningCheck()
needPostBlankWarningCheck in class DALNode