Package dev.cel.common
Class CelVarDecl
- java.lang.Object
-
- dev.cel.common.CelVarDecl
-
public abstract class CelVarDecl extends java.lang.Object
Abstract representation of a CEL variable declaration.
-
-
Constructor Summary
Constructors Constructor Description CelVarDecl()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
name()
Fully qualified variable name.static CelVarDecl
newVarDeclaration(java.lang.String name, CelType type)
Create a newCelVarDecl
with a givenname
andtype
.abstract CelType
type()
The type of the variable.
-
-
-
Method Detail
-
name
public abstract java.lang.String name()
Fully qualified variable name.
-
type
public abstract CelType type()
The type of the variable.
-
newVarDeclaration
@CheckReturnValue public static CelVarDecl newVarDeclaration(java.lang.String name, CelType type)
Create a newCelVarDecl
with a givenname
andtype
.
-
-