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 ofTextChunk
with the specified text.- Parameters:
text
- The text of this chunk.- Throws:
IllegalArgumentException
- iftext
isnull
.
-
-
Method Details