public class BooleanExpression extends ConstantExpression implements LogicalExpression
Expression.Type
Constructor and Description |
---|
BooleanExpression(org.antlr.v4.runtime.Token start,
boolean value) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateBool(EvaluationContext context) |
Object |
evaluateUnsafe(EvaluationContext context)
This method is allowed to throw exceptions.
|
String |
toString() |
children, getType, isConstant
getStartToken
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
children, evaluate, evaluateUnsafe, getStartToken, getType, isConstant, nodeType
public BooleanExpression(org.antlr.v4.runtime.Token start, boolean value)
public Object evaluateUnsafe(EvaluationContext context)
Expression
evaluateUnsafe
in interface Expression
public boolean evaluateBool(EvaluationContext context)
evaluateBool
in interface LogicalExpression
Copyright © 2012–2019 Graylog, Inc.. All rights reserved.