cel-ts - v0.1.0-alpha
    Preparing search index...

    Class Ast

    Ast represents a parsed and optionally type-checked CEL expression.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • root: AST
      • source: string
      • checked: boolean = false

      Returns Ast

    Properties

    root: AST
    source: string

    Accessors

    • get isChecked(): boolean

      Returns true if the AST has been type-checked.

      Returns boolean

    • get outputType(): Type | undefined

      Returns the output type of the expression (if type-checked).

      Returns Type | undefined

    Methods

    • Mark this AST as checked.

      Returns void