Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
_
T
Terms
- Class in
jfun.parsec
This helper class provides convenient api's to build lexer and parsers for terminals.
Tok
- Class in
jfun.parsec
This class carries the position information of a token.
Tok(int, int, Object)
- Constructor for class jfun.parsec.
Tok
Create a Tok object.
token(FromToken<R>)
- Static method in class jfun.parsec.
Parsers
Token level parser.
token(String, FromToken<R>)
- Static method in class jfun.parsec.
Parsers
Token level parser.
token(Object)
- Static method in class jfun.parsec.
Parsers
Token level parser.
token(String, Object)
- Static method in class jfun.parsec.
Parsers
Token level parser.
Token2String
- Class in
jfun.parsec
Default ShowToken implementation that uses toString() to convert.
Token2String()
- Constructor for class jfun.parsec.
Token2String
TokenCharLiteral
- Class in
jfun.parsec.tokens
Deprecated.
TokenDecimal
- Class in
jfun.parsec.tokens
Deprecated.
TokenInteger
- Class in
jfun.parsec.tokens
Deprecated.
tokenize(CharSequence, int, int)
- Static method in class jfun.parsec.tokens.
TokenCharLiteral
Deprecated.
convert the characters contained in range [from, from+len) to a character.
Tokenizer
- Interface in
jfun.parsec
A tokenizer is used by a scanner object to interpret the output of a Scanner.
Tokenizers
- Class in
jfun.parsec.tokens
The facade class for all pre-built Tokenizer implementations.
Tokenizers()
- Constructor for class jfun.parsec.tokens.
Tokenizers
TokenLong
- Class in
jfun.parsec.tokens
Deprecated.
TokenQuoted
- Class in
jfun.parsec.tokens
represents a string that is quoted by a open and close string.
TokenReserved
- Class in
jfun.parsec.tokens
Deprecated.
Tokens
- Class in
jfun.parsec.tokens
This class create some basic tokens.
Tokens()
- Constructor for class jfun.parsec.tokens.
Tokens
TokenString
- Class in
jfun.parsec.tokens
Deprecated.
TokenStringLiteral
- Class in
jfun.parsec.tokens
Deprecated.
TokenType
- Enum in
jfun.parsec.tokens
This represents all pre-built token types.
TokenWord
- Class in
jfun.parsec.tokens
Deprecated.
toOne()
- Static method in class jfun.parsec.
Parsers
Returns a ToParser that ignores the value passed in and simply returns one().
toOne(String)
- Static method in class jfun.parsec.
Parsers
Returns a ToParser that ignores the value passed in and simply returns one().
toParser(Parser<R>)
- Static method in class jfun.parsec.
Parsers
Creates a ToParser object by always returning the same Parser object.
ToParser
<
From
,
To
> - Interface in
jfun.parsec
Maps an Object to a Parser.
toParser(From)
- Method in interface jfun.parsec.
ToParser
maps v to a Parser.
toReturn()
- Static method in class jfun.parsec.
Parsers
Returns a ToParser instance that simply returns the previous return value.
toReturn(String)
- Static method in class jfun.parsec.
Parsers
Returns a ToParser instance that simply returns the previous return value.
toString()
- Method in class jfun.parsec.
Pair
toString()
- Method in class jfun.parsec.
Parser
toString()
- Method in class jfun.parsec.
ParsingFrame
toString()
- Method in class jfun.parsec.
Pos
toString()
- Method in class jfun.parsec.
PositionedToken
Deprecated.
toString()
- Method in class jfun.parsec.
String2TokenWord
toString()
- Method in class jfun.parsec.
String2Value
toString()
- Method in class jfun.parsec.tokens.
MyToken
Deprecated.
toString()
- Method in class jfun.parsec.tokens.
NamedToken
toString()
- Method in class jfun.parsec.tokens.
TokenQuoted
toString()
- Method in class jfun.parsec.
Tuple3
toString()
- Method in class jfun.parsec.
Tuple4
toString()
- Method in class jfun.parsec.
Tuple5
toToken(CharSequence, int, int)
- Method in class jfun.parsec.
ConstTokenizer
toToken()
- Static method in class jfun.parsec.
Maps
Transform a Tok object to the wrapped token object.
toToken(CharSequence, int, int)
- Method in interface jfun.parsec.
Tokenizer
interprets the matched input range to a token object.
toToken(CharSequence, int, int)
- Method in class jfun.parsec.tokens.
TokenString
Deprecated.
toZero()
- Static method in class jfun.parsec.
Parsers
Returns a ToParser that ignores the value passed in and simply returns zero().
toZero(String)
- Static method in class jfun.parsec.
Parsers
Returns a ToParser that ignores the value passed in and simply returns zero().
trace(Trace<? super Type>)
- Method in class jfun.parsec.
Parser
Create a Parser object that traces the parsing result of this parser.
Trace
<
T
> - Interface in
jfun.parsec.trace
This interface is used to trace parser result.
Traces
- Class in
jfun.parsec.trace
This class provides some common trace implementations.
Traces()
- Constructor for class jfun.parsec.trace.
Traces
transformState(Map<State, ?>)
- Static method in class jfun.parsec.
Parsers
Deprecated.
as of version 0.6
transformState(String, Map<State, ?>)
- Static method in class jfun.parsec.
Parsers
Deprecated.
as of version 0.6
tryParser(Parser<R>, Catch<? extends R>)
- Static method in class jfun.parsec.
Parsers
if Parser p throws an exception, it is handled by Catch hdl.
tryParser(String, Parser<R>, Catch<? extends R>)
- Static method in class jfun.parsec.
Parsers
if Parser p throws an exception, it is handled by Catch hdl.
tuple(Parser<A>, Parser<B>, Parser<C>)
- Static method in class jfun.parsec.
Parsers
Sequentially run 3 parser objects and collect the results in a Tuple3 object.
tuple(Parser<A>, Parser<B>, Parser<C>, Parser<D>)
- Static method in class jfun.parsec.
Parsers
Sequentially run 4 parser objects and collect the results in a Tuple4 object.
tuple(Parser<A>, Parser<B>, Parser<C>, Parser<D>, Parser<E>)
- Static method in class jfun.parsec.
Parsers
Sequentially run 5 parser objects and collect the results in a Tuple5 object.
tuple(String, Parser<A>, Parser<B>, Parser<C>)
- Static method in class jfun.parsec.
Parsers
Sequentially run 3 parser objects and collect the results in a Tuple3 object.
tuple(String, Parser<A>, Parser<B>, Parser<C>, Parser<D>)
- Static method in class jfun.parsec.
Parsers
Sequentially run 4 parser objects and collect the results in a Tuple4 object.
tuple(String, Parser<A>, Parser<B>, Parser<C>, Parser<D>, Parser<E>)
- Static method in class jfun.parsec.
Parsers
Sequentially run 5 parser objects and collect the results in a Tuple5 object.
tuple(A, B, C)
- Static method in class jfun.parsec.
Tuples
Create a 3-object tuple.
tuple(A, B, C, D)
- Static method in class jfun.parsec.
Tuples
Create a 4-object tuple.
tuple(A, B, C, D, E)
- Static method in class jfun.parsec.
Tuples
Create a 5-object tuple.
Tuple3
<
A
,
B
,
C
> - Class in
jfun.parsec
This is a simple Java Bean for 3 objects.
Tuple3()
- Constructor for class jfun.parsec.
Tuple3
Tuple3(A, B, C)
- Constructor for class jfun.parsec.
Tuple3
Tuple4
<
A
,
B
,
C
,
D
> - Class in
jfun.parsec
This is a simple Java Bean for 4 objects.
Tuple4()
- Constructor for class jfun.parsec.
Tuple4
Tuple4(A, B, C, D)
- Constructor for class jfun.parsec.
Tuple4
Tuple5
<
A
,
B
,
C
,
D
,
E
> - Class in
jfun.parsec
This is a simple Java Bean for 5 objects.
Tuple5(A, B, C, D, E)
- Constructor for class jfun.parsec.
Tuple5
Tuple5()
- Constructor for class jfun.parsec.
Tuple5
Tuples
- Class in
jfun.parsec
This class is the facade to create various tuple java beans.
Tuples()
- Constructor for class jfun.parsec.
Tuples
typedFactory(Class<E>)
- Static method in class jfun.parsec.
ArrayFactories
gets and instanceof ArrayFactory that creates T[] for a given element type T.
TypedToken
<
Type
> - Class in
jfun.parsec.tokens
Represents a token associated with a token type.
TypedToken(String, Type)
- Constructor for class jfun.parsec.tokens.
TypedToken
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
_