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

A

absorbDigits(PushbackReader, boolean) - Method in class sjm.parse.tokens.NumberState
 
absorbedDot - Variable in class org.jsesoft.jpp.NumberState
 
absorbedDot - Variable in class sjm.parse.tokens.NumberState
 
absorbedLeadingMinus - Variable in class sjm.parse.tokens.NumberState
 
accept(ParserVisitor) - Method in class sjm.parse.Parser
Accepts a "visitor" which will perform some operation on a parser structure.
accept(ParserVisitor, Vector) - Method in class sjm.parse.Parser
Accepts a "visitor" along with a collection of previously visited parsers.
accept(ParserVisitor, Vector) - Method in class sjm.parse.Terminal
Accept a "visitor" and a collection of previously visited parsers.
accept(ParserVisitor, Vector) - Method in class sjm.parse.Sequence
Accept a "visitor" and a collection of previously visited parsers.
accept(ParserVisitor, Vector) - Method in class sjm.parse.Alternation
Accept a "visitor" and a collection of previously visited parsers.
accept(ParserVisitor, Vector) - Method in class sjm.parse.Empty
Accept a "visitor" and a collection of previously visited parsers.
accept(ParserVisitor, Vector) - Method in class sjm.parse.Repetition
Accept a "visitor" and a collection of previously visited parsers.
add(Parser) - Method in class sjm.parse.CollectionParser
Adds a parser to the collection.
add(String) - Method in class org.jsesoft.jpp.RootNode
Add the given string as a symbol.
add(String) - Method in class org.jsesoft.jpp.SymbolState
Add a multi-character symbol.
add(String) - Method in class sjm.parse.tokens.SymbolRootNode
Add the given string as a symbol.
add(String) - Method in class sjm.parse.tokens.SymbolState
Add a multi-character symbol.
add(Vector, Vector) - Static method in class sjm.parse.Parser
Adds the elements of one vector to another.
addDescendantLine(String) - Method in class sjm.parse.tokens.SymbolNode
 
addDescendants(String) - Method in class org.jsesoft.jpp.Node
Adds decendants representing the string.
Alternation - class sjm.parse.Alternation.
An Alternation object is a collection of parsers, any one of which can successfully match against an assembly.
Alternation() - Constructor for class sjm.parse.Alternation
Constructs a nameless alternation.
Alternation(String) - Constructor for class sjm.parse.Alternation
Constructs an alternation with the given name.
ancestry() - Method in class org.jsesoft.jpp.Node
Returns the symbol this node represents.
ancestry() - Method in class org.jsesoft.jpp.RootNode
A root node has no parent and no character of its own, so its ancestry is "".
ancestry() - Method in class sjm.parse.tokens.SymbolNode
Show the symbol this node represents.
ancestry() - Method in class sjm.parse.tokens.SymbolRootNode
A root node has no parent and no character of its own, so its ancestry is "".
anyButMacros - Variable in class org.jsesoft.jpp.Preprocessor
A parser for anything but macros.
AnyButMacros - class org.jsesoft.jpp.AnyButMacros.
The AnyButMacros terminal.
anyButMacros() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser matching anyButMacros terminal.
AnyButMacros() - Constructor for class org.jsesoft.jpp.AnyButMacros
 
AnyButMacros(Object) - Constructor for class org.jsesoft.jpp.AnyButMacros
 
AnyButMacros(Token) - Constructor for class org.jsesoft.jpp.AnyButMacros
 
arg - Variable in class org.jsesoft.jpp.Preprocessor
A parser for an arg.
arg() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for an arg. arg = macroCall | anyButMacros ;
arglist - Variable in class org.jsesoft.jpp.Preprocessor
A parser for an arglist.
arglist() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for an arglist. arglist = "(" args | Empty ")" ;
args - Variable in class org.jsesoft.jpp.Preprocessor
A parser for args.
args() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a args. args = blanks arg ( blanks "," blanks arg )* ;
assembler - Variable in class sjm.parse.Parser
 
Assembler - class sjm.parse.Assembler.
Parsers that have an Assembler ask it to work on an assembly after a successful match.
Assembler() - Constructor for class sjm.parse.Assembler
 
Assembly - class sjm.parse.Assembly.
An assembly maintains a stream of language elements along with stack and target objects.
Assembly() - Constructor for class sjm.parse.Assembly
 
assembly(String) - Method in class sjm.parse.ParserTester
 
assembly(String) - Method in class sjm.parse.chars.CharacterTester
assembly method comment.
assembly(String) - Method in class sjm.parse.tokens.TokenTester
assembly method comment.

B

best(Vector) - Method in class sjm.parse.Parser
Returns the most-matched assembly in a collection.
bestMatch(Assembly) - Method in class sjm.parse.Parser
Returns an assembly with the greatest possible number of elements consumed by matches of this parser.
blanks - Variable in class org.jsesoft.jpp.Preprocessor
A parser for blanks.
blanks() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser discarding Whitespace, if any.
body - Variable in class org.jsesoft.jpp.MacroDefinition
 
body - Variable in class org.jsesoft.jpp.MacroHeaderAssembler
 
body - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a body.
body() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a body.
buffer - Variable in class org.jsesoft.jpp.IdentifierState
The character buffer.
buffer - Variable in class org.jsesoft.jpp.TraditionalCommentState
The character buffer.
buffer - Variable in class org.jsesoft.jpp.QuotedState
The character buffer.
buffer - Variable in class org.jsesoft.jpp.WhitespaceState
The character buffer.
buffer - Variable in class org.jsesoft.jpp.SingleLineCommentState
The character buffer.
buffer - Variable in class org.jsesoft.jpp.NumberState
The character buffer.

C

c - Variable in class sjm.parse.tokens.NumberState
 
cachedTokenString - Variable in class sjm.parse.tokens.TokenStringSource
 
calculateXforGivenY(double) - Method in class sjm.utensil.LinearCalculator
Return the value on the first scale, corresponding to the given value on the second scale.
calculateXforGivenY(double) - Method in class sjm.utensil.LimitingLinearCalculator
Return the value on the first scale, corresponding to the given value on the second scale.
calculateYforGivenX(double) - Method in class sjm.utensil.LinearCalculator
Return the value on the second scale, corresponding to the given value on the first scale.
calculateYforGivenX(double) - Method in class sjm.utensil.LimitingLinearCalculator
Return the value on the second scale, corresponding to the given value on the first scale.
canGenerateProblem(int) - Method in class sjm.parse.ParserTester
 
CaselessLiteral - class sjm.parse.tokens.CaselessLiteral.
A CaselessLiteral matches a specified String from an assembly, disregarding case.
CaselessLiteral(String) - Constructor for class sjm.parse.tokens.CaselessLiteral
Constructs a literal that will match the specified string, given mellowness about case.
center(Frame) - Static method in class sjm.utensil.SwingUtensil
 
Char - class sjm.parse.chars.Char.
A Char matches a character from a character assembly.
Char() - Constructor for class sjm.parse.chars.Char
 
character - Variable in class org.jsesoft.jpp.NumberState
 
character - Variable in class sjm.parse.chars.SpecificChar
the character to match
CharacterAssembly - class sjm.parse.chars.CharacterAssembly.
A CharacterAssembly is an Assembly whose elements are characters.
CharacterAssembly(String) - Constructor for class sjm.parse.chars.CharacterAssembly
Constructs a CharacterAssembly from the given String.
characterState - Variable in class sjm.parse.tokens.Tokenizer
 
CharacterTester - class sjm.parse.chars.CharacterTester.
 
CharacterTester(Parser) - Constructor for class sjm.parse.chars.CharacterTester
 
charbuf - Variable in class sjm.parse.tokens.QuoteState
 
charbuf - Variable in class sjm.parse.tokens.WordState
 
check(String) - Method in class org.jsesoft.jpp.Whitespace
Checks the token values for whitespaces.
checkBuffer(int) - Method in class org.jsesoft.jpp.IdentifierState
Increase buffer size if necessary.
checkBuffer(int) - Method in class org.jsesoft.jpp.TraditionalCommentState
Increase buffer size if necessary.
checkBuffer(int) - Method in class org.jsesoft.jpp.QuotedState
Increase buffer size if necessary.
checkBuffer(int) - Method in class org.jsesoft.jpp.WhitespaceState
Increase buffer size if necessary.
checkBuffer(int) - Method in class org.jsesoft.jpp.SingleLineCommentState
Increase buffer size if necessary.
checkBuffer(int) - Method in class org.jsesoft.jpp.NumberState
Increase buffer size if necessary.
checkBufLength(int) - Method in class sjm.parse.tokens.QuoteState
 
checkBufLength(int) - Method in class sjm.parse.tokens.WordState
 
children - Variable in class org.jsesoft.jpp.Node
The children of the node.
children - Variable in class sjm.parse.tokens.SymbolNode
 
children - Variable in class sjm.parse.tokens.SymbolRootNode
 
clone() - Method in class org.jsesoft.jpp.MacroTable
A PubliclyCloneable object is one to which any object can send clone().
clone() - Method in interface sjm.utensil.PubliclyCloneable
A PubliclyCloneable object is one to which any object can send clone().
clone() - Method in class sjm.parse.Assembly
Return a copy of this object.
clones - Static variable in class org.jsesoft.jpp.MacroTable
 
closing - Variable in class org.jsesoft.jpp.MacroArgAssembler
 
CollectionParser - class sjm.parse.CollectionParser.
This class abstracts the behavior common to parsers that consist of a series of other parsers.
CollectionParser() - Constructor for class sjm.parse.CollectionParser
Supports subclass constructors with no arguments.
CollectionParser(String) - Constructor for class sjm.parse.CollectionParser
Supports subclass constructors with a name argument
Comment - class org.jsesoft.jpp.Comment.
A comment terminal.
Comment() - Constructor for class org.jsesoft.jpp.Comment
 
Comment(Object) - Constructor for class org.jsesoft.jpp.Comment
 
Comment(Token) - Constructor for class org.jsesoft.jpp.Comment
 
Comment(TokenType) - Constructor for class org.jsesoft.jpp.Comment
 
commentSlashState - Variable in class org.jsesoft.jpp.Tokenizer
The commentSlash state.
CommentSlashState - class org.jsesoft.jpp.CommentSlashState.
Scans comments or a single slash from the reader
CommentSlashState() - Constructor for class org.jsesoft.jpp.CommentSlashState
 
completeMatch(Assembly) - Method in class sjm.parse.Parser
Returns either null, or a completely matched version of the supplied assembly.
completeMatches(Vector) - Static method in class sjm.parse.ParserTester
Return a subset of the supplied vector of assemblies, filtering for assemblies that have been completely matched.
consumed(String) - Method in class sjm.parse.Assembly
Returns the elements of the assembly that have been consumed, separated by the specified delimiter.
consumed(String) - Method in class sjm.parse.chars.CharacterAssembly
Returns a textual representation of the amount of this characterAssembly that has been consumed.
consumed(String) - Method in class sjm.parse.tokens.TokenAssembly
Returns a textual representation of the amount of this tokenAssembly that has been consumed.
convertDigits(PushbackReader, boolean) - Method in class org.jsesoft.jpp.NumberState
Convert a stream of digits into a number.
create(String) - Method in class org.jsesoft.jpp.MacroTable
 

D

deepestRead(PushbackReader) - Method in class org.jsesoft.jpp.Node
Find the descendant that takes as many characters as possible from the input.
deepestRead(PushbackReader) - Method in class sjm.parse.tokens.SymbolNode
 
Default - class org.jsesoft.jpp.Default.
The default terminal.
DEFAULT_SYMBOL_MAX - Static variable in class org.jsesoft.jpp.Tokenizer
 
DEFAULT_SYMBOL_MAX - Static variable in class sjm.parse.tokens.Tokenizer
 
Default() - Constructor for class org.jsesoft.jpp.Default
 
Default(Object) - Constructor for class org.jsesoft.jpp.Default
 
Default(Token) - Constructor for class org.jsesoft.jpp.Default
 
defaultDelimiter() - Method in class sjm.parse.Assembly
Returns the default string to show between elements.
defaultDelimiter() - Method in class sjm.parse.chars.CharacterAssembly
Returns the default string to show between elements consumed or remaining.
defaultDelimiter() - Method in class sjm.parse.tokens.TokenAssembly
Returns the default string to show between elements consumed or remaining.
defaultState - Variable in class org.jsesoft.jpp.Tokenizer
The default state.
DefaultState - class org.jsesoft.jpp.DefaultState.
Implements handling of tokens otherwise not recognized.
DefaultState() - Constructor for class org.jsesoft.jpp.DefaultState
 
define - Variable in class org.jsesoft.jpp.MacroHeaderAssembler
 
definition - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a definition.
definition() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a definition.
delimiter - Variable in class sjm.parse.tokens.TokenStringSource
 
Digit - class sjm.parse.chars.Digit.
A Digit matches a digit from a character assembly.
Digit() - Constructor for class sjm.parse.chars.Digit
 
discard - Variable in class sjm.parse.Terminal
 
discard() - Method in class sjm.parse.Terminal
A convenience method that sets discarding to be true.
documentationCommentState - Variable in class org.jsesoft.jpp.CommentSlashState
 
DocumentationCommentState - class org.jsesoft.jpp.DocumentationCommentState.
Scans a documentation comment from the reader.
DocumentationCommentState() - Constructor for class org.jsesoft.jpp.DocumentationCommentState
 
DocumentationCommentState(boolean) - Constructor for class org.jsesoft.jpp.DocumentationCommentState
 

E

elementClone(Vector) - Static method in class sjm.parse.Parser
Create a copy of a vector, cloning each element of the vector.
elementsAbove(Assembly, Object) - Static method in class sjm.parse.Assembler
Returns a vector of the elements on an assembly's stack that appear before a specified fence.
elementsConsumed() - Method in class sjm.parse.Assembly
Returns the number of elements that have been consumed.
elementsRemaining() - Method in class sjm.parse.Assembly
Returns the number of elements that have not been consumed.
Empty - class sjm.parse.Empty.
An Empty parser matches any assembly once, and applies its assembler that one time.
Empty() - Constructor for class sjm.parse.Empty
 
ensureCacheIsLoaded() - Method in class sjm.parse.tokens.TokenStringSource
The design of nextTokenString is that is always returns a cached value.
ensureChildWithChar(char) - Method in class sjm.parse.tokens.SymbolNode
 
ensureChildWithValue(char) - Method in class org.jsesoft.jpp.Node
Find or create a child for the given value.
enter() - Method in class org.jsesoft.jpp.MacroTable
 
EOF - Static variable in class org.jsesoft.jpp.Token
A constant indicating that there are no more tokens
EOF - Static variable in class sjm.parse.tokens.Token
A constant indicating that there are no more tokens
equals(Object) - Method in class org.jsesoft.jpp.TokenType
 
equals(Object) - Method in class org.jsesoft.jpp.Token
 
equals(Object) - Method in class sjm.parse.tokens.Token
Returns true if the supplied object is an equivalent token.
equalsIgnoreCase(Object) - Method in class sjm.parse.tokens.Token
Returns true if the supplied object is an equivalent token, given mellowness about case in strings and characters.
escape(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.QuotedState
 
expand(Vector, Vector, Vector, Vector) - Method in class org.jsesoft.jpp.MacroIncludeAssembler
Includes a macro call.
expand(Vector, Vector, Vector, Vector) - Method in class org.jsesoft.jpp.MacroExpandAssembler
Expands a macro call.
expandArg(Token, Vector, Vector, Vector) - Method in class org.jsesoft.jpp.MacroIncludeAssembler
Includes a macro argument.
expandArg(Token, Vector, Vector, Vector) - Method in class org.jsesoft.jpp.MacroExpandAssembler
Expands a macro argument.
EXPWIDTH - Static variable in class sjm.parse.Repetition
 

F

fence - Variable in class org.jsesoft.jpp.MacroBodyAssembler
 
fence - Static variable in class org.jsesoft.jpp.MacroArgAssembler
 
fence - Variable in class org.jsesoft.jpp.MacroIncludeAssembler
 
fence - Static variable in class org.jsesoft.jpp.MacroExpandAssembler
 
FileString - class sjm.utensil.FileString.
This class has a static method that returns a file's characters as a single String.
FileString() - Constructor for class sjm.utensil.FileString
 
finalize() - Method in class org.jsesoft.jpp.MacroTable
 
findChildWithChar(char) - Method in class sjm.parse.tokens.SymbolNode
 
findChildWithChar(char) - Method in class sjm.parse.tokens.SymbolRootNode
 
findChildWithValue(char) - Method in class org.jsesoft.jpp.Node
Find a child with the given value.
findDescendant(String) - Method in class org.jsesoft.jpp.Node
Find a descendant which is down the path the given string indicates.
findDescendant(String) - Method in class sjm.parse.tokens.SymbolNode
 
freshTarget() - Method in class sjm.parse.ParserTester
 

G

get(String) - Method in class org.jsesoft.jpp.MacroTable
 
getBody() - Method in class org.jsesoft.jpp.MacroDefinition
 
getCommentSlashState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the commentSlash state of the tokenizer.
getDefaultState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the default state of the tokenizer.
getDocumentationCommentState() - Method in class org.jsesoft.jpp.CommentSlashState
Returns the documentationComment state of the tokenizer.
getHeader() - Method in class org.jsesoft.jpp.MacroDefinition
 
getIdentifierState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the identifier state of the tokenizer.
getKeywordIdentifierState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the keyword state of the tokenizer.
getName() - Method in class org.jsesoft.jpp.MacroDefinition
 
getName() - Method in class sjm.parse.Parser
Returns the name of this parser.
getNumber() - Method in class org.jsesoft.jpp.Token
Returns an object that represents the value of this token.
getNumberState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the number state of the tokenizer.
getOperatorState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the operator state of the tokenizer.
getQuotedState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the quoted state of the tokenizer.
getReader() - Method in class sjm.parse.tokens.Tokenizer
Return the reader this tokenizer will read from.
getSeparatorState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the separator state of the tokenizer.
getSingleLineCommentState() - Method in class org.jsesoft.jpp.CommentSlashState
Returns the singleLineComment state of the tokenizer.
getStack() - Method in class sjm.parse.Assembly
Removes this assembly's stack.
getSubparser() - Method in class sjm.parse.Repetition
Return this parser's subparser.
getSubparsers() - Method in class sjm.parse.CollectionParser
Return this parser's subparsers.
getTarget() - Method in class sjm.parse.Assembly
Returns the object identified as this assembly's "target".
getTokenType() - Method in class org.jsesoft.jpp.Token
Returns the type of this token.
getTraditionalCommentState() - Method in class org.jsesoft.jpp.CommentSlashState
Returns the traditionalComment state of the tokenizer.
getValue() - Method in class org.jsesoft.jpp.Token
Returns an object that represents the value of this token.
getWhitespaceState() - Method in class org.jsesoft.jpp.Tokenizer
Returns the whitespace state of the tokenizer.
gotAdigit - Variable in class org.jsesoft.jpp.NumberState
 
gotAdigit - Variable in class sjm.parse.tokens.NumberState
 

H

hasMoreElements() - Method in class sjm.parse.Assembly
Returns true if this assembly has unconsumed elements.
hasMoreTokenStrings() - Method in class sjm.parse.tokens.TokenStringSource
Returns true if the source has more TokenStrings.
header - Variable in class org.jsesoft.jpp.MacroDefinition
 
header - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a header.
header() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a header.
high - Static variable in class org.jsesoft.jpp.MacroTable
 

I

ideFont() - Static method in class sjm.utensil.SwingUtensil
A standard font for interactive development environment text areas.
Identifier - class org.jsesoft.jpp.Identifier.
The identifier terminal.
Identifier() - Constructor for class org.jsesoft.jpp.Identifier
Creates an idetifier terminal.
Identifier(Object) - Constructor for class org.jsesoft.jpp.Identifier
Creates an idetifier terminal with given value.
Identifier(Token) - Constructor for class org.jsesoft.jpp.Identifier
Creates an idetifier terminal with given value from specified token.
identifierState - Variable in class org.jsesoft.jpp.Tokenizer
The identifier state.
IdentifierState - class org.jsesoft.jpp.IdentifierState.
An identifier state returns an identifier from the reader.
IdentifierState() - Constructor for class org.jsesoft.jpp.IdentifierState
Constructs a identifier state with a default idea of what characters are admissible inside an identifer (as defined by java.lang.Character).
IdentifierState(TokenType) - Constructor for class org.jsesoft.jpp.IdentifierState
Constructs a identifier state with specified type and value.
ideTextArea() - Static method in class sjm.utensil.SwingUtensil
Return a standard text area, with the standard font and border, and with word wrapping enabled.
ideTitledBorder(String) - Static method in class sjm.utensil.SwingUtensil
Return a standard titled border.
index - Variable in class sjm.parse.Assembly
 
init() - Method in class sjm.parse.tokens.SymbolRootNode
 
initialize() - Method in class org.jsesoft.jpp.KeywordIdentifierState
 
initialize() - Method in class org.jsesoft.jpp.MacroOperatorMacroCallState
 
isIdentifierPart(char) - Method in class org.jsesoft.jpp.IdentifierState
Determines if the character may be part of an identifier.
isIdentifierStart(char) - Method in class org.jsesoft.jpp.Tokenizer
Determines if the character may be at the start of an identifier.
isNullMatch() - Method in class org.jsesoft.jpp.TokenType
 
isNumber() - Method in class sjm.parse.tokens.Token
Returns true if this token is a number.
isNumberStart(char) - Method in class org.jsesoft.jpp.Tokenizer
Determines if the character may be at the start of a number.
isPreviousSkipping() - Method in class org.jsesoft.jpp.MacroTable
 
isQuotedString() - Method in class sjm.parse.tokens.Token
Returns true if this token is a quoted string.
isSkipping() - Method in class org.jsesoft.jpp.MacroTable
 
isSymbol() - Method in class sjm.parse.tokens.Token
Returns true if this token is a symbol.
isValid() - Method in class org.jsesoft.jpp.Node
 
isWhitespace(char) - Method in class org.jsesoft.jpp.Tokenizer
Determines if the character is a whitespace.
isWord() - Method in class sjm.parse.tokens.Token
Returns true if this token is a word.

K

Keyword - class org.jsesoft.jpp.Keyword.
The keyword terminal.
Keyword() - Constructor for class org.jsesoft.jpp.Keyword
 
Keyword(Object) - Constructor for class org.jsesoft.jpp.Keyword
 
Keyword(Token) - Constructor for class org.jsesoft.jpp.Keyword
 
keywordIdentifierState - Variable in class org.jsesoft.jpp.Tokenizer
The keyword state.
KeywordIdentifierState - class org.jsesoft.jpp.KeywordIdentifierState.
Checks for keyword, otherwise identifier.
KeywordIdentifierState() - Constructor for class org.jsesoft.jpp.KeywordIdentifierState
 
keywords - Variable in class org.jsesoft.jpp.KeywordIdentifierState
 

L

launch(Component, String) - Static method in class sjm.utensil.SwingUtensil
Create a frame with the given title around the given component; center and display the frame; listen for exit, closing the frame's window on exit.
leave() - Method in class org.jsesoft.jpp.MacroTable
 
length() - Method in class sjm.parse.Assembly
Returns the number of elements in this assembly.
length() - Method in class sjm.parse.chars.CharacterAssembly
Returns the number of elements in this assembly.
length() - Method in class sjm.parse.tokens.TokenAssembly
Returns the number of elements in this assembly.
length() - Method in class sjm.parse.tokens.TokenString
Returns the number of tokens in this tokenString.
Letter - class sjm.parse.chars.Letter.
A Letter matches any letter from a character assembly.
Letter() - Constructor for class sjm.parse.chars.Letter
 
LimitingLinearCalculator - class sjm.utensil.LimitingLinearCalculator.
A LimitingLinearCalculator is a LinearCalculator where the data points given in the constructor limit the extrapoltation.
LimitingLinearCalculator(double, double, double, double) - Constructor for class sjm.utensil.LimitingLinearCalculator
Create a LimitingLinearCalculator from known points on two scales.
LinearCalculator - class sjm.utensil.LinearCalculator.
A LinearCalculator models two variables that vary linearly with each other.
LinearCalculator(double, double, double, double) - Constructor for class sjm.utensil.LinearCalculator
Create a LinearCalculator from known points on two scales.
listen(Frame) - Static method in class sjm.utensil.SwingUtensil
 
literal - Variable in class sjm.parse.tokens.Literal
the literal to match
Literal - class sjm.parse.tokens.Literal.
A Literal matches a specific String from an assembly.
Literal(String) - Constructor for class sjm.parse.tokens.Literal
Constructs a literal that will match the specified string.
loadCache() - Method in class sjm.parse.tokens.TokenStringSource
Loads the next TokenString into the cache, or sets the cache to null if the source is out of tokens.
logDepthChange(int) - Method in class sjm.parse.ParserTester
 
logPassed() - Method in class sjm.parse.ParserTester
 
logProblemFound(String, int) - Method in class sjm.parse.ParserTester
 
logTestString(String) - Method in class sjm.parse.ParserTester
 
logTestStrings - Variable in class sjm.parse.ParserTester
 
lookup - Variable in class org.jsesoft.jpp.MacroTable
 

M

MacroArgAssembler - class org.jsesoft.jpp.MacroArgAssembler.
An assembler for a macro argument.
MacroArgAssembler(boolean) - Constructor for class org.jsesoft.jpp.MacroArgAssembler
 
macroBodyAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro name assembler.
MacroBodyAssembler - class org.jsesoft.jpp.MacroBodyAssembler.
An assembler for collecting a macro body.
MacroBodyAssembler() - Constructor for class org.jsesoft.jpp.MacroBodyAssembler
 
macroCall - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a macroCall.
MacroCall - class org.jsesoft.jpp.MacroCall.
The macro call terminal.
macroCall() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a macro call. macroCall = "#" Identifier arglist ;
MacroCall() - Constructor for class org.jsesoft.jpp.MacroCall
 
MacroCall(Object) - Constructor for class org.jsesoft.jpp.MacroCall
 
MacroCall(Token) - Constructor for class org.jsesoft.jpp.MacroCall
 
MacroCallAssembler - class org.jsesoft.jpp.MacroCallAssembler.
An assembler for a macro call.
MacroCallAssembler() - Constructor for class org.jsesoft.jpp.MacroCallAssembler
 
macroCallState - Variable in class org.jsesoft.jpp.MacroOperatorMacroCallState
The MacroCallState.
MacroDefinition - class org.jsesoft.jpp.MacroDefinition.
A macro definition.
MacroDefinition() - Constructor for class org.jsesoft.jpp.MacroDefinition
 
macroElse - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a #else.
macroElse() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a #else. macroEndif = "#endif" ;
macroElseAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro else assembler.
MacroElseAssembler - class org.jsesoft.jpp.MacroElseAssembler.
An assembler for collecting a #else.
MacroElseAssembler() - Constructor for class org.jsesoft.jpp.MacroElseAssembler
Creates an assembler for #else.
macroEndif - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a #endif.
macroEndif() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a #endif. macroElse = "#else" ;
macroEndifAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro endif assembler.
MacroEndifAssembler - class org.jsesoft.jpp.MacroEndifAssembler.
An assembler for collecting a #endif.
MacroEndifAssembler() - Constructor for class org.jsesoft.jpp.MacroEndifAssembler
 
macroExpandAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro expand assembler.
MacroExpandAssembler - class org.jsesoft.jpp.MacroExpandAssembler.
An assembler for expanding a macro.
MacroExpandAssembler() - Constructor for class org.jsesoft.jpp.MacroExpandAssembler
 
macroHeaderAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro header assembler.
MacroHeaderAssembler - class org.jsesoft.jpp.MacroHeaderAssembler.
An assembler for collecting a macro header.
MacroHeaderAssembler() - Constructor for class org.jsesoft.jpp.MacroHeaderAssembler
 
macroIf - Static variable in class org.jsesoft.jpp.MacroIfdefAssembler
The #if fence.
macroIfdef - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a #ifdef.
macroIfdef() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a #ifdef. macroIfdef = "#ifdef" Identifier ;
macroIfdefAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro ifdef/ifndef assembler.
MacroIfdefAssembler - class org.jsesoft.jpp.MacroIfdefAssembler.
An assembler for collecting a macro #ifdef/#ifndef.
MacroIfdefAssembler() - Constructor for class org.jsesoft.jpp.MacroIfdefAssembler
Creates an assembler for #ifdef/#ifndef.
macroIfndef - Static variable in class org.jsesoft.jpp.MacroIfdefAssembler
An #ifndef token.
macroIfndef - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a #ifndef.
macroIfndef() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a #ifndef. macroIfndef = "#ifndef" Identifier ;
macroInclude - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a #include.
macroInclude() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a #include. macroInclude = "#include" String ;
macroIncludeAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro include assembler.
MacroIncludeAssembler - class org.jsesoft.jpp.MacroIncludeAssembler.
An assembler for #include.
MacroIncludeAssembler() - Constructor for class org.jsesoft.jpp.MacroIncludeAssembler
 
MacroOperator - class org.jsesoft.jpp.MacroOperator.
The macro operator terminal.
MacroOperator() - Constructor for class org.jsesoft.jpp.MacroOperator
 
MacroOperator(Object) - Constructor for class org.jsesoft.jpp.MacroOperator
 
MacroOperator(Token) - Constructor for class org.jsesoft.jpp.MacroOperator
 
MacroOperatorMacroCallState - class org.jsesoft.jpp.MacroOperatorMacroCallState.
The macro operator or macro call state.
MacroOperatorMacroCallState() - Constructor for class org.jsesoft.jpp.MacroOperatorMacroCallState
 
macroProcessor - Static variable in class org.jsesoft.jpp.Preprocessor
The macro proccesor.
macroState - Variable in class org.jsesoft.jpp.MacroTokenizer
 
MacroTable - class org.jsesoft.jpp.MacroTable.
The macro definition table.
MacroTable() - Constructor for class org.jsesoft.jpp.MacroTable
 
MacroTokenizer - class org.jsesoft.jpp.MacroTokenizer.
The tokenizer for the macro processor.
MacroTokenizer() - Constructor for class org.jsesoft.jpp.MacroTokenizer
 
macroUndef - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a #ifndef.
macroUndef() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a #undef. macroUndef = "#ifndef" Identifier ;
macroUndefAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's macro undef assembler.
MacroUndefAssembler - class org.jsesoft.jpp.MacroUndefAssembler.
An assembler for #undef.
MacroUndefAssembler() - Constructor for class org.jsesoft.jpp.MacroUndefAssembler
 
main(String[]) - Static method in class org.jsesoft.jpp.Tokenizer
 
main(String[]) - Static method in class org.jsesoft.jpp.Preprocessor
Parses the input file.
main(String[]) - Static method in class sjm.utensil.LinearCalculator
Show the example in the class comment.
main(String[]) - Static method in class sjm.parse.tokens.TokenStringSource
Shows the example in the class comment.
match(Vector) - Method in class sjm.parse.Parser
Given a set (well, a Vector, really) of assemblies, this method matches this parser against all of them, and returns a new set (also really a Vector) of the assemblies that result from the matches.
match(Vector) - Method in class sjm.parse.Terminal
Given a collection of assemblies, this method matches this terminal against all of them, and returns a new collection of the assemblies that result from the matches.
match(Vector) - Method in class sjm.parse.Sequence
Given a set of assemblies, this method matches this sequence against all of them, and returns a new set of the assemblies that result from the matches.
match(Vector) - Method in class sjm.parse.Alternation
Given a set of assemblies, this method matches this alternation against all of them, and returns a new set of the assemblies that result from the matches.
match(Vector) - Method in class sjm.parse.Empty
Given a set of assemblies, this method returns the set as a successful match.
match(Vector) - Method in class sjm.parse.Repetition
Given a set of assemblies, this method applies a preassembler to all of them, matches its subparser repeatedly against each of them, applies its post-assembler against each, and returns a new set of the assemblies that result from the matches.
matchAndAssemble(Vector) - Method in class sjm.parse.Parser
Match this parser against an input state, and then apply this parser's assembler against the resulting state.
matchOneAssembly(Assembly) - Method in class sjm.parse.Terminal
Returns an assembly equivalent to the supplied assembly, except that this terminal will have been removed from the front of the assembly.
myChar - Variable in class sjm.parse.tokens.SymbolNode
 

N

name - Variable in class org.jsesoft.jpp.MacroDefinition
 
name - Variable in class sjm.parse.Parser
 
name - Variable in class sjm.parse.tokens.TokenType
 
nextElement() - Method in class sjm.parse.chars.CharacterAssembly
Returns the next character.
nextElement() - Method in class sjm.parse.tokens.TokenAssembly
Returns the next token.
nextSymbol(PushbackReader, int) - Method in class org.jsesoft.jpp.RootNode
Returns a symbol string from a reader.
nextSymbol(PushbackReader, int) - Method in class sjm.parse.tokens.SymbolRootNode
Return a symbol string from a reader.
nextToken() - Method in class org.jsesoft.jpp.Tokenizer
Scans the next token from the reader.
nextToken() - Method in class org.jsesoft.jpp.MacroTokenizer
Scans the next token from the reader.
nextToken() - Method in class sjm.parse.tokens.Tokenizer
Return the next token.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.State
Scans next token from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.IdentifierState
Scans next identifier from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.TraditionalCommentState
Scans traditional comment from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.DocumentationCommentState
Scans documentation comment from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.DefaultState
Scans next symbol from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.KeywordIdentifierState
Scans next keyword or identifier from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.SymbolState
Scans next symbol from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.MacroOperatorMacroCallState
Scans next macro operator or macro call from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.QuotedState
Scans a quoted text from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.CommentSlashState
Scans comment or slash from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.WhitespaceState
Scans next white spaces from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.SingleLineCommentState
Scans traditional comment from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class org.jsesoft.jpp.NumberState
Scans next number from reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.TokenizerState
Return a token that represents a logical piece of a reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.SlashStarState
Ignore everything up to a closing star and slash, and then return the tokenizer's next token.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.NumberState
Return a number token from a reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.QuoteState
Return a quoted string token from a reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.WhitespaceState
Ignore whitespace (such as blanks and tabs), and return the tokenizer's next token.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.WordState
Return a word token from a reader.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.SlashSlashState
Ignore everything up to an end-of-line and return the tokenizer's next token.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.SlashState
Either delegate to a comment-handling state, or return a token with just a slash in it.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.parse.tokens.SymbolState
Return a symbol token from a reader.
nextTokenString() - Method in class sjm.parse.tokens.TokenStringSource
Returns the next TokenString from the source.
nextVector() - Method in class sjm.parse.tokens.TokenStringSource
Returns a Vector of the tokens in the source up to either the delimiter or the end of the source.
Node - class org.jsesoft.jpp.Node.
A node in a symbol tree.
Node(Node, char) - Constructor for class org.jsesoft.jpp.Node
Constructs a node for the symbol tree.
nullMatch - Variable in class org.jsesoft.jpp.TokenType
 
Num - class sjm.parse.tokens.Num.
A Num matches a number from a token assembly.
Num() - Constructor for class sjm.parse.tokens.Num
 
number - Variable in class org.jsesoft.jpp.Token
The number associated to the token.
Number - class org.jsesoft.jpp.Number.
The number terminal.
Number() - Constructor for class org.jsesoft.jpp.Number
 
Number(Object) - Constructor for class org.jsesoft.jpp.Number
 
Number(Token) - Constructor for class org.jsesoft.jpp.Number
 
Number(TokenType) - Constructor for class org.jsesoft.jpp.Number
 
numberState - Variable in class org.jsesoft.jpp.Tokenizer
The number state.
numberState - Variable in class sjm.parse.tokens.Tokenizer
 
NumberState - class org.jsesoft.jpp.NumberState.
Scans numbers from the reader.
NumberState - class sjm.parse.tokens.NumberState.
A NumberState object returns a number from a reader.
numberState() - Method in class sjm.parse.tokens.Tokenizer
Return the state this tokenizer uses to build numbers.
NumberState() - Constructor for class org.jsesoft.jpp.NumberState
 
NumberState() - Constructor for class sjm.parse.tokens.NumberState
 
nval - Variable in class sjm.parse.tokens.Token
 
nval() - Method in class sjm.parse.tokens.Token
Returns the numeric value of this token.

O

Operator - class org.jsesoft.jpp.Operator.
The operator terminal.
Operator() - Constructor for class org.jsesoft.jpp.Operator
 
Operator(Object) - Constructor for class org.jsesoft.jpp.Operator
 
Operator(Token) - Constructor for class org.jsesoft.jpp.Operator
 
operatorState - Variable in class org.jsesoft.jpp.Tokenizer
The operator state.
OperatorState - class org.jsesoft.jpp.OperatorState.
Scans the operators from the reader
OperatorState() - Constructor for class org.jsesoft.jpp.OperatorState
 
org.jsesoft.jpp - package org.jsesoft.jpp

org.jsesoft.jpp: A Java macro preprocessor Title: A Java macro preprocessor.

P

p - Variable in class sjm.parse.ParserTester
 
paramlist - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a paramlist.
paramlist() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a paramlist.
params - Variable in class org.jsesoft.jpp.Preprocessor
A parser for params.
params() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for params.
parent - Variable in class org.jsesoft.jpp.Node
The node's parent.
parent - Variable in class sjm.parse.tokens.SymbolNode
 
parseLeft(PushbackReader) - Method in class org.jsesoft.jpp.NumberState
Parse up to a decimal point.
parseLeft(PushbackReader) - Method in class sjm.parse.tokens.NumberState
 
Parser - class sjm.parse.Parser.
A Parser is an object that recognizes the elements of a language.
Parser() - Constructor for class sjm.parse.Parser
Constructs a nameless parser.
Parser(String) - Constructor for class sjm.parse.Parser
Constructs a parser with the given name.
parseRight(PushbackReader) - Method in class org.jsesoft.jpp.NumberState
Parse from a decimal point to the end of the number.
parseRight(PushbackReader) - Method in class sjm.parse.tokens.NumberState
 
ParserTester - class sjm.parse.ParserTester.
This class generates random language elements for a parser and tests that the parser can accept them.
ParserTester(Parser) - Constructor for class sjm.parse.ParserTester
Constructs a tester for the given parser.
ParserVisitor - class sjm.parse.ParserVisitor.
This class provides a "visitor" hierarchy in support of the Visitor pattern -- see the book, "Design Patterns" for an explanation of this pattern.
ParserVisitor() - Constructor for class sjm.parse.ParserVisitor
 
peek() - Method in class sjm.parse.Assembly
Shows the next object in the assembly, without removing it
peek() - Method in class sjm.parse.chars.CharacterAssembly
Shows the next object in the assembly, without removing it
peek() - Method in class sjm.parse.tokens.TokenAssembly
Shows the next object in the assembly, without removing it
pop() - Method in class sjm.parse.Assembly
Removes the object at the top of this assembly's stack and returns it.
pos - Variable in class org.jsesoft.jpp.NumberState
 
preAssembler - Variable in class sjm.parse.Repetition
 
prefix() - Method in class org.jsesoft.jpp.TraditionalCommentState
 
prefix() - Method in class org.jsesoft.jpp.DocumentationCommentState
 
prefix() - Method in class org.jsesoft.jpp.SingleLineCommentState
 
Preprocessor - class org.jsesoft.jpp.Preprocessor.
A Java preprocessor.
Preprocessor() - Constructor for class org.jsesoft.jpp.Preprocessor
Creates a Java macro processor
program - Variable in class org.jsesoft.jpp.Preprocessor
A parser for a program.
program() - Method in class org.jsesoft.jpp.Preprocessor
Creates a parser for a program.
PubliclyCloneable - interface sjm.utensil.PubliclyCloneable.
Defines a type of object which anybody can clone.
push(Object) - Method in class sjm.parse.Assembly
Pushes an object onto the top of this assembly's stack.

Q

qualifies(Object) - Method in class org.jsesoft.jpp.SpecificTerminal
Returns true if an assembly's next element matches in type and value.
qualifies(Object) - Method in class org.jsesoft.jpp.MacroOperator
Returns true if an assembly's next element matches in type and value.
qualifies(Object) - Method in class org.jsesoft.jpp.Whitespace
Returns true if an assembly's next element matches in type and value.
qualifies(Object) - Method in class org.jsesoft.jpp.Quoted
Returns true if an assembly's next element matches in type and value.
qualifies(Object) - Method in class org.jsesoft.jpp.AnyButMacros
Returns true if an assembly's next element matches in type and value.
qualifies(Object) - Method in class sjm.parse.Terminal
The mechanics of matching are the same for many terminals, except for the check that the next element on the assembly qualifies as the type of terminal this terminal looks for.
qualifies(Object) - Method in class sjm.parse.chars.Char
Returns true every time, since this class assumes it is working against a CharacterAssembly.
qualifies(Object) - Method in class sjm.parse.chars.SpecificChar
Returns true if an assembly's next element is equal to the character this object was constructed with.
qualifies(Object) - Method in class sjm.parse.chars.Digit
Returns true if an assembly's next element is a digit.
qualifies(Object) - Method in class sjm.parse.chars.Letter
Returns true if an assembly's next element is a letter.
qualifies(Object) - Method in class sjm.parse.tokens.Symbol
Returns true if the symbol this object represents equals an assembly's next element.
qualifies(Object) - Method in class sjm.parse.tokens.Literal
Returns true if the literal this object equals an assembly's next element.
qualifies(Object) - Method in class sjm.parse.tokens.CaselessLiteral
Returns true if the literal this object equals an assembly's next element, disregarding case.
qualifies(Object) - Method in class sjm.parse.tokens.QuotedString
Returns true if an assembly's next element is a quoted string.
qualifies(Object) - Method in class sjm.parse.tokens.Num
Returns true if an assembly's next element is a number.
qualifies(Object) - Method in class sjm.parse.tokens.Word
Returns true if an assembly's next element is a word.
Quoted - class org.jsesoft.jpp.Quoted.
The quoted terminal.
Quoted() - Constructor for class org.jsesoft.jpp.Quoted
 
Quoted(Object) - Constructor for class org.jsesoft.jpp.Quoted
 
Quoted(Token) - Constructor for class org.jsesoft.jpp.Quoted
 
Quoted(TokenType) - Constructor for class org.jsesoft.jpp.Quoted
 
quotedState - Variable in class org.jsesoft.jpp.Tokenizer
The quoted state.
QuotedState - class org.jsesoft.jpp.QuotedState.
Scans quoted tokkens from reader
QuotedState() - Constructor for class org.jsesoft.jpp.QuotedState
 
QuotedString - class sjm.parse.tokens.QuotedString.
A QuotedString matches a quoted string, like "this one" from a token assembly.
QuotedString() - Constructor for class sjm.parse.tokens.QuotedString
 
quoteState - Variable in class sjm.parse.tokens.Tokenizer
 
QuoteState - class sjm.parse.tokens.QuoteState.
A quoteState returns a quoted string token from a reader.
quoteState() - Method in class sjm.parse.tokens.Tokenizer
Return the state this tokenizer uses to build quoted strings.
QuoteState() - Constructor for class sjm.parse.tokens.QuoteState
 

R

randomExpansion(int, int) - Method in class sjm.parse.Parser
 
randomExpansion(int, int) - Method in class sjm.parse.Terminal
 
randomExpansion(int, int) - Method in class sjm.parse.Sequence
 
randomExpansion(int, int) - Method in class sjm.parse.Alternation
 
randomExpansion(int, int) - Method in class sjm.parse.Empty
 
randomExpansion(int, int) - Method in class sjm.parse.Repetition
Create a collection of random elements that correspond to this repetition.
randomExpansion(int, int) - Method in class sjm.parse.chars.Digit
Create a set with one random digit.
randomExpansion(int, int) - Method in class sjm.parse.chars.Letter
Create a set with one random letter.
randomExpansion(int, int) - Method in class sjm.parse.tokens.QuotedString
Create a set with one random quoted string (with 2 to 6 characters).
randomExpansion(int, int) - Method in class sjm.parse.tokens.Num
Create a set with one random number (between 0 and 100).
randomExpansion(int, int) - Method in class sjm.parse.tokens.Word
Create a set with one random word (with 3 to 7 characters).
randomInput(int, String) - Method in class sjm.parse.Parser
Return a random element of this parser's language.
randomSettle(int, int) - Method in class sjm.parse.Alternation
 
reader - Variable in class sjm.parse.tokens.Tokenizer
 
remainder(String) - Method in class sjm.parse.Assembly
Returns the elements of the assembly that remain to be consumed, separated by the specified delimiter.
remainder(String) - Method in class sjm.parse.chars.CharacterAssembly
Returns a textual representation of the amount of this characterAssembly that remains to be consumed.
remainder(String) - Method in class sjm.parse.tokens.TokenAssembly
Returns a textual representation of the amount of this tokenAssembly that remains to be consumed.
Repetition - class sjm.parse.Repetition.
A Repetition matches its underlying parser repeatedly against a assembly.
Repetition(Parser) - Constructor for class sjm.parse.Repetition
Constructs a repetition of the given parser.
Repetition(Parser, String) - Constructor for class sjm.parse.Repetition
Constructs a repetition of the given parser with the given name.
reset(int) - Method in class org.jsesoft.jpp.NumberState
Prepare to assemble a new number.
reset(int) - Method in class sjm.parse.tokens.NumberState
 
RootNode - class org.jsesoft.jpp.RootNode.
The root node of a symbol tree.
RootNode() - Constructor for class org.jsesoft.jpp.RootNode
Create and initialize a root node.

S

Separator - class org.jsesoft.jpp.Separator.
The seperator terminal.
separator() - Method in class sjm.parse.ParserTester
 
separator() - Method in class sjm.parse.chars.CharacterTester
 
Separator() - Constructor for class org.jsesoft.jpp.Separator
 
Separator(Object) - Constructor for class org.jsesoft.jpp.Separator
 
Separator(Token) - Constructor for class org.jsesoft.jpp.Separator
 
separatorState - Variable in class org.jsesoft.jpp.Tokenizer
The separator state.
SeparatorState - class org.jsesoft.jpp.SeparatorState.
Scans the separators from the reader
SeparatorState() - Constructor for class org.jsesoft.jpp.SeparatorState
 
Sequence - class sjm.parse.Sequence.
A Sequence object is a collection of parsers, all of which must in turn match against an assembly for this parser to successfully match.
Sequence() - Constructor for class sjm.parse.Sequence
Constructs a nameless sequence.
Sequence(String) - Constructor for class sjm.parse.Sequence
Constructs a sequence with the given name.
setAssembler(Assembler) - Method in class sjm.parse.Parser
Sets the object that will work on an assembly whenever this parser successfully matches against the assembly.
setBody(Vector) - Method in class org.jsesoft.jpp.MacroDefinition
 
setCharacterState(int, int, TokenizerState) - Method in class sjm.parse.tokens.Tokenizer
Change the state the tokenizer will enter upon reading any character between "from" and "to".
setCommentSlashState(CommentSlashState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the commentSlash state of the tokenizer.
setDefaultState(DefaultState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the default state of the tokenizer.
setDiscard(boolean) - Method in class sjm.parse.Terminal
By default, terminals push themselves upon a assembly's stack, after a successful match.
setDocumentationCommentState(DocumentationCommentState) - Method in class org.jsesoft.jpp.CommentSlashState
Specifies the documentationComment state of the tokenizer.
setHeader(Vector) - Method in class org.jsesoft.jpp.MacroDefinition
 
setIdentifierState(IdentifierState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the identifier state of the tokenizer.
setKeywordIdentifierState(KeywordIdentifierState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the keyword state of the tokenizer.
setLogTestStrings(boolean) - Method in class sjm.parse.ParserTester
Set the boolean which determines if this class displays every test string.
setName(String) - Method in class org.jsesoft.jpp.MacroDefinition
 
setNumberState(NumberState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the number state of the tokenizer.
setOperatorState(OperatorState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the operator state of the tokenizer.
setPreAssembler(Assembler) - Method in class sjm.parse.Repetition
Sets the object that will work on every assembly before matching against it.
setQuotedtState(QuotedState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the quoted state of the tokenizer.
setReader(PushbackReader) - Method in class sjm.parse.tokens.Tokenizer
Set the reader to read from.
setSeparatorState(SeparatorState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the separator state of the tokenizer.
setShouldIgnore(boolean) - Method in class org.jsesoft.jpp.TraditionalCommentState
 
setShouldIgnore(boolean) - Method in class org.jsesoft.jpp.WhitespaceState
 
setShouldIgnore(boolean) - Method in class org.jsesoft.jpp.SingleLineCommentState
 
setSingleLineCommentState(SingleLineCommentState) - Method in class org.jsesoft.jpp.CommentSlashState
Specifies the singleLineComment state of the tokenizer.
setSkipping(boolean) - Method in class org.jsesoft.jpp.MacroTable
 
setString(String) - Method in class org.jsesoft.jpp.Tokenizer
Set the string to read from.
setString(String) - Method in class sjm.parse.tokens.Tokenizer
Set the string to read from.
setString(String, int) - Method in class sjm.parse.tokens.Tokenizer
Set the string to read from.
setTarget(PubliclyCloneable) - Method in class sjm.parse.Assembly
Sets the target for this assembly.
setTokenType(TokenType) - Method in class org.jsesoft.jpp.Token
Changes the token type.
setTraditionalCommentState(TraditionalCommentState) - Method in class org.jsesoft.jpp.CommentSlashState
Specifies the traditionalComment state of the tokenizer.
setValid(boolean) - Method in class org.jsesoft.jpp.Node
Mark this node as valid, which means its ancestry is a complete symbol, not just a prefix.
setValid(boolean) - Method in class sjm.parse.tokens.SymbolNode
 
setWhitespaceChars(int, int, boolean) - Method in class sjm.parse.tokens.WhitespaceState
Establish the given characters as whitespace to ignore.
setWhitespaceState(WhitespaceState) - Method in class org.jsesoft.jpp.Tokenizer
Specifies the whitespace state of the tokenizer.
setWordChars(int, int, boolean) - Method in class sjm.parse.tokens.WordState
Establish characters in the given range as valid characters for part of a word after the first character.
shouldIgnore - Variable in class org.jsesoft.jpp.TraditionalCommentState
Whether or not to ignore white spaces.
shouldIgnore - Variable in class org.jsesoft.jpp.WhitespaceState
Whether or not to ignore white spaces.
shouldIgnore - Variable in class org.jsesoft.jpp.SingleLineCommentState
Whether or not to ignore white spaces.
singleLineCommentState - Variable in class org.jsesoft.jpp.CommentSlashState
 
SingleLineCommentState - class org.jsesoft.jpp.SingleLineCommentState.
Scans a single line comment from the reader.
SingleLineCommentState() - Constructor for class org.jsesoft.jpp.SingleLineCommentState
 
SingleLineCommentState(boolean) - Constructor for class org.jsesoft.jpp.SingleLineCommentState
 
sjm.parse - package sjm.parse
 
sjm.parse.chars - package sjm.parse.chars
 
sjm.parse.tokens - package sjm.parse.tokens
 
sjm.utensil - package sjm.utensil
 
skipping - Variable in class org.jsesoft.jpp.MacroTable
 
slashSlashState - Variable in class sjm.parse.tokens.SlashState
 
SlashSlashState - class sjm.parse.tokens.SlashSlashState.
A slashSlash state ignores everything up to an end-of-line and returns the tokenizer's next token.
SlashSlashState() - Constructor for class sjm.parse.tokens.SlashSlashState
 
slashStarState - Variable in class sjm.parse.tokens.SlashState
 
SlashStarState - class sjm.parse.tokens.SlashStarState.
A slashStar state ignores everything up to a closing star and slash, and then returns the tokenizer's next token.
SlashStarState() - Constructor for class sjm.parse.tokens.SlashStarState
 
slashState - Variable in class sjm.parse.tokens.Tokenizer
 
SlashState - class sjm.parse.tokens.SlashState.
This state will either delegate to a comment-handling state, or return a token with just a slash in it.
slashState() - Method in class sjm.parse.tokens.Tokenizer
Return the state this tokenizer uses to recognize (and ignore) comments.
SlashState() - Constructor for class sjm.parse.tokens.SlashState
 
SpecificChar - class sjm.parse.chars.SpecificChar.
A SpecificChar matches a specified character from a character assembly.
SpecificChar(char) - Constructor for class sjm.parse.chars.SpecificChar
Constructs a SpecificChar to match the specified char.
SpecificChar(Character) - Constructor for class sjm.parse.chars.SpecificChar
Constructs a SpecificChar to match the specified character.
SpecificTerminal - class org.jsesoft.jpp.SpecificTerminal.
Terminal with specific type and possibly value.
SpecificTerminal(Token) - Constructor for class org.jsesoft.jpp.SpecificTerminal
 
SpecificTerminal(TokenType) - Constructor for class org.jsesoft.jpp.SpecificTerminal
 
SpecificTerminal(TokenType, Object) - Constructor for class org.jsesoft.jpp.SpecificTerminal
 
stack - Variable in class org.jsesoft.jpp.MacroTable
 
stack - Variable in class sjm.parse.Assembly
 
stackIsEmpty() - Method in class sjm.parse.Assembly
Returns true if this assembly's stack is empty.
start() - Static method in class org.jsesoft.jpp.Preprocessor
Returns the macro processors starting point.
State - class org.jsesoft.jpp.State.
Subclasses represent the states of the tokenizer.
State() - Constructor for class org.jsesoft.jpp.State
 
string - Variable in class sjm.parse.chars.CharacterAssembly
the string to consume
stringFromFileNamed(String) - Static method in class sjm.utensil.FileString
Returns a string that represents the contents of a file.
subparser - Variable in class sjm.parse.Repetition
 
subparsers - Variable in class sjm.parse.CollectionParser
the parsers this parser is a collection of
sval - Variable in class sjm.parse.tokens.Token
 
sval() - Method in class sjm.parse.tokens.Token
Returns the string value of this token.
SwingUtensil - class sjm.utensil.SwingUtensil.
This class harbors a few handy swing utilities.
SwingUtensil() - Constructor for class sjm.utensil.SwingUtensil
 
symbol - Variable in class sjm.parse.tokens.Symbol
the literal to match
Symbol - class sjm.parse.tokens.Symbol.
A Symbol matches a specific sequence, such as <, or <= that a tokenizer returns as a symbol.
Symbol(char) - Constructor for class sjm.parse.tokens.Symbol
Constructs a symbol that will match the specified char.
Symbol(String) - Constructor for class sjm.parse.tokens.Symbol
Constructs a symbol that will match the specified sequence of characters.
SymbolNode - class sjm.parse.tokens.SymbolNode.
A SymbolNode object is a member of a tree that contains all possible prefixes of allowable symbols.
SymbolNode(SymbolNode, char) - Constructor for class sjm.parse.tokens.SymbolNode
Constructs a SymbolNode with the given parent, representing the given character.
SymbolRootNode - class sjm.parse.tokens.SymbolRootNode.
This class is a special case of a SymbolNode.
SymbolRootNode() - Constructor for class sjm.parse.tokens.SymbolRootNode
Create and initialize a root node.
symbols - Variable in class org.jsesoft.jpp.SymbolState
 
symbols - Variable in class sjm.parse.tokens.SymbolState
 
symbolState - Variable in class sjm.parse.tokens.Tokenizer
 
SymbolState - class org.jsesoft.jpp.SymbolState.
Baseclass for different states consisting of symbols.
SymbolState - class sjm.parse.tokens.SymbolState.
The idea of a symbol is a character that stands on its own, such as an ampersand or a parenthesis.
symbolState() - Method in class sjm.parse.tokens.Tokenizer
Return the state this tokenizer uses to recognize symbols.
SymbolState() - Constructor for class sjm.parse.tokens.SymbolState
Constructs a symbol state with a default idea of what multi-character symbols to accept (as described in the class comment).
SymbolState(TokenType) - Constructor for class org.jsesoft.jpp.SymbolState
Constructs a symbol state.

T

target - Variable in class sjm.parse.Assembly
 
Terminal - class sjm.parse.Terminal.
A Terminal is a parser that is not a composition of other parsers.
Terminal() - Constructor for class sjm.parse.Terminal
Constructs an unnamed terminal.
Terminal(String) - Constructor for class sjm.parse.Terminal
Constructs a terminal with the given name.
terminalAssembler - Variable in class org.jsesoft.jpp.Preprocessor
The processor's terminal assembler.
TerminalAssembler - class org.jsesoft.jpp.TerminalAssembler.
An assembler for collecting a macro header.
TerminalAssembler() - Constructor for class org.jsesoft.jpp.TerminalAssembler
 
test() - Method in class sjm.parse.ParserTester
Create a series of random language elements, and test that the parser can unambiguously parse each one.
textPanel(String, JTextArea, Dimension, Dimension) - Static method in class sjm.utensil.SwingUtensil
Returns a standard text panel, with a scroll pane around a text area, and with a title border.
Token - class org.jsesoft.jpp.Token.
A token of the indicated type and associated value.
Token - class sjm.parse.tokens.Token.
A token represents a logical chunk of a string.
Token(char) - Constructor for class sjm.parse.tokens.Token
Constructs a token from the given char.
Token(double) - Constructor for class sjm.parse.tokens.Token
Constructs a token from the given number.
Token(String) - Constructor for class sjm.parse.tokens.Token
Constructs a token from the given string.
Token(TokenType, String) - Constructor for class org.jsesoft.jpp.Token
 
Token(TokenType, String, double) - Constructor for class sjm.parse.tokens.Token
Constructs a token of the indicated type and associated string or numeric values.
Token(TokenType, String, Object) - Constructor for class org.jsesoft.jpp.Token
 
TokenAssembly - class sjm.parse.tokens.TokenAssembly.
A TokenAssembly is an Assembly whose elements are Tokens.
TokenAssembly(String) - Constructor for class sjm.parse.tokens.TokenAssembly
Constructs a TokenAssembly on a TokenString constructed from the given String.
TokenAssembly(Tokenizer) - Constructor for class sjm.parse.tokens.TokenAssembly
Constructs a TokenAssembly on a TokenString constructed from the given Tokenizer.
TokenAssembly(TokenString) - Constructor for class sjm.parse.tokens.TokenAssembly
Constructs a TokenAssembly from the given TokenString.
tokenAt(int) - Method in class sjm.parse.tokens.TokenString
Returns the token at the specified index.
tokenizer - Variable in class sjm.parse.tokens.TokenStringSource
 
Tokenizer - class org.jsesoft.jpp.Tokenizer.
Customizable tokenizer fitting Java requirements.
Tokenizer - class sjm.parse.tokens.Tokenizer.
A tokenizer divides a string into tokens.
Tokenizer() - Constructor for class org.jsesoft.jpp.Tokenizer
 
Tokenizer() - Constructor for class sjm.parse.tokens.Tokenizer
Constructs a tokenizer with a default state table (as described in the class comment).
Tokenizer(String) - Constructor for class org.jsesoft.jpp.Tokenizer
Constructs a tokenizer to read from the supplied string.
Tokenizer(String) - Constructor for class sjm.parse.tokens.Tokenizer
Constructs a tokenizer to read from the supplied string.
TokenizerState - class sjm.parse.tokens.TokenizerState.
A tokenizerState returns a token, given a reader, an initial character read from the reader, and a tokenizer that is conducting an overall tokenization of the reader.
TokenizerState() - Constructor for class sjm.parse.tokens.TokenizerState
 
tokens - Variable in class sjm.parse.tokens.TokenString
the tokens in this tokenString
tokenString - Variable in class sjm.parse.tokens.TokenAssembly
the "string" of tokens this assembly will consume
TokenString - class sjm.parse.tokens.TokenString.
A TokenString is like a String, but it is a series of Tokens rather than a series of chars.
TokenString(String) - Constructor for class sjm.parse.tokens.TokenString
Constructs a tokenString from the supplied string.
TokenString(Token[]) - Constructor for class sjm.parse.tokens.TokenString
Constructs a tokenString from the supplied tokens.
TokenString(Tokenizer) - Constructor for class sjm.parse.tokens.TokenString
Constructs a tokenString from the supplied reader and tokenizer.
TokenStringSource - class sjm.parse.tokens.TokenStringSource.
A TokenStringSource enumerates over a specified reader, returning TokenStrings delimited by a specified delimiter.
TokenStringSource(Tokenizer, String) - Constructor for class sjm.parse.tokens.TokenStringSource
Constructs a TokenStringSource that will read TokenStrings using the specified tokenizer, delimited by the specified delimiter.
TokenTester - class sjm.parse.tokens.TokenTester.
 
TokenTester(Parser) - Constructor for class sjm.parse.tokens.TokenTester
 
tokenType - Variable in class org.jsesoft.jpp.SpecificTerminal
 
tokenType - Variable in class org.jsesoft.jpp.IdentifierState
 
tokenType - Variable in class org.jsesoft.jpp.SymbolState
 
tokenType - Variable in class org.jsesoft.jpp.QuotedState
 
TokenType - class org.jsesoft.jpp.TokenType.
Instances of the class describe types of tokens.
TokenType - class sjm.parse.tokens.TokenType.
Objects of this class represent a type of token, such as "number" or "word".
TokenType(String) - Constructor for class org.jsesoft.jpp.TokenType
Constructs a token type with the given name.
TokenType(String) - Constructor for class sjm.parse.tokens.TokenType
Creates a token type of the given name.
TokenType(String, boolean) - Constructor for class org.jsesoft.jpp.TokenType
Constructs a token type with the given name.
toString() - Method in class org.jsesoft.jpp.TokenType
Return a textual description of this object.
toString() - Method in class org.jsesoft.jpp.Node
Gives a string representation of this node.
toString() - Method in class org.jsesoft.jpp.Token
Return a textual description of this object.
toString() - Method in class sjm.utensil.LinearCalculator
Return a textual description of this object.
toString() - Method in class sjm.parse.Parser
Returns a textual description of this parser.
toString() - Method in class sjm.parse.Assembly
Returns a textual description of this assembly.
toString() - Method in class sjm.parse.tokens.Token
Return a textual description of this object.
toString() - Method in class sjm.parse.tokens.SymbolNode
Give a string representation of this node.
toString() - Method in class sjm.parse.tokens.TokenString
Returns a string representation of this tokenString.
toString(Vector) - Method in class sjm.parse.Parser
Returns a textual description of this parser.
toStringSeparator() - Method in class sjm.parse.CollectionParser
Helps to textually describe this CollectionParser.
toStringSeparator() - Method in class sjm.parse.Sequence
 
toStringSeparator() - Method in class sjm.parse.Alternation
 
traditionalCommentState - Variable in class org.jsesoft.jpp.CommentSlashState
 
TraditionalCommentState - class org.jsesoft.jpp.TraditionalCommentState.
Scans a traditional comment from the reader.
TraditionalCommentState() - Constructor for class org.jsesoft.jpp.TraditionalCommentState
 
TraditionalCommentState(boolean) - Constructor for class org.jsesoft.jpp.TraditionalCommentState
 
TT_ANY_BUT_MACROS - Static variable in class org.jsesoft.jpp.AnyButMacros
 
TT_CHARACTER - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a character.
TT_DEFAULT - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is unrecognized.
TT_DOCUMENTATION_COMMENT - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a documentation comment.
TT_EOF - Static variable in class sjm.parse.tokens.Token
A constant indicating that the end of the stream has been read.
TT_FLOAT - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is an float like "123.4".
TT_IDENTIFIER - Static variable in class org.jsesoft.jpp.Token
A constant indicating a token is a identifier, like "root".
TT_INTEGER - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is an integer like "123".
TT_KEYWORD - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a keyword.
TT_MACRO_CALL - Static variable in class org.jsesoft.jpp.MacroOperatorMacroCallState
A constant indicating a token is a macro oprator.
TT_MACRO_EXPAND - Static variable in class org.jsesoft.jpp.MacroExpandAssembler
 
TT_MACRO_OPERATOR - Static variable in class org.jsesoft.jpp.MacroOperatorMacroCallState
A constant indicating a token is a macro oprator.
TT_NUMBER - Static variable in class sjm.parse.tokens.Token
A constant indicating that a token is a number, like 3.14
TT_OPERATOR - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is an operator like "<=".
TT_QUOTED - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is quoted.
TT_QUOTED - Static variable in class sjm.parse.tokens.Token
A constant indicating that a token is a quoted string, like "Launch Mi".
TT_SEPARATOR - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is an separator like "[".
TT_SINGLE_LINE_COMMENT - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a single line comment.
TT_STRING - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a string.
TT_SYMBOL - Static variable in class sjm.parse.tokens.Token
A constant indicating that a token is a symbol like "<=".
TT_TRADITIONAL_COMMENT - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a traditional comment.
TT_WHITESPACE - Static variable in class org.jsesoft.jpp.Token
A constant indicating that a token is a sequence of white spaces.
TT_WORD - Static variable in class sjm.parse.tokens.Token
A constant indicating a token is a word, like "cat"
ttype - Variable in class sjm.parse.tokens.Token
 
ttype() - Method in class sjm.parse.tokens.Token
Returns the type of this token.

U

undefine(String) - Method in class org.jsesoft.jpp.MacroTable
 
unget(int) - Method in class sjm.parse.Assembly
Put back n objects
unreadToValid(PushbackReader) - Method in class sjm.parse.tokens.SymbolNode
 
unvisitedString(Vector) - Method in class org.jsesoft.jpp.SpecificTerminal
 
unvisitedString(Vector) - Method in class sjm.parse.Parser
 
unvisitedString(Vector) - Method in class sjm.parse.Terminal
 
unvisitedString(Vector) - Method in class sjm.parse.CollectionParser
 
unvisitedString(Vector) - Method in class sjm.parse.Empty
 
unvisitedString(Vector) - Method in class sjm.parse.Repetition
 
unvisitedString(Vector) - Method in class sjm.parse.chars.Char
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.chars.SpecificChar
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.chars.Digit
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.chars.Letter
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.tokens.Symbol
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.tokens.Literal
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.tokens.QuotedString
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.tokens.Num
Returns a textual description of this parser.
unvisitedString(Vector) - Method in class sjm.parse.tokens.Word
Returns a textual description of this parser.
unwindToValid(PushbackReader) - Method in class org.jsesoft.jpp.Node
Unwind to a valid node.
unwindToValid(PushbackReader) - Method in class org.jsesoft.jpp.RootNode
Unwind to a valid node.

V

valid - Variable in class org.jsesoft.jpp.Node
True if node and ancestors form a complete symbol.
valid - Variable in class sjm.parse.tokens.SymbolNode
 
value - Variable in class org.jsesoft.jpp.SpecificTerminal
 
value - Variable in class org.jsesoft.jpp.Node
The value of the node.
value - Variable in class org.jsesoft.jpp.Token
The value associated to the token.
value - Variable in class org.jsesoft.jpp.NumberState
 
value - Variable in class sjm.parse.tokens.NumberState
 
value() - Method in class sjm.parse.tokens.Token
Returns an object that represents the value of this token.
value(PushbackReader, Tokenizer) - Method in class org.jsesoft.jpp.NumberState
Put together the pieces of a number.
value(PushbackReader, Tokenizer) - Method in class sjm.parse.tokens.NumberState
 
visitAlternation(Alternation, Vector) - Method in class sjm.parse.ParserVisitor
Visit an alternation.
visitEmpty(Empty, Vector) - Method in class sjm.parse.ParserVisitor
Visit an empty parser.
visitRepetition(Repetition, Vector) - Method in class sjm.parse.ParserVisitor
Visit a repetition.
visitSequence(Sequence, Vector) - Method in class sjm.parse.ParserVisitor
Visit a sequence.
visitTerminal(Terminal, Vector) - Method in class sjm.parse.ParserVisitor
Visit a terminal.

W

Whitespace - class org.jsesoft.jpp.Whitespace.
The whitespace terminal.
Whitespace() - Constructor for class org.jsesoft.jpp.Whitespace
 
Whitespace(Object) - Constructor for class org.jsesoft.jpp.Whitespace
 
Whitespace(Token) - Constructor for class org.jsesoft.jpp.Whitespace
 
whitespaceChar - Variable in class sjm.parse.tokens.WhitespaceState
 
whitespaceState - Variable in class org.jsesoft.jpp.Tokenizer
The whitespace state.
whitespaceState - Variable in class sjm.parse.tokens.Tokenizer
 
WhitespaceState - class org.jsesoft.jpp.WhitespaceState.
Scans white spaces from the reader.
WhitespaceState - class sjm.parse.tokens.WhitespaceState.
A whitespace state ignores whitespace (such as blanks and tabs), and returns the tokenizer's next token.
whitespaceState() - Method in class sjm.parse.tokens.Tokenizer
Return the state this tokenizer uses to recognize (and ignore) whitespace.
WhitespaceState() - Constructor for class org.jsesoft.jpp.WhitespaceState
 
WhitespaceState() - Constructor for class sjm.parse.tokens.WhitespaceState
Constructs a whitespace state with a default idea of what characters are, in fact, whitespace.
WhitespaceState(boolean) - Constructor for class org.jsesoft.jpp.WhitespaceState
 
Word - class sjm.parse.tokens.Word.
A Word matches a word from a token assembly.
Word() - Constructor for class sjm.parse.tokens.Word
 
wordChar - Variable in class sjm.parse.tokens.WordState
 
wordChar(int) - Method in class sjm.parse.tokens.WordState
 
wordState - Variable in class sjm.parse.tokens.Tokenizer
 
WordState - class sjm.parse.tokens.WordState.
A wordState returns a word from a reader.
wordState() - Method in class sjm.parse.tokens.Tokenizer
Return the state this tokenizer uses to build words.
WordState() - Constructor for class sjm.parse.tokens.WordState
Constructs a word state with a default idea of what characters are admissible inside a word (as described in the class comment).
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroBodyAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroIfdefAssembler
Handles #ifdef/#ifndef by switching skipping on/off.
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroArgAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroEndifAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroElseAssembler
Toggles skipping flag, if appropriate.
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroCallAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroIncludeAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroExpandAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroUndefAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.MacroHeaderAssembler
 
workOn(Assembly) - Method in class org.jsesoft.jpp.TerminalAssembler
 
workOn(Assembly) - Method in class sjm.parse.Assembler
This is the one method all subclasses must implement.

X

xFrom - Variable in class sjm.utensil.LinearCalculator
 
xTo - Variable in class sjm.utensil.LinearCalculator
 

Y

yFrom - Variable in class sjm.utensil.LinearCalculator
 
yTo - Variable in class sjm.utensil.LinearCalculator
 

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