package pyre-ast

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

Install

Dune Dependency

Authors

Maintainers

Sources

pyre-ast-0.1.11.tbz
sha256=c344def5b0360185b404f99cacdb250b7061e38ed547cb871b7f9398c94c4900
sha512=4579de8085f42757224744f5980034ca589b2bd6eb77f7966a277c63011201fb2a260f730691aecd4e8c21cf2d1ae98b741277649ec965b256c4e333722e055f

doc/pyre-ast/PyreAst/Concrete/index.html

Module PyreAst.ConcreteSource

This module provides types for a concrete abstract syntax tree of Python, for downstream clients who perfer conventional ADT over the tagless-final approach.

The structure of the syntax tree is kept in sync with the structure of the tagless-final APIs. Consult documentation of TaglessFinal for meanings of the various syntax constructs.

Record/variant definitions are intentionally made private within this module. To construct those records/variants, use the corresponding make_t constructor functions.

Sourcemodule Position : sig ... end
Sourcemodule Location : sig ... end
Sourcemodule Identifier : sig ... end
Sourcemodule Constant : sig ... end
Sourcemodule Keyword : sig ... end
Sourcemodule Argument : sig ... end
Sourcemodule Arguments : sig ... end
Sourcemodule Expression : sig ... end
Sourcemodule WithItem : sig ... end
Sourcemodule TypeParam : sig ... end
Sourcemodule MatchCase : sig ... end
Sourcemodule Pattern : sig ... end
Sourcemodule Statement : sig ... end
Sourcemodule TypeIgnore : sig ... end
Sourcemodule Module : sig ... end
OCaml

Innovation. Community. Security.