TemporalLiteral represents a literal (atom or negated atom) with an optional temporal operator. This is used in clause premises.
| 535 | // TemporalLiteral represents a literal (atom or negated atom) with an optional temporal operator. |
| 536 | // This is used in clause premises. |
| 537 | type TemporalLiteral struct { |
| 538 | // The underlying literal (Atom or NegAtom) |
| 539 | Literal Term |
| 540 | |
| 541 | // Optional temporal operator (nil if none) |
| 542 | Operator *TemporalOperator |
| 543 | |
| 544 | // Optional interval annotation for the literal. |
| 545 | // Can be a variable binding @[T] or a concrete interval @[t1, t2]. |
| 546 | Interval *Interval |
| 547 | } |
| 548 | |
| 549 | func (tl TemporalLiteral) isTerm() {} |
| 550 |
nothing calls this directly
no outgoing calls
no test coverage detected