public class OrExpression extends BinaryExpression implements LogicalExpression
Expression.Typeleftright| Constructor and Description |
|---|
OrExpression(org.antlr.v4.runtime.Token start,
Expression left,
Expression right) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateBool(EvaluationContext context) |
Object |
evaluateUnsafe(EvaluationContext context)
This method is allowed to throw exceptions.
|
Class |
getType() |
String |
toString() |
children, isConstant, left, leftright, rightgetStartTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildren, evaluate, evaluateUnsafe, getStartToken, isConstant, nodeTypepublic OrExpression(org.antlr.v4.runtime.Token start,
Expression left,
Expression right)
public Object evaluateUnsafe(EvaluationContext context)
ExpressionevaluateUnsafe in interface Expressionpublic boolean evaluateBool(EvaluationContext context)
evaluateBool in interface LogicalExpressionpublic Class getType()
getType in interface ExpressiongetType in class UnaryExpressionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.