A B C D E F G H I J L M N O P R S T U V W

A

ABSTRACT - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The abstract modifier constant.
ABSTRACT - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The abstract modifier constant.
ABSTRACT - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The abstract modifier constant.
ABSTRACT - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The abstract modifier constant.
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.
addClass(CSharpClass) - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Adds an inner class as a member.
addClass(CSharpClass) - Method in class net.percederberg.grammatica.code.csharp.CSharpNamespace
Adds a class declaration to the namespace.
addClass(CSharpClass) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Adds a class declaration to the file.
addClass(JavaClass) - Method in class net.percederberg.grammatica.code.java.JavaFile
Adds a class to the file.
addClass(JavaClass) - Method in class net.percederberg.grammatica.code.java.JavaClass
Adds an inner class to this class.
addCode(String) - Method in class net.percederberg.grammatica.code.csharp.CSharpMethod
Adds one or more lines of actual code.
addCode(String) - Method in class net.percederberg.grammatica.code.csharp.CSharpConstructor
Adds one or more lines of actual code.
addCode(String) - Method in class net.percederberg.grammatica.code.java.JavaMethod
Adds one or more lines of actual code.
addCode(String) - Method in class net.percederberg.grammatica.code.java.JavaConstructor
Adds one or more lines of actual code.
addComment(CSharpComment) - Method in class net.percederberg.grammatica.code.csharp.CSharpMethod
Sets a comment for this method.
addComment(CSharpComment) - Method in class net.percederberg.grammatica.code.csharp.CSharpConstructor
Sets a comment for this constructor.
addComment(CSharpComment) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Adds a file comment.
addComment(JavaComment) - Method in class net.percederberg.grammatica.code.java.JavaFile
Adds a comment to this file.
addComment(JavaComment) - Method in class net.percederberg.grammatica.code.java.JavaVariable
Adds a comment to this variable.
addComment(JavaComment) - Method in class net.percederberg.grammatica.code.java.JavaMethod
Sets a comment for this method.
addComment(JavaComment) - Method in class net.percederberg.grammatica.code.java.JavaConstructor
Sets a comment for this constructor.
addConstant(String) - Method in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Adds a constant to the enumeration.
addConstant(String, String) - Method in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Adds a constant to the enumeration.
addConstant(String, String, CSharpComment) - Method in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Adds a constant to the enumeration.
addConstructor(CSharpConstructor) - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Adds a constructor to the class.
addConstructor(JavaConstructor) - Method in class net.percederberg.grammatica.code.java.JavaClass
Adds a constructor to the class.
addElement(CodeElement) - Method in class net.percederberg.grammatica.code.CodeElementContainer
Adds a code element to this container.
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.
addEnumeration(CSharpEnumeration) - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Adds an enumeration as a member.
addEnumeration(CSharpEnumeration) - Method in class net.percederberg.grammatica.code.csharp.CSharpNamespace
Adds an enumeration to the namespace.
addEnumeration(CSharpEnumeration) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Adds an enumeration declaration to the file.
addImport(JavaImport) - Method in class net.percederberg.grammatica.code.java.JavaFile
Adds an import to the file.
addInitializer(String) - Method in class net.percederberg.grammatica.code.csharp.CSharpConstructor
Adds an initializer call, i.e. a call to another constructor.
addInterface(JavaInterface) - Method in class net.percederberg.grammatica.code.java.JavaFile
Adds an interface to the file.
addMethod(CSharpMethod) - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Adds a method to the class.
addMethod(JavaMethod) - Method in class net.percederberg.grammatica.code.java.JavaInterface
Adds a method declaration to the interface.
addMethod(JavaMethod) - Method in class net.percederberg.grammatica.code.java.JavaClass
Adds a method to the class.
addNamespace(CSharpNamespace) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Adds a namespace declaration to the file.
addPattern(ProductionPattern) - Method in class net.percederberg.grammatica.parser.RecursiveDescentParser
Adds a new production pattern to the parser.
addPattern(ProductionPattern) - Method in class net.percederberg.grammatica.parser.Parser
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.
addStringEscapes(String) - Method in class net.percederberg.grammatica.code.CodeStyle
Adds '\' escapes in front of all '"' and '\' characters in a string.
addThrows(String) - Method in class net.percederberg.grammatica.code.java.JavaMethod
Adds a class to the list of exceptions thrown.
addThrows(String) - Method in class net.percederberg.grammatica.code.java.JavaConstructor
Adds a class to the list of exceptions thrown.
addToken(int, int, int) - Method in class net.percederberg.grammatica.parser.ProductionPatternAlternative
Adds a token to this alternative.
addUsing(CSharpUsing) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Adds a using declaration to the file.
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.
addVariable(JavaVariable) - Method in class net.percederberg.grammatica.code.java.JavaInterface
Adds a variable to the interface.
addVariable(JavaVariable) - Method in class net.percederberg.grammatica.code.java.JavaClass
Adds a variable to the class.
addVectorInit(String) - Method in class net.percederberg.grammatica.code.java.JavaVariable
Adds initialization code for a vector element value.
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.
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.
AUTHOR_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The author grammar declaration constant.

B

BLOCK - Static variable in class net.percederberg.grammatica.code.csharp.CSharpComment
The block comment type.
BLOCK - Static variable in class net.percederberg.grammatica.code.java.JavaComment
The block comment type.

C

canPrintCode() - Method in class net.percederberg.grammatica.code.csharp.CSharpMethod
Checks if the method source code can the printed.
canPrintCode() - Method in class net.percederberg.grammatica.code.java.JavaMethod
Checks if the method source code can the printed.
category() - Method in class net.percederberg.grammatica.code.CodeElement
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpMethod
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpConstructor
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpNamespace
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpUsing
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpComment
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaInterface
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaImport
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaPackage
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaFile
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaComment
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaVariable
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaMethod
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaConstructor
Returns a numeric category number for the code element.
category() - Method in class net.percederberg.grammatica.code.java.JavaClass
Returns a numeric category number for the code element.
charAt(int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Returns a character in the buffer.
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.
child(Production, Node) - Method in class net.percederberg.grammatica.parser.Analyzer
Called when adding a child to a parse tree node.
CodeElement - class net.percederberg.grammatica.code.CodeElement.
The abstract base class for all code elements.
CodeElement() - Constructor for class net.percederberg.grammatica.code.CodeElement
 
CodeElementContainer - class net.percederberg.grammatica.code.CodeElementContainer.
The abstract base class for all code element containers.
CodeElementContainer() - Constructor for class net.percederberg.grammatica.code.CodeElementContainer
 
CodeStyle - class net.percederberg.grammatica.code.CodeStyle.
The abstract base class for all code styles.
CodeStyle(int, String) - Constructor for class net.percederberg.grammatica.code.CodeStyle
Creates a new code style.
compareTo(Object) - Method in class net.percederberg.grammatica.code.CodeElement
Compares this object to another one.
compareTo(Object) - Method in class net.percederberg.grammatica.code.csharp.CSharpUsing
Compares this object to another one.
compareTo(Object) - Method in class net.percederberg.grammatica.code.java.JavaImport
Compares this object to another one.
COPYRIGHT_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The copyright grammar declaration constant.
createJavaFile() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Creates a Java file in the correct base directory.
createParser(Tokenizer) - Method in class net.percederberg.grammatica.Grammar
Creates a parser from this grammar.
createTokenizer(Reader) - Method in class net.percederberg.grammatica.Grammar
Creates a tokenizer from this grammar.
CSHARP - Static variable in class net.percederberg.grammatica.code.CodeStyle
The default C# code style.
CSharpClass - class net.percederberg.grammatica.code.csharp.CSharpClass.
A class generating a C# class declaration.
CSharpClass(int, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpClass
Creates a new class code generator with the specified modifiers.
CSharpClass(int, String, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpClass
Creates a new class code generator with the specified access modifier that extends the specified class.
CSharpClass(int, String, String[]) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpClass
Creates a new class code generator with the specified access modifier that extends and implements the specified classes or interfaces.
CSharpClass(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpClass
Creates a new class code generator with a public access modifier.
CSharpComment - class net.percederberg.grammatica.code.csharp.CSharpComment.
A class generating a C# comment.
CSharpComment(int, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpComment
Creates a new comment of the specified type.
CSharpComment(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpComment
Creates a new documentation comment with no indentation.
CSharpConstructor - class net.percederberg.grammatica.code.csharp.CSharpConstructor.
A class generating a C# constructor declaration.
CSharpConstructor() - Constructor for class net.percederberg.grammatica.code.csharp.CSharpConstructor
Creates a new empty constructor.
CSharpConstructor(int, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpConstructor
Creates a new constructor with the specified arguments.
CSharpConstructor(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpConstructor
Creates a new constructor with the specified arguments.
CSharpEnumeration - class net.percederberg.grammatica.code.csharp.CSharpEnumeration.
A class generating a C# enumeration declaration.
CSharpEnumeration(int, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Creates a new enumeration code generator with the specified modifiers.
CSharpEnumeration(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Creates a new enumeration code generator with public access.
CSharpFile - class net.percederberg.grammatica.code.csharp.CSharpFile.
A class generating a C# source code file.
CSharpFile(File, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpFile
Creates a new C# source code file.
CSharpMethod - class net.percederberg.grammatica.code.csharp.CSharpMethod.
A class generating a C# method declaration.
CSharpMethod(int, String, String, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpMethod
Creates a new method with the specified arguments.
CSharpMethod(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpMethod
Creates a new method with the specified name.
CSharpMethod(String, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpMethod
Creates a new method with the specified name and arguments.
CSharpMethod(String, String, String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpMethod
Creates a new method with the specified arguments.
CSharpNamespace - class net.percederberg.grammatica.code.csharp.CSharpNamespace.
A class generating a C# namespace declaration.
CSharpNamespace(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpNamespace
Creates a new namespace.
CSharpParserGenerator - class net.percederberg.grammatica.output.CSharpParserGenerator.
A C# parser generator.
CSharpParserGenerator(Grammar) - Constructor for class net.percederberg.grammatica.output.CSharpParserGenerator
Creates a new parser generator.
CSharpUsing - class net.percederberg.grammatica.code.csharp.CSharpUsing.
A class generating a C# using declaration.
CSharpUsing(String) - Constructor for class net.percederberg.grammatica.code.csharp.CSharpUsing
Creates a new C# using declaration.

D

DATE_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The date grammar declaration constant.
delete(int, int) - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Removes characters from this buffer.
DESCRIPTION_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The description grammar declaration constant.
DOCUMENTATION - Static variable in class net.percederberg.grammatica.code.csharp.CSharpComment
The block documentation comment type.
DOCUMENTATION - Static variable in class net.percederberg.grammatica.code.java.JavaComment
The JavaDoc documentation comment type.
DOCUMENTATION_SINGLE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpComment
The single line documentation comment type.

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.code.csharp.CSharpUsing
Returns true if this object is equal to another.
equals(Object) - Method in class net.percederberg.grammatica.code.java.JavaImport
Returns true if this object is equal to another import.
equals(Object) - Method in class net.percederberg.grammatica.parser.ProductionPatternElement
Checks if this object is equal to another.
equals(Object) - Method in class net.percederberg.grammatica.parser.ProductionPatternAlternative
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.
EXTERN - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The extern modifier constant.
EXTERN - Static variable in class net.percederberg.grammatica.code.csharp.CSharpConstructor
The extern modifier constant.

F

FILE_COMMENT - Static variable in class net.percederberg.grammatica.output.ParserGenerator
The default file comment string.
FINAL - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The final modifier constant.
FINAL - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The final modifier constant.
FINAL - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The final modifier constant.

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.
getBaseDir() - Method in class net.percederberg.grammatica.output.ParserGenerator
Returns the base directory where files will be created.
getBaseName() - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Returns the class name prefix.
getBaseName() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Returns the Java class name prefix.
getBasePackage() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Returns the Java package where the classes will be created.
getChildAt(int) - Method in class net.percederberg.grammatica.parser.Production
Returns the child node with the specified index.
getChildAt(int) - Method in class net.percederberg.grammatica.parser.Node
Returns the child node with the specified index.
getChildCount() - Method in class net.percederberg.grammatica.parser.Production
Returns the number of child nodes.
getChildCount() - Method in class net.percederberg.grammatica.parser.Node
Returns the number of child nodes.
getClassComment() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Returns the Java class comment.
getCodeStyle() - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Returns the code style to use.
getCodeStyle() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Returns the Java code style to use.
getColumn() - Method in class net.percederberg.grammatica.parser.ParseException
Returns the column number where the error occured.
getCSharpClass() - Method in class net.percederberg.grammatica.code.csharp.CSharpConstructor
Returns the class for this constructor, or null.
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.
getDeclaration(String) - Method in class net.percederberg.grammatica.Grammar
Returns the declaration value for the specified name.
getDetails() - Method in class net.percederberg.grammatica.parser.ParserCreationException
Returns the detailed error information as a string
getDetails() - Method in class net.percederberg.grammatica.parser.ParseException
Returns the additional detailed error information.
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.GrammarException
Returns the end line number for the error.
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.
getErrorMessage() - Method in class net.percederberg.grammatica.GrammarException
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.
getErrorMessage() - Method in class net.percederberg.grammatica.parser.ParseException
Returns the error message.
getErrorType() - Method in class net.percederberg.grammatica.parser.ParserCreationException
Returns the error type.
getErrorType() - Method in class net.percederberg.grammatica.parser.ParseException
Returns the error type.
getFile() - Method in class net.percederberg.grammatica.GrammarException
Returns the grammar file name.
getFileComment() - Method in class net.percederberg.grammatica.output.ParserGenerator
Returns the file comment.
getFileName() - Method in class net.percederberg.grammatica.Grammar
Returns the grammar file name and path.
getGrammar() - Method in class net.percederberg.grammatica.output.ParserGenerator
Returns the grammar that this parser generator works on.
getId() - Method in class net.percederberg.grammatica.parser.ProductionPatternElement
Returns the node identity.
getId() - Method in class net.percederberg.grammatica.parser.ProductionPattern
Returns the unique production pattern identity value.
getId() - Method in class net.percederberg.grammatica.parser.Production
Returns the production (pattern) id.
getId() - Method in class net.percederberg.grammatica.parser.Node
Returns the node type id.
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).
getIndent(int) - Method in class net.percederberg.grammatica.code.CodeStyle
Returns the indentation string for the specified level.
getInfo() - Method in class net.percederberg.grammatica.parser.ParserCreationException
Returns the additional error information.
getInfo() - Method in class net.percederberg.grammatica.parser.ParseException
Returns the additional error information.
getJavaClass() - Method in class net.percederberg.grammatica.code.java.JavaConstructor
Returns the class for this constructor, or null.
getLine() - Method in class net.percederberg.grammatica.parser.ParseException
Returns the line number where the error occured.
getLowerCase(String) - Method in class net.percederberg.grammatica.code.CodeStyle
Returns the lower-case version of a string.
getMargin() - Method in class net.percederberg.grammatica.code.CodeStyle
Returns the right print margin.
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.GrammarException
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.ParseException
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.
getMixedCase(String, boolean) - Method in class net.percederberg.grammatica.code.CodeStyle
Returns the mixed-case version of a string.
getName() - Method in class net.percederberg.grammatica.parser.ProductionPattern
Returns the production pattern name.
getName() - Method in class net.percederberg.grammatica.parser.ParserCreationException
Returns the token or production name.
getName() - Method in class net.percederberg.grammatica.parser.TokenPattern
Returns the token pattern name.
getNamespace() - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Returns the namespace used for the classes.
getParent() - Method in class net.percederberg.grammatica.parser.Node
Returns the parent node.
getPattern() - Method in class net.percederberg.grammatica.parser.ProductionPatternAlternative
Returns the production pattern containing this alternative.
getPattern() - Method in class net.percederberg.grammatica.parser.Production
Returns the production pattern for this production.
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.
getProductionPattern(int) - Method in class net.percederberg.grammatica.Grammar
Returns a specific production pattern.
getProductionPattern(String) - Method in class net.percederberg.grammatica.Grammar
Returns a specific production pattern.
getProductionPatternCount() - Method in class net.percederberg.grammatica.Grammar
Returns the number of production patterns in the grammar.
getPublicAccess() - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Returns the public access flag.
getPublicAccess() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Returns the public access flag.
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.GrammarException
Returns the start line number for the error.
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.
getStringConstant(String) - Method in class net.percederberg.grammatica.code.CodeStyle
Creates a string constant from the specified string.
getTokenPattern(int) - Method in class net.percederberg.grammatica.Grammar
Returns a specific token pattern.
getTokenPattern(String) - Method in class net.percederberg.grammatica.Grammar
Returns a specific token pattern.
getTokenPatternCount() - Method in class net.percederberg.grammatica.Grammar
Returns the number of token patterns in the grammar.
getType() - Method in class net.percederberg.grammatica.parser.TokenPattern
Returns the token pattern type.
getUpperCase(String) - Method in class net.percederberg.grammatica.code.CodeStyle
Returns the upper-case version of a string.
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.
Grammar - class net.percederberg.grammatica.Grammar.
A grammar definition object.
GRAMMAR_TYPE_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The grammar type grammar declaration constant.
Grammar(File) - Constructor for class net.percederberg.grammatica.Grammar
Creates a new grammar from the specified file.
GrammarException - exception net.percederberg.grammatica.GrammarException.
A grammar validation exception.
GrammarException(String, String) - Constructor for class net.percederberg.grammatica.GrammarException
Creates a new grammar exception.
GrammarException(String, String, int, int) - Constructor for class net.percederberg.grammatica.GrammarException
Creates a new grammar exception.
Grammatica - class net.percederberg.grammatica.Grammatica.
The main application.
Grammatica() - Constructor for class net.percederberg.grammatica.Grammatica
 

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 - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The internal access modifier constant.
INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpConstructor
The internal access modifier constant.
INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
The internal access modifier constant.
INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The internal access modifier constant.
INTERNAL_ERROR - Static variable in class net.percederberg.grammatica.parser.ParserCreationException
The internal error type constant.
INTERNAL_ERROR - Static variable in class net.percederberg.grammatica.parser.ParseException
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.ParserCreationException
The invalid token error type constant.
INVALID_TOKEN_ERROR - Static variable in class net.percederberg.grammatica.parser.ParseException
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.ProductionPatternAlternative
Checks if this alternative is recursive on the left-hand side.
isLeftRecursive() - Method in class net.percederberg.grammatica.parser.ProductionPattern
Checks if this pattern 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.ProductionPatternAlternative
Checks if this alternative would match an empty stream of tokens.
isMatchingEmpty() - Method in class net.percederberg.grammatica.parser.ProductionPattern
Checks if this pattern 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.ProductionPatternAlternative
Checks if this alternative is recursive on the right-hand side.
isRightRecursive() - Method in class net.percederberg.grammatica.parser.ProductionPattern
Checks if this pattern 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.

J

JAVA - Static variable in class net.percederberg.grammatica.code.CodeStyle
The default Java code style.
JavaClass - class net.percederberg.grammatica.code.java.JavaClass.
A class generating a Java class declaration.
JavaClass(int, String) - Constructor for class net.percederberg.grammatica.code.java.JavaClass
Creates a new class code generator with the specified access modifier.
JavaClass(int, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaClass
Creates a new class code generator with the specified access modifier that extends the specified class.
JavaClass(int, String, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaClass
Creates a new class code generator with the specified access modifier that extends and implements the specified classes or interfaces.
JavaClass(int, String, String, String[]) - Constructor for class net.percederberg.grammatica.code.java.JavaClass
Creates a new class code generator with the specified access modifier that extends and implements the specified classes or interfaces.
JavaClass(String) - Constructor for class net.percederberg.grammatica.code.java.JavaClass
Creates a new class code generator with a public access modifier.
JavaComment - class net.percederberg.grammatica.code.java.JavaComment.
A class generating a Java comment.
JavaComment(int, String) - Constructor for class net.percederberg.grammatica.code.java.JavaComment
Creates a new comment of the specified type.
JavaComment(String) - Constructor for class net.percederberg.grammatica.code.java.JavaComment
Creates a new documentation comment with no indentation.
JavaConstructor - class net.percederberg.grammatica.code.java.JavaConstructor.
A class generating a Java constructor declaration.
JavaConstructor() - Constructor for class net.percederberg.grammatica.code.java.JavaConstructor
Creates a new empty constructor.
JavaConstructor(int, String) - Constructor for class net.percederberg.grammatica.code.java.JavaConstructor
Creates a new constructor with the specified arguments.
JavaConstructor(String) - Constructor for class net.percederberg.grammatica.code.java.JavaConstructor
Creates a new constructor with the specified arguments.
JavaFile - class net.percederberg.grammatica.code.java.JavaFile.
A class generating a Java code file.
JavaFile(File) - Constructor for class net.percederberg.grammatica.code.java.JavaFile
Creates a new Java code file in the specified file.
JavaFile(File, JavaPackage) - Constructor for class net.percederberg.grammatica.code.java.JavaFile
Creates a new Java code file in the specified base directory and package.
JavaImport - class net.percederberg.grammatica.code.java.JavaImport.
A class generating a Java import declaration.
JavaImport(JavaPackage) - Constructor for class net.percederberg.grammatica.code.java.JavaImport
Creates a new import declaration, importing all classes of a specified package.
JavaImport(JavaPackage, JavaClass) - Constructor for class net.percederberg.grammatica.code.java.JavaImport
Creates a new import declaration, importing the selected class from the specified package.
JavaImport(String) - Constructor for class net.percederberg.grammatica.code.java.JavaImport
Creates a new import declaration, importing all classes of a specified package.
JavaImport(String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaImport
Creates a new import declaration, importing the selected class from the specified package.
JavaInterface - class net.percederberg.grammatica.code.java.JavaInterface.
A class generating a Java interface declaration.
JavaInterface(int, String) - Constructor for class net.percederberg.grammatica.code.java.JavaInterface
Creates a new interface code generator with the specified access modifier.
JavaInterface(int, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaInterface
Creates a new class code generator with the specified access modifier that extends the specified class.
JavaInterface(String) - Constructor for class net.percederberg.grammatica.code.java.JavaInterface
Creates a new interface code generator with a public access modifier.
JavaMethod - class net.percederberg.grammatica.code.java.JavaMethod.
A class generating a Java method declaration.
JavaMethod(int, String, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaMethod
Creates a new method with the specified arguments.
JavaMethod(String) - Constructor for class net.percederberg.grammatica.code.java.JavaMethod
Creates a new method with the specified name.
JavaMethod(String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaMethod
Creates a new method with the specified name and arguments.
JavaMethod(String, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaMethod
Creates a new method with the specified arguments.
JavaPackage - class net.percederberg.grammatica.code.java.JavaPackage.
A class generating a Java package declaration.
JavaPackage(JavaPackage, String) - Constructor for class net.percederberg.grammatica.code.java.JavaPackage
Creates a new Java package with the specified base package and name.
JavaPackage(String) - Constructor for class net.percederberg.grammatica.code.java.JavaPackage
Creates a new Java package with the specified name.
JavaParserGenerator - class net.percederberg.grammatica.output.JavaParserGenerator.
A Java parser generator.
JavaParserGenerator(Grammar) - Constructor for class net.percederberg.grammatica.output.JavaParserGenerator
Creates a new Java parser generator.
JavaVariable - class net.percederberg.grammatica.code.java.JavaVariable.
A class generating a Java variable declaration.
JavaVariable(int, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaVariable
Creates a new variable with the specified modifiers, type and name.
JavaVariable(int, String, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaVariable
Creates a new variable with the specified modifiers, type, name and initializer.
JavaVariable(String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaVariable
Creates a new variable with the specified type and name.
JavaVariable(String, String, String) - Constructor for class net.percederberg.grammatica.code.java.JavaVariable
Creates a new variable with the specified type, name and initializer.

L

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.re.CharBuffer
Returns the number of characters in the buffer.
LICENSE_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The license grammar declaration constant.

M

main(String[]) - Static method in class net.percederberg.grammatica.Grammatica
The application entry point.
Matcher - class net.percederberg.grammatica.parser.re.Matcher.
A regular expression string matcher.
matcher(CharBuffer) - Method in class net.percederberg.grammatica.parser.re.RegExp
Creates a new matcher for the specified string.
Matcher(Element, CharBuffer) - Constructor for class net.percederberg.grammatica.parser.re.Matcher
Creates a new matcher with the specified element.
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.
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

NATIVE - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The abstract modifier constant.
net.percederberg.grammatica - package net.percederberg.grammatica
 
net.percederberg.grammatica.code - package net.percederberg.grammatica.code
 
net.percederberg.grammatica.code.csharp - package net.percederberg.grammatica.code.csharp
 
net.percederberg.grammatica.code.java - package net.percederberg.grammatica.code.java
 
net.percederberg.grammatica.output - package net.percederberg.grammatica.output
 
net.percederberg.grammatica.parser - package net.percederberg.grammatica.parser
 
net.percederberg.grammatica.parser.re - package net.percederberg.grammatica.parser.re
 
NEW - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The new modifier constant.
NEW - Static variable in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
The new modifier constant.
NEW - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The new modifier constant.
next() - Method in class net.percederberg.grammatica.parser.Tokenizer
Finds the next token on the stream.
Node - class net.percederberg.grammatica.parser.Node.
An abstract parse tree node.
Node() - Constructor for class net.percederberg.grammatica.parser.Node
 

O

OVERRIDE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The override modifier constant.

P

PACKAGE_LOCAL - Static variable in class net.percederberg.grammatica.code.java.JavaInterface
The package local access modifier constant (i.e. no modifier).
PACKAGE_LOCAL - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The package local access modifier constant (i.e. no modifier).
PACKAGE_LOCAL - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The package local access modifier constant (i.e. no modifier).
PACKAGE_LOCAL - Static variable in class net.percederberg.grammatica.code.java.JavaConstructor
The package local access modifier constant (i.e. no modifier).
PACKAGE_LOCAL - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The package local access modifier constant (i.e. no modifier).
parse() - Method in class net.percederberg.grammatica.parser.RecursiveDescentParser
Parses the input stream and creates a parse tree.
parse() - Method in class net.percederberg.grammatica.parser.Parser
Parses the token stream and returns a parse tree.
ParseException - exception net.percederberg.grammatica.parser.ParseException.
A parse exception.
ParseException(int, String, ArrayList, int, int) - Constructor for class net.percederberg.grammatica.parser.ParseException
Creates a new parse exception.
ParseException(int, String, 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.
ParserGenerator - class net.percederberg.grammatica.output.ParserGenerator.
The grammar parser generator base class.
ParserGenerator(Grammar) - Constructor for class net.percederberg.grammatica.output.ParserGenerator
Creates a new parser generator.
prepare() - Method in class net.percederberg.grammatica.parser.RecursiveDescentParser
Initializes the parser.
prepare() - Method in class net.percederberg.grammatica.parser.Parser
Initializes the parser.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.CodeElement
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpMethod
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpConstructor
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Prints the class to the specified stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpNamespace
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpUsing
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpComment
Prints the comment to the specified stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Prints the file contents to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaInterface
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaImport
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaPackage
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaFile
Prints the file contents to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaComment
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaVariable
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaMethod
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaConstructor
Prints the code element to the specified output stream.
print(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.java.JavaClass
Prints the code element to the specified output stream.
printContents(PrintWriter, CodeStyle, int) - Method in class net.percederberg.grammatica.code.CodeElementContainer
Prints all the contained code elements to the specified output stream.
printSeparator(PrintWriter, CodeStyle, CodeElement, CodeElement) - Method in class net.percederberg.grammatica.code.CodeElementContainer
Prints the lines separating two elements.
printSeparator(PrintWriter, CodeStyle, CodeElement, CodeElement) - Method in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
Prints the lines separating two elements.
printSeparator(PrintWriter, CodeStyle, CodeElement, CodeElement) - Method in class net.percederberg.grammatica.code.csharp.CSharpClass
Prints the lines separating two elements.
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.
PRIVATE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpConstructor
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.java.JavaInterface
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.java.JavaConstructor
The private access modifier constant.
PRIVATE - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The private access modifier constant.
process(Node) - Method in class net.percederberg.grammatica.parser.Analyzer
Processes a parse tree node and creates a new node that is the result of processing all children recursively.
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.
PROTECTED - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.csharp.CSharpConstructor
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.java.JavaInterface
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.java.JavaConstructor
The protected access modifier constant.
PROTECTED - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The protected access modifier constant.
PROTECTED_INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The protected internal access modifier constant.
PROTECTED_INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpConstructor
The protected internal access modifier constant.
PROTECTED_INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
The protected internal access modifier constant.
PROTECTED_INTERNAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The protected internal access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.csharp.CSharpConstructor
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.csharp.CSharpEnumeration
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.java.JavaInterface
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.java.JavaConstructor
The public access modifier constant.
PUBLIC - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The public access modifier constant.

R

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_TYPE - Static variable in class net.percederberg.grammatica.parser.TokenPattern
The regular expression pattern type.
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

SEALED - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The sealed modifier constant.
SEALED - Static variable in class net.percederberg.grammatica.code.csharp.CSharpClass
The sealed modifier constant.
setBaseDir(File) - Method in class net.percederberg.grammatica.output.ParserGenerator
Sets the base directory where files will be created.
setBaseName(String) - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Sets the class name prefix.
setBaseName(String) - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Sets the Java class name prefix.
setBasePackage(String) - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Sets the Java package name where the classes will be created.
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.
setNamespace(String) - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Sets the namespace to use for the classes.
setPrintCode(boolean) - Method in class net.percederberg.grammatica.code.csharp.CSharpMethod
Sets the print code flag.
setPrintCode(boolean) - Method in class net.percederberg.grammatica.code.java.JavaMethod
Sets the print code flag.
setPublicAccess(boolean) - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Sets the public access flag.
setPublicAccess(boolean) - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Sets the public access flag.
setSyntetic(boolean) - Method in class net.percederberg.grammatica.parser.ProductionPattern
Sets the syntetic production pattern flag.
SINGLELINE - Static variable in class net.percederberg.grammatica.code.csharp.CSharpComment
The single line comment type.
SINGLELINE - Static variable in class net.percederberg.grammatica.code.java.JavaComment
The single line comment type.
start() - Method in class net.percederberg.grammatica.parser.re.Matcher
Returns the start position of the latest match.
STATIC - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The static modifier constant.
STATIC - Static variable in class net.percederberg.grammatica.code.java.JavaInterface
The static modifier constant.
STATIC - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The static modifier constant.
STATIC - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The static modifier constant.
STATIC - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The static modifier constant.
STRICTFP - Static variable in class net.percederberg.grammatica.code.java.JavaInterface
The strictfp modifier constant.
STRICTFP - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The strictfp modifier constant.
STRICTFP - Static variable in class net.percederberg.grammatica.code.java.JavaClass
The strictfp modifier constant.
STRING_TYPE - Static variable in class net.percederberg.grammatica.parser.TokenPattern
The string pattern type.
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.
SYNCHRONIZED - Static variable in class net.percederberg.grammatica.code.java.JavaMethod
The synchronized modifier constant.

T

toFile(File) - Method in class net.percederberg.grammatica.code.java.JavaPackage
Returns the directory file containing the package files.
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.
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.
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.
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.code.csharp.CSharpUsing
Returns the namespace to use.
toString() - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Returns the file name.
toString() - Method in class net.percederberg.grammatica.code.java.JavaImport
Returns a string description of the imported packages.
toString() - Method in class net.percederberg.grammatica.code.java.JavaPackage
Returns a string representation of this package.
toString() - Method in class net.percederberg.grammatica.code.java.JavaFile
Returns the file name.
toString() - Method in class net.percederberg.grammatica.parser.ProductionPatternElement
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.ProductionPattern
Returns a string representation of this object.
toString() - Method in class net.percederberg.grammatica.parser.Production
Returns a string representation of this production.
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.re.RegExp
Returns a string representation of the regular expression.
toString() - Method in class net.percederberg.grammatica.parser.re.Matcher
Returns the latest matched string.
toString() - Method in class net.percederberg.grammatica.parser.re.CharBuffer
Returns a string containing all character in this buffer.
TRANSIENT - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The transient modifier constant.

U

UNEXPECTED_CHAR_ERROR - Static variable in class net.percederberg.grammatica.parser.ParseException
The unexpected character error type constant.
UNEXPECTED_CHARACTER - Static variable in class net.percederberg.grammatica.parser.re.RegExpException
The unexpected character error 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.

V

VERSION_DECLARATION - Static variable in class net.percederberg.grammatica.Grammar
The version grammar declaration constant.
VIRTUAL - Static variable in class net.percederberg.grammatica.code.csharp.CSharpMethod
The virtual modifier constant.
VOLATILE - Static variable in class net.percederberg.grammatica.code.java.JavaVariable
The volatile modifier constant.

W

write() - Method in class net.percederberg.grammatica.output.CSharpParserGenerator
Writes the source code files.
write() - Method in class net.percederberg.grammatica.output.ParserGenerator
Writes the source code files.
write() - Method in class net.percederberg.grammatica.output.JavaParserGenerator
Writes the Java source code files.
writeCode(CodeStyle) - Method in class net.percederberg.grammatica.code.csharp.CSharpFile
Writes the source code for this file.
writeCode(CodeStyle) - Method in class net.percederberg.grammatica.code.java.JavaFile
Writes the source code for this file.

A B C D E F G H I J L M N O P R S T U V W