Modifier and Type | Field and Description |
---|---|
String[] |
captured
The input subsequences captured by the rule's pattern match.
|
String |
text
The text of this token, exactly as read from the document.
|
TT |
type
The type of this token.
|
public final String text
public final String[] captured
Notice that multiple rules may generate the same token type, while the rules' patterns have different capturing groups.
An array of length zero means that the matched pattern has no capturing groups.
Pattern
Copyright © 2018 Arno Unkrig. All rights reserved.