package lrgrep

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Info.TerminalSource

include INDEXED with type 'g n = 'g terminal
Sourcetype 'g n = 'g terminal
Sourceval cardinal : 'g grammar -> 'g n Fix.Indexing.cardinal
Sourceval of_int : 'g grammar -> int -> 'g n Fix.Indexing.index
Sourceval to_string : 'g grammar -> 'g n Fix.Indexing.index -> string
Sourceval regular : 'g grammar -> 'g n Utils.Misc.indexset
Sourceval semantic_value : 'g grammar -> 'g n Fix.Indexing.index -> string option

semantic_value term is Some typ if terminal term has a semantic value of type typ, or None for unparameterized terminals.

Wrapper around IndexSet.inter speeding-up intersection with all

Sourceval is_error : 'g grammar -> 'g n Fix.Indexing.index -> bool

Is it the special `error` symbol

Sourceval lookaheads_to_string : 'g grammar -> 'g n Utils.Misc.indexset -> string
Sourceval find : 'g grammar -> ?approx:int -> string -> ('g n Fix.Indexing.index, (int * string * 'g n Fix.Indexing.index) list) Stdlib.result