Skip to content

Commit

Permalink
Fix AIP-192 findings before import. (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthntatum authored Dec 12, 2023
1 parent 93c8497 commit 3292f04
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proto/cel/expr/syntax.proto
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ message SourceInfo {

// An extension that was requested for the source expression.
message Extension {
// Version
message Version {
// Major version changes indicate different required support level from
// the required components.
Expand All @@ -362,10 +363,17 @@ message SourceInfo {
int64 minor = 2;
}

// CEL component specifier.
enum Component {
// Unspecified, default.
COMPONENT_UNSPECIFIED = 0;
// Parser. Converts a CEL string to an AST.
COMPONENT_PARSER = 1;
// Type checker. Checks that references in an AST are defined and types
// agree.
COMPONENT_TYPE_CHECKER = 2;
// Runtime. Evaluates a parsed and optionally checked CEL AST against a
// context.
COMPONENT_RUNTIME = 3;
}

Expand Down

0 comments on commit 3292f04

Please sign in to comment.