package pyre-ast

  1. Overview
  2. Docs
Full-fidelity Python parser in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

pyre-ast-0.1.3.tbz
sha256=9f891a0f59638d7e9efd2b0d49068f3096689fd249803788c07c47b93e49e700
sha512=cc7004453fb624e78bef15b9b0271b172e55e4cc856b4b7c3683af8172b4fa8323e05ba19462faf27a0371c16f7cd1e0e20f9fdc188b14cfe4b8993a7b575872

doc/pyre-ast/PyreAst/TaglessFinal/Location/index.html

Module TaglessFinal.Location

A location is a pair of Position.t representing a range for a given token.

Ranges are inclusive in their start position and exclusive in their end position. For example, identifier foo at the begining of an input string has a location from (line 1, column 0) to (line 1, column 3).

type ('position, 'location) t = start:'position -> stop:'position -> 'location
OCaml

Innovation. Community. Security.