public abstract class DALOperator extends com.github.leeonky.interpreter.Operator<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALOperator>
| Modifier and Type | Class and Description |
|---|---|
static class |
DALOperator.And |
static class |
DALOperator.Division |
static class |
DALOperator.Equal |
static class |
DALOperator.Greater |
static class |
DALOperator.GreaterOrEqual |
static class |
DALOperator.Is |
static class |
DALOperator.Less |
static class |
DALOperator.LessOrEqual |
static class |
DALOperator.Matcher |
static class |
DALOperator.Minus |
static class |
DALOperator.Multiplication |
static class |
DALOperator.Not |
static class |
DALOperator.NotEqual |
static class |
DALOperator.Or |
static class |
DALOperator.Parentheses |
static class |
DALOperator.Plus |
static class |
DALOperator.Positive |
static class |
DALOperator.Property |
static class |
DALOperator.PropertyDot |
static class |
DALOperator.PropertyImplicit |
static class |
DALOperator.PropertyMeta |
static class |
DALOperator.PropertySlash |
static class |
DALOperator.Subtraction |
static class |
DALOperator.Which |
| Modifier | Constructor and Description |
|---|---|
protected |
DALOperator(int precedence,
java.lang.String label,
boolean needInspect) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
calculate(DALNode left,
DALNode right,
RuntimeContextBuilder.DALRuntimeContext context) |
Data |
calculateData(DALNode left,
DALNode right,
RuntimeContextBuilder.DALRuntimeContext context) |
static DALOperator.And |
commaAnd() |
java.lang.String |
inspect(java.lang.String node1,
java.lang.String node2) |
boolean |
isNeedInspect() |
static DALOperator.And |
keywordAnd() |
static DALOperator.Or |
keywordOr() |
static DALOperator.And |
operatorAnd() |
static DALOperator.Or |
operatorOr() |
protected DALOperator(int precedence,
java.lang.String label,
boolean needInspect)
public Data calculateData(DALNode left, DALNode right, RuntimeContextBuilder.DALRuntimeContext context)
public java.lang.Object calculate(DALNode left, DALNode right, RuntimeContextBuilder.DALRuntimeContext context)
calculate in class com.github.leeonky.interpreter.Operator<RuntimeContextBuilder.DALRuntimeContext,DALNode,DALOperator>public static DALOperator.And operatorAnd()
public static DALOperator.Or operatorOr()
public static DALOperator.And keywordAnd()
public static DALOperator.And commaAnd()
public static DALOperator.Or keywordOr()
public boolean isNeedInspect()
public java.lang.String inspect(java.lang.String node1,
java.lang.String node2)