IsLocalVariable reports whether the variable is locally bound to a block slot.
(name string)
| 274 | |
| 275 | // IsLocalVariable reports whether the variable is locally bound to a block slot. |
| 276 | func (sa *dynamicSlotActivation) IsLocalVariable(name string) bool { |
| 277 | _, found := matchSlot(name, sa.slotCount) |
| 278 | return found |
| 279 | } |
| 280 | |
| 281 | // ResolveName implements the Activation interface method but handles variables prefixed with `@index` |
| 282 | // as special variables which exist within the slot-based memory of the cel.@block() where each slot |
nothing calls this directly
no test coverage detected