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

Struct TemporalAtom

ast/temporal.go:483–486  ·  view source on GitHub ↗

TemporalAtom wraps an Atom with an optional temporal annotation. This is used in clause heads and premises to represent temporally-annotated facts.

Source from the content-addressed store, hash-verified

481// TemporalAtom wraps an Atom with an optional temporal annotation.
482// This is used in clause heads and premises to represent temporally-annotated facts.
483type TemporalAtom struct {
484 Atom Atom
485 Interval *Interval // nil means eternal (no temporal annotation)
486}
487
488func (ta TemporalAtom) isTerm() {}
489

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected