package lambdapi

  1. Overview
  2. Docs

Module Pure.CommandSource

Abstract representation of a command (top-level item).

Sourcetype t
Sourceval equal : t -> t -> bool
Sourceval get_pos : t -> Common.Pos.popt
Sourceval keyword_pos : t -> Common.Pos.popt

Position of the keyword introducing the command ("symbol", "rule", "require", …), which is not always at its start: modifiers or parameters may precede it.

Position of the keyword introducing the command ("symbol", "rule", "require", …), which is not always at its start: modifiers or parameters may precede it.