Package dev.cel.runtime
Interface CelRuntime
-
- All Known Subinterfaces:
Cel
- All Known Implementing Classes:
CelRuntimeLegacyImpl
@ThreadSafe public interface CelRuntimeThe CelRuntime creates executablePrograminstances fromCelAbstractSyntaxTreevalues.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCelRuntime.CelFunctionBindingBinding consisting of an overload id, a Java-native argument signature, and an overload definition.static classCelRuntime.ProgramCreates an evaluablePrograminstance which is thread-safe and immutable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CelRuntime.ProgramcreateProgram(CelAbstractSyntaxTree ast)Creates aProgramfrom the inputast.
-
-
-
Method Detail
-
createProgram
@CanIgnoreReturnValue CelRuntime.Program createProgram(CelAbstractSyntaxTree ast) throws CelEvaluationException
Creates aProgramfrom the inputast.- Throws:
CelEvaluationException
-
-