C# 클래스 Antlr4.Runtime.Tree.Pattern.TextChunk

Represents a span of raw text (concrete syntax) between tags in a tree pattern string.
Represents a span of raw text (concrete syntax) between tags in a tree pattern string.
상속: Chunk
파일 보기 프로젝트 열기: antlr/antlr4 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
TextChunk ( string text ) : System

Constructs a new instance of TextChunk with the specified text.

ToString ( ) : string

The implementation for TextChunk returns the result of Text() in single quotes.

메소드 상세

TextChunk() 공개 메소드

Constructs a new instance of TextChunk with the specified text.
/// IllegalArgumentException /// if /// /// is /// /// . ///
public TextChunk ( string text ) : System
text string The text of this chunk.
리턴 System

ToString() 공개 메소드

The implementation for TextChunk returns the result of Text() in single quotes.

public ToString ( ) : string
리턴 string