package pyre-ast

  1. Overview
  2. Docs

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.