Class 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, dev.cel.common.types.CelType type)
      Create a new CelVarDecl with a given name and type.
      abstract dev.cel.common.types.CelType type()
      The type of the variable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CelVarDecl

        public CelVarDecl()
    • Method Detail

      • name

        public abstract java.lang.String name()
        Fully qualified variable name.
      • type

        public abstract dev.cel.common.types.CelType type()
        The type of the variable.
      • newVarDeclaration

        @CheckReturnValue
        public static CelVarDecl newVarDeclaration​(java.lang.String name,
                                                   dev.cel.common.types.CelType type)
        Create a new CelVarDecl with a given name and type.