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

V

v - Variable in class sjm.examples.sling.AssignFunctionCommand
 
valid - Variable in class sjm.parse.tokens.SymbolNode
 
value - Variable in class sjm.parse.tokens.NumberState
 
value - Variable in class sjm.examples.pretty.ComponentNode
 
value() - Method in class sjm.parse.tokens.Token
Returns an object that represents the value of this token.
value(PushbackReader, Tokenizer) - Method in class sjm.parse.tokens.NumberState
 
value(PushbackReader, Tokenizer) - Method in class sjm.examples.tokens.ScientificNumberState
 
value(String) - Static method in class sjm.examples.regular.RegularParser
Return a parser that will match a CharacterAssembly, according to the value of a regular expression given in a string.
value(String) - Static method in class sjm.examples.arithmetic.ArithmeticParser
Return the value of an arithmetic expression given in a string.
variable - Variable in class sjm.imperative.ReadCommand
 
Variable - class sjm.engine.Variable.
A variable is a named term that can unify with other terms.
Variable - class sjm.examples.sling.Variable.
A variable is a named place that can store another function.
variable() - Method in class sjm.examples.query.ComparisonParser
 
variable() - Method in class sjm.examples.logic.LogikusParser
 
variable() - Method in class sjm.examples.sling.SlingParser
 
Variable(String) - Constructor for class sjm.engine.Variable
Create a variable with the given name.
Variable(String) - Constructor for class sjm.examples.sling.Variable
Create a new variable with the given name.
VariableAssembler - class sjm.examples.query.VariableAssembler.
This assembler pops a token from the stack, extracts its string, and pushes a Variable of that name.
VariableAssembler - class sjm.examples.logic.VariableAssembler.
Pops a string like "X" or "Person" from an assembly's stack and pushes a variable with that name.
VariableAssembler - class sjm.examples.sling.VariableAssembler.
This class looks up a variable by name, using the word on an assembly's stack, and pushes a Variable of that name.
VariableAssembler() - Constructor for class sjm.examples.logic.VariableAssembler
 
VariableAssembler() - Constructor for class sjm.examples.sling.VariableAssembler
 
VariableAssembler(Speller) - Constructor for class sjm.examples.query.VariableAssembler
Construct a VariableAssembler that will consult the given speller for the proper spelling of variable names.
variableAt(int) - Method in class sjm.engine.Unification
 
variableNames - Variable in class sjm.examples.query.ChipSpeller
 
variables() - Method in class sjm.engine.Structure
Returns the variables of the terms of this structure.
variables() - Method in interface sjm.engine.Term
Returns the variables associated with this term.
variables() - Method in class sjm.engine.Variable
Returns a unification containing just this variable.
variables() - Method in class sjm.engine.DynamicRule
Returns this executable rule's variables.
variables() - Method in class sjm.engine.Anonymous
Returns an empty unification.
vector() - Method in class sjm.engine.Unification
 
vectorReversedIntoTerms(Vector) - Static method in class sjm.examples.logic.StructureWithTermsAssembler
Reverse a vector into an array of terms.
VerboseRepetition - class sjm.examples.mechanics.VerboseRepetition.
The match() method of this class prints the collection of assemblies it receives, and the new collection it creates.
VerboseRepetition(Parser) - Constructor for class sjm.examples.mechanics.VerboseRepetition
Constructs a VerboseRepetition of the given parser.
VerboseRepetition(Parser, String) - Constructor for class sjm.examples.mechanics.VerboseRepetition
Constructs a VerboseRepetition of the given parser with the given name.
VerboseSequence - class sjm.examples.mechanics.VerboseSequence.
The match() method of this class prints the collection of assemblies it receives, and each new collection it creates.
VerboseSequence() - Constructor for class sjm.examples.mechanics.VerboseSequence
Constructs a nameless VerboseSequence.
VerboseSequence(String) - Constructor for class sjm.examples.mechanics.VerboseSequence
Constructs a Sequence with the given name.
visitAlternation(Alternation, Vector) - Method in class sjm.parse.ParserVisitor
Visit an alternation.
visitAlternation(Alternation, Vector) - Method in class sjm.examples.pretty.PrettyVisitor
Set an Alternation parser's assembler to be a PrettyAlternationAssembler object and visit this parser's children.
visitEmpty(Empty, Vector) - Method in class sjm.parse.ParserVisitor
Visit an empty parser.
visitEmpty(Empty, Vector) - Method in class sjm.examples.pretty.PrettyVisitor
Set an Empty parser's assembler to be a PrettyEmptyAssembler object.
visitRepetition(Repetition, Vector) - Method in class sjm.parse.ParserVisitor
Visit a repetition.
visitRepetition(Repetition, Vector) - Method in class sjm.examples.pretty.PrettyVisitor
Set a Repetition parser's pre-assembler to push a "fence", and set the parser's post-assembler to be a PrettyRepetitionAssembler object.
visitSequence(Sequence, Vector) - Method in class sjm.parse.ParserVisitor
Visit a sequence.
visitSequence(Sequence, Vector) - Method in class sjm.examples.pretty.PrettyVisitor
Set a Sequence parser's assembler to be a PrettySequenceAssembler object and visit the parser's children.
visitTerminal(Terminal, Vector) - Method in class sjm.parse.ParserVisitor
Visit a terminal.
visitTerminal(Terminal, Vector) - Method in class sjm.examples.pretty.PrettyVisitor
Set a Terminal object's assembler to be a PrettyTerminalAssembler object.
volume() - Static method in class sjm.examples.reserved.VolumeQuery2
 
volume() - Static method in class sjm.examples.tests.VolumeQuery
 
VolumeQuery - class sjm.examples.tests.VolumeQuery.
This class provides an ambiguous parser in its query method, which serves to show that the test classes can find ambiguity.
VolumeQuery() - Constructor for class sjm.examples.tests.VolumeQuery
 
VolumeQuery2 - class sjm.examples.reserved.VolumeQuery2.
This class shows the use of a customized tokenizer, and the use of a terminal that looks for the new token type.
VolumeQuery2() - Constructor for class sjm.examples.reserved.VolumeQuery2
 

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