Returns corresponding expression object ID. Requires that the input expression has IDs assigned to sub-expressions, e.g. via a checker. The default value 0 is returned if there is no expression associated (e.g. a jump step), or if there is no ID assigned to the corresponding expression. Useful for error scenarios where information from Expr object is needed to create CelError.
| 81 | // the corresponding expression. Useful for error scenarios where information |
| 82 | // from Expr object is needed to create CelError. |
| 83 | int64_t id() const { return id_; } |
| 84 | |
| 85 | // Returns if the execution step comes from AST. |
| 86 | bool comes_from_ast() const { return comes_from_ast_; } |
no outgoing calls