public final class RegexLexer extends Object
Constructor and Description |
---|
RegexLexer(RegexSource source,
RegexFlags flags,
RegexOptions options) |
Modifier and Type | Method and Description |
---|---|
Map<String,Integer> |
getNamedCaptureGroups() |
boolean |
hasNext() |
Token |
next() |
int |
numberOfCaptureGroups() |
public RegexLexer(RegexSource source, RegexFlags flags, RegexOptions options)
public boolean hasNext()
public Token next() throws RegexSyntaxException
RegexSyntaxException
public int numberOfCaptureGroups() throws RegexSyntaxException
RegexSyntaxException
public Map<String,Integer> getNamedCaptureGroups() throws RegexSyntaxException
RegexSyntaxException