MCPcopy
hub / github.com/google/mangle / TemporalLiteral

Struct TemporalLiteral

ast/temporal.go:537–547  ·  view source on GitHub ↗

TemporalLiteral represents a literal (atom or negated atom) with an optional temporal operator. This is used in clause premises.

Source from the content-addressed store, hash-verified

535// TemporalLiteral represents a literal (atom or negated atom) with an optional temporal operator.
536// This is used in clause premises.
537type 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
549func (tl TemporalLiteral) isTerm() {}
550

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected