Class TextChunk
java.lang.Object
org.antlr.v4.runtime.tree.pattern.Chunk
org.antlr.v4.runtime.tree.pattern.TextChunk
Represents a span of raw text (concrete syntax) between tags in a tree
pattern string.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
text
This is the backing field forgetText().
-
-
Constructor Details
-
TextChunk
Constructs a new instance ofTextChunkwith the specified text.- Parameters:
text- The text of this chunk.- Throws:
IllegalArgumentException- iftextisnull.
-
-
Method Details