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

Class PrintAstConfiguration

The query can extend this class to control which elements are printed.

Import path

import semmle.python.PrintAst

Direct supertypes

Known direct subtypes

    Predicates

    shouldPrint

    Controls whether the AstNode should be considered for AST printing. By default it checks whether the AstNode e belongs to Location l.

    toString

    Gets a textual representation of this PrintAstConfiguration.