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

A

accept(Chart.NodeVisitor) - Method in class net.hydromatic.clapham.graph.Node
 
adjustBeginLineColumn(int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
adjustBeginLineColumn(int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
AlternateNode - Class in net.hydromatic.clapham.parser
TODO:
AlternateNode(List<EbnfNode>) - Constructor for class net.hydromatic.clapham.parser.AlternateNode
 
AltNode - Class in net.hydromatic.clapham.graph
TODO:
AltNode(Grammar, Node) - Constructor for class net.hydromatic.clapham.graph.AltNode
 
arrowSize - Variable in class net.hydromatic.clapham.graph.Chart
 
ASTERISK - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.

B

backup(int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Backup a number of characters.
backup(int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Backup a number of characters.
BAR - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
BAR - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
beginColumn - Variable in class net.hydromatic.clapham.parser.bnf.Token
The column number of the first character of this Token.
beginColumn - Variable in class net.hydromatic.clapham.parser.wirth.Token
The column number of the first character of this Token.
beginLine - Variable in class net.hydromatic.clapham.parser.bnf.Token
The line number of the first character of this Token.
beginLine - Variable in class net.hydromatic.clapham.parser.wirth.Token
The line number of the first character of this Token.
beginningXCoordinate - Variable in class net.hydromatic.clapham.graph.Chart
where the drawing starts (Y)
BeginToken() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Start.
BeginToken() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Start.
BnfParser - Class in net.hydromatic.clapham.parser.bnf
Parser for grammars in Backus-Naur Form (BNF) notation.
BnfParser(InputStream) - Constructor for class net.hydromatic.clapham.parser.bnf.BnfParser
Constructor with InputStream.
BnfParser(InputStream, String) - Constructor for class net.hydromatic.clapham.parser.bnf.BnfParser
Constructor with InputStream and supplied encoding
BnfParser(Reader) - Constructor for class net.hydromatic.clapham.parser.bnf.BnfParser
Constructor.
BnfParser(BnfParserTokenManager) - Constructor for class net.hydromatic.clapham.parser.bnf.BnfParser
Constructor with generated Token Manager.
BnfParserConstants - Interface in net.hydromatic.clapham.parser.bnf
Token literal values and constants.
BnfParserTokenManager - Class in net.hydromatic.clapham.parser.bnf
Token Manager.
BnfParserTokenManager(SimpleCharStream) - Constructor for class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Constructor.
BnfParserTokenManager(SimpleCharStream, int) - Constructor for class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Constructor.
BRACKETED_IDENTIFIER - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
bufpos - Variable in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Position in buffer.
bufpos - Variable in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Position in buffer.
buildGrammar(List<ProductionNode>) - Static method in class net.hydromatic.clapham.Clapham
 

C

calcDrawing() - Method in class net.hydromatic.clapham.graph.Chart
 
calcPos(Chart, float) - Method in class net.hydromatic.clapham.graph.Node
Calculates the horizontal position of the symbols.
calcSize(Chart) - Method in class net.hydromatic.clapham.graph.Node
Calculates the size of each symbol.
charColor - Variable in class net.hydromatic.clapham.graph.Chart
fontColor of the T and NT symbols
charFont - Variable in class net.hydromatic.clapham.graph.Chart
 
Chart - Class in net.hydromatic.clapham.graph
TODO:
Chart(Grammar, SVGGraphics2D) - Constructor for class net.hydromatic.clapham.graph.Chart
 
checkSubAlts(Node) - Method in class net.hydromatic.clapham.graph.Grammar
 
Clapham - Class in net.hydromatic.clapham
Command line utility Clapham, the railroad diagram generator.
Clapham() - Constructor for class net.hydromatic.clapham.Clapham
 
Clapham.ImageFormat - Enum in net.hydromatic.clapham
Output format for graphics.
COLCOLEQ - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
componentArcSize - Variable in class net.hydromatic.clapham.graph.Chart
 
componentGapHeight - Variable in class net.hydromatic.clapham.graph.Chart
 
componentGapWidth - Variable in class net.hydromatic.clapham.graph.Chart
 
currentToken - Variable in exception net.hydromatic.clapham.parser.bnf.ParseException
This is the last token that has been consumed successfully.
currentToken - Variable in exception net.hydromatic.clapham.parser.wirth.ParseException
This is the last token that has been consumed successfully.

D

debugStream - Variable in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Debug output.
debugStream - Variable in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Debug output.
DEFAULT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
Lexical state.
DEFAULT - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
Lexical state.
DIGIT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
DIGIT - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
disable_tracing() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Disable tracing.
disable_tracing() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Disable tracing.
Done() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reset buffer when finished.
Done() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reset buffer when finished.
DOT - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
down - Variable in class net.hydromatic.clapham.graph.Node
 
draw(String) - Method in class net.hydromatic.clapham.Clapham
 
drawAll() - Method in class net.hydromatic.clapham.Clapham
 
drawComponent(Symbol) - Method in class net.hydromatic.clapham.graph.Chart
 
drawComponents(Chart, Point2D.Float, Size) - Method in class net.hydromatic.clapham.graph.Node
Draws the components from left to right.
drawString(String, Font, Color, float, float) - Method in class net.hydromatic.clapham.graph.Chart
 

E

EbnfNode - Interface in net.hydromatic.clapham.parser
TODO:
EmptyNode - Class in net.hydromatic.clapham.parser
TODO:
EmptyNode() - Constructor for class net.hydromatic.clapham.parser.EmptyNode
 
enable_tracing() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Enable tracing.
enable_tracing() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Enable tracing.
endColumn - Variable in class net.hydromatic.clapham.parser.bnf.Token
The column number of the last character of this Token.
endColumn - Variable in class net.hydromatic.clapham.parser.wirth.Token
The column number of the last character of this Token.
endLine - Variable in class net.hydromatic.clapham.parser.bnf.Token
The line number of the last character of this Token.
endLine - Variable in class net.hydromatic.clapham.parser.wirth.Token
The line number of the last character of this Token.
EOF - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
End of File.
EOF - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
End of File.
EPS_COLOR - Static variable in class net.hydromatic.clapham.graph.Chart
 
EQ - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
expectedTokenSequences - Variable in exception net.hydromatic.clapham.parser.bnf.ParseException
Each entry in this array is an array of integers.
expectedTokenSequences - Variable in exception net.hydromatic.clapham.parser.wirth.ParseException
Each entry in this array is an array of integers.
Expression() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
expression - Variable in class net.hydromatic.clapham.parser.ProductionNode
 
Expression() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
 

F

Factor() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
Factor() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
 
Factor2() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
Factor3() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
find(String) - Method in class net.hydromatic.clapham.graph.Grammar
Finds a terminal or non-terminal with a given name.
finish(Graph) - Method in class net.hydromatic.clapham.graph.Graph
 

G

generateIndex() - Method in class net.hydromatic.clapham.Clapham
 
generateParseException() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Generate ParseException.
generateParseException() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Generate ParseException.
getArrowSize() - Method in class net.hydromatic.clapham.graph.Chart
 
getBeginColumn() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Get token beginning column number.
getBeginColumn() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Get token beginning line number.
getBeginLine() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Get token beginning line number.
getCharColor() - Method in class net.hydromatic.clapham.graph.Chart
 
getCharFont() - Method in class net.hydromatic.clapham.graph.Chart
 
getColumn() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Deprecated.
getColumn() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Deprecated.
getComponentGapHeight() - Method in class net.hydromatic.clapham.graph.Chart
 
getComponentGapWidth() - Method in class net.hydromatic.clapham.graph.Chart
 
getDimension() - Method in class net.hydromatic.clapham.graph.Chart
 
getEndColumn() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Get token end column number.
getEndColumn() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Get token end column number.
getEndLine() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Get token end line number.
getEndLine() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Get token end line number.
getFontHeight() - Method in class net.hydromatic.clapham.graph.Chart
needed to make the gap between the symbol and and the font possible
getHeight() - Method in class net.hydromatic.clapham.graph.Size
 
GetImage() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Get token literal value.
GetImage() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Get token literal value.
getLine() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Deprecated.
getLine() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Deprecated.
getMessage() - Method in error net.hydromatic.clapham.parser.bnf.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in error net.hydromatic.clapham.parser.wirth.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Get the next Token.
getNextToken() - Method in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Get the next Token.
getNextToken() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Get the next Token.
getNextToken() - Method in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Get the next Token.
getStringWidth(Font, String) - Method in class net.hydromatic.clapham.graph.Chart
 
GetSuffix(int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Get the suffix.
GetSuffix(int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Get the suffix.
getSymbolGapHeight() - Method in class net.hydromatic.clapham.graph.Chart
 
getSymbolSize() - Method in class net.hydromatic.clapham.graph.Chart
 
getTabSize() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
 
getTabSize() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
 
getToken(int) - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Get the specific Token.
getToken(int) - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Get the specific Token.
getValue() - Method in class net.hydromatic.clapham.parser.bnf.Token
An optional attribute value of the Token.
getValue() - Method in class net.hydromatic.clapham.parser.wirth.Token
An optional attribute value of the Token.
getWidth() - Method in class net.hydromatic.clapham.graph.Size
 
Grammar - Class in net.hydromatic.clapham.graph
TODO:
Grammar() - Constructor for class net.hydromatic.clapham.graph.Grammar
 
Grammar.Direction - Enum in net.hydromatic.clapham.graph
 
Graph - Class in net.hydromatic.clapham.graph
TODO:
Graph() - Constructor for class net.hydromatic.clapham.graph.Graph
 
Graph(Node, Node) - Constructor for class net.hydromatic.clapham.graph.Graph
 
Graph(Node) - Constructor for class net.hydromatic.clapham.graph.Graph
 
graph - Variable in class net.hydromatic.clapham.graph.Symbol
 
graphSize - Variable in class net.hydromatic.clapham.graph.Graph
 

H

HOOK - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.

I

id - Variable in class net.hydromatic.clapham.parser.ProductionNode
 
Identifier() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
IDENTIFIER - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
Identifier() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
 
IDENTIFIER - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
IdentifierNode - Class in net.hydromatic.clapham.parser
TODO:
IdentifierNode(String) - Constructor for class net.hydromatic.clapham.parser.IdentifierNode
 
image - Variable in class net.hydromatic.clapham.parser.bnf.Token
The string image of the token.
image - Variable in class net.hydromatic.clapham.parser.wirth.Token
The string image of the token.
IN_MULTI_LINE_COMMENT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
Lexical state.
IN_SINGLE_LINE_COMMENT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
Lexical state.
incHeight(float) - Method in class net.hydromatic.clapham.graph.Size
 
incWidth(float) - Method in class net.hydromatic.clapham.graph.Size
 
INVALID_LEXICAL_STATE - Static variable in error net.hydromatic.clapham.parser.bnf.TokenMgrError
Tried to change to an invalid lexical state.
INVALID_LEXICAL_STATE - Static variable in error net.hydromatic.clapham.parser.wirth.TokenMgrError
Tried to change to an invalid lexical state.
ITER_COLOR - Static variable in class net.hydromatic.clapham.graph.Chart
 
itergraph - Variable in class net.hydromatic.clapham.graph.Node
 

J

jj_nt - Variable in class net.hydromatic.clapham.parser.bnf.BnfParser
Next token.
jj_nt - Variable in class net.hydromatic.clapham.parser.wirth.WirthParser
Next token.
jjnewLexState - Static variable in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Lex State array.
jjnewLexState - Static variable in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Token literal values.
jjstrLiteralImages - Static variable in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Token literal values.

K

kind - Variable in class net.hydromatic.clapham.parser.bnf.Token
An integer that describes the kind of this token.
kind - Variable in class net.hydromatic.clapham.parser.wirth.Token
An integer that describes the kind of this token.

L

l - Variable in class net.hydromatic.clapham.graph.Graph
 
LBRACE - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
LBRACKET - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
LETTER - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
LETTER - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
LEXICAL_ERROR - Static variable in error net.hydromatic.clapham.parser.bnf.TokenMgrError
Lexical error occurred.
LEXICAL_ERROR - Static variable in error net.hydromatic.clapham.parser.wirth.TokenMgrError
Lexical error occurred.
lexStateNames - Static variable in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Lexer state names.
lexStateNames - Static variable in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Lexer state names.
lineColor - Variable in class net.hydromatic.clapham.graph.Chart
color of the line
lineStroke - Variable in class net.hydromatic.clapham.graph.Chart
 
list - Variable in class net.hydromatic.clapham.parser.AlternateNode
 
list - Variable in class net.hydromatic.clapham.parser.SequenceNode
 
Literal() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
LITERAL - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
Literal() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
 
LITERAL - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
LiteralNode - Class in net.hydromatic.clapham.parser
TODO:
LiteralNode(String) - Constructor for class net.hydromatic.clapham.parser.LiteralNode
 
load(File, Clapham.Dialect) - Method in class net.hydromatic.clapham.Clapham
Populates the grammar from the grammar file.
LOOP_DETECTED - Static variable in error net.hydromatic.clapham.parser.bnf.TokenMgrError
Detected (and bailed out of) an infinite loop in the token manager.
LOOP_DETECTED - Static variable in error net.hydromatic.clapham.parser.wirth.TokenMgrError
Detected (and bailed out of) an infinite loop in the token manager.
LPAREN - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
LPAREN - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.

M

main(String[]) - Static method in class net.hydromatic.clapham.Clapham
Main command-line entry point.
makeAlternative(Graph, Graph) - Method in class net.hydromatic.clapham.graph.Grammar
 
makeEpsilon(Graph) - Method in class net.hydromatic.clapham.graph.Grammar
 
makeFirstAlt(Graph) - Method in class net.hydromatic.clapham.graph.Grammar
 
makeIteration(Graph) - Method in class net.hydromatic.clapham.graph.Grammar
 
makeOption(Graph) - Method in class net.hydromatic.clapham.graph.Grammar
 
makeSequence(Graph, Graph) - Method in class net.hydromatic.clapham.graph.Grammar
 
MandatoryRepeatNode - Class in net.hydromatic.clapham.parser
TODO:
MandatoryRepeatNode(EbnfNode) - Constructor for class net.hydromatic.clapham.parser.MandatoryRepeatNode
 
maxHeight(float) - Method in class net.hydromatic.clapham.graph.Size
 
maxWidth(float) - Method in class net.hydromatic.clapham.graph.Size
 
MULTI_LINE_COMMENT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.

N

n - Variable in class net.hydromatic.clapham.graph.Node
 
n - Variable in class net.hydromatic.clapham.parser.OptionNode
 
N_NT_COLOR - Static variable in class net.hydromatic.clapham.graph.Chart
 
name - Variable in class net.hydromatic.clapham.graph.Symbol
 
net.hydromatic.clapham - package net.hydromatic.clapham
Provides public API and command-line interface for the Clapham railroad diagram generator.
net.hydromatic.clapham.graph - package net.hydromatic.clapham.graph
Provides the graph representing a parsed grammar.
net.hydromatic.clapham.parser - package net.hydromatic.clapham.parser
Provides the API and object model for grammar parsers.
net.hydromatic.clapham.parser.bnf - package net.hydromatic.clapham.parser.bnf
Contains the implementation of the BNF parser.
net.hydromatic.clapham.parser.wirth - package net.hydromatic.clapham.parser.wirth
Contains the implementation of the Wirth Syntax Notation (WSN) parser.
newToken(int, String) - Static method in class net.hydromatic.clapham.parser.bnf.Token
Returns a new Token object, by default.
newToken(int) - Static method in class net.hydromatic.clapham.parser.bnf.Token
 
newToken(int, String) - Static method in class net.hydromatic.clapham.parser.wirth.Token
Returns a new Token object, by default.
newToken(int) - Static method in class net.hydromatic.clapham.parser.wirth.Token
 
next - Variable in class net.hydromatic.clapham.graph.Node
 
next - Variable in class net.hydromatic.clapham.parser.bnf.Token
A reference to the next regular (non-special) token from the input stream.
next - Variable in class net.hydromatic.clapham.parser.wirth.Token
A reference to the next regular (non-special) token from the input stream.
Node - Class in net.hydromatic.clapham.graph
TODO:
Node(Grammar, Symbol) - Constructor for class net.hydromatic.clapham.graph.Node
 
Node(Grammar, NodeType, Node) - Constructor for class net.hydromatic.clapham.graph.Node
 
node - Variable in class net.hydromatic.clapham.parser.MandatoryRepeatNode
 
node - Variable in class net.hydromatic.clapham.parser.RepeatNode
 
NodeType - Enum in net.hydromatic.clapham.graph
Constants for node kinds.
nonterminals - Variable in class net.hydromatic.clapham.graph.Grammar
 

O

OPT_COLOR - Static variable in class net.hydromatic.clapham.graph.Chart
 
optimize() - Method in class net.hydromatic.clapham.graph.Grammar
calls all methods which optimize the graphs
OptionNode - Class in net.hydromatic.clapham.parser
TODO:
OptionNode(EbnfNode) - Constructor for class net.hydromatic.clapham.parser.OptionNode
 

P

ParseException - Exception in net.hydromatic.clapham.parser.bnf
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception net.hydromatic.clapham.parser.bnf.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception net.hydromatic.clapham.parser.bnf.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception net.hydromatic.clapham.parser.bnf.ParseException
Constructor with message.
ParseException - Exception in net.hydromatic.clapham.parser.wirth
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception net.hydromatic.clapham.parser.wirth.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception net.hydromatic.clapham.parser.wirth.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception net.hydromatic.clapham.parser.wirth.ParseException
Constructor with message.
PLUS - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
posLine - Variable in class net.hydromatic.clapham.graph.Node
 
printNodes(PrintStream) - Method in class net.hydromatic.clapham.graph.Grammar
 
Production() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
Production() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
 
ProductionNode - Class in net.hydromatic.clapham.parser
TODO:
ProductionNode(IdentifierNode, EbnfNode) - Constructor for class net.hydromatic.clapham.parser.ProductionNode
 

Q

QUOT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
QUOT - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.

R

r - Variable in class net.hydromatic.clapham.graph.Graph
 
RBRACE - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
RBRACKET - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
readChar() - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Read a character.
readChar() - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Read a character.
ReInit(InputStream) - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Reinitialise.
ReInit(InputStream, String) - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Reinitialise.
ReInit(Reader) - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Reinitialise.
ReInit(BnfParserTokenManager) - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Reinitialise parser.
ReInit(Reader, int, int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Reinitialise.
ReInit(InputStream, String) - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Reinitialise.
ReInit(Reader) - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Reinitialise.
ReInit(WirthParserTokenManager) - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Reinitialise parser.
RepeatNode - Class in net.hydromatic.clapham.parser
TODO:
RepeatNode(EbnfNode) - Constructor for class net.hydromatic.clapham.parser.RepeatNode
 
RERUN1_COLOR - Static variable in class net.hydromatic.clapham.graph.Chart
 
RERUN_COLOR - Static variable in class net.hydromatic.clapham.graph.Chart
 
restoreDefaultSettings() - Method in class net.hydromatic.clapham.graph.Chart
 
RPAREN - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
RPAREN - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
RegularExpression Id.
ruleMap - Variable in class net.hydromatic.clapham.graph.Grammar
 

S

s - Variable in class net.hydromatic.clapham.parser.IdentifierNode
 
s - Variable in class net.hydromatic.clapham.parser.LiteralNode
 
SequenceNode - Class in net.hydromatic.clapham.parser
TODO:
SequenceNode(List<EbnfNode>) - Constructor for class net.hydromatic.clapham.parser.SequenceNode
 
setArrowSize(int) - Method in class net.hydromatic.clapham.graph.Chart
 
setCharColor(Color) - Method in class net.hydromatic.clapham.graph.Chart
 
setCharFont(Font) - Method in class net.hydromatic.clapham.graph.Chart
 
setComponentGapWidth(int) - Method in class net.hydromatic.clapham.graph.Chart
 
setDebugStream(PrintStream) - Method in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Set debug output.
setDebugStream(PrintStream) - Method in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Set debug output.
setHeight(float) - Method in class net.hydromatic.clapham.graph.Size
 
setOptimizeGraph(boolean) - Method in class net.hydromatic.clapham.graph.Grammar
 
setOptimizeGraph() - Method in class net.hydromatic.clapham.graph.Grammar
 
setOutputDir(File) - Method in class net.hydromatic.clapham.Clapham
 
setOutputEscapeFilename(boolean) - Method in class net.hydromatic.clapham.Clapham
 
setOutputFormats(EnumSet<Clapham.ImageFormat>) - Method in class net.hydromatic.clapham.Clapham
Sets the format(s) in which to generate images.
setSymbolGapHeight(int) - Method in class net.hydromatic.clapham.graph.Chart
 
setTabSize(int) - Method in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
 
setTabSize(int) - Method in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
 
setWidth(float) - Method in class net.hydromatic.clapham.graph.Size
 
setWrapSize(Chart) - Method in class net.hydromatic.clapham.graph.Node
 
showBorders - Variable in class net.hydromatic.clapham.graph.Chart
 
SimpleCharStream - Class in net.hydromatic.clapham.parser.bnf
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Constructor.
SimpleCharStream - Class in net.hydromatic.clapham.parser.wirth
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Constructor.
SINGLE_LINE_COMMENT - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
RegularExpression Id.
Size - Class in net.hydromatic.clapham.graph
TODO:
Size(float, float) - Constructor for class net.hydromatic.clapham.graph.Size
 
Size() - Constructor for class net.hydromatic.clapham.graph.Size
 
specialToken - Variable in class net.hydromatic.clapham.parser.bnf.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
specialToken - Variable in class net.hydromatic.clapham.parser.wirth.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
STATIC_LEXER_ERROR - Static variable in error net.hydromatic.clapham.parser.bnf.TokenMgrError
An attempt was made to create a second instance of a static token manager.
STATIC_LEXER_ERROR - Static variable in error net.hydromatic.clapham.parser.wirth.TokenMgrError
An attempt was made to create a second instance of a static token manager.
staticFlag - Static variable in class net.hydromatic.clapham.parser.bnf.SimpleCharStream
Whether parser is static.
staticFlag - Static variable in class net.hydromatic.clapham.parser.wirth.SimpleCharStream
Whether parser is static.
STROKE1 - Static variable in class net.hydromatic.clapham.graph.Chart
 
sub - Variable in class net.hydromatic.clapham.graph.Node
 
SwitchTo(int) - Method in class net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
Switch to specified lex state.
SwitchTo(int) - Method in class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Switch to specified lex state.
sym - Variable in class net.hydromatic.clapham.graph.Node
 
Symbol - Class in net.hydromatic.clapham.graph
TODO:
Symbol(NodeType, String) - Constructor for class net.hydromatic.clapham.graph.Symbol
 
symbolGapHeight - Variable in class net.hydromatic.clapham.graph.Chart
gap between the line of the symbol and the font
symbolGapWidth - Variable in class net.hydromatic.clapham.graph.Chart
 
symbolMap - Variable in class net.hydromatic.clapham.graph.Grammar
 
Syntax() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Syntactical Descriptions *
Syntax() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Syntactical Descriptions *

T

Term() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
Term() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
 
terminals - Variable in class net.hydromatic.clapham.graph.Grammar
 
terminalToNt(String) - Method in class net.hydromatic.clapham.graph.Grammar
Converts the terminal with a given name to a non-terminal.
TextBox - Class in net.hydromatic.clapham.graph
TODO:
toGraph(Grammar, EbnfNode) - Static method in class net.hydromatic.clapham.Clapham
 
token - Variable in class net.hydromatic.clapham.parser.bnf.BnfParser
Current token.
Token - Class in net.hydromatic.clapham.parser.bnf
Describes the input token stream.
Token() - Constructor for class net.hydromatic.clapham.parser.bnf.Token
No-argument constructor
Token(int) - Constructor for class net.hydromatic.clapham.parser.bnf.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class net.hydromatic.clapham.parser.bnf.Token
Constructs a new token for the specified Image and Kind.
Token - Class in net.hydromatic.clapham.parser.wirth
Describes the input token stream.
Token() - Constructor for class net.hydromatic.clapham.parser.wirth.Token
No-argument constructor
Token(int) - Constructor for class net.hydromatic.clapham.parser.wirth.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class net.hydromatic.clapham.parser.wirth.Token
Constructs a new token for the specified Image and Kind.
token - Variable in class net.hydromatic.clapham.parser.wirth.WirthParser
Current token.
token_source - Variable in class net.hydromatic.clapham.parser.bnf.BnfParser
Generated Token Manager.
token_source - Variable in class net.hydromatic.clapham.parser.wirth.WirthParser
Generated Token Manager.
tokenImage - Static variable in interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
Literal token values.
tokenImage - Variable in exception net.hydromatic.clapham.parser.bnf.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Variable in exception net.hydromatic.clapham.parser.wirth.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface net.hydromatic.clapham.parser.wirth.WirthParserConstants
Literal token values.
TokenMgrError - Error in net.hydromatic.clapham.parser.bnf
Token Manager Error.
TokenMgrError() - Constructor for error net.hydromatic.clapham.parser.bnf.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error net.hydromatic.clapham.parser.bnf.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error net.hydromatic.clapham.parser.bnf.TokenMgrError
Full Constructor.
TokenMgrError - Error in net.hydromatic.clapham.parser.wirth
Token Manager Error.
TokenMgrError() - Constructor for error net.hydromatic.clapham.parser.wirth.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error net.hydromatic.clapham.parser.wirth.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error net.hydromatic.clapham.parser.wirth.TokenMgrError
Full Constructor.
toPng(File, File) - Static method in class net.hydromatic.clapham.Clapham
 
toString() - Method in class net.hydromatic.clapham.graph.Size
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.AlternateNode
 
toString(StringBuilder, String, List<E>, String) - Static method in class net.hydromatic.clapham.parser.bnf.BnfParser
 
toString() - Method in class net.hydromatic.clapham.parser.bnf.Token
Returns the image.
toString(StringBuilder) - Method in interface net.hydromatic.clapham.parser.EbnfNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.EmptyNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.IdentifierNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.LiteralNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.MandatoryRepeatNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.OptionNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.ProductionNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.RepeatNode
 
toString(StringBuilder) - Method in class net.hydromatic.clapham.parser.SequenceNode
 
toString() - Method in class net.hydromatic.clapham.parser.wirth.Token
Returns the image.
toString(StringBuilder, String, List<E>, String) - Static method in class net.hydromatic.clapham.parser.wirth.WirthParser
 
TRACE - Static variable in class net.hydromatic.clapham.graph.Grammar
 
trace_enabled() - Method in class net.hydromatic.clapham.parser.bnf.BnfParser
Trace enabled.
trace_enabled() - Method in class net.hydromatic.clapham.parser.wirth.WirthParser
Trace enabled.
typ - Variable in class net.hydromatic.clapham.graph.Node
 
typ - Variable in class net.hydromatic.clapham.graph.Symbol
 

U

unparse(StringBuffer) - Method in class net.hydromatic.clapham.graph.Node
 
up - Variable in class net.hydromatic.clapham.graph.Node
 

V

valueOf(String) - Static method in enum net.hydromatic.clapham.Clapham.ImageFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.hydromatic.clapham.graph.Grammar.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.hydromatic.clapham.graph.NodeType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.hydromatic.clapham.Clapham.ImageFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.hydromatic.clapham.graph.Grammar.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.hydromatic.clapham.graph.NodeType
Returns an array containing the constants of this enum type, in the order they are declared.
visitChildren(Chart.NodeVisitor) - Method in class net.hydromatic.clapham.graph.Node
 

W

WirthParser - Class in net.hydromatic.clapham.parser.wirth
Parser for grammars in Wirth Syntax Notation.
WirthParser(InputStream) - Constructor for class net.hydromatic.clapham.parser.wirth.WirthParser
Constructor with InputStream.
WirthParser(InputStream, String) - Constructor for class net.hydromatic.clapham.parser.wirth.WirthParser
Constructor with InputStream and supplied encoding
WirthParser(Reader) - Constructor for class net.hydromatic.clapham.parser.wirth.WirthParser
Constructor.
WirthParser(WirthParserTokenManager) - Constructor for class net.hydromatic.clapham.parser.wirth.WirthParser
Constructor with generated Token Manager.
WirthParserConstants - Interface in net.hydromatic.clapham.parser.wirth
Token literal values and constants.
WirthParserTokenManager - Class in net.hydromatic.clapham.parser.wirth
Token Manager.
WirthParserTokenManager(SimpleCharStream) - Constructor for class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Constructor.
WirthParserTokenManager(SimpleCharStream, int) - Constructor for class net.hydromatic.clapham.parser.wirth.WirthParserTokenManager
Constructor.
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links
SourceForge.net_Logo