Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
M
N
P
R
S
T
U
A
ANALYSIS_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The analysis error type constant.
Analyzer
- class net.percederberg.grammatica.parser.
Analyzer
.
A parse tree analyzer.
Analyzer()
- Constructor for class net.percederberg.grammatica.parser.
Analyzer
Creates a new parse tree analyzer.
addAlternative(ProductionPatternAlternative)
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Adds a production pattern alternative.
addChild(Node)
- Method in class net.percederberg.grammatica.parser.
Production
Adds a child node.
addElement(ProductionPatternElement)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Adds a production pattern element to this alternative.
addElement(ProductionPatternElement, int, int)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Adds a production pattern element to this alternative.
addError(ParseException)
- Method in class net.percederberg.grammatica.parser.
ParserLogException
Adds a parse error to the log.
addPattern(ProductionPattern)
- Method in class net.percederberg.grammatica.parser.
Parser
Adds a new production pattern to the parser.
addPattern(ProductionPattern)
- Method in class net.percederberg.grammatica.parser.
RecursiveDescentParser
Adds a new production pattern to the parser.
addPattern(TokenPattern)
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Adds a new token pattern to the tokenizer.
addProduction(int, int, int)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Adds a production to this alternative.
addToken(int, int, int)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Adds a token to this alternative.
addValue(Object)
- Method in class net.percederberg.grammatica.parser.
Node
Adds a computed value to this node.
addValues(Vector)
- Method in class net.percederberg.grammatica.parser.
Node
Adds a set of computed values to this node.
addValues(ArrayList)
- Method in class net.percederberg.grammatica.parser.
Node
Adds a set of computed values to this node.
analyze(Node)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Analyzes a parse tree node by traversing all it's child nodes.
append(boolean)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends the string representation of a boolean value to the end of the buffer.
append(char)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends a character to the end of the buffer.
append(char[])
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends a character array to the end of the buffer.
append(char[], int, int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends a character array to the end of the buffer.
append(double)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends the string representation of a double value to the end of the buffer.
append(float)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends the string representation of a float value to the end of the buffer.
append(int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends the string representation of an int value to the end of the buffer.
append(long)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends the string representation of a long value to the end of the buffer.
append(Object)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends the string representation of an object to the end of the buffer.
append(String)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends a string to the end of the buffer.
append(StringBuffer)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Appends a string buffer to the end of the buffer.
C
CharBuffer
- class net.percederberg.grammatica.parser.re.
CharBuffer
.
A character buffer.
CharBuffer()
- Constructor for class net.percederberg.grammatica.parser.re.
CharBuffer
Creates a new character buffer.
CharBuffer(int)
- Constructor for class net.percederberg.grammatica.parser.re.
CharBuffer
Creates a new character buffer with the specified initial size.
CharBuffer(String)
- Constructor for class net.percederberg.grammatica.parser.re.
CharBuffer
Creates a new character buffer from the specified string.
CharBuffer(StringBuffer)
- Constructor for class net.percederberg.grammatica.parser.re.
CharBuffer
Creates a new character buffer from the specified string buffer.
charAt(int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Returns a character in the buffer.
child(Production, Node)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Called when adding a child to a parse tree node.
D
delete(int, int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Removes characters from this buffer.
E
end()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Returns the end position of the latest match.
ensureCapacity(int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Ensures that this buffer has at least the specified capacity.
enter(Node)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Called when entering a parse tree node.
equals(Object)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Checks if this object is equal to another.
equals(Object)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Checks if this object is equal to another.
exit(Node)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Called when exiting a parse tree node.
G
getAllValues()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the vector with all the computed values for this node.
getAlternative(int)
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Returns an alternative in this pattern.
getAlternativeCount()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Returns the number of alternatives in this pattern.
getAnalyzer()
- Method in class net.percederberg.grammatica.parser.
Parser
Returns the analyzer in use by this parser.
getChildAt(Node, int)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Returns a child at the specified position.
getChildAt(int)
- Method in class net.percederberg.grammatica.parser.
Node
Returns the child node with the specified index.
getChildAt(int)
- Method in class net.percederberg.grammatica.parser.
Production
Returns the child node with the specified index.
getChildCount()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the number of child nodes.
getChildCount()
- Method in class net.percederberg.grammatica.parser.
Production
Returns the number of child nodes.
getChildValues(Node)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Returns all the node values for all child nodes.
getChildWithId(Node, int)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Returns the first child with the specified id.
getColumn()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the column number where the error occured.
getCurrentColumn()
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Returns the current column number.
getCurrentLine()
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Returns the current line number.
getDescendantCount()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the number of descendant nodes.
getDetails()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the additional detailed error information.
getDetails()
- Method in class net.percederberg.grammatica.parser.
ParserCreationException
Returns the detailed error information as a string
getElement(int)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Returns an element in this alternative.
getElementCount()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Returns the number of elements in this alternative.
getEndColumn()
- Method in class net.percederberg.grammatica.parser.
Node
The column number of the last character in this node.
getEndColumn()
- Method in class net.percederberg.grammatica.parser.
Token
The column number of the last character in the token image.
getEndLine()
- Method in class net.percederberg.grammatica.parser.
Node
The line number of the last character in this node.
getEndLine()
- Method in class net.percederberg.grammatica.parser.
Token
The line number of the last character in the token image.
getError(int)
- Method in class net.percederberg.grammatica.parser.
ParserLogException
Returns a specific error from the log.
getErrorCount()
- Method in class net.percederberg.grammatica.parser.
ParserLogException
Returns the number of errors in this log.
getErrorMessage()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the error message.
getErrorMessage()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns the token error message if the pattern corresponds to an error token.
getErrorType()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the error type.
getErrorType()
- Method in class net.percederberg.grammatica.parser.
ParserCreationException
Returns the error type.
getId()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the node type id.
getId()
- Method in class net.percederberg.grammatica.parser.
Production
Returns the production (pattern) id.
getId()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Returns the unique production pattern identity value.
getId()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Returns the node identity.
getId()
- Method in class net.percederberg.grammatica.parser.
Token
Returns the token (pattern) id.
getId()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns the unique token pattern identity value.
getIgnoreMessage()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns the token ignore message if the pattern corresponds to an ignored token.
getImage()
- Method in class net.percederberg.grammatica.parser.
Token
Returns the token image (i.e. the characters).
getInfo()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the additional error information.
getInfo()
- Method in class net.percederberg.grammatica.parser.
ParserCreationException
Returns the additional error information.
getIntValue(Node, int)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Returns the node integer value at the specified position.
getLine()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the line number where the error occured.
getMaxCount()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Returns the maximum occurence count.
getMaxElementCount()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Returns the maximum number of elements needed to satisfy this alternative.
getMessage()
- Method in class net.percederberg.grammatica.parser.
ParseException
Returns the detailed error message.
getMessage()
- Method in class net.percederberg.grammatica.parser.
ParserCreationException
Returns the error message.
getMessage()
- Method in class net.percederberg.grammatica.parser.
ParserLogException
Returns the detailed error message.
getMessage()
- Method in class net.percederberg.grammatica.parser.re.
RegExpException
Returns the exception error message.
getMinCount()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Returns the minimum occurence count.
getMinElementCount()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Returns the minimum number of elements needed to satisfy this alternative.
getName()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the node name.
getName()
- Method in class net.percederberg.grammatica.parser.
ParserCreationException
Returns the token or production name.
getName()
- Method in class net.percederberg.grammatica.parser.
Production
Returns the production node name.
getName()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Returns the production pattern name.
getName()
- Method in class net.percederberg.grammatica.parser.
Token
Returns the token node name.
getName()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns the token pattern name.
getNextToken()
- Method in class net.percederberg.grammatica.parser.
Token
Returns the next token.
getParent()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the parent node.
getPattern()
- Method in class net.percederberg.grammatica.parser.
Production
Returns the production pattern for this production.
getPattern()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Returns the production pattern containing this alternative.
getPattern()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns te token pattern.
getPatternDescription(int)
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Returns a description of the token pattern with the specified id.
getPreviousToken()
- Method in class net.percederberg.grammatica.parser.
Token
Returns the previuos token.
getStartColumn()
- Method in class net.percederberg.grammatica.parser.
Node
The column number of the first character in this node.
getStartColumn()
- Method in class net.percederberg.grammatica.parser.
Token
The column number of the first character in the token image.
getStartLine()
- Method in class net.percederberg.grammatica.parser.
Node
The line number of the first character in this node.
getStartLine()
- Method in class net.percederberg.grammatica.parser.
Token
The line number of the first character in the token image.
getStringValue(Node, int)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Returns the node string value at the specified position.
getTokenizer()
- Method in class net.percederberg.grammatica.parser.
Parser
Returns the tokenizer in use by this parser.
getType()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns the token pattern type.
getUseTokenList()
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Checks if the token list feature is used.
getValue(Node, int)
- Method in class net.percederberg.grammatica.parser.
Analyzer
Returns the node value at the specified position.
getValue(int)
- Method in class net.percederberg.grammatica.parser.
Node
Returns a computed value of this node, if previously set.
getValueCount()
- Method in class net.percederberg.grammatica.parser.
Node
Returns the number of computed values associated with this node.
H
hasReadEndOfString()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Checks if the end of the string was encountered during the last match attempt.
I
INFINITE_LOOP_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParserCreationException
The infinite loop error type constant.
INHERENT_AMBIGUITY_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParserCreationException
The inherent ambiguity error type constant.
INTERNAL_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The internal error type constant.
INTERNAL_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParserCreationException
The internal error type constant.
INVALID_PARSER_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParserCreationException
The invalid parser error type constant.
INVALID_PRODUCTION_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParserCreationException
The invalid production error type constant.
INVALID_REPEAT_COUNT
- Static variable in class net.percederberg.grammatica.parser.re.
RegExpException
The invalid repeat count error constant.
INVALID_TOKEN_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The invalid token error type constant.
INVALID_TOKEN_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParserCreationException
The invalid token error type constant.
IO_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The I/O error type constant.
isError()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Checks if the pattern corresponds to an error token.
isIgnore()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Checks if the pattern corresponds to an ignored token.
isLeftRecursive()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Checks if this pattern is recursive on the left-hand side.
isLeftRecursive()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Checks if this alternative is recursive on the left-hand side.
isMatch(Token)
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Checks if a specific token matches this element.
isMatchingEmpty()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Checks if this pattern would match an empty stream of tokens.
isMatchingEmpty()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Checks if this alternative would match an empty stream of tokens.
isProduction()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Returns true if this element represents a production.
isRightRecursive()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Checks if this pattern is recursive on the right-hand side.
isRightRecursive()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Checks if this alternative is recursive on the right-hand side.
isSyntetic()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Checks if the syntetic production flag is set.
isToken()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Returns true if this element represents a token.
L
length()
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Returns the number of characters in the buffer.
length()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Returns the length of the latest match.
M
Matcher
- class net.percederberg.grammatica.parser.re.
Matcher
.
A regular expression string matcher.
Matcher(Element, CharBuffer)
- Constructor for class net.percederberg.grammatica.parser.re.
Matcher
Creates a new matcher with the specified element.
matchFrom(int)
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Attempts to find a match starting at the specified position in the string.
matchFromBeginning()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Attempts to find a match starting at the beginning of the string.
matcher(CharBuffer)
- Method in class net.percederberg.grammatica.parser.re.
RegExp
Creates a new matcher for the specified string.
matcher(String)
- Method in class net.percederberg.grammatica.parser.re.
RegExp
Creates a new matcher for the specified string.
matcher(StringBuffer)
- Method in class net.percederberg.grammatica.parser.re.
RegExp
Creates a new matcher for the specified string.
N
Node
- class net.percederberg.grammatica.parser.
Node
.
An abstract parse tree node.
Node()
- Constructor for class net.percederberg.grammatica.parser.
Node
net.percederberg.grammatica.parser
- package net.percederberg.grammatica.parser
net.percederberg.grammatica.parser.re
- package net.percederberg.grammatica.parser.re
next()
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Finds the next token on the stream.
P
ParseException
- exception net.percederberg.grammatica.parser.
ParseException
.
A parse exception.
ParseException(int, String, int, int)
- Constructor for class net.percederberg.grammatica.parser.
ParseException
Creates a new parse exception.
ParseException(int, String, ArrayList, int, int)
- Constructor for class net.percederberg.grammatica.parser.
ParseException
Creates a new parse exception.
Parser
- class net.percederberg.grammatica.parser.
Parser
.
A base parser class.
ParserCreationException
- exception net.percederberg.grammatica.parser.
ParserCreationException
.
A parser creation exception.
ParserCreationException(int, String)
- Constructor for class net.percederberg.grammatica.parser.
ParserCreationException
Creates a new parser creation exception.
ParserCreationException(int, String, String)
- Constructor for class net.percederberg.grammatica.parser.
ParserCreationException
Creates a new parser creation exception.
ParserCreationException(int, String, String, ArrayList)
- Constructor for class net.percederberg.grammatica.parser.
ParserCreationException
Creates a new parser creation exception.
ParserLogException
- exception net.percederberg.grammatica.parser.
ParserLogException
.
A parser log exception.
ParserLogException()
- Constructor for class net.percederberg.grammatica.parser.
ParserLogException
Creates a new empty parser log exception.
Production
- class net.percederberg.grammatica.parser.
Production
.
A production node.
Production(ProductionPattern)
- Constructor for class net.percederberg.grammatica.parser.
Production
Creates a new production node.
ProductionPattern
- class net.percederberg.grammatica.parser.
ProductionPattern
.
A production pattern.
ProductionPattern(int, String)
- Constructor for class net.percederberg.grammatica.parser.
ProductionPattern
Creates a new production pattern.
ProductionPatternAlternative
- class net.percederberg.grammatica.parser.
ProductionPatternAlternative
.
A production pattern alternative.
ProductionPatternAlternative()
- Constructor for class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Creates a new production pattern alternative.
ProductionPatternElement
- class net.percederberg.grammatica.parser.
ProductionPatternElement
.
A production pattern element.
ProductionPatternElement(boolean, int, int, int)
- Constructor for class net.percederberg.grammatica.parser.
ProductionPatternElement
Creates a new element.
parse()
- Method in class net.percederberg.grammatica.parser.
Parser
Parses the token stream and returns a parse tree.
parseStart()
- Method in class net.percederberg.grammatica.parser.
Parser
Parses the token stream and returns a parse tree.
parseStart()
- Method in class net.percederberg.grammatica.parser.
RecursiveDescentParser
Parses the input stream and creates a parse tree.
prepare()
- Method in class net.percederberg.grammatica.parser.
Parser
Initializes the parser.
prepare()
- Method in class net.percederberg.grammatica.parser.
RecursiveDescentParser
Initializes the parser.
printTo(PrintStream)
- Method in class net.percederberg.grammatica.parser.
Node
Prints this node and all subnodes to the specified output stream.
printTo(PrintWriter)
- Method in class net.percederberg.grammatica.parser.
Node
Prints this node and all subnodes to the specified output stream.
R
REGEXP_TYPE
- Static variable in class net.percederberg.grammatica.parser.
TokenPattern
The regular expression pattern type.
RecursiveDescentParser
- class net.percederberg.grammatica.parser.
RecursiveDescentParser
.
A recursive descent parser.
RecursiveDescentParser(Tokenizer)
- Constructor for class net.percederberg.grammatica.parser.
RecursiveDescentParser
Creates a new parser.
RecursiveDescentParser(Tokenizer, Analyzer)
- Constructor for class net.percederberg.grammatica.parser.
RecursiveDescentParser
Creates a new parser.
RegExp
- class net.percederberg.grammatica.parser.re.
RegExp
.
A regular expression.
RegExp(String)
- Constructor for class net.percederberg.grammatica.parser.re.
RegExp
Creates a new regular expression.
RegExpException
- exception net.percederberg.grammatica.parser.re.
RegExpException
.
A regular expression exception.
RegExpException(int, int, String)
- Constructor for class net.percederberg.grammatica.parser.re.
RegExpException
Creates a new regular expression exception.
removeAllValues()
- Method in class net.percederberg.grammatica.parser.
Node
Removes all computed values stored in this node.
reset()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Resets the information about the last match.
S
STRING_TYPE
- Static variable in class net.percederberg.grammatica.parser.
TokenPattern
The string pattern type.
setError()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Sets the token error flag and assigns a default error message.
setError(String)
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Sets the token error flag and assigns the specified error message.
setIgnore()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Sets the token ignore flag and clears the ignore message.
setIgnore(String)
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Sets the token ignore flag and assigns the specified ignore message.
setSyntetic(boolean)
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Sets the syntetic production pattern flag.
setUseTokenList(boolean)
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Sets the token list feature flag.
start()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Returns the start position of the latest match.
substring(int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Returns a string containing a sequence of characters from this buffer.
substring(int, int)
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Returns a string containing a sequence of characters from this buffer.
T
Token
- class net.percederberg.grammatica.parser.
Token
.
A token node.
Token(TokenPattern, String, int, int)
- Constructor for class net.percederberg.grammatica.parser.
Token
Creates a new token.
TokenPattern
- class net.percederberg.grammatica.parser.
TokenPattern
.
A token pattern.
TokenPattern(int, String, int, String)
- Constructor for class net.percederberg.grammatica.parser.
TokenPattern
Creates a new token pattern.
Tokenizer
- class net.percederberg.grammatica.parser.
Tokenizer
.
A character stream tokenizer.
Tokenizer(Reader)
- Constructor for class net.percederberg.grammatica.parser.
Tokenizer
Creates a new tokenizer for the specified input stream.
toShortString()
- Method in class net.percederberg.grammatica.parser.
Token
Returns a short string representation of this token.
toShortString()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns a short string representation of this object.
toString()
- Method in class net.percederberg.grammatica.parser.
Parser
Returns a string representation of this parser.
toString()
- Method in class net.percederberg.grammatica.parser.
Production
Returns a string representation of this production.
toString()
- Method in class net.percederberg.grammatica.parser.
ProductionPattern
Returns a string representation of this object.
toString()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternAlternative
Returns a string representation of this object.
toString()
- Method in class net.percederberg.grammatica.parser.
ProductionPatternElement
Returns a string representation of this object.
toString()
- Method in class net.percederberg.grammatica.parser.
Token
Returns a detailed string representation of this token.
toString()
- Method in class net.percederberg.grammatica.parser.
TokenPattern
Returns a detailed string representation of this object.
toString()
- Method in class net.percederberg.grammatica.parser.
Tokenizer
Returns a string representation of this object.
toString()
- Method in class net.percederberg.grammatica.parser.re.
CharBuffer
Returns a string containing all character in this buffer.
toString()
- Method in class net.percederberg.grammatica.parser.re.
Matcher
Returns the latest matched string.
toString()
- Method in class net.percederberg.grammatica.parser.re.
RegExp
Returns a string representation of the regular expression.
U
UNEXPECTED_CHARACTER
- Static variable in class net.percederberg.grammatica.parser.re.
RegExpException
The unexpected character error constant.
UNEXPECTED_CHAR_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The unexpected character error type constant.
UNEXPECTED_EOF_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The unexpected end of file error type constant.
UNEXPECTED_TOKEN_ERROR
- Static variable in class net.percederberg.grammatica.parser.
ParseException
The unexpected token error type constant.
UNSUPPORTED_ESCAPE_CHARACTER
- Static variable in class net.percederberg.grammatica.parser.re.
RegExpException
The unsupported escape character error constant.
UNSUPPORTED_SPECIAL_CHARACTER
- Static variable in class net.percederberg.grammatica.parser.re.
RegExpException
The unsupported special character error constant.
UNTERMINATED_PATTERN
- Static variable in class net.percederberg.grammatica.parser.re.
RegExpException
The unterminated pattern error constant.
A
C
D
E
G
H
I
L
M
N
P
R
S
T
U
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes