- scanChars(Parser<?>, Parser<_>, String) - Static method in class jfun.parsec.Scanners
-
After character level parser p succeeds,
subsequently feed the recognized characters to the Parser scanner
for a nested scanning.
- scanChars(String, Parser<?>, Parser<_>, String) - Static method in class jfun.parsec.Scanners
-
After character level parser p succeeds,
subsequently feed the recognized characters to the Parser scanner
for a nested scanning.
- Scanners - Class in jfun.parsec
-
Scanners class provides basic character level parsers
and the combinators that only work on scanners.
- Scanners() - Constructor for class jfun.parsec.Scanners
-
- sepBy(Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy(String, Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy(Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy(ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy(String, ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy(String, Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy1(Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy1(String, Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy1(Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
Class -> Parser a -> Parser [Object].
- sepBy1(String, Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
Class -> Parser a -> Parser [Object].
- sepBy1(ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepBy1(String, ArrayFactory<R>, Parser<?>, Parser<A>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated by Parser sep pattern.
- sepEndBy(Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy(Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy(ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy(String, Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy(String, Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy(String, ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy1(Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy1(String, Parser<?>, Parser<?>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy1(Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy1(ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy1(String, Class<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- sepEndBy1(String, ArrayFactory<R>, Parser<?>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
run a series of Parser p pattern that is seperated and optionally ended by
Parser sep pattern.
- seq(Parser<R>) - Method in class jfun.parsec.Parser
-
if this parser succeeds,
the returned value is discarded and the next parser is excuted.
- seq(String, Parser<R>) - Method in class jfun.parsec.Parser
-
if this parser succeeds,
the returned value is discarded and the next parser is excuted.
- seq(Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 2 parser objects.
- seq(String, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 2 parser objects.
- seq(Parser<?>, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 3 parser objects.
- seq(String, Parser<?>, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 3 parser objects.
- seq(Parser<?>, Parser<?>, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 4 parser objects.
- seq(String, Parser<?>, Parser<?>, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 4 parser objects.
- seq(Parser<?>, Parser<?>, Parser<?>, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 5 parser objects.
- seq(String, Parser<?>, Parser<?>, Parser<?>, Parser<?>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Sequencing 5 parser objects.
- seq(Pattern) - Method in class jfun.parsec.pattern.Pattern
-
First matches this pattern.
- seq(Pattern, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
First matches Pattern object pp1.
- seq(Pattern...) - Static method in class jfun.parsec.pattern.Patterns
-
Runs an array of Pattern objects subsequently until one mismatches.
- seqAll(Parser<?>[]) - Static method in class jfun.parsec.Parsers
-
Sequencing of an array of Parser objects.
- seqAll(String, Parser<?>[]) - Static method in class jfun.parsec.Parsers
-
Sequencing of an array of Parser objects.
- sequence(Parser<?>...) - Static method in class jfun.parsec.Parsers
-
Sequencing of an array of Parser objects.
- sequence(String, Parser<?>...) - Static method in class jfun.parsec.Parsers
-
Sequencing of an array of Parser objects.
- setDebug(boolean) - Static method in class jfun.parsec.Parsers
-
enable or disable debugging.
- setState(Object) - Static method in class jfun.parsec.Parsers
-
Deprecated.
as of version 0.6
- setState(String, Object) - Static method in class jfun.parsec.Parsers
-
Deprecated.
as of version 0.6
- setValue1(A) - Method in class jfun.parsec.Pair
-
Set the first value.
- setValue2(B) - Method in class jfun.parsec.Pair
-
Set the second value.
- setValue3(C) - Method in class jfun.parsec.Tuple3
-
- setValue4(D) - Method in class jfun.parsec.Tuple4
-
- setValue5(E) - Method in class jfun.parsec.Tuple5
-
- shorter(String, Parser<R>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs two alternative parsers.
- shorter(Parser<R>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs two alternative parsers.
- shorter(Pattern, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
Try two pattern objects, pick the one with the shorter match length.
- shortest(String, Parser<R>...) - Static method in class jfun.parsec.Parsers
-
Runs an array of alternative parsers.
- shortest(Parser<R>...) - Static method in class jfun.parsec.Parsers
-
Runs an array of alternative parsers.
- shortest(Pattern...) - Static method in class jfun.parsec.pattern.Patterns
-
Try an array of pattern objects, pick the one with the shortest match length.
- show(Object) - Method in interface jfun.parsec.ShowToken
-
convert a token to a String.
- show(Object) - Method in class jfun.parsec.Token2String
-
- ShowToken - Interface in jfun.parsec
-
To convert a token object to String.
- some(ArrayFactory<Type>, int, int) - Method in class jfun.parsec.Parser
-
Runs this for at least min times and at most max times.
- some(String, ArrayFactory<Type>, int, int) - Method in class jfun.parsec.Parser
-
Runs this for at least min times and at most max times.
- some(Class<Type>, int, int) - Method in class jfun.parsec.Parser
-
Runs this for at least min times and at most max times.
- some(String, Class<Type>, int, int) - Method in class jfun.parsec.Parser
-
Runs this for at least min times and at most max times.
- some(int, int) - Method in class jfun.parsec.Parser
-
Runs this for at least min times and at most max times.
- some(String, int, int) - Method in class jfun.parsec.Parser
-
Runs this for at least min times and at most max times.
- some(int) - Method in class jfun.parsec.Parser
-
Runs this for up to max times.
- some(Class<Type>, int) - Method in class jfun.parsec.Parser
-
Runs this for up to max times.
- some(ArrayFactory<Type>, int) - Method in class jfun.parsec.Parser
-
Runs this for up to max times.
- some(String, int) - Method in class jfun.parsec.Parser
-
Runs this for up to max times.
- some(String, Class<Type>, int) - Method in class jfun.parsec.Parser
-
Runs this for up to max times.
- some(String, ArrayFactory<Type>, int) - Method in class jfun.parsec.Parser
-
Runs this for up to max times.
- some(String, int, int, Parser<?>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at least min times and at most max
time.
- some(String, int, Parser<?>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at most max time.
- some(String, ArrayFactory<R>, int, int, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at least min times and at most max
time.
- some(String, ArrayFactory<R>, int, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at most max time.
- some(String, Class<R>, int, int, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at least min times and at most max
times.
- some(String, Class<R>, int, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at most max times.
- some(int) - Method in class jfun.parsec.pattern.Pattern
-
Matches this pattern for up to max times.
- some(int, int) - Method in class jfun.parsec.pattern.Pattern
-
Matches this pattern for at least min times
and at most max times.
- some(int, int, CharPredicate) - Static method in class jfun.parsec.pattern.Patterns
-
Matches at least min and at most max number of characters
that satisfies the given predicate,
mismatch otherwise.
- some(int, CharPredicate) - Static method in class jfun.parsec.pattern.Patterns
-
Matches at most max number of characters
that satisfies the given predicate.
- some(int, int, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
Matches at least min and at most max number of occurrences
of pattern recognized by Pattern object pp,
mismatch otherwise.
- some(int, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
Matches at most max number of occurrences
of pattern recognized by Pattern object pp.
- someAccum(String, Accumulatable<From, To>, int, int, Parser<A>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at least min times and at most max
times, collect the result with the Accumulator object created by
Accumulatable.
- someAccum(String, Accumulatable<From, To>, int, Parser<A>) - Static method in class jfun.parsec.Parsers
-
Greedily runs Parser p repeatedly for at most max times, collect the result
with the Accumulator object created by Accumulatable.
- sqlDelimiter() - Static method in class jfun.parsec.Scanners
-
the T-SQL style delimiter of tokens.
- sqlDelimiter(String) - Static method in class jfun.parsec.Scanners
-
the T-SQL style delimiter of tokens.
- sqlLineComment() - Static method in class jfun.parsec.Scanners
-
scanner for T-SQL style line comment.
- sqlStringLiteral() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse single quoted string literal (single quote is escaped with another single quote),
and convert the string to a String token.
- sqlStringLiteral(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse single quoted string literal (single quote is escaped with another single quote),
and convert the string to a String token.
- stdDelimiter(String, String, String, String) - Static method in class jfun.parsec.Scanners
-
Any delimiter with whitespace, non-nested block comment and line comment.
- stdDelimiter(String, String, String) - Static method in class jfun.parsec.Scanners
-
Any delimiter with whitespace, non-nested block comment and line comment.
- step(String, int) - Method in class jfun.parsec.Parser
-
lookahead looks at logical steps.
- step(String) - Method in class jfun.parsec.Parser
-
lookahead looks at logical steps.
- step(int) - Method in class jfun.parsec.Parser
-
lookahead looks at logical steps.
- step() - Method in class jfun.parsec.Parser
-
lookahead looks at logical steps.
- step(String, int, Parser<R>) - Static method in class jfun.parsec.Parsers
-
lookahead looks at logical steps.
- str_literal(String) - Static method in class jfun.parsec.tokens.Tokens
-
Create a string literal token.
- String2TokenWord - Class in jfun.parsec
-
This implementation of FromString creates a
TypedToken
instance
from the string.
- String2Value - Class in jfun.parsec
-
This implementation of FromString simply returns an object for any parameter.
- String2Value(Object) - Constructor for class jfun.parsec.String2Value
-
Create a String2Value instance.
- stringLiteral() - Static method in class jfun.parsec.Lexers
-
- stringLiteral(String) - Static method in class jfun.parsec.Lexers
-
- stringParser(String, FromString<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse String token.
- stringParser(FromString<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse String token.
- sum(Parser<?>...) - Static method in class jfun.parsec.Parsers
-
An array of alternative Parser objects.
- sum(String, Parser<?>...) - Static method in class jfun.parsec.Parsers
-
An array of alternative Parser objects.