- ObjectPredicate<T> - Interface in jfun.parsec
-
Maps an Object to a boolean value.
- octInteger() - Static method in class jfun.parsec.Lexers
-
- octInteger(String) - Static method in class jfun.parsec.Lexers
-
- one() - Static method in class jfun.parsec.Parsers
-
The parser that always succeed.
- one(String) - Static method in class jfun.parsec.Parsers
-
The parser that always succeed.
- OperatorTable<E> - Class in jfun.parsec
-
This class is used to describe operator information.
- OperatorTable() - Constructor for class jfun.parsec.OperatorTable
-
- option(Type) - Method in class jfun.parsec.Parser
-
If this fails with no input consumed, the default value is returned.
- option(String, Type) - Method in class jfun.parsec.Parser
-
If this fails with no input consumed, the default value is returned.
- option(R, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs Parser p, if it fails with no input consumed, return default value v
instead.
- option(String, R, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs Parser p, if it fails with no input consumed, return default value v
instead.
- optional() - Method in class jfun.parsec.Parser
-
p.optional() is equivalent to p? in EBNF.
- optional(String) - Method in class jfun.parsec.Parser
-
p.optional(name) is equivalent to p? in EBNF.
- optional(Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs Parser p, if it fails with no input consumed, succeed anyway with null as the result.
- optional(String, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs Parser p, if it fails with no input consumed, succeed anyway with null as result.
- optional() - Method in class jfun.parsec.pattern.Pattern
-
Match with 0 length even if this pattern mismatches.
- optional(Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
Match with 0 length even if Pattern object pp mismatches.
- or(String, Parser<?>...) - Static method in class jfun.parsec.Parsers
-
To create a Parser that runs an array of Parser objects
until one succeeds.
- or(Parser<?>...) - Static method in class jfun.parsec.Parsers
-
To create a Parser that runs an array of Parser objects
until one succeeds.
- or(CharPredicate, CharPredicate) - Static method in class jfun.parsec.pattern.CharPredicates
-
Logical or of two CharPredicate objects.
- or(CharPredicate...) - Static method in class jfun.parsec.pattern.CharPredicates
-
Logical or of an array of CharPredicate objects.
- or(Pattern, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
if the first Pattern object pp1 mismatches, try the second Pattern object pp2.
- or(Pattern...) - Static method in class jfun.parsec.pattern.Patterns
-
try an array of Pattern objects subsequently until one matches.