- id() - Static method in class jfun.parsec.Maps
-
Returns an identity map.
- id(Class<R>) - Static method in class jfun.parsec.Maps
-
Returns an identity map.
- id2() - Static method in class jfun.parsec.Maps
-
Create a Map2 object that stores the two objects into a Pair object.
- id3() - Static method in class jfun.parsec.Maps
-
Create a Map3 object that stores the 3 objects into a Tuple3 object.
- id4() - Static method in class jfun.parsec.Maps
-
Create a Map4 object that stores the 4 objects into a Tuple4 object.
- id5() - Static method in class jfun.parsec.Maps
-
Create a Map5 object that stores the 5 objects into a Tuple5 object.
- idn() - Static method in class jfun.parsec.Maps
-
Returns an identity map.
- ifelse(Parser<R>, Parser<? extends R>) - Method in class jfun.parsec.Parser
-
run yes if this succeeds, no if this fails without consuming input;
fails otherwise.
- ifelse(String, Parser<R>, Parser<R>) - Method in class jfun.parsec.Parser
-
run yes if this succeeds, no if this fails without consuming input;
fails otherwise.
- ifelse(ToParser<? super Type, R>, Parser<R>) - Method in class jfun.parsec.Parser
-
run yes if this succeeds, no if this fails without consuming input;
fails otherwise.
- ifelse(String, ToParser<? super Type, R>, Parser<R>) - Method in class jfun.parsec.Parser
-
run yes if this succeeds, no if this fails without consuming input;
fails otherwise.
- ifelse(String, Parser<C>, ToParser<? super C, R>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
First run Parser p, if it succeeds, thread the return value to ToParser
yes; if it fails and no input is consumed, run Parser no; fails if p fails
and some input is consumed.
- ifelse(String, Parser<C>, Parser<R>, Parser<? extends R>) - Static method in class jfun.parsec.Parsers
-
First run Parser p, if it succeeds, run Parser yes; if it fails and no
input is consumed, run Parser no; fails if p fails and some input is
consumed.
- ifelse(Pattern, Pattern) - Method in class jfun.parsec.pattern.Pattern
-
If this pattern matches,
match the remaining input against Pattern object yes.
- ifelse(Pattern, Pattern, Pattern) - Static method in class jfun.parsec.pattern.Patterns
-
If the condiction Pattern object cond matches,
match the remaining input against Pattern object yes.
- IllegalParserStateException - Exception in jfun.parsec
-
Represents an illegal state in parser.
- IllegalParserStateException() - Constructor for exception jfun.parsec.IllegalParserStateException
-
- IllegalParserStateException(String) - Constructor for exception jfun.parsec.IllegalParserStateException
-
- infixl(Parser<? extends Map2<? super E, ? super E, ? extends E>>, int) - Method in class jfun.parsec.OperatorTable
-
Adds a infix left-associative binary operator.
- infixl(Parser<? extends Map2<? super T, ? super T, T>>, Parser<? extends T>) - Static method in class jfun.parsec.Parsers
-
Left associative infix operator.
- infixl(String, Parser<? extends Map2<? super T, ? super T, T>>, Parser<? extends T>) - Static method in class jfun.parsec.Parsers
-
Left associative infix operator.
- infixn(Parser<? extends Map2<? super E, ? super E, ? extends E>>, int) - Method in class jfun.parsec.OperatorTable
-
Adds a infix non-associative binary operator.
- infixn(Parser<? extends Map2<? super T, ? super T, T>>, Parser<? extends T>) - Static method in class jfun.parsec.Parsers
-
Non-associative infix operator.
- infixn(String, Parser<? extends Map2<? super T, ? super T, T>>, Parser<? extends T>) - Static method in class jfun.parsec.Parsers
-
Non-associative infix operator.
- infixr(Parser<? extends Map2<? super E, ? super E, ? extends E>>, int) - Method in class jfun.parsec.OperatorTable
-
Adds a infix right-associative binary operator.
- infixr(Parser<? extends Map2<? super T, ? super T, T>>, Parser<? extends T>) - Static method in class jfun.parsec.Parsers
-
Right associative infix operator.
- infixr(String, Parser<? extends Map2<? super T, ? super T, T>>, Parser<? extends T>) - Static method in class jfun.parsec.Parsers
-
Right associative infix operator.
- instance(Object) - Static method in class jfun.parsec.ConstTokenizer
-
Creates the Tokenizer instance.
- instance(Object) - Static method in class jfun.parsec.IsToken
-
Creates a FromToken instance using the given expected token t.
- instance() - Static method in class jfun.parsec.String2TokenWord
-
Get an instance of this implementation.
- instance() - Static method in class jfun.parsec.Token2String
-
- int_literal(long) - Static method in class jfun.parsec.tokens.Tokens
-
- integer() - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a integer number (valid patterns are: 0, 00, 1, 10),
and convert the string to an integer typed token.
- integer(String) - Static method in class jfun.parsec.Lexers
-
returns the lexer that's gonna parse a integer number (valid patterns are: 0, 00, 1, 10),
and convert the string to an integer typed token.
- integerParser(String, FromLong<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse Long token.
- integerParser(FromString<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse token of arbitrary length integer.
- integerParser(String, FromString<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse token of arbitrary length integer.
- integerParser(FromLong<R>) - Static method in class jfun.parsec.Terms
-
gets a Parser object to parse Long token.
- isAlpha() - Static method in class jfun.parsec.pattern.CharPredicates
-
[a-zA-Z].
- isAlpha_() - Static method in class jfun.parsec.pattern.CharPredicates
-
[a-zA-Z_].
- isAlphaNumeric() - Static method in class jfun.parsec.pattern.CharPredicates
-
[a-zA-Z0-9_]
- isBlockComment(String, String) - Static method in class jfun.parsec.Scanners
-
scanner for non-nested block comment.
- isBlockComment(String, String, String) - Static method in class jfun.parsec.Scanners
-
scanner for non-nested block comment.
- isBlockComment(String, String, Pattern) - Static method in class jfun.parsec.Scanners
-
Scans a non-nestable block comment.
- isBlockComment(Parser<_>, Parser<_>, Parser<?>) - Static method in class jfun.parsec.Scanners
-
Scans a non-nestable block comment.
- isBlockComment(String, Parser<_>, Parser<_>, Parser<?>) - Static method in class jfun.parsec.Scanners
-
Scans a non-nestable block comment.
- isChar(char) - Method in interface jfun.parsec.pattern.CharPredicate
-
tests whether the character satisfies the predicate.
- isChar(char) - Static method in class jfun.parsec.pattern.CharPredicates
-
== a.
- isChar(char) - Static method in class jfun.parsec.pattern.Patterns
-
Succeed with match length 1
if the current character in the input is same as character c.
- isChar(CharPredicate) - Static method in class jfun.parsec.pattern.Patterns
-
Succeed with match length 1
if the current character in the input satisfies the given predicate.
- isChar(CharPredicate) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it satisfies the given CharPredicate.
- isChar(String, CharPredicate) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it satisfies the given CharPredicate.
- isChar(CharPredicate, String) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it satisfies the given CharPredicate.
- isChar(String, CharPredicate, String) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it satisfies the given CharPredicate.
- isChar(char, String) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it is equal to ch.
- isChar(String, char, String) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it is equal to ch.
- isChar(char) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it is equal to ch.
- isChar(String, char) - Static method in class jfun.parsec.Scanners
-
succeed and consume the current character if it is equal to ch.
- isConsumed(Parser<R>) - Static method in class jfun.parsec.Parsers
-
First run the Parser p, if it succeeds with input consumed, isConsumed()
succeeds; if it fails or did not consume input, isConsumed() fails.
- isConsumed(Parser<R>, String) - Static method in class jfun.parsec.Parsers
-
First run the Parser p, if it succeeds with input consumed, isConsumed()
succeeds; if it fails or did not consume input, isConsumed() fails.
- isConsumed(String, Parser<R>) - Static method in class jfun.parsec.Parsers
-
First run the Parser p, if it succeeds with input consumed, isConsumed()
succeeds; if it fails or did not consume input, isConsumed() fails.
- isConsumed(String, Parser<R>, String) - Static method in class jfun.parsec.Parsers
-
First run the Parser p, if it succeeds with input consumed, isConsumed()
succeeds; if it fails or did not consume input, isConsumed() fails.
- isDebugEnabled() - Static method in class jfun.parsec.Parsers
-
Is debugging enabled?
- isDecimal() - Static method in class jfun.parsec.pattern.Patterns
-
Recognizes a decimal number that can start with a decimal point.
- isDecimalL() - Static method in class jfun.parsec.pattern.Patterns
-
a decimal number that has at least one number before the decimal point.
- isDecimalR() - Static method in class jfun.parsec.pattern.Patterns
-
Recognizes a decimal point and 1 or more digits after it.
- isDecInteger() - Static method in class jfun.parsec.pattern.Patterns
-
pattern for a decimal integer.
- isDigit() - Static method in class jfun.parsec.pattern.CharPredicates
-
between 0 and 9.
- isEscaped() - Static method in class jfun.parsec.pattern.Patterns
-
Succeed with match length 2
if there are at least 2 characters in the input and the first character is '\'
Mismatch otherwise.
- isExponential() - Static method in class jfun.parsec.pattern.Patterns
-
Recognizes a the exponent part of a scientific number notation.
- isHexDigit() - Static method in class jfun.parsec.pattern.CharPredicates
-
is hex digit.
- isHexInteger() - Static method in class jfun.parsec.pattern.Patterns
-
pattern for a hex integer.
- isInteger() - Static method in class jfun.parsec.pattern.Patterns
-
pattern for an integer.
- isLetter() - Static method in class jfun.parsec.pattern.CharPredicates
-
is letter.
- isLineComment(String) - Static method in class jfun.parsec.pattern.Patterns
-
Matches a line comment that starts with a string
and end with EOF or Line Feed character.
- isLineComment(String) - Static method in class jfun.parsec.Scanners
-
if the current input starts with the given string, succeed and consumes all the characters until the end of line '\n character.
- isLineComment(String, String) - Static method in class jfun.parsec.Scanners
-
if the current input starts with the given string, succeed and consumes all the characters until the end of line '\n character.
- isLowercase() - Static method in class jfun.parsec.pattern.CharPredicates
-
[a-z].
- isNestableBlockComment(String, String) - Static method in class jfun.parsec.Scanners
-
Scans a nestable block comment.
- isNestableBlockComment(String, String, Parser<?>) - Static method in class jfun.parsec.Scanners
-
Scans a nestable block comment.
- isNestableBlockComment(Parser<?>, Parser<?>, Parser<?>) - Static method in class jfun.parsec.Scanners
-
Scans a nestable block comment.
- isNestableBlockComment(String, Parser<?>, Parser<?>, Parser<?>) - Static method in class jfun.parsec.Scanners
-
Scans a nestable block comment.
- isObject(T) - Method in interface jfun.parsec.ObjectPredicate
-
Tests whether the given object satisfies the predicate.
- isOctInteger() - Static method in class jfun.parsec.pattern.Patterns
-
pattern for a octal integer that starts with a 0 and followed by 0 or more [0-7] characters.
- isPattern(Pattern, String) - Static method in class jfun.parsec.Scanners
-
Scans the input for an occurrence of a string pattern.
- isPattern(String, Pattern, String) - Static method in class jfun.parsec.Scanners
-
Scans the input for an occurrence of a string pattern.
- isQuotedChar(String) - Static method in class jfun.parsec.Scanners
-
scanner for a c/c++/java style character literal.
- isQuotedChar() - Static method in class jfun.parsec.Scanners
-
scanner for a c/c++/java style character literal.
- isQuotedString(String) - Static method in class jfun.parsec.Scanners
-
a scanner with a pattern for double quoted string literal.
- isQuotedString() - Static method in class jfun.parsec.Scanners
-
a scanner with a pattern for double quoted string literal.
- isReturn(String, ObjectPredicate<? super Type>) - Method in class jfun.parsec.Parser
-
Fails if the return value of this parser does not satisify the given predicate.
- isReturn(ObjectPredicate<? super Type>) - Method in class jfun.parsec.Parser
-
Fails if the return value of this parser does not satisify the given predicate.
- isReturn(String, ObjectPredicate<? super Type>, String) - Method in class jfun.parsec.Parser
-
Fails if the return value of this parser does not satisify the given predicate.
- isReturn(ObjectPredicate<? super Type>, String) - Method in class jfun.parsec.Parser
-
Fails if the return value of this parser does not satisify the given predicate.
- isReturn(String, ObjectPredicate<R>) - Static method in class jfun.parsec.Parsers
-
Fails if the return value of the previous parser does not satisify the
given predicate.
- isReturn(String, Parser<R>, ObjectPredicate<? super R>) - Static method in class jfun.parsec.Parsers
-
The created Parser object will first run parser p, if the return value of
parser p does not satisify the given predicate, it fails and the input
consumption of parser p is undone.
- isReturn(String, Parser<R>, ObjectPredicate<? super R>, String) - Static method in class jfun.parsec.Parsers
-
The created Parser object will first run parser p, if the return value of
parser p does not satisify the given predicate, it fails and the input
consumption of parser p is undone.
- isSqlString() - Static method in class jfun.parsec.Scanners
-
a scanner with a pattern for sql server string literal.
- isSqlString(String) - Static method in class jfun.parsec.Scanners
-
a scanner with a pattern for sql server string literal.
- isState(ObjectPredicate<Object>) - Static method in class jfun.parsec.Parsers
-
Deprecated.
as of version 0.6
- isState(String, ObjectPredicate<Object>) - Static method in class jfun.parsec.Parsers
-
Deprecated.
as of version 0.6
- isString(String) - Static method in class jfun.parsec.pattern.Patterns
-
Matches a string.
- isString(String) - Static method in class jfun.parsec.Scanners
-
matches the input against the specified string.
- isString(String, String) - Static method in class jfun.parsec.Scanners
-
matches the input against the specified string.
- isString(String, String, String) - Static method in class jfun.parsec.Scanners
-
matches the input against the specified string.
- isStringCI(String) - Static method in class jfun.parsec.pattern.Patterns
-
Matches a string case insensitively.
- isStringCI(String, String) - Static method in class jfun.parsec.Scanners
-
matches the input against the specified string case insensitively.
- isStringCI(String, String, String) - Static method in class jfun.parsec.Scanners
-
matches the input against the specified string case insensitively.
- isStringCI(String) - Static method in class jfun.parsec.Scanners
-
matches the input against the specified string case insensitively.
- IsToken - Class in jfun.parsec
-
Tests if the token is the same token expected.
- isUppercase() - Static method in class jfun.parsec.pattern.CharPredicates
-
[A-Z].
- isWhitespace() - Static method in class jfun.parsec.pattern.CharPredicates
-
is white space.
- isWhitespaces() - Static method in class jfun.parsec.Scanners
-
Scans greedily for 1 or more whitespace characters.
- isWhitespaces(String) - Static method in class jfun.parsec.Scanners
-
Scans greedily for 1 or more whitespace characters.
- isWhitespaces(String, String) - Static method in class jfun.parsec.Scanners
-
Scans greedily for 1 or more whitespace characters.
- isWord() - Static method in class jfun.parsec.pattern.Patterns
-
a pattern for a standard english word.