| Package | Description |
|---|---|
| org.vesalainen.grammar | |
| org.vesalainen.regex | |
| org.vesalainen.regex.ant |
| Modifier and Type | Field and Description |
|---|---|
protected Regex.Option[] |
Grammar.T.options |
| Modifier and Type | Method and Description |
|---|---|
Regex.Option[] |
GTerminal.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
Grammar.addAnonymousTerminal(String expression,
Regex.Option... options)
Adds anonymous terminal.
|
void |
Grammar.addTerminal(Member reducer,
String name,
String expression,
String documentation,
int priority,
int base,
Regex.Option... options) |
void |
Grammar.addTerminal(String name,
String expression,
int priority,
int base,
Regex.Option... options) |
| Constructor and Description |
|---|
Grammar.T(String name,
String expression,
String documentation,
int priority,
int base,
Regex.Option[] options,
Member reducer) |
| Modifier and Type | Method and Description |
|---|---|
static Regex.Option |
Regex.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Regex.Option[] |
Regex.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected RangeSet |
RegexParser.charRange(int cc,
Regex.Option... options) |
static Regex |
Regex.compile(String expression,
Regex.Option... options)
Compiles a regular expression into RegExImpl class.
|
static DFA<Integer> |
Regex.createDFA(String expression,
int reducer,
Regex.Option... options)
Creates a DFA from regular expression
|
static NFA<Integer> |
Regex.createNFA(Scope<NFAState<Integer>> scope,
String expression,
int token,
Regex.Option... options)
Creates an NFA from regular expression
|
NFA<T> |
RegexParser.createNFA(Scope<NFAState<T>> scope,
String expression,
T reducer,
Regex.Option... options)
Creates a Nondeterministic finite automata from regular expression
|
NFA<T> |
RegexParserIntf.createNFA(Scope<NFAState<T>> scope,
String expression,
T reducer,
Regex.Option... options)
Creates a Nondeterministic finite automata from regular expression
|
NFA<T> |
TinyExpressionParser.createNFA(Scope<NFAState<T>> scope,
String expression,
T reducer,
Regex.Option... options) |
protected RangeSet |
RegexParser.dashRange(int from,
int to,
Regex.Option... options) |
protected RangeSet |
RegexParser.javaUpperCase(Regex.Option... options) |
static Regex |
Regex.literal(String expression,
Regex.Option... options)
Compiles a literal string into RegexImpl class.
|
protected abstract NFA |
RegexParser.parse(String expression,
Scope<NFAState<T>> factory,
RegexParser.Literal literal,
Regex.Option... options) |
protected RangeSet |
RegexParser.posixUpper(Regex.Option... options) |
static void |
Regex.saveAs(String expression,
File dstDir,
File srcDir,
String classname,
Regex.Option... options)
Compiles and saves regular expression
|
static boolean |
Regex.Option.supports(Regex.Option[] options,
Regex.Option option) |
static boolean |
Regex.Option.supports(Regex.Option[] options,
Regex.Option option) |
protected int |
RegexParser.uppercaseLetter(Regex.Option... options) |
| Modifier and Type | Method and Description |
|---|---|
void |
RegexBuilder.setOptions(Regex.Option... options) |