Module Beluga_parser.Located_token

Lexer tokens annotated with locations.

type token = Token.t
type location = Beluga_syntax.Location.t
type t = private {
  1. location : location;
  2. token : token;
}

Constructors

val make : location:location -> token:token -> t

Destructors

val location : t -> location
val token : t -> token