CodeQL library for Python
codeql/python-all 0.9.2 ( changelog , source )
Search

Module AstExtended

Import path

import semmle.python.AstExtended

Imports

Classes

AliasList

A list of aliases in an import statement

ArgumentsParent

The parent of an Arguments node. Internal implementation class

AstNode

A syntactic node (Class, Function, Module, Expr, Stmt or Comprehension) corresponding to a flow node

BytesOrStr
Comprehension

A comprehension part, the ‘for a in seq’ part of [ a * a for a in seq ]

ComprehensionList

A list of Comprehensions (for generating parts of a set, list or dictionary comprehension)

DictItem
DictItemList
DictItemListParent
ExprContextParent

The parent of an ExprContext. Internal implementation class

ExprList

A list of expressions

ExprListParent

The parent of an ExprList. Internal implementation class

ExprParent

The parent of an Expr. Internal implementation class

FunctionParent

The parent of a Function. Internal implementation class

ParameterList

A parameter list

PatternList

A list of patterns

PatternListParent

The parent of a PatternList. Internal implementation class

PatternParent

The parent of a Pattern. Internal implementation class

StmtListParent

The parent of a StmtList. Internal implementation class

StrListParent

The parent of a StrList. Internal implementation class

StringList

A list of strings (the primitive type string not Bytes or Unicode)

StringPart

A part of a string literal formed by implicit concatenation. For example the string literal “abc” expressed in the source as "a" "b" "c" would be composed of three StringParts.

StringPartList