- cast() - Method in class jfun.parsec.Parser
-
To cast the current Parser to a Parser object that returns a subtype of the current type.
- cast(Class<R>) - Method in class jfun.parsec.Parser
-
To cast the current Parser to a Parser object that returns a subtype of the current type.
- Catch<T> - Interface in jfun.parsec
-
To catch a pseudo-exception 'thrown' from a Parser.
- Catch1<T> - Class in jfun.parsec
-
Catch1 implements Catch and recovers the exception only when the exception is the same object that it expects.
- Catch1(T) - Constructor for class jfun.parsec.Catch1
-
Create a Catch1 object.
- catchException(Object, Object) - Method in interface jfun.parsec.Catch
-
in case of a pseudo-exception e happens, user can specify what Parser to use.
- catchException(Object, Object) - Method in class jfun.parsec.Catch1
-
if e is the same as the target object that this Catch object is expecting,
it recovers the parser and make v the current return value.
- char_literal(char) - Static method in class jfun.parsec.tokens.Tokens
-
create a character literal token.
- charLiteral() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse single quoted character literal (escaped by '\'),
and then converts the character to a Character.
- charLiteral(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse single quoted character literal (escaped by '\'),
and then converts the character to a Character.
- charParser(String, FromChar<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse Character token.
- charParser(FromChar<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse Character token.
- CharPredicate - Interface in jfun.parsec.pattern
-
The interface to test a character value.
- CharPredicates - Class in jfun.parsec.pattern
-
This class provides some common CharPredicate implementations.
- CharPredicates() - Constructor for class jfun.parsec.pattern.CharPredicates
-
- chars_eq(int) - Static method in class jfun.parsec.pattern.Patterns
-
- chars_ge(int) - Static method in class jfun.parsec.pattern.Patterns
-
- cnst(V) - Static method in class jfun.parsec.Maps
-
Creates a map that maps any object to the same object.
- ConstTokenizer - Class in jfun.parsec
-
This tokenizer will always return the same token regardless of the input range.
- convert() - Method in class jfun.parsec.Parser
-
To convert the current Parser to a Parser object that returns any target type.
- convert(Class<R>) - Method in class jfun.parsec.Parser
-
To convert the current Parser to a Parser object that returns any target type.
- createArray(int) - Method in interface jfun.parsec.ArrayFactory
-
Create an array of length len.
- createTypedToken(String, T) - Static method in class jfun.parsec.tokens.Tokens
-
Create a typed token.