Skip navigation links
A B C D E G I K L M N O P R S T Z 

A

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.

B

br() - Method in class net.morilib.rena.Rena
creates a matcher which matches newline.

C

cond(Predicate<A>) - Method in interface net.morilib.rena.OperationMatcher
matches the pattern if the given condition is true.

D

delimit(PatternMatcher<A>, PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
matches a string which is delimited by the given string.
This method is NOT backtracking.
delimit(PatternMatcher<A>) - Method in interface net.morilib.rena.OperationMatcher
matches a string which is delimited by the given string.
This method is NOT backtracking.
delimit(PatternMatcher<A>, PatternMatcher<A>, PatternAction<A>, A) - Method in class net.morilib.rena.Rena
matches a string which is delimited by the given pattern.
This method is NOT backtracking.
delimit(PatternMatcher<A>, PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
matches a string which is delimited by the given string.
This method is NOT backtracking.
delimit(PatternMatcher<A>, PatternMatcher<A>) - Method in class net.morilib.rena.Rena
matches a string which is delimited by the given string.
This method is NOT backtracking.

E

end() - Method in interface net.morilib.rena.OperationMatcher
matches end of string.
equalsId(String) - Method in class net.morilib.rena.Rena
creates a matcher which matches the given string.
If a pattern to ignore is specified, the id which succeeds the pattern to ignore will only match.
If keywords is specified, the id which succeeds the keywords will only match.

G

getAttribute() - Method in class net.morilib.rena.PatternResult
gets an attribute.
getLastIndex() - Method in class net.morilib.rena.PatternResult
gets last index of matching.
getMatch() - Method in class net.morilib.rena.PatternResult
gets matched string.
getStartIndex() - Method in class net.morilib.rena.PatternResult
gets start index of matching.

I

I - Variable in class net.morilib.rena.Rena
 

K

key(String) - Method in class net.morilib.rena.Rena
creates a matcher which matches a given keyword.
A longest keyword will be matched.

L

letrec(Function<PatternMatcher<A>, PatternMatcher<A>>) - Static method in class net.morilib.rena.Rena
A method which can refer a return value of the function itself.
This method will be used for defining a pattern with recursion.
letrec(BiFunction<PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>>, BiFunction<PatternMatcher<A>, PatternMatcher<A>, PatternMatcher<A>>) - Static method in class net.morilib.rena.Rena
A method which can refer a return values of the function itself.
This method will be used for defining a pattern with recursion.
letrec(Letrec3Function<A>, Letrec3Function<A>, Letrec3Function<A>) - Static method in class net.morilib.rena.Rena
A method which can refer a return values of the function itself.
This method will be used for defining a pattern with recursion.
letrec(Letrec4Function<A>, Letrec4Function<A>, Letrec4Function<A>, Letrec4Function<A>) - Static method in class net.morilib.rena.Rena
A method which can refer a return values of the function itself.
This method will be used for defining a pattern with recursion.
letrec(Letrec5Function<A>, Letrec5Function<A>, Letrec5Function<A>, Letrec5Function<A>, Letrec5Function<A>) - Static method in class net.morilib.rena.Rena
A method which can refer a return values of the function itself.
This method will be used for defining a pattern with recursion.
Letrec3Function<A> - Interface in net.morilib.rena
A functional interface of three arguments of PatternMatcher.
Letrec4Function<A> - Interface in net.morilib.rena
A functional interface of four arguments of PatternMatcher.
Letrec5Function<A> - Interface in net.morilib.rena
A functional interface of five arguments of PatternMatcher.
lookahead(PatternMatcher<A>) - Method in interface net.morilib.rena.LookaheadMatcher
matches the pattern not consuming the string to be matched.
LookaheadMatcher<A> - Interface in net.morilib.rena
An interface with lookahead matcher.
lookaheadNot(PatternMatcher<A>) - Method in interface net.morilib.rena.LookaheadMatcher
matches the pattern not consuming the string to be not matched.

M

match(String, int, A) - Method in interface net.morilib.rena.PatternMatcher
matches the given string starts with the given index.
returns an instance of PatternResult if it matches, or returns null if it does not match.
match(String, A) - Method in interface net.morilib.rena.PatternMatcher
matches the given string starts with 0.
returns an instance of PatternResult if it matches, or returns null if it does not match.
maybe(PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
matches zero or one of the this matcher.
This method is NOT backtracking.
maybe() - Method in interface net.morilib.rena.OperationMatcher
matches zero or one of the this matcher.
This method is NOT backtracking.
maybe(PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
matches zero or one of the given pattern.
This method is NOT backtracking.
maybe(PatternMatcher<A>) - Method in class net.morilib.rena.Rena
matches zero or one of the given pattern.
This method is NOT backtracking.

N

net.morilib.rena - package net.morilib.rena
 
notKey() - Method in class net.morilib.rena.Rena
creates a matcher which matches if any keyword does not match.

O

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.

P

parse(String, A) - Method in interface net.morilib.rena.PatternMatcher
An alias of match.
parsePart(String, int, A) - Method in interface net.morilib.rena.PatternMatcher
searches this pattern in the given string from the given index.
returns an instance of PatternResult if the pattern found in the string from the index.
parsePart(String, A) - Method in interface net.morilib.rena.PatternMatcher
searches this pattern in the given string.
returns an instance of PatternResult if the pattern found in the string.
parsePartGlobal(String, int, A, BiFunction<A, A, A>) - Method in interface net.morilib.rena.PatternMatcher
searches all patterns in the given string from the given index.
returns accumulated attribute by the given action.
parsePartGlobal(String, A, BiFunction<A, A, A>) - Method in interface net.morilib.rena.PatternMatcher
searches all patterns in the given string.
returns accumulated attribute by the given action.
parsePartGlobalList(String, int) - Method in interface net.morilib.rena.PatternMatcher
searches all patterns in the given string from the given index.
returns a list of all attributes.
parsePartGlobalList(String) - Method in interface net.morilib.rena.PatternMatcher
searches all patterns in the given string.
returns a list of all attributes.
PatternAction<A> - Interface in net.morilib.rena
A functional interface of actions used in this framework.
PatternMatcher<A> - Interface in net.morilib.rena
A functional interface of matchers used in this framework.
PatternResult<A> - Class in net.morilib.rena
A class of matching result.
PatternResult(String, int, A) - Constructor for class net.morilib.rena.PatternResult
constructs matching result.

R

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.

S

skipSpace(String, int) - Method in interface net.morilib.rena.OperationMatcher
skips a space of the given string.
string(String, PatternAction<A>) - Method in class net.morilib.rena.Rena
creates a matcher which matches with a given string and an action which executes when the pattern is matched.
string(String) - Method in class net.morilib.rena.Rena
creates a matcher which matches with a given string.
string(String, PatternAction<A>) - Method in interface net.morilib.rena.ThenMatcher
creates a matcher which matches the given string and execute the given action when matches.
string(String) - Method in interface net.morilib.rena.ThenMatcher
creates a matcher which matches the given string.

T

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
 

Z

zeroOrMore(PatternAction<A>) - Method in interface net.morilib.rena.OperationMatcher
a shortcut of 'atLeast(0, action)'.
This method is NOT backtracking.
zeroOrMore() - Method in interface net.morilib.rena.OperationMatcher
a shortcut of 'atLeast(0)'.
This method is NOT backtracking.
zeroOrMore(PatternMatcher<A>, PatternAction<A>, A) - Method in class net.morilib.rena.Rena
a shortcut of 'atLeast(0, pattern, action, init)'.
This method is NOT backtracking.
zeroOrMore(PatternMatcher<A>, PatternAction<A>) - Method in class net.morilib.rena.Rena
a shortcut of 'atLeast(0, pattern, action)'.
This method is NOT backtracking.
zeroOrMore(PatternMatcher<A>) - Method in class net.morilib.rena.Rena
a shortcut of 'atLeast(0, pattern)'.
This method is NOT backtracking.
A B C D E G I K L M N O P R S T Z 
Skip navigation links