CompiledRule represents the variables and match blocks associated with a rule block.
| 30 | |
| 31 | // CompiledRule represents the variables and match blocks associated with a rule block. |
| 32 | type CompiledRule struct { |
| 33 | exprID int64 |
| 34 | id *ValueString |
| 35 | variables []*CompiledVariable |
| 36 | matches []*CompiledMatch |
| 37 | } |
| 38 | |
| 39 | // SourceID returns the source metadata identifier associated with the compiled rule. |
| 40 | func (r *CompiledRule) SourceID() int64 { |
nothing calls this directly
no outgoing calls
no test coverage detected