CodeQL library for Python
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

The length of this comment block (in comments)

toString

Gets a textual representation of this element.

Charpred