Python Language Module
Parser Documentation
Version: 0.0.16
This document was generated on 2023/12/06.
Introduction
Documentation
Abstract Classes and Interfaces
PyExpr Class (Abstract) A
Super Classes
Local Features
Name | Type and Description |
---|---|
type |
optional
PyExprType
I
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
Used In
PyExprType Interface I
PyMod Class (Abstract) A
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
PyNode Class (Abstract) A
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
PyPattern Class (Abstract) A
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
Used In
PyStmt Class (Abstract) A
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
Used In
PyTypePromotion Interface I
Implementing Classes
Classes
PyAlias Class
Super Classes
Local Features
Name | Type and Description |
---|---|
asName | String? |
name | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAndExpr Class
Local Features
Name | Type and Description |
---|---|
andExprRight |
list of
PyAndExprRight
|
shiftExpr |
optional
PyShiftExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAndExprRight Class
Local Features
Name | Type and Description |
---|---|
shiftExpr |
optional
PyShiftExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAndTest Class
Local Features
Name | Type and Description |
---|---|
notTest |
list of
PyNotTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAnnAssign Class
Super Classes
Local Features
Name | Type and Description |
---|---|
annotation |
optional
PyExpr
A
|
simple | Integer |
target |
optional
PyExpr
A
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyArg Class
Super Classes
Local Features
Name | Type and Description |
---|---|
annotation |
optional
PyExpr
A
|
arg | String |
default |
optional
PyExpr
A
|
typeComment | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyArglist Class
Local Features
Name | Type and Description |
---|---|
argument |
list of
PyArgument
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyArgument Class
The reason that keywords are test nodes instead of NAME is that using NAME results in an ambiguity. ast.c makes sure it's a NAME. "test '=' test" is really "keyword '=' test", but we have no such token. These need to be in a single rule to avoid grammar that is ambiguous to our LL(1) parser. Even though 'test' includes '*expr' in star_expr, we explicitly match '*' here, too, to give it proper precedence. Illegal combinations and orderings are blocked in ast.c: multiple (test comp_for) arguments are blocked; keyword unpackings that precede iterable unpackings are blocked; etc.
Local Features
Name | Type and Description |
---|---|
assigned |
optional
PyTest
|
compFor |
optional
PyCompFor
|
keywords |
optional
PyTest
|
simple |
optional
PyTest
|
value |
optional
PyTest
|
variadic |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyArguments Class
Super Classes
Local Features
Name | Type and Description |
---|---|
args |
list of
PyArg
|
kwArg |
optional
PyArg
|
kwOnlyArgs |
list of
PyArg
|
posOnlyArgs |
list of
PyArg
|
varArg |
optional
PyArg
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyArithExpr Class
Local Features
Name | Type and Description |
---|---|
arithExprRight |
list of
PyArithExprRight
|
term |
optional
PyTerm
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyArithExprRight Class
Local Features
Name | Type and Description |
---|---|
op | String |
term |
optional
PyTerm
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAsPattern Class
Local Features
Name | Type and Description |
---|---|
orPattern |
optional
PyOrPattern
|
patternCaptureTarget |
optional
PyPatternCaptureTarget
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyAssert Class
Super Classes
Local Features
Name | Type and Description |
---|---|
msg |
optional
PyExpr
A
|
test |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyAssertStmt Class
Local Features
Name | Type and Description |
---|---|
test |
list of
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAssign Class
Super Classes
Local Features
Name | Type and Description |
---|---|
targets |
list of
PyExpr
A
|
typeComment | String? |
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyAssignedValue Class
Local Features
Name | Type and Description |
---|---|
testlistStarExpr |
optional
PyTestlistStarExpr
|
yieldExpr |
optional
PyYieldExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyAsyncFuncdef Class
Local Features
Name | Type and Description |
---|---|
funcdef |
optional
PyFuncdef
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAsyncStmt Class
Local Features
Name | Type and Description |
---|---|
forStmt |
optional
PyForStmt
|
funcdef |
optional
PyFuncdef
|
withStmt |
optional
PyWithStmt
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAtom Class
Local Features
Name | Type and Description |
---|---|
dictorsetmaker |
optional
PyDictorsetmaker
|
name |
optional
PyName
|
testlistComp |
optional
PyTestlistComp
|
yieldExpr |
optional
PyYieldExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAtomExpr Class
Local Features
Name | Type and Description |
---|---|
atom |
optional
PyAtom
|
trailer |
list of
PyTrailer
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAttr Class
Local Features
Name | Type and Description |
---|---|
name |
list of
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyAttribute Class
Super Classes
Local Features
Name | Type and Description |
---|---|
attr | String |
ctx |
PyExprContext
E
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyAugAssign Class
Super Classes
Local Features
Name | Type and Description |
---|---|
op |
PyOperator
E
|
target |
optional
PyExpr
A
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyAugassignedValue Class
Local Features
Name | Type and Description |
---|---|
testlist |
optional
PyTestlist
|
yieldExpr |
optional
PyYieldExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyAwait Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyBinOp Class
Super Classes
Local Features
Name | Type and Description |
---|---|
left |
optional
PyExpr
A
|
op |
PyOperator
E
|
right |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyBlock Class
Local Features
Name | Type and Description |
---|---|
simpleStmts |
optional
PySimpleStmts
|
stmt |
list of
PyStmt
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyBoolOpExpr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
op |
PyBoolOp
E
|
values |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyBreak Class
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyBreakStmt Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCall Class
Super Classes
Local Features
Name | Type and Description |
---|---|
args |
list of
PyExpr
A
|
func |
optional
PyExpr
A
|
keywords |
list of
PyKeyword
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyCapturePattern Class
Local Features
Name | Type and Description |
---|---|
patternCaptureTarget |
optional
PyPatternCaptureTarget
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCaseBlock Class
Local Features
Name | Type and Description |
---|---|
block |
optional
PyBlock
|
guard |
optional
PyGuard
|
patterns |
optional
PyPatterns
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyClassDef Class
Super Classes
Local Features
Name | Type and Description |
---|---|
bases |
list of
PyExpr
A
|
body |
list of
PyStmt
A
|
decoratorList |
list of
PyExpr
A
|
keywords |
list of
PyKeyword
|
name | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyClassPattern Class
Local Features
Name | Type and Description |
---|---|
keywordPatterns |
optional
PyKeywordPatterns
|
nameOrAttr |
optional
PyNameOrAttr
|
positionalPatterns |
optional
PyPositionalPatterns
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyClosedPattern Class
Local Features
Name | Type and Description |
---|---|
capturePattern |
optional
PyCapturePattern
|
classPattern |
optional
PyClassPattern
|
groupPattern |
optional
PyGroupPattern
|
literalPattern |
optional
PyLiteralPattern
|
mappingPattern |
optional
PyMappingPattern
|
sequencePattern |
optional
PySequencePattern
|
valuePattern |
optional
PyValuePattern
|
wildcardPattern |
optional
PyWildcardPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyComment Class
Super Classes
Local Features
Name | Type and Description |
---|---|
lines |
list of
PyCommentLine
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCompFor Class
Local Features
Name | Type and Description |
---|---|
compIter |
optional
PyCompIter
|
exprlist |
optional
PyExprlist
|
orTest |
optional
PyOrTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCompIf Class
Local Features
Name | Type and Description |
---|---|
compIter |
optional
PyCompIter
|
testNocond |
optional
PyTestNocond
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCompIter Class
Local Features
Name | Type and Description |
---|---|
compFor |
optional
PyCompFor
|
compIf |
optional
PyCompIf
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCompOp Class
<> isn't actually a valid comparison operator in Python. It's here for the sake of a __future__ import described in PEP 401 (which really works :-)
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCompare Class
Super Classes
Local Features
Name | Type and Description |
---|---|
left |
optional
PyExpr
A
|
rights |
list of
PyCompareRight
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyCompareRight Class
Super Classes
Local Features
Name | Type and Description |
---|---|
op |
PyCmpOp
E
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyComparison Class
Local Features
Name | Type and Description |
---|---|
compOp |
list of
PyCompOp
|
expr |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyComplexNumber Class
Local Features
Name | Type and Description |
---|---|
imaginaryNumber |
optional
PyImaginaryNumber
|
signedRealNumber |
optional
PySignedRealNumber
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyCompoundStmt Class
Local Features
Name | Type and Description |
---|---|
asyncStmt |
optional
PyAsyncStmt
|
classdef |
optional
PyClassDef
|
decorated |
optional
PyDecorated
|
forStmt |
optional
PyForStmt
|
funcdef |
optional
PyFuncdef
|
ifStmt |
optional
PyIfStmt
|
matchStmt |
optional
PyMatchStmt
|
tryStmt |
optional
PyTryStmt
|
whileStmt |
optional
PyWhileStmt
|
withStmt |
optional
PyWithStmt
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyComprehension Class
Super Classes
Local Features
Name | Type and Description |
---|---|
ifs |
list of
PyExpr
A
|
isAsync | Integer |
iter |
optional
PyExpr
A
|
target |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyConstantExpr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
kind | String? |
value | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyContinue Class
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyContinueStmt Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDecorated Class
Local Features
Name | Type and Description |
---|---|
asyncFuncdef |
optional
PyAsyncFuncdef
|
classdef |
optional
PyClassDef
|
decorators |
optional
PyDecorators
|
funcdef |
optional
PyFuncdef
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDecorator Class
Local Features
Name | Type and Description |
---|---|
arglist |
optional
PyArglist
|
dottedName |
optional
PyDottedName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDecorators Class
Local Features
Name | Type and Description |
---|---|
decorator |
list of
PyDecorator
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDelStmt Class
For normal and annotated assignments, additional restrictions enforced by the interpreter
Local Features
Name | Type and Description |
---|---|
exprlist |
optional
PyExprlist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDelete Class
Super Classes
Local Features
Name | Type and Description |
---|---|
targets |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyDict Class
Super Classes
Local Features
Name | Type and Description |
---|---|
keys |
list of
PyExpr
A
|
values |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyDictComp Class
Super Classes
Local Features
Name | Type and Description |
---|---|
generators |
list of
PyComprehension
|
key |
optional
PyExpr
A
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyDictorsetmaker Class
Local Features
Name | Type and Description |
---|---|
compFor |
optional
PyCompFor
|
expr |
list of
PyExpr
A
|
starExpr |
list of
PyStarExpr
|
test |
list of
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDottedAsName Class
Local Features
Name | Type and Description |
---|---|
dottedName |
optional
PyDottedName
|
name |
optional
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDottedAsNames Class
Local Features
Name | Type and Description |
---|---|
dottedAsName |
list of
PyDottedAsName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDottedName Class
Local Features
Name | Type and Description |
---|---|
name |
list of
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyDoubleStarPattern Class
Local Features
Name | Type and Description |
---|---|
patternCaptureTarget |
optional
PyPatternCaptureTarget
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyEncodingDecl Class
not used in grammar, but may appear in "node" passed from Parser to Compiler
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyEvalInput Class
Local Features
Name | Type and Description |
---|---|
testlist |
optional
PyTestlist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyExceptClause Class
NB compile.c makes sure that the default except clause is last
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyExceptHandler Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
name | String? |
type |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyExpr Class (Abstract) A
Super Classes
Local Features
Name | Type and Description |
---|---|
type |
optional
PyExprType
I
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
Used In
PyExprRight Class
Local Features
Name | Type and Description |
---|---|
xorExpr |
optional
PyXorExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyExprStmt Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyExprType Interface I
PyExpression Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyExprlist Class
Local Features
Name | Type and Description |
---|---|
expr |
list of
PyExpr
A
|
starExpr |
list of
PyStarExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyFactor Class
Local Features
Name | Type and Description |
---|---|
factor |
optional
PyFactor
|
op | String? |
power |
optional
PyPower
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyFileInput Class
Local Features
Name | Type and Description |
---|---|
stmt |
list of
PyStmt
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyFlowStmt Class
Local Features
Name | Type and Description |
---|---|
breakStmt |
optional
PyBreakStmt
|
continueStmt |
optional
PyContinueStmt
|
raiseStmt |
optional
PyRaiseStmt
|
returnStmt |
optional
PyReturnStmt
|
yieldStmt |
optional
PyYieldStmt
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyFor Class
Super Classes
Local Features
Name | Type and Description |
---|---|
async | Boolean |
body |
list of
PyStmt
A
|
iter |
optional
PyExpr
A
|
orElse |
list of
PyStmt
A
|
target |
optional
PyExpr
A
|
typeComment | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyForStmt Class
Local Features
Name | Type and Description |
---|---|
block |
list of
PyBlock
|
exprlist |
optional
PyExprlist
|
testlist |
optional
PyTestlist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyFormattedValue Class
Super Classes
Local Features
Name | Type and Description |
---|---|
conversion | Integer |
formatSpec |
optional
PyExpr
A
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyFuncdef Class
Local Features
Name | Type and Description |
---|---|
block |
optional
PyBlock
|
name |
optional
PyName
|
parameters |
optional
PyParameters
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyFunctionDef Class
Super Classes
Local Features
Name | Type and Description |
---|---|
args |
optional
PyArguments
|
async | Boolean |
body |
list of
PyStmt
A
|
decoratorList |
list of
PyExpr
A
|
name | String |
returns |
optional
PyExpr
A
|
typeComment | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyFunctionType Class
Super Classes
Local Features
Name | Type and Description |
---|---|
argTypes |
list of
PyExpr
A
|
returns |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyGeneratorExp Class
Super Classes
Local Features
Name | Type and Description |
---|---|
elt |
optional
PyExpr
A
|
generators |
list of
PyComprehension
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyGlobal Class
Super Classes
Local Features
Name | Type and Description |
---|---|
names |
list of
PyIdentifierNode
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyGlobalStmt Class
Local Features
Name | Type and Description |
---|---|
name |
list of
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyGroupPattern Class
Local Features
Name | Type and Description |
---|---|
pattern |
optional
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyGuard Class
Local Features
Name | Type and Description |
---|---|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyIdentifierNode Class
Super Classes
Local Features
Name | Type and Description |
---|---|
identifier | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyIf Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
orElse |
list of
PyStmt
A
|
test |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyIfExp Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
optional
PyExpr
A
|
orElse |
optional
PyExpr
A
|
test |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyIfStmt Class
Local Features
Name | Type and Description |
---|---|
block |
list of
PyBlock
|
test |
list of
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyImaginaryNumber Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyImport Class
Super Classes
Local Features
Name | Type and Description |
---|---|
names |
list of
PyAlias
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyImportAsName Class
Local Features
Name | Type and Description |
---|---|
attributedName |
optional
PyName
|
originalName |
optional
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyImportAsNames Class
Local Features
Name | Type and Description |
---|---|
importAsName |
list of
PyImportAsName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyImportFrom Class
note below: the ('.' | '...') is necessary because '...' is tokenized as ELLIPSIS
Super Classes
Local Features
Name | Type and Description |
---|---|
level | Integer? |
module | String? |
names |
list of
PyAlias
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyImportFromModule Class
Local Features
Name | Type and Description |
---|---|
dottedName |
optional
PyDottedName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyImportName Class
Local Features
Name | Type and Description |
---|---|
dottedAsNames |
optional
PyDottedAsNames
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyImportStmt Class
Local Features
Name | Type and Description |
---|---|
importFrom |
optional
PyImportFrom
|
importName |
optional
PyImportName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyInteractive Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyItemsPattern Class
Local Features
Name | Type and Description |
---|---|
keyValuePattern |
list of
PyKeyValuePattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyJoinedStr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
values |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyKeyValuePattern Class
Local Features
Name | Type and Description |
---|---|
attr |
optional
PyAttr
|
literalExpr |
optional
PyLiteralExpr
|
pattern |
optional
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyKeyword Class
Super Classes
Local Features
Name | Type and Description |
---|---|
arg | String? |
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyKeywordPattern Class
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
pattern |
optional
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyKeywordPatterns Class
Local Features
Name | Type and Description |
---|---|
keywordPattern |
list of
PyKeywordPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyKwArg Class
Local Features
Name | Type and Description |
---|---|
tfpdef |
optional
PyTfpdef
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyLambda Class
Super Classes
Local Features
Name | Type and Description |
---|---|
args |
optional
PyArguments
|
body |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyLambdef Class
Local Features
Name | Type and Description |
---|---|
test |
optional
PyTest
|
varargslist |
optional
PyVarargslist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyLambdefNocond Class
Local Features
Name | Type and Description |
---|---|
testNocond |
optional
PyTestNocond
|
varargslist |
optional
PyVarargslist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyList Class
Super Classes
Local Features
Name | Type and Description |
---|---|
ctx |
PyExprContext
E
|
elts |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyListComp Class
Super Classes
Local Features
Name | Type and Description |
---|---|
elt |
optional
PyExpr
A
|
generators |
list of
PyComprehension
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyLiteralExpr Class
Local Features
Name | Type and Description |
---|---|
complexNumber |
optional
PyComplexNumber
|
signedNumber |
optional
PySignedNumber
|
strings |
optional
PyStrings
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyLiteralPattern Class
Local Features
Name | Type and Description |
---|---|
complexNumber |
optional
PyComplexNumber
|
signedNumber |
optional
PySignedNumber
|
strings |
optional
PyStrings
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyMappingPattern Class
Local Features
Name | Type and Description |
---|---|
doubleStarPattern |
optional
PyDoubleStarPattern
|
itemsPattern |
optional
PyItemsPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyMatch Class
Super Classes
Local Features
Name | Type and Description |
---|---|
cases |
list of
PyMatchCase
|
subject |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchAs Class
Super Classes
Local Features
Name | Type and Description |
---|---|
name | String? |
pattern |
optional
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchCase Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
guard |
optional
PyExpr
A
|
pattern |
optional
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyMatchClass Class
Super Classes
Local Features
Name | Type and Description |
---|---|
cls |
optional
PyExpr
A
|
kwdAttrs |
list of
PyIdentifierNode
|
kwdPatterns |
list of
PyPattern
A
|
patterns |
list of
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchMapping Class
Super Classes
Local Features
Name | Type and Description |
---|---|
keys |
list of
PyExpr
A
|
patterns |
list of
PyPattern
A
|
rest | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchOr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
patterns |
list of
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchSequence Class
Super Classes
Local Features
Name | Type and Description |
---|---|
patterns |
list of
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchSingleton Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchStar Class
Super Classes
Local Features
Name | Type and Description |
---|---|
name | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMatchStmt Class
Local Features
Name | Type and Description |
---|---|
caseBlock |
list of
PyCaseBlock
|
subjectExpr |
optional
PySubjectExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyMatchValue Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyMaybeSequencePattern Class
Local Features
Name | Type and Description |
---|---|
maybeStarPattern |
list of
PyMaybeStarPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyMaybeStarPattern Class
Local Features
Name | Type and Description |
---|---|
pattern |
optional
PyPattern
A
|
starPattern |
optional
PyStarPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyMod Class (Abstract) A
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
PyModule Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
header |
list of
PyComment
|
typeIgnores |
list of
PyTypeIgnore
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyName Class
Super Classes
Local Features
Name | Type and Description |
---|---|
ctx |
PyExprContext
E
|
id | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
Used In
PyNameOrAttr Class
Local Features
Name | Type and Description |
---|---|
attr |
optional
PyAttr
|
name |
optional
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyNamedExpr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
target |
optional
PyExpr
A
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyNode Class (Abstract) A
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
PyNonLocal Class
Super Classes
Local Features
Name | Type and Description |
---|---|
names |
list of
PyIdentifierNode
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyNonlocalStmt Class
Local Features
Name | Type and Description |
---|---|
name |
list of
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyNotTest Class
Local Features
Name | Type and Description |
---|---|
comparison |
optional
PyComparison
|
notTest |
optional
PyNotTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyOpenSequencePattern Class
Local Features
Name | Type and Description |
---|---|
maybeSequencePattern |
optional
PyMaybeSequencePattern
|
maybeStarPattern |
optional
PyMaybeStarPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyOrPattern Class
Local Features
Name | Type and Description |
---|---|
closedPattern |
list of
PyClosedPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyOrTest Class
Local Features
Name | Type and Description |
---|---|
andTest |
list of
PyAndTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyParameters Class
Local Features
Name | Type and Description |
---|---|
typedargslist |
optional
PyTypedargslist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyPass Class
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyPassStmt Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyPattern Class (Abstract) A
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
Used In
PyPatternCaptureTarget Class
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyPatterns Class
Local Features
Name | Type and Description |
---|---|
openSequencePattern |
optional
PyOpenSequencePattern
|
pattern |
optional
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyPlaceholderExpr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
multiplePlaceholderElement | Boolean |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
placeholderName | String? |
PyPositionalArg Class
Local Features
Name | Type and Description |
---|---|
test |
optional
PyTest
|
tfpdef |
optional
PyTfpdef
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyPositionalPatterns Class
Local Features
Name | Type and Description |
---|---|
pattern |
list of
PyPattern
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyPower Class
Local Features
Name | Type and Description |
---|---|
atomExpr |
optional
PyAtomExpr
|
factor |
optional
PyFactor
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyRaise Class
Super Classes
Local Features
Name | Type and Description |
---|---|
cause |
optional
PyExpr
A
|
exc |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyRaiseStmt Class
Local Features
Name | Type and Description |
---|---|
test |
list of
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyRealNumber Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyReturn Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyReturnStmt Class
Local Features
Name | Type and Description |
---|---|
testlist |
optional
PyTestlist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySequencePattern Class
Local Features
Name | Type and Description |
---|---|
maybeSequencePattern |
optional
PyMaybeSequencePattern
|
openSequencePattern |
optional
PyOpenSequencePattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySet Class
Super Classes
Local Features
Name | Type and Description |
---|---|
elts |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PySetComp Class
Super Classes
Local Features
Name | Type and Description |
---|---|
elt |
optional
PyExpr
A
|
generators |
list of
PyComprehension
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyShiftExpr Class
Local Features
Name | Type and Description |
---|---|
arithExpr |
optional
PyArithExpr
|
shiftExprRight |
list of
PyShiftExprRight
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyShiftExprRight Class
Local Features
Name | Type and Description |
---|---|
arithExpr |
optional
PyArithExpr
|
op | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySignedNumber Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySignedRealNumber Class
Local Features
Name | Type and Description |
---|---|
realNumber |
optional
PyRealNumber
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySimpleStmt Class
Local Features
Name | Type and Description |
---|---|
assertStmt |
optional
PyAssertStmt
|
delStmt |
optional
PyDelStmt
|
exprStmt |
optional
PyExprStmt
|
flowStmt |
optional
PyFlowStmt
|
globalStmt |
optional
PyGlobalStmt
|
importStmt |
optional
PyImportStmt
|
nonlocalStmt |
optional
PyNonlocalStmt
|
passStmt |
optional
PyPassStmt
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySimpleStmts Class
Local Features
Name | Type and Description |
---|---|
simpleStmt |
list of
PySimpleStmt
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySingleInput Class
Local Features
Name | Type and Description |
---|---|
compoundStmt |
optional
PyCompoundStmt
|
simpleStmts |
optional
PySimpleStmts
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PySlice Class
Super Classes
Local Features
Name | Type and Description |
---|---|
lower |
optional
PyExpr
A
|
step |
optional
PyExpr
A
|
upper |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PySliceop Class
Local Features
Name | Type and Description |
---|---|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PySpreadArg Class
Local Features
Name | Type and Description |
---|---|
tfpdef |
optional
PyTfpdef
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyStarExpr Class
Local Features
Name | Type and Description |
---|---|
expr |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyStarNamedExpression Class
Local Features
Name | Type and Description |
---|---|
expr |
optional
PyExpr
A
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyStarNamedExpressions Class
Local Features
Name | Type and Description |
---|---|
starNamedExpression |
list of
PyStarNamedExpression
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyStarPattern Class
Local Features
Name | Type and Description |
---|---|
patternCaptureTarget |
optional
PyPatternCaptureTarget
|
wildcardPattern |
optional
PyWildcardPattern
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyStarred Class
Super Classes
Local Features
Name | Type and Description |
---|---|
ctx |
PyExprContext
E
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyStmt Class (Abstract) A
Super Classes
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Subclasses
Used In
PyStrings Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySubjectExpr Class
Local Features
Name | Type and Description |
---|---|
starNamedExpression |
optional
PyStarNamedExpression
|
starNamedExpressions |
optional
PyStarNamedExpressions
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PySubscript Class
Super Classes
Local Features
Name | Type and Description |
---|---|
ctx |
PyExprContext
E
|
slice |
optional
PyExpr
A
|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
Used In
PySubscriptlist Class
Local Features
Name | Type and Description |
---|---|
subscript |
list of
PySubscript
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTerm Class
Local Features
Name | Type and Description |
---|---|
factor |
optional
PyFactor
|
termRight |
list of
PyTermRight
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTermRight Class
Local Features
Name | Type and Description |
---|---|
factor |
optional
PyFactor
|
op | String |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTest Class
Local Features
Name | Type and Description |
---|---|
elseValue |
optional
PyTest
|
ifCond |
optional
PyOrTest
|
lambdef |
optional
PyLambdef
|
orTest |
optional
PyOrTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTestNocond Class
Local Features
Name | Type and Description |
---|---|
lambdefNocond |
optional
PyLambdefNocond
|
orTest |
optional
PyOrTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTestlist Class
Local Features
Name | Type and Description |
---|---|
test |
list of
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTestlistComp Class
Local Features
Name | Type and Description |
---|---|
compFor |
optional
PyCompFor
|
starExpr |
list of
PyStarExpr
|
test |
list of
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTestlistStarExpr Class
Local Features
Name | Type and Description |
---|---|
testlistStarExprElement |
list of
PyTestlistStarExprElement
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTestlistStarExprElement Class
Local Features
Name | Type and Description |
---|---|
starExpr |
optional
PyStarExpr
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTfpdef Class
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTrailer Class
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
subscriptlist |
optional
PySubscriptlist
|
trailerArgs |
optional
PyTrailerArgs
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTrailerArgs Class
Local Features
Name | Type and Description |
---|---|
arglist |
optional
PyArglist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTry Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
finalBody |
list of
PyStmt
A
|
handlers |
list of
PyExceptHandler
|
orElse |
list of
PyStmt
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyTryStar Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
finalBody |
list of
PyStmt
A
|
handlers |
list of
PyExceptHandler
|
orElse |
list of
PyStmt
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyTryStmt Class
Local Features
Name | Type and Description |
---|---|
block |
list of
PyBlock
|
exceptClause |
list of
PyExceptClause
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyTuple Class
Super Classes
Local Features
Name | Type and Description |
---|---|
ctx |
PyExprContext
E
|
elts |
list of
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyTypePromotion Interface I
Implementing Classes
PyTypedargslist Class
Local Features
Name | Type and Description |
---|---|
kwArg |
optional
PyKwArg
|
positionalArg |
list of
PyPositionalArg
|
spreadArg |
optional
PySpreadArg
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyUnaryOpExpr Class
Super Classes
Local Features
Name | Type and Description |
---|---|
op |
PyUnaryOp
E
|
operand |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyValuePattern Class
Local Features
Name | Type and Description |
---|---|
attr |
optional
PyAttr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyVarargslist Class
Local Features
Name | Type and Description |
---|---|
test |
list of
PyTest
|
vfpdef |
list of
PyVfpdef
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyVfpdef Class
Local Features
Name | Type and Description |
---|---|
name |
optional
PyName
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyWhile Class
Super Classes
Local Features
Name | Type and Description |
---|---|
body |
list of
PyStmt
A
|
orElse |
list of
PyStmt
A
|
test |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyWhileStmt Class
Local Features
Name | Type and Description |
---|---|
block |
list of
PyBlock
|
test |
optional
PyTest
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyWildcardPattern Class
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyWith Class
Super Classes
Local Features
Name | Type and Description |
---|---|
async | Boolean |
body |
list of
PyStmt
A
|
items |
list of
PyWithItem
|
typeComment | String? |
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
PyWithItem Class
Super Classes
Local Features
Name | Type and Description |
---|---|
contextExpr |
optional
PyExpr
A
|
optionalVars |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyWithStmt Class
Local Features
Name | Type and Description |
---|---|
block |
optional
PyBlock
|
withItem |
list of
PyWithItem
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyXorExpr Class
Local Features
Name | Type and Description |
---|---|
andExpr |
optional
PyAndExpr
|
xorExprRight |
list of
PyXorExprRight
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyXorExprRight Class
Local Features
Name | Type and Description |
---|---|
andExpr |
optional
PyAndExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyYield Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyYieldArg Class
Local Features
Name | Type and Description |
---|---|
test |
optional
PyTest
|
testlist |
optional
PyTestlist
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyYieldExpr Class
Local Features
Name | Type and Description |
---|---|
yieldArg |
optional
PyYieldArg
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
PyYieldFrom Class
Super Classes
Local Features
Name | Type and Description |
---|---|
value |
optional
PyExpr
A
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
type |
optional
PyExprType
I
|
PyYieldStmt Class
Local Features
Name | Type and Description |
---|---|
yieldExpr |
optional
PyYieldExpr
|
Inherited Features
Name | Type and Description |
---|---|
position | Position? |
origin | Origin? |
destination | Destination? |
Used In
Data Types
PyBoolOp E
Values
- And
- Or
PyCmpOp E
Values
- Eq
- NotEq
- Lt
- LtE
- Gt
- GtE
- Is
- IsNot
- In
- NotIn
PyExprContext E
Values
- Load
- Store
- Del
PyOperator E
Values
- Add
- Sub
- Mult
- MatMult
- Div
- Mod
- Pow
- LShift
- RShift
- BitOr
- BitXor
- BitAnd
- FloorDiv
PyUnaryOp E
Values
- Invert
- Not
- UAdd
- USub