Module IECCheckerCore.Tok_info

Describes single token of a parse tree

type t = {
  1. id : int;
  2. linenr : int;
  3. col : int;
}

Parse tree item

val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val create : Stdlib.Lexing.lexbuf -> t

create Create new parse tree element from Lexing.lexbuf

val create_dummy : unit -> t

create_dummy Create a new dummy parse tree element

val to_string : t -> string