Language.Python.Common.AST

Annotation projection

class Annotated t

Modules

data Module annot

type ModuleSpan

Identifiers and dotted names

data Ident annot

type IdentSpan

type DottedName annot

type DottedNameSpan

Statements, suites, parameters, decorators and assignment operators

data Statement annot

type StatementSpan

type Suite annot

type SuiteSpan

data Parameter annot

type ParameterSpan

data ParamTuple annot

type ParamTupleSpan

data Decorator annot

type DecoratorSpan

data AssignOp annot

type AssignOpSpan

Expressions, operators, arguments and slices

data Expr annot

type ExprSpan

data Op annot

type OpSpan

data Argument annot

type ArgumentSpan

data Slice annot

type SliceSpan

Imports

data ImportItem annot

type ImportItemSpan

data FromItem annot

type FromItemSpan

data FromItems annot

type FromItemsSpan

data ImportRelative annot

type ImportRelativeSpan

Exceptions

data Handler annot

type HandlerSpan

data ExceptClause annot

type ExceptClauseSpan

data RaiseExpr annot

type RaiseExprSpan

Comprehensions

data Comprehension e annot

type ComprehensionSpan e

data CompFor annot

type CompForSpan

data CompIf annot

type CompIfSpan

data CompIter annot

type CompIterSpan