Skip navigation links
A B C D E G H I L M N P R S T U 

A

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 exception 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.
ANALYSIS_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The analysis error type constant.
analyze(Node) - Method in class net.percederberg.grammatica.parser.Analyzer
Analyzes a parse tree node by traversing all it's child nodes.
Analyzer - Class in net.percederberg.grammatica.parser
A parse tree analyzer.
Analyzer() - Constructor for class net.percederberg.grammatica.parser.Analyzer
 
append(boolean) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
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
Deprecated.
Appends a character to the end of the buffer.
append(char[]) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Appends a character array to the end of the buffer.
append(char[], int, int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Appends a character array to the end of the buffer.
append(double) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
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
Deprecated.
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
Deprecated.
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
Deprecated.
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
Deprecated.
Appends the string representation of an object to the end of the buffer.
append(String) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Appends a string to the end of the buffer.
append(StringBuffer) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Appends a string buffer to the end of the buffer.

B

BLOCK_SIZE - Static variable in class net.percederberg.grammatica.parser.ReaderBuffer
The stream reading block size.

C

charAt(int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Returns a character in the buffer.
charAt(int) - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns a character already in the buffer.
CharBuffer - Class in net.percederberg.grammatica.parser.re
Deprecated.
The CharBuffer class has been deprecated in favor of ReaderBuffer as of version 1.5.
CharBuffer() - Constructor for class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Creates a new character buffer.
CharBuffer(int) - Constructor for class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Creates a new character buffer with the specified initial size.
CharBuffer(String) - Constructor for class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Creates a new character buffer from the specified string.
CharBuffer(StringBuffer) - Constructor for class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Creates a new character buffer from the specified string buffer.
child(Production, Node) - Method in class net.percederberg.grammatica.parser.Analyzer
Called when adding a child to a parse tree node.
columnNumber() - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns the current column number.

D

delete(int, int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Removes characters from this buffer.
dispose() - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Discards all resources used by 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
Deprecated.
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 exception 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.
getDebugInfo() - Method in class net.percederberg.grammatica.parser.TokenPattern
Returns the token debug info message.
getDescendantCount() - Method in class net.percederberg.grammatica.parser.Node
Returns the number of descendant nodes.
getDetails() - Method in exception net.percederberg.grammatica.parser.ParseException
Returns the additional detailed error information.
getDetails() - Method in exception 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 exception net.percederberg.grammatica.parser.ParserLogException
Returns a specific error from the log.
getErrorCount() - Method in exception net.percederberg.grammatica.parser.ParserLogException
Returns the number of errors in this log.
getErrorMessage() - Method in exception 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 exception net.percederberg.grammatica.parser.ParseException
Returns the error type.
getErrorType() - Method in exception 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.
getInfo() - Method in exception net.percederberg.grammatica.parser.ParseException
Returns the additional error information.
getInfo() - Method in exception 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 exception 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 exception net.percederberg.grammatica.parser.ParseException
Returns the detailed error message.
getMessage() - Method in exception net.percederberg.grammatica.parser.ParserCreationException
Returns the error message.
getMessage() - Method in exception net.percederberg.grammatica.parser.ParserLogException
Returns the detailed error message.
getMessage() - Method in exception 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 exception 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

hashCode() - Method in class net.percederberg.grammatica.parser.ProductionPatternAlternative
Returns a hash code for this object.
hashCode() - Method in class net.percederberg.grammatica.parser.ProductionPatternElement
Returns a hash code for this object.
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

ignoreCase - Variable in class net.percederberg.grammatica.parser.Tokenizer
The ignore character case flag.
INFINITE_LOOP_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParserCreationException
The infinite loop error type constant.
INHERENT_AMBIGUITY_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParserCreationException
The inherent ambiguity error type constant.
INTERNAL_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The internal error type constant.
INTERNAL_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParserCreationException
The internal error type constant.
INVALID_PARSER_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParserCreationException
The invalid parser error type constant.
INVALID_PRODUCTION_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParserCreationException
The invalid production error type constant.
INVALID_REPEAT_COUNT - Static variable in exception net.percederberg.grammatica.parser.re.RegExpException
The invalid repeat count error constant.
INVALID_TOKEN_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The invalid token error type constant.
INVALID_TOKEN_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParserCreationException
The invalid token error type constant.
IO_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The I/O error type constant.
isCaseInsensitive() - Method in class net.percederberg.grammatica.parser.re.Matcher
Checks if this matcher compares in case-insensitive mode.
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
Deprecated.
Use the isSynthetic() method instead. This method name contained a spelling error.
isSynthetic() - Method in class net.percederberg.grammatica.parser.ProductionPattern
Checks if the synthetic 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
Deprecated.
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.
length() - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns the current character buffer length.
lineNumber() - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns the current line number.

M

Matcher - Class in net.percederberg.grammatica.parser.re
A regular expression string matcher.
matcher(CharBuffer) - Method in class net.percederberg.grammatica.parser.re.RegExp
Deprecated.
The CharBuffer class has been deprecated in favor of ReaderBuffer as of version 1.5. Create a ReaderBuffer and use the matcher(ReaderBuffer) method instead of this one.
matcher(String) - Method in class net.percederberg.grammatica.parser.re.RegExp
Creates a new matcher for the specified string.
matcher(ReaderBuffer) - Method in class net.percederberg.grammatica.parser.re.RegExp
Creates a new matcher for the specified look-ahead character input stream.
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.

N

net.percederberg.grammatica.parser - package net.percederberg.grammatica.parser
 
net.percederberg.grammatica.parser.re - package net.percederberg.grammatica.parser.re
 
newAnalyzer() - Method in class net.percederberg.grammatica.parser.Parser
Creates a new analyzer for this parser.
newProduction(ProductionPattern) - Method in class net.percederberg.grammatica.parser.Analyzer
Factory method to create a new production node.
newProduction(ProductionPattern) - Method in class net.percederberg.grammatica.parser.Parser
Factory method to create a new production node.
newToken(TokenPattern, String, int, int) - Method in class net.percederberg.grammatica.parser.Tokenizer
Factory method for creating a new token.
newTokenizer(Reader) - Method in class net.percederberg.grammatica.parser.Parser
Creates a new tokenizer for this parser.
next() - Method in class net.percederberg.grammatica.parser.Tokenizer
Finds the next token on the stream.
Node - Class in net.percederberg.grammatica.parser
An abstract parse tree node.
Node() - Constructor for class net.percederberg.grammatica.parser.Node
 

P

parse() - Method in class net.percederberg.grammatica.parser.Parser
Parses the token stream and returns a parse tree.
ParseException - Exception in net.percederberg.grammatica.parser
A parse exception.
ParseException(int, String, int, int) - Constructor for exception net.percederberg.grammatica.parser.ParseException
Creates a new parse exception.
ParseException(int, String, ArrayList, int, int) - Constructor for exception net.percederberg.grammatica.parser.ParseException
Creates a new parse exception.
Parser - Class in net.percederberg.grammatica.parser
A base parser class.
ParserCreationException - Exception in net.percederberg.grammatica.parser
A parser creation exception.
ParserCreationException(int, String) - Constructor for exception net.percederberg.grammatica.parser.ParserCreationException
Creates a new parser creation exception.
ParserCreationException(int, String, String) - Constructor for exception net.percederberg.grammatica.parser.ParserCreationException
Creates a new parser creation exception.
ParserCreationException(int, String, String, ArrayList) - Constructor for exception net.percederberg.grammatica.parser.ParserCreationException
Creates a new parser creation exception.
ParserLogException - Exception in net.percederberg.grammatica.parser
A parser log exception.
ParserLogException() - Constructor for exception net.percederberg.grammatica.parser.ParserLogException
 
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.
peek(int) - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns a character relative to the current position.
position() - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns the current position in the buffer.
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.
Production - Class in net.percederberg.grammatica.parser
A production node.
Production(ProductionPattern) - Constructor for class net.percederberg.grammatica.parser.Production
Creates a new production node.
ProductionPattern - Class in net.percederberg.grammatica.parser
A production pattern.
ProductionPattern(int, String) - Constructor for class net.percederberg.grammatica.parser.ProductionPattern
Creates a new production pattern.
ProductionPatternAlternative - Class in net.percederberg.grammatica.parser
A production pattern alternative.
ProductionPatternAlternative() - Constructor for class net.percederberg.grammatica.parser.ProductionPatternAlternative
 
ProductionPatternElement - Class in net.percederberg.grammatica.parser
A production pattern element.
ProductionPatternElement(boolean, int, int, int) - Constructor for class net.percederberg.grammatica.parser.ProductionPatternElement
Creates a new element.

R

read(int) - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Reads the specified number of characters from the current position.
ReaderBuffer - Class in net.percederberg.grammatica.parser
A character buffer that automatically reads from an input source stream when needed.
ReaderBuffer(Reader) - Constructor for class net.percederberg.grammatica.parser.ReaderBuffer
Creates a new tokenizer character buffer.
RecursiveDescentParser - Class in net.percederberg.grammatica.parser
A recursive descent parser.
RecursiveDescentParser(Reader) - Constructor for class net.percederberg.grammatica.parser.RecursiveDescentParser
Creates a new parser.
RecursiveDescentParser(Reader, Analyzer) - Constructor for class net.percederberg.grammatica.parser.RecursiveDescentParser
Creates a new 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 in net.percederberg.grammatica.parser.re
A regular expression.
RegExp(String) - Constructor for class net.percederberg.grammatica.parser.re.RegExp
Creates a new case-sensitive regular expression.
RegExp(String, boolean) - Constructor for class net.percederberg.grammatica.parser.re.RegExp
Creates a new regular expression.
REGEXP_TYPE - Static variable in class net.percederberg.grammatica.parser.TokenPattern
The regular expression pattern type.
RegExpException - Exception in net.percederberg.grammatica.parser.re
A regular expression exception.
RegExpException(int, int, String) - Constructor for exception 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.Analyzer
Resets this analyzer when the parser is reset for another input stream.
reset(Reader) - Method in class net.percederberg.grammatica.parser.Parser
Resets this parser for usage with another input stream.
reset(Reader, Analyzer) - Method in class net.percederberg.grammatica.parser.Parser
Resets this parser for usage with another input stream.
reset() - Method in class net.percederberg.grammatica.parser.re.Matcher
Resets the information about the last match.
reset(String) - Method in class net.percederberg.grammatica.parser.re.Matcher
Resets the matcher for use with a new input string.
reset(ReaderBuffer) - Method in class net.percederberg.grammatica.parser.re.Matcher
Resets the matcher for use with a new look-ahead character input buffer.
reset(Reader) - Method in class net.percederberg.grammatica.parser.Tokenizer
Resets this tokenizer for usage with another input stream.

S

setDebugInfo(String) - Method in class net.percederberg.grammatica.parser.TokenPattern
Sets the token debug info message.
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
Deprecated.
Use the setSynthetic() method instead. This method name contained a spelling error.
setSynthetic(boolean) - Method in class net.percederberg.grammatica.parser.ProductionPattern
Sets the synthetic 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.
STRING_TYPE - Static variable in class net.percederberg.grammatica.parser.TokenPattern
The string pattern type.
subSequence(int, int) - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns a character sequence already in the buffer.
substring(int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Returns a string containing a sequence of characters from this buffer.
substring(int, int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Deprecated.
Returns a string containing a sequence of characters from this buffer.

T

Token - Class in net.percederberg.grammatica.parser
A token node.
Token(TokenPattern, String, int, int) - Constructor for class net.percederberg.grammatica.parser.Token
Creates a new token.
Tokenizer - Class in net.percederberg.grammatica.parser
A character stream tokenizer.
Tokenizer(Reader) - Constructor for class net.percederberg.grammatica.parser.Tokenizer
Creates a new case-sensitive tokenizer for the specified input stream.
Tokenizer(Reader, boolean) - Constructor for class net.percederberg.grammatica.parser.Tokenizer
Creates a new tokenizer for the specified input stream.
TokenPattern - Class in net.percederberg.grammatica.parser
A token pattern.
TokenPattern(int, String, int, String) - Constructor for class net.percederberg.grammatica.parser.TokenPattern
Creates a new token pattern.
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.re.CharBuffer
Deprecated.
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.
toString() - Method in class net.percederberg.grammatica.parser.ReaderBuffer
Returns the current content of the buffer as a string.
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.Tokenizer
Returns a string representation of this object.
toString() - Method in class net.percederberg.grammatica.parser.TokenPattern
Returns a detailed string representation of this object.

U

UNEXPECTED_CHAR_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The unexpected character error type constant.
UNEXPECTED_CHARACTER - Static variable in exception net.percederberg.grammatica.parser.re.RegExpException
The unexpected character error constant.
UNEXPECTED_EOF_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The unexpected end of file error type constant.
UNEXPECTED_TOKEN_ERROR - Static variable in exception net.percederberg.grammatica.parser.ParseException
The unexpected token error type constant.
UNSUPPORTED_ESCAPE_CHARACTER - Static variable in exception net.percederberg.grammatica.parser.re.RegExpException
The unsupported escape character error constant.
UNSUPPORTED_SPECIAL_CHARACTER - Static variable in exception net.percederberg.grammatica.parser.re.RegExpException
The unsupported special character error constant.
UNTERMINATED_PATTERN - Static variable in exception net.percederberg.grammatica.parser.re.RegExpException
The unterminated pattern error constant.
A B C D E G H I L M N P R S T U 
Skip navigation links