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

    Class Env

    Env is the CEL environment for parsing, type-checking, and evaluating expressions.

    Index

    Constructors

    Methods

    • Type-check a parsed Ast. Throws CheckerError on failure.

      Parameters

      Returns Ast

    • Parse and type-check an expression. Throws ParserError or CheckerError on failure.

      Parameters

      • expression: string

      Returns Ast

    • Parse an expression into an Ast. Throws ParserError on failure.

      Parameters

      • expression: string

      Returns Ast