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

Class CommentLine

A single line of comment.

Either a single line comment (SinglelineComment), an XML comment (XmlCommentLine), or a line in a multi-line comment (MultilineComment).

Import path

import csharp

Direct supertypes

Known direct subtypes

Predicates

getLocation

Gets the location of this comment line.

getParent

Gets the containing comment block.

getRawText

Gets the raw text of the comment, including the comment markers.

getText

Gets the text in the comment, trimmed to remove comment markers and leading and trailing whitespace.

toString

Gets a textual representation of this comment line.