expr: An unlabeled placeholder for a parser rule expr.ID: An unlabeled placeholder for a token of type ID.e:expr: A labeled placeholder for a parser rule expr.id:ID: A labeled placeholder for a token of type ID.| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final String | Returns: The label assigned to this chunk, ornull if no label is
assigned to the chunk.Get the label, if any, assigned to this chunk. |
| public final String | |
| public String | toString()
Overrides java. |
| label | back to summary |
|---|---|
| private final String label This is the backing field for | |
| tag | back to summary |
|---|---|
| private final String tag This is the backing field for | |
| TagChunk | back to summary |
|---|---|
| public TagChunk(String tag) Construct a new instance of
| |
| TagChunk | back to summary |
|---|---|
| public TagChunk(String label, String tag) Construct a new instance of
| |
| getLabel | back to summary |
|---|---|
| public final String getLabel() Get the label, if any, assigned to this chunk.
| |
| getTag | back to summary |
|---|---|
| public final String getTag() Get the tag for this chunk.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. This method returns a text representation of the tag chunk. Labeled tags
are returned in the form
| |