package pyre-ast

  1. Overview
  2. Docs

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.

module Position : sig ... end
module Location : sig ... end
module Identifier : sig ... end
module Constant : sig ... end
module UnaryOperator : sig ... end
module ImportAlias : sig ... end
module Comprehension : sig ... end
module Keyword : sig ... end
module Argument : sig ... end
module Arguments : sig ... end
module Expression : sig ... end
module WithItem : sig ... end
module MatchCase : sig ... end
module Pattern : sig ... end
module Statement : sig ... end
module TypeIgnore : sig ... end
module Module : sig ... end
module FunctionType : sig ... end