Package dev.cel.runtime
Interface Interpreter
-
- All Known Implementing Classes:
DefaultInterpreter
@ThreadSafe @Internal public interface Interpreter
Interface to a CEL interpreter.CEL Library Internals. Do Not Use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InterpretablecreateInterpretable(CelAbstractSyntaxTree ast)Creates an interpretable for the given expression.InterpretablecreateInterpretable(CheckedExpr checkedExpr)Deprecated.UsecreateInterpretable(CelAbstractSyntaxTree)instead.
-
-
-
Method Detail
-
createInterpretable
@Deprecated Interpretable createInterpretable(CheckedExpr checkedExpr) throws InterpreterException
Deprecated.UsecreateInterpretable(CelAbstractSyntaxTree)instead.Creates an interpretable for the given expression.This method may run pre-processing and partial evaluation of the expression it gets passed.
- Throws:
InterpreterException
-
createInterpretable
Interpretable createInterpretable(CelAbstractSyntaxTree ast)
Creates an interpretable for the given expression.This method may run pre-processing and partial evaluation of the expression it gets passed.
-
-