C# Класс Rubberduck.Parsing.Nodes.CommentNode

Represents a comment.
This is working around the limitations of the .g4 grammar file in use, which ignores comments. Ideally comments would be part of the grammar, and parsed along with the rest of the language syntax into an IParseTree.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommentNode ( string comment, string marker, QualifiedSelection qualifiedSelection ) : Rubberduck.VBEditor

Creates a new comment node.

ToString ( ) : string

Returns the comment text.

Описание методов

CommentNode() публичный Метод

Creates a new comment node.
public CommentNode ( string comment, string marker, QualifiedSelection qualifiedSelection ) : Rubberduck.VBEditor
comment string The comment line text, without the comment marker.
marker string
qualifiedSelection Rubberduck.VBEditor.QualifiedSelection The information required to locate and select this node in its VBE code pane.
Результат Rubberduck.VBEditor

ToString() публичный Метод

Returns the comment text.
public ToString ( ) : string
Результат string