Module InspectionTableInterpreter.MakeSource

Parameters

module IT : InspectionTableFormat.TABLES with type 'a lr1state = int
module ET : EngineTypes.TABLE with type terminal = int and type nonterminal = int and type semantic_value = Obj.t
module E : sig ... end

Signature

include IncrementalEngine.SYMBOLS with type 'a terminal := 'a IT.terminal with type 'a nonterminal := 'a IT.nonterminal
type 'a symbol =
  1. | T : 'a IT.terminal -> 'a symbol
  2. | N : 'a IT.nonterminal -> 'a symbol
type xsymbol =
  1. | X : 'a symbol -> xsymbol
Sourcetype item = int * int
Sourceval compare_terminals : _ IT.terminal -> _ IT.terminal -> int
Sourceval compare_nonterminals : _ IT.nonterminal -> _ IT.nonterminal -> int
Sourceval compare_symbols : xsymbol -> xsymbol -> int
Sourceval compare_productions : int -> int -> int
Sourceval compare_items : item -> item -> int
Sourceval incoming_symbol : 'a IT.lr1state -> 'a symbol
Sourceval items : _ IT.lr1state -> item list
Sourceval lhs : int -> xsymbol
Sourceval rhs : int -> xsymbol list
Sourceval nullable : _ IT.nonterminal -> bool
Sourceval first : _ IT.nonterminal -> _ IT.terminal -> bool
Sourceval xfirst : xsymbol -> _ IT.terminal -> bool
Sourceval foreach_terminal : (xsymbol -> 'a -> 'a) -> 'a -> 'a
Sourceval foreach_terminal_but_error : (xsymbol -> 'a -> 'a) -> 'a -> 'a