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.
파일 보기 프로젝트 열기: retailcoder/Rubberduck 1 사용 예제들

공개 메소드들

메소드 설명
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