C# Class 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.
Inheritance: Chunk
Afficher le fichier Open project: antlr/antlr4 Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

TextChunk() public méthode

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.
Résultat System

ToString() public méthode

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

public ToString ( ) : string
Résultat string