CodeQL library for Python
codeql/python-all 1.0.5-dev (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.