Skip to content

SemanticAdorner

Defined in: packages/aip/src/filtering/to-debug-string.ts:90

Mirrors cel-go’s SemanticAdorner / cel-es’s SemanticAdorner.

Annotates every node with ~<type> (from the checkedExpr typeMap) and, for idents and calls, ^<name-or-overloadId> (from the referenceMap).

Type names use CEL-standard short forms: int, uint, bool, double, string, bytes, null, timestamp, duration, dyn, !error!.

  • Adorner

new SemanticAdorner(checked): SemanticAdorner

Defined in: packages/aip/src/filtering/to-debug-string.ts:91

CheckedExpr

SemanticAdorner

getMetadata(expr): string

Defined in: packages/aip/src/filtering/to-debug-string.ts:93

Expr

string

Adorner.getMetadata