Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
H
I
L
N
O
P
S
T
V
W
A
acceptASTVisitor(IASTVisitor)
- Method in class org.waxeye.ast.
AST
Accepts the visitor.
acceptASTVisitor(IASTVisitor)
- Method in class org.waxeye.ast.
Char
Accepts the visitor.
acceptASTVisitor(IASTVisitor)
- Method in class org.waxeye.ast.
Empty
Accepts the visitor.
acceptASTVisitor(IASTVisitor)
- Method in interface org.waxeye.ast.
IAST
Accepts the visitor.
acceptVisitor(ITransitionVisitor<E>)
- Method in class org.waxeye.parser.
AutomatonTransition
If this transition cost can be accepted by the parser.
acceptVisitor(ITransitionVisitor<E>)
- Method in class org.waxeye.parser.
CharTransition
If this transition cost can be accepted by the parser.
acceptVisitor(ITransitionVisitor<E>)
- Method in interface org.waxeye.parser.
ITransition
If this transition cost can be accepted by the parser.
acceptVisitor(ITransitionVisitor<E>)
- Method in class org.waxeye.parser.
WildCardTransition
If this transition cost can be accepted by the parser.
ArrowPrinter
- Class in
org.waxeye.ast.print
A class to print the AST with arrows.
ArrowPrinter(IAST<?>)
- Constructor for class org.waxeye.ast.print.
ArrowPrinter
Creates a new ArrowPrinter.
asArray(InputStream)
- Static method in class org.waxeye.input.
BufferFiller
Reads the contents of the given stream from its current position.
AST
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.ast
A class to represent an abstract syntax tree.
AST(E, List<IAST<E>>, Position)
- Constructor for class org.waxeye.ast.
AST
Creates a new AST.
AutomatonTransition
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
A transition cost of matching an automaton.
AutomatonTransition(int)
- Constructor for class org.waxeye.parser.
AutomatonTransition
Create a new AutomatonTransition.
B
BufferFiller
- Class in
org.waxeye.input
A class to read and return the contents of an InputStream.
C
Char
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.ast
An AST node with a character.
Char(char, E)
- Constructor for class org.waxeye.ast.
Char
Creates a new Char AST.
CharTransition
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
A transition cost of matching a char from a set.
CharTransition(char[], char[], char[])
- Constructor for class org.waxeye.parser.
CharTransition
Creates a new CharTransition.
childrenAsString()
- Method in class org.waxeye.ast.
AST
Treats the children of the AST as IChar's and concatenates their values into a String.
childrenAsString()
- Method in interface org.waxeye.ast.
IAST
Treats the children of the AST as IChar's and concatenates their values into a String.
childrenAsString()
- Method in class org.waxeye.ast.
NoChildren
Treats the children of the AST as IChar's and concatenates their values into a String.
consume()
- Method in class org.waxeye.input.
InputBuffer
Gets the next character from the input and moves the position forward 1.
consume()
- Method in interface org.waxeye.input.
IParserInput
Gets the next character from the input and moves the position forward 1.
E
Edge
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
An edge in an automaton state.
Edge(ITransition<E>, int, boolean)
- Constructor for class org.waxeye.parser.
Edge
Creates a new Edge.
Empty
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.ast
A class to represent an empty AST.
Empty(E)
- Constructor for class org.waxeye.ast.
Empty
Creates a new Empty AST.
EOF
- Static variable in interface org.waxeye.input.
IParserInput
The end of the file marker.
equals(Object)
- Method in class org.waxeye.ast.
AST
equals(Object)
- Method in class org.waxeye.input.
InputBuffer
F
FA
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
A finite state automaton.
FA(E, int, List<State<E>>)
- Constructor for class org.waxeye.parser.
FA
Creates a new finite state automaton.
G
getAST()
- Method in class org.waxeye.parser.
ParseResult
Returns the ast.
getChildren()
- Method in class org.waxeye.ast.
AST
Returns the children.
getChildren()
- Method in interface org.waxeye.ast.
IAST
Returns the children.
getChildren()
- Method in class org.waxeye.ast.
NoChildren
Returns a new empty list since this node doesn't allow children.
getColumn()
- Method in class org.waxeye.parser.
ParseError
Returns the column.
getEdges()
- Method in class org.waxeye.parser.
State
Returns the edges.
getEndIndex()
- Method in class org.waxeye.ast.
Position
Returns the endIndex.
getError()
- Method in class org.waxeye.parser.
ParseResult
Returns the error.
getIndex()
- Method in class org.waxeye.parser.
AutomatonTransition
Returns the index.
getInputSize()
- Method in class org.waxeye.input.
InputBuffer
Returns the inputSize.
getLine()
- Method in class org.waxeye.parser.
ParseError
Returns the line.
getMode()
- Method in class org.waxeye.parser.
FA
Returns the mode.
getNT()
- Method in class org.waxeye.parser.
ParseError
Returns the nt.
getPosition()
- Method in class org.waxeye.ast.
AST
Returns the position.
getPosition()
- Method in interface org.waxeye.ast.
IAST
Returns the position.
getPosition()
- Method in class org.waxeye.ast.
NoChildren
Returns the position.
getPosition()
- Method in class org.waxeye.input.
InputBuffer
Gets the position marker in the input.
getPosition()
- Method in interface org.waxeye.input.
IParserInput
Gets the position marker in the input.
getPosition()
- Method in class org.waxeye.parser.
ParseError
Returns the position.
getStartIndex()
- Method in class org.waxeye.ast.
Position
Returns the startIndex.
getState()
- Method in class org.waxeye.parser.
Edge
Returns the state.
getStates()
- Method in class org.waxeye.parser.
FA
Returns the states.
getTrans()
- Method in class org.waxeye.parser.
Edge
Returns the trans.
getType()
- Method in class org.waxeye.ast.
AST
Returns the type.
getType()
- Method in interface org.waxeye.ast.
IAST
Returns the type.
getType()
- Method in class org.waxeye.ast.
NoChildren
Returns the type.
getType()
- Method in class org.waxeye.parser.
FA
Returns the type.
getValue()
- Method in class org.waxeye.ast.
Char
Gets the character value.
getValue()
- Method in interface org.waxeye.ast.
IChar
Gets the character value.
H
hashCode()
- Method in class org.waxeye.ast.
AST
hashCode()
- Method in class org.waxeye.ast.
NoChildren
hashCode()
- Method in class org.waxeye.input.
InputBuffer
I
IAST
<
E
extends java.lang.Enum<?>> - Interface in
org.waxeye.ast
An interface for an AST node.
IASTVisitor
- Interface in
org.waxeye.ast
A visitor for IAST nodes.
IChar
- Interface in
org.waxeye.ast
An AST node with a character.
IEmpty
- Interface in
org.waxeye.ast
An interface for an AST without children.
InputBuffer
- Class in
org.waxeye.input
A class to represent the buffer to hold the input string.
InputBuffer(char[])
- Constructor for class org.waxeye.input.
InputBuffer
Creates a new InputBuffer for the given char[].
IParser
<
E
extends java.lang.Enum<?>> - Interface in
org.waxeye.parser
An interface to a Waxeye parser.
IParserInput
- Interface in
org.waxeye.input
An interface for parser input.
isMatch()
- Method in class org.waxeye.parser.
State
Returns the match.
isVoided()
- Method in class org.waxeye.parser.
Edge
Returns the voided.
ITransition
<
E
extends java.lang.Enum<?>> - Interface in
org.waxeye.parser
An edge transition cost.
ITransitionVisitor
<
E
extends java.lang.Enum<?>> - Interface in
org.waxeye.parser
Visits transitions.
L
LEFT
- Static variable in class org.waxeye.parser.
FA
The normal automaton mode.
N
NoChildren
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.ast
A class to represent an AST with no children.
NoChildren(E)
- Constructor for class org.waxeye.ast.
NoChildren
Creates a new NoChildren AST.
O
org.waxeye.ast
- package org.waxeye.ast
org.waxeye.ast.print
- package org.waxeye.ast.print
org.waxeye.input
- package org.waxeye.input
org.waxeye.parser
- package org.waxeye.parser
P
parse(IParserInput)
- Method in interface org.waxeye.parser.
IParser
Parses the input.
parse(IParserInput)
- Method in class org.waxeye.parser.
Parser
Parses the input.
ParseError
- Class in
org.waxeye.parser
An error that occurred during parsing.
ParseError(int, int, int, String)
- Constructor for class org.waxeye.parser.
ParseError
Creates a new ParseError.
Parser
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
Implements the logic of the parser.
Parser(List<FA<E>>, boolean, int, E, E, E, E)
- Constructor for class org.waxeye.parser.
Parser
Creates a new Parser.
ParseResult
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
The result of a parse.
ParseResult(IAST<E>, ParseError)
- Constructor for class org.waxeye.parser.
ParseResult
Creates a new ParseResult.
peek()
- Method in class org.waxeye.input.
InputBuffer
Gets the next character from the input but maintains the position.
peek()
- Method in interface org.waxeye.input.
IParserInput
Gets the next character from the input but maintains the position.
Position
- Class in
org.waxeye.ast
The position of an AST relative to the input.
Position(int, int)
- Constructor for class org.waxeye.ast.
Position
Creates a new Position.
PRUNE
- Static variable in class org.waxeye.parser.
FA
The vertical prune mode.
S
setPosition(int)
- Method in class org.waxeye.input.
InputBuffer
Sets the position of the input buffer to the given value.
setPosition(int)
- Method in interface org.waxeye.input.
IParserInput
Sets the position marker of the input to the given value.
SexprPrinter
- Class in
org.waxeye.ast.print
A class to print the AST as s-expressions.
SexprPrinter(IAST<?>)
- Constructor for class org.waxeye.ast.print.
SexprPrinter
Creates a new SexprPrinter.
State
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
An automaton state.
State(List<Edge<E>>, boolean)
- Constructor for class org.waxeye.parser.
State
Creates a new State.
T
toString()
- Method in class org.waxeye.ast.
AST
toString()
- Method in class org.waxeye.ast.
Char
toString()
- Method in class org.waxeye.ast.
Empty
toString()
- Method in class org.waxeye.ast.print.
ArrowPrinter
toString()
- Method in class org.waxeye.ast.print.
SexprPrinter
toString()
- Method in class org.waxeye.parser.
ParseError
toString()
- Method in class org.waxeye.parser.
ParseResult
V
visitAST(IAST<?>)
- Method in interface org.waxeye.ast.
IASTVisitor
Visits the tree as a AST.
visitAST(IAST<?>)
- Method in class org.waxeye.ast.print.
ArrowPrinter
Visits the tree as a AST.
visitAST(IAST<?>)
- Method in class org.waxeye.ast.print.
SexprPrinter
Visits the tree as a AST.
visitAutomatonTransition(AutomatonTransition<E>)
- Method in interface org.waxeye.parser.
ITransitionVisitor
Visits the automaton transition.
visitChar(IChar)
- Method in interface org.waxeye.ast.
IASTVisitor
Visits the tree as a Char.
visitChar(IChar)
- Method in class org.waxeye.ast.print.
ArrowPrinter
Visits the tree as a Char.
visitChar(IChar)
- Method in class org.waxeye.ast.print.
SexprPrinter
Visits the tree as a Char.
visitCharTransition(CharTransition<E>)
- Method in interface org.waxeye.parser.
ITransitionVisitor
Visits the char transition.
visitEmpty(IEmpty)
- Method in interface org.waxeye.ast.
IASTVisitor
Visits the tree as Empty.
visitEmpty(IEmpty)
- Method in class org.waxeye.ast.print.
ArrowPrinter
Visits the tree as Empty.
visitEmpty(IEmpty)
- Method in class org.waxeye.ast.print.
SexprPrinter
Visits the tree as Empty.
visitWildCardTransition(WildCardTransition<E>)
- Method in interface org.waxeye.parser.
ITransitionVisitor
Visits the wildcard transition.
VOID
- Static variable in class org.waxeye.parser.
FA
The void mode.
W
WildCardTransition
<
E
extends java.lang.Enum<?>> - Class in
org.waxeye.parser
A transition cost of matching any character.
WildCardTransition()
- Constructor for class org.waxeye.parser.
WildCardTransition
withinSet(char)
- Method in class org.waxeye.parser.
CharTransition
Whether the char is within the char transition set.
A
B
C
E
F
G
H
I
L
N
O
P
S
T
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Waxeye Parser Generator