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

Class Assertion

An assertion matching a data-flow node against an API-graph feature.

Import path

import utils.test.VerifyApiGraphs

Direct supertypes

Indirect supertypes

Fields

Predicates

Inherited predicates

getContents

Gets the contents of the comment excluding the leading ‘#’

from Comment
getFollowing

Gets this immediately following comment. Blanks line are allowed between this comment and the following comment, but code or other comments are not.

from Comment
getLocationfrom Comment
getText

Gets the full text of the comment including the leading ‘#’

from Comment
toString

Gets a textual representation of this element.

from Comment

Charpred