package pyre-ast

  1. Overview
  2. Docs

This module contains a type that represents parsing errors.

type t = {
  1. message : string;
  2. line : int;
  3. column : int;
  4. end_line : int;
  5. end_column : int;
}

Line numbers start from 1 and column numbers start from 1.

OCaml

Innovation. Community. Security.