Package dev.cel.common.ast
Class CelExprConverter
- java.lang.Object
-
- dev.cel.common.ast.CelExprConverter
-
public final class CelExprConverter extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConstantcelConstantToExprConstant(CelConstant celConstant)Converts a proto-basedConstantto CEL native representation ofCelConstant.static ReferencecelReferenceToExprReference(CelReference reference)Converts a proto-basedCelReferenceto CEL native representation ofReference.static CelConstantexprConstantToCelConstant(Constant constExpr)Converts a proto-basedConstantto CEL native representation ofCelConstant.static com.google.common.collect.ImmutableMap<java.lang.Long,CelExpr>exprMacroCallsToCelExprMacroCalls(java.util.Map<java.lang.Long,Expr> macroCalls)static CelReferenceexprReferenceToCelReference(Reference reference)Converts a proto-basedReferenceto CEL native representation ofCelReference.static ExprfromCelExpr(CelExpr celExpr)static CelExprfromExpr(Expr expr)
-
-
-
Method Detail
-
exprReferenceToCelReference
public static CelReference exprReferenceToCelReference(Reference reference)
Converts a proto-basedReferenceto CEL native representation ofCelReference.
-
exprConstantToCelConstant
public static CelConstant exprConstantToCelConstant(Constant constExpr)
Converts a proto-basedConstantto CEL native representation ofCelConstant.
-
celConstantToExprConstant
public static Constant celConstantToExprConstant(CelConstant celConstant)
Converts a proto-basedConstantto CEL native representation ofCelConstant.
-
celReferenceToExprReference
public static Reference celReferenceToExprReference(CelReference reference)
Converts a proto-basedCelReferenceto CEL native representation ofReference.
-
-