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

N

n - Variable in class sjm.combinatorics.Permutations
 
n - Variable in class sjm.combinatorics.Combinations
 
n() - Static method in class sjm.examples.minimath.MinimathParser
 
name - Variable in class sjm.parse.tokens.TokenType
 
name - Variable in class sjm.examples.cloning.Customer
 
name - Variable in class sjm.engine.Variable
 
name - Variable in class sjm.examples.engine.City
 
name - Variable in class sjm.parse.Parser
 
name - Variable in class sjm.examples.coffee.Coffee
 
name - Variable in class sjm.examples.pretty.PrettyRepetitionAssembler
 
name - Variable in class sjm.examples.pretty.PrettySequenceAssembler
 
name - Variable in class sjm.examples.pretty.PrettyAlternationAssembler
 
name - Variable in class sjm.examples.sling.Variable
 
name() - Method in class sjm.examples.coffee.CoffeeParser
 
NameAssembler - class sjm.examples.coffee.NameAssembler.
This assembler pops a coffee's name from an assembly's stack, and sets the assembly's target to be a new Coffee object with this name.
NameAssembler() - Constructor for class sjm.examples.coffee.NameAssembler
 
NameHelper - class sjm.examples.coffee.NameHelper.
This helper sets a target coffee object's name attribute.
NameHelper() - Constructor for class sjm.examples.coffee.NameHelper
 
negative() - Method in class sjm.examples.sling.SlingParser
 
NegativeAssembler - class sjm.examples.sling.NegativeAssembler.
Pop the assembly, and push a new function that multiplies this function by -1.
NegativeAssembler() - Constructor for class sjm.examples.sling.NegativeAssembler
 
NewCoffeeHelper - class sjm.examples.coffee.NewCoffeeHelper.
This helper adds a new coffee object to the end of a vector of coffees.
NewCoffeeHelper() - Constructor for class sjm.examples.coffee.NewCoffeeHelper
 
nextAxiom() - Method in class sjm.engine.ProgramEnumerator
Returns the next axiom of this enumeration.
nextAxiom() - Method in interface sjm.engine.AxiomEnumeration
Returns the next axiom of this enumeration.
nextElement() - Method in class sjm.parse.tokens.TokenAssembly
Returns the next token.
nextElement() - Method in class sjm.combinatorics.Permutations
 
nextElement() - Method in class sjm.combinatorics.Combinations
 
nextElement() - Method in class sjm.parse.chars.CharacterAssembly
Returns the next character.
nextFactor() - Method in class sjm.examples.regular.RegularParser
 
nextSymbol(PushbackReader, int) - Method in class sjm.parse.tokens.SymbolRootNode
Return a symbol string from a reader.
nextToken() - Method in class sjm.parse.tokens.Tokenizer
Return the next token.
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.QuoteState
Return a quoted string token from a reader.
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.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.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.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.SymbolState
Return a symbol token from a reader.
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.WhitespaceState
Ignore whitespace (such as blanks and tabs), and return the tokenizer's next token.
nextToken(PushbackReader, int, Tokenizer) - Method in class sjm.examples.reserved.WordOrReservedState
Return a reserved token or a word 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.
nLine - Variable in class sjm.examples.sling.AddFunctionCommand
 
nLine - Variable in class sjm.examples.sling.Renderable
 
nLine() - Method in class sjm.examples.sling.Renderable
Return the number of lines to use to render this function.
nLine() - Method in class sjm.examples.sling.SlingTarget
Return the special variable "nLine", which establishes the number of lines to use in rendering a function.
noArgs(String, SlingFunction) - Method in class sjm.examples.sling.SlingParser
 
Not - class sjm.engine.Not.
A Not is a structure that fails if it can prove itself against a program.
not() - Method in class sjm.examples.logic.LogikusParser
 
Not(Object) - Constructor for class sjm.engine.Not
Contructs a Not from the specified object.
Not(Object, Term[]) - Constructor for class sjm.engine.Not
Constructs a Not with the specified functor and terms.
Not(Structure) - Constructor for class sjm.engine.Not
Constructs a Not version of the supplied structure.
NotAssembler - class sjm.examples.logic.NotAssembler.
Pops a structure from the top of the stack and pushes a Not version of it.
NotAssembler() - Constructor for class sjm.examples.logic.NotAssembler
 
NullCommand - class sjm.imperative.NullCommand.
This command does nothing, which can simplify coding in some cases.
NullCommand() - Constructor for class sjm.imperative.NullCommand
 
Num - class sjm.parse.tokens.Num.
A Num matches a number from a token assembly.
num() - Method in class sjm.examples.logic.LogikusParser
 
num() - Method in class sjm.examples.sling.SlingParser
 
Num() - Constructor for class sjm.parse.tokens.Num
 
NumAssembler - class sjm.examples.arithmetic.NumAssembler.
Replace the top token in the stack with the token's Double value.
NumAssembler - class sjm.examples.sling.NumAssembler.
Pops a number token, and pushes a number function.
NumAssembler() - Constructor for class sjm.examples.arithmetic.NumAssembler
 
NumAssembler() - Constructor for class sjm.examples.sling.NumAssembler
 
NumberFact - class sjm.engine.NumberFact.
A NumberFact is a fact with a Number as its functor.
NumberFact(double) - Constructor for class sjm.engine.NumberFact
Contructs a number fact from the double.
NumberFact(Number) - Constructor for class sjm.engine.NumberFact
Contructs a number fact from the Numer.
numberNodes - Variable in class sjm.examples.pretty.PrettySequenceAssembler
 
numberState - Variable in class sjm.parse.tokens.Tokenizer
 
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 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.

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