Comment

data class Comment(val text: String, val supplement: NodeSupplement = NodeSupplement()) : Node.Extra

AST node that represents a comment. The node corresponds to PsiComment.

Constructors

Link copied to clipboard
constructor(text: String, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.

Link copied to clipboard
open override val text: String

string representation of the node. It contains comment markers, e.g. "//".