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
Показать файл Открыть проект Примеры использования класса

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