public interface Expression
| Modifier and Type | Interface and Description |
|---|---|
static class |
Expression.Type |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Expression> |
children() |
default Object |
evaluate(EvaluationContext context) |
default Object |
evaluateUnsafe()
This method is allowed to throw exceptions and evaluates the expression in an empty context.
|
Object |
evaluateUnsafe(EvaluationContext context)
This method is allowed to throw exceptions.
|
org.antlr.v4.runtime.Token |
getStartToken() |
Class |
getType() |
boolean |
isConstant() |
default Expression.Type |
nodeType() |
boolean isConstant()
org.antlr.v4.runtime.Token getStartToken()
@Nullable default Object evaluate(EvaluationContext context)
Class getType()
@Nullable Object evaluateUnsafe(EvaluationContext context)
default Object evaluateUnsafe()
Iterable<Expression> children()
default Expression.Type nodeType()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.