public class RegExParser
extends java.lang.Object
Constructor and Description |
---|
RegExParser() |
Modifier and Type | Method and Description |
---|---|
@NotNull java.util.Collection<java.lang.String> |
getWords()
Returns the words from the last call to
parse(String,
ErrorGenerator) . |
void |
parse(@NotNull java.lang.String regEx,
@NotNull ErrorGenerator<?,?,?> generator)
Parses a regular expression.
|
public void parse(@NotNull @NotNull java.lang.String regEx, @NotNull @NotNull ErrorGenerator<?,?,?> generator)
regEx
- the regular expressiongenerator
- the generator for reporting errors@NotNull public @NotNull java.util.Collection<java.lang.String> getWords()
parse(String,
ErrorGenerator)
.