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

Class CommentBlock

A block of consecutive comments

Import path

import python

Direct supertypes

Predicates

contains

Holds if this comment block contains c.

getContents

Gets a string representation of this comment block.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

length

Gets the length of this comment block (in comments)

toString

Gets a textual representation of this element.

Charpred