- action(String, A, A) - Method in interface net.morilib.rena.PatternAction
-
a method of an action.
- apply(PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>) - Method in interface net.morilib.rena.Letrec3Function
-
applies the given arguments.
First PatternMatcher is used as return value.
- apply(PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>) - Method in interface net.morilib.rena.Letrec4Function
-
applies the given arguments.
- apply(PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>) - Method in interface net.morilib.rena.Letrec5Function
-
applies the given arguments.
- atLeast(int, PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
-
repeats at least the given count.
This method is NOT backtracking.
- atLeast(int) - Method in interface net.morilib.rena.OperationMatcher
-
repeats at least the given count.
This method is NOT backtracking.
- atLeast(int, PatternMatcher<A>, PatternAction<A>, A) - Method in class net.morilib.rena.Rena
-
repeats the given pattern at least the given count.
This method is NOT backtracking.
- atLeast(int, PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
repeats the given pattern at least the given count.
This method is NOT backtracking.
- atLeast(int, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
repeats the given pattern at least the given count.
This method is NOT backtracking.
- atMost(int, PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
-
repeats at most the given count.
This method is NOT backtracking.
- atMost(int) - Method in interface net.morilib.rena.OperationMatcher
-
repeats at most the given count.
This method is NOT backtracking.
- atMost(int, PatternMatcher<A>, PatternAction<A>, A) - Method in class net.morilib.rena.Rena
-
repeats the given pattern at most the given count.
This method is NOT backtracking.
- atMost(int, PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
repeats the given pattern at most the given count.
This method is NOT backtracking.
- atMost(int, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
repeats the given pattern at most the given count.
This method is NOT backtracking.
- attr(A) - Method in class net.morilib.rena.Rena
-
sets the attribute to the given value.
- oneOrMore(PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
-
a shortcut of 'atLeast(1, action)'.
This method is NOT backtracking.
- oneOrMore() - Method in interface net.morilib.rena.OperationMatcher
-
a shortcut of 'atLeast(1)'.
This method is NOT backtracking.
- oneOrMore(PatternMatcher<A>, PatternAction<A>, A) - Method in class net.morilib.rena.Rena
-
a shortcut of 'atLeast(1, pattern, action, init)'.
This method is NOT backtracking.
- oneOrMore(PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
a shortcut of 'atLeast(1, pattern, action)'.
This method is NOT backtracking.
- oneOrMore(PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
a shortcut of 'atLeast(1, pattern)'.
This method is NOT backtracking.
- OperationMatcher<A> - Interface in net.morilib.rena
-
An interface with operations for matchers.
- or(PatternMatcher<A>) - Method in interface net.morilib.rena.OrMatcher
-
creates a matcher with the given matcher as alternation.
- or(PatternMatcher<A>, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches when one of the given matchers matches.
- or(PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches when one of the given matchers matches.
- or(PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches when one of the given matchers matches.
- or(List<PatternMatcher<A>>) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches when one of matchers in the given list matches.
- OrMatcher<A> - Interface in net.morilib.rena
-
An interface with alternation matcher.
- real(boolean, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches float number.
The sign is considered if the given signum is true.
- regex(String, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches with a regular expression
and an action which executes when the pattern is matched.
- regex(String) - Method in class net.morilib.rena.Rena
-
creates a matcher which matches with a regular expression.
- regex(String, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
creates a matcher which succeeds the given matcher
and execute the given action when matches.
- regex(String) - Method in interface net.morilib.rena.ThenMatcher
-
creates a matcher which succeeds the given matcher.
- Rena<A> - Class in net.morilib.rena
-
A class to create parser definition.
- Rena() - Constructor for class net.morilib.rena.Rena
-
Constructs a class to create parser definition with default settings.
- Rena(String) - Constructor for class net.morilib.rena.Rena
-
Constructs a class to create parser definition with a regular expression to ignore.
- Rena(String[]) - Constructor for class net.morilib.rena.Rena
-
Constructs a class to create parser definition with keywords.
A longest keyword will be matched.
- Rena(List<String>) - Constructor for class net.morilib.rena.Rena
-
Constructs a class to create parser definition with keywords.
A longest keyword will be matched.
- Rena(String, String[]) - Constructor for class net.morilib.rena.Rena
-
Constructs a class to create parser definition with a regular expression to ignore and keywords.
A longest keyword will be matched.
- Rena(String, List<String>) - Constructor for class net.morilib.rena.Rena
-
Constructs a class to create parser definition with a regular expression to ignore and keywords.
A longest keyword will be matched.
- then(PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
wraps a given matcher and an action which executes when the pattern is matched.
- then(PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
wraps a given matcher.
- then(PatternMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
creates a matcher which succeeds the given matcher
and execute the given action when matches.
- then(PatternMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
creates a matcher which succeeds the given matcher.
- thenAtLeast(int, OperationMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
repeats at least the given count.
This method is NOT backtracking.
- thenAtLeast(int, OperationMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
repeats at least the given count.
This method is NOT backtracking.
- thenAtMost(int, OperationMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
repeats at most the given count.
This method is NOT backtracking.
- thenAtMost(int, OperationMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
repeats at most the given count.
This method is NOT backtracking.
- thenDelimit(OperationMatcher<A>, PatternMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
matches a string which is delimited by the given string.
This method is NOT backtracking.
- thenDelimit(OperationMatcher<A>, PatternMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
matches a string which is delimited by the given string.
This method is NOT backtracking.
- ThenMatcher<A> - Interface in net.morilib.rena
-
An interface with successor matcher.
- thenMaybe(OperationMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
matches zero or one of the this matcher.
This method is NOT backtracking.
- thenMaybe(OperationMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
matches zero or one of the this matcher.
This method is NOT backtracking.
- thenOneOrMore(OperationMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
a shortcut of 'atLeast(1, action)'.
This method is NOT backtracking.
- thenOneOrMore(OperationMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
a shortcut of 'atLeast(1)'.
This method is NOT backtracking.
- thenTimes(int, int, OperationMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
repeats to the given count.
This method is NOT backtracking.
- thenTimes(int, int, OperationMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
repeats to the given count.
This method is NOT backtracking.
- thenZeroOrMore(OperationMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
-
a shortcut of 'atLeast(0, action)'.
This method is NOT backtracking.
- thenZeroOrMore(OperationMatcher<A>) - Method in interface net.morilib.rena.ThenMatcher
-
a shortcut of 'atLeast(0)'.
This method is NOT backtracking.
- times(int, int, PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
-
repeats to the given count.
This method is NOT backtracking.
- times(int, int) - Method in interface net.morilib.rena.OperationMatcher
-
repeats to the given count.
This method is NOT backtracking.
- times(int, int, PatternMatcher<A>, PatternAction<A>, A) - Method in class net.morilib.rena.Rena
-
repeats the given patterns to the given count.
This method is NOT backtracking.
- times(int, int, PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
-
repeats the given patterns to the given count.
This method is NOT backtracking.
- times(int, int, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
-
repeats the given patterns to the given count.
This method is NOT backtracking.
- toString() - Method in class net.morilib.rena.PatternResult
-