- label(String) - Method in class jfun.parsec.Parser
-
if fails and did not consume input,
reports an expecting error with the given label.
- label(String, String) - Method in class jfun.parsec.Parser
-
if fails and did not consume input,
reports an expecting error with the given label.
- label(String, String, Parser<R>) - Static method in class jfun.parsec.Parsers
-
if Parser p fails and does not consume input, reports an expecting error
with the given label.
- lazy(ParserEval<R>) - Static method in class jfun.parsec.Parsers
-
Create a lazy evaluated Parser.
- lazy(Parser<R>[], int) - Static method in class jfun.parsec.Parsers
-
Create a lazy evaluated parser.
- lazy(Parser<R>[]) - Static method in class jfun.parsec.Parsers
-
Create a lazy evaluated parser.
- lazy(String, ParserEval<R>) - Static method in class jfun.parsec.Parsers
-
Create a lazy evaluated Parser.
- lexDecLong() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a decimal integer number (valid patterns are: 1, 10, 123),
and convert the string to a Long token.
- lexDecLong(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a decimal integer number (valid patterns are: 1, 10, 123),
and convert the string to a Long token.
- lexeme(String, Parser<?>, Parser<Tok>) - Static method in class jfun.parsec.Lexers
-
Greedily runs Parser s repeatedly,
and ignores the pattern recognized by Parser delim before and after each s.
- lexeme(Parser<?>, Parser<Tok>) - Static method in class jfun.parsec.Lexers
-
Greedily runs Parser s repeatedly,
and ignores the pattern recognized by Parser delim before and after each s.
- lexeme(Parser<?>, Parser<Tok>) - Static method in class jfun.parsec.Scanners
-
Deprecated.
- lexeme(String, Parser<?>, Parser<Tok>) - Static method in class jfun.parsec.Scanners
-
Deprecated.
- lexer(String, Parser<?>, Tokenizer) - Static method in class jfun.parsec.Lexers
-
Transform the recognized character range of scanner s to a token object
with a Tokenizer.
- lexer(Parser<?>, Tokenizer) - Static method in class jfun.parsec.Lexers
-
Transform the recognized character range of scanner s to a token object
with a Tokenizer.
- lexer(Parser<?>, Tokenizer, String) - Static method in class jfun.parsec.Lexers
-
Transform the recognized character range of scanner s to a token object
with a Tokenizer.
- lexer(String, Parser<?>, Tokenizer, String) - Static method in class jfun.parsec.Lexers
-
Transform the recognized character range of scanner s to a token object
with a Tokenizer.
- lexer(Parser<?>, Tokenizer) - Static method in class jfun.parsec.Scanners
-
Deprecated.
- lexer(Parser<?>, Tokenizer, String) - Static method in class jfun.parsec.Scanners
-
Deprecated.
- lexer(String, Parser<?>, Tokenizer) - Static method in class jfun.parsec.Scanners
-
Deprecated.
- lexer(String, Parser<?>, Tokenizer, String) - Static method in class jfun.parsec.Scanners
-
Deprecated.
- Lexers - Class in jfun.parsec
-
Provides some predefined basic lexer objects.
- Lexers() - Constructor for class jfun.parsec.Lexers
-
- lexHexLong() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a hex integer number (valid patterns are: 0x1, 0Xff, 0xFe1 etc.),
and convert the string to a Long token.
- lexHexLong(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a hex integer number (valid patterns are: 0x1, 0Xff, 0xFe1 etc.),
and convert the string to a Long token.
- lexLong() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse decimal, hex, and octal numbers
and convert the string to a Long token.
- lexLong(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse decimal, hex, and octal numbers
and convert the string to a Long token.
- lexOctLong() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a octal integer number (valid patterns are: 0, 07, 017, 0371 etc.),
and convert the string to a Long token.
- lexOctLong(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a octal integer number (valid patterns are: 0, 07, 017, 0371 etc.),
and convert the string to a Long token.
- lexSimpleStringLiteral() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse double quoted string literal (escaped by '\'),
and convert the string to a String token.
- lexSimpleStringLiteral(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse double quoted string literal (escaped by '\'),
and convert the string to a String token.
- long_literal(long) - Static method in class jfun.parsec.tokens.Tokens
-
Create a integer literal token whose value is within the range of a long integer.
- longer(String, Parser<R>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs two alternative parsers.
- longer(Parser<R>, Parser<R>) - Static method in class jfun.parsec.Parsers
-
Runs two alternative parsers.
- longer(Pattern, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
Try two pattern objects, pick the one with the longer match length.
- longest(String, Parser<R>...) - Static method in class jfun.parsec.Parsers
-
Runs an array of alternative parsers.
- longest(Parser<R>...) - Static method in class jfun.parsec.Parsers
-
Runs an array of alternative parsers.
- longest(Pattern...) - Static method in class jfun.parsec.pattern.Patterns
-
Try an array of pattern objects, pick the one with the longest match length.
- lookahead(String, int) - Method in class jfun.parsec.Parser
-
By default, ifelse, plus, sum will not try to run the next branch if the previous branch failed
and consumed some input.
- lookahead(int) - Method in class jfun.parsec.Parser
-
By default, ifelse, plus, sum will not try to run the next branch if the previous branch failed
and consumed some input.
- lookahead(String, int, Parser<R>) - Static method in class jfun.parsec.Parsers
-
By default, ifelse, plus, sum will not try to run the next branch if the
previous branch failed and consumed some input.