CodeQL library for C#
codeql/csharp-all 3.1.1 (changelog, source)
Search

Class PrintAstConfiguration

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

Import path

import semmle.code.csharp.PrintAst

Direct supertypes

Known direct subtypes

    Predicates

    shouldPrint

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

    toString

    Gets a textual representation of this PrintAstConfiguration.