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

E

e - Static variable in class sjm.examples.minimath.MinimathParser
 
e - Variable in class sjm.engine.ProgramEnumerator
 
e() - Static method in class sjm.examples.minimath.MinimathParser
Return a parser that will recognize a Minimath expression.
element() - Method in class sjm.examples.sling.SlingParser
 
elementClone(Vector) - Static method in class sjm.parse.Parser
Create a copy of a vector, cloning each element of the vector.
elements() - Method in class sjm.engine.Unification
Return the variables in this unification.
elements() - Method in class sjm.examples.sling.RenderableCollection
Returns an enumeration of the renderable functions in this collection.
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.
elseCommand - Variable in class sjm.imperative.IfCommand
 
empty - Static variable in class sjm.engine.Unification
 
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
 
emptyList - Static variable in class sjm.engine.Structure
 
EmptyList - class sjm.engine.EmptyList.
The EmptyList is a list with no terms.
EmptyList() - Constructor for class sjm.engine.EmptyList
Constructs the empty list singleton.
endCommand - Variable in class sjm.imperative.ForCommand
 
endElement(String, String, String) - Method in class sjm.examples.coffee.ShowCoffeeXML
Receive notification of the end of an element, which means that no helper should be active.
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
 
EOF - Static variable in class sjm.parse.tokens.Token
A constant indicating that there are no more tokens
equal(Object, Object) - Static method in class sjm.examples.coffee.Coffee
Compares two objects for equality, treating nulls carefullly, and relying on the first object's implementation of equals().
equals(Object) - Method in class sjm.parse.tokens.Token
Returns true if the supplied object is an equivalent token.
equals(Object) - Method in class sjm.engine.Structure
Returns true if the supplied object is an equivalent structure.
equals(Object) - Method in class sjm.engine.Rule
Returns true if the supplied object is an equivalent rule.
equals(Object) - Method in class sjm.engine.Variable
Returns true if the supplied object is an equivalent variable.
equals(Object) - Method in class sjm.engine.Not
Returns true if the supplied object is an equivalent not structure.
equals(Object) - Method in class sjm.examples.coffee.Coffee
Compares this object against the specified object.
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.
eval() - Method in class sjm.engine.Structure
Return this structure, if it is nonatomic, or just the functor, if this is an atom.
eval() - Method in interface sjm.engine.Term
The value that this term should present to an evaluating function.
eval() - Method in class sjm.engine.Atom
Returns the functor if this structure.
eval() - Method in class sjm.engine.Variable
Returns the value of this variable.
eval() - Method in class sjm.engine.ArithmeticOperator
Returns the result of applying this object's operator against the arithmetic values of its two terms.
eval() - Method in class sjm.engine.Anonymous
Return the value of this anonymous variable to use in functions; this is meaningless in logic programming, but the method returns the name of this variable.
eval() - Method in class sjm.engine.Comparison
Returns Boolean.TRUE if the comparison operator holds true between the values of the two terms.
eval() - Method in class sjm.examples.sling.SlingFunction
Creates a new version of an object, evaluating any variables in the object's subfunctions to non-variable values.
eval() - Method in class sjm.examples.sling.Variable
Return the value of the contents of this variable.
eval() - Method in class sjm.examples.sling.FunctionComparison
Returns Boolean.TRUE if the comparison operator holds true between the values of the two terms.
eval(ArithmeticTerm) - Method in class sjm.engine.ArithmeticOperator
 
evaluation - Variable in class sjm.imperative.AssignmentCommand
 
Evaluation - class sjm.engine.Evaluation.
An Evaluation unifies a term with the value of another term.
evaluation() - Method in class sjm.examples.logic.LogikusParser
 
Evaluation(Term, Term) - Constructor for class sjm.engine.Evaluation
Constructs an Evaluation that will unify the first term with the second term during proofs.
EvaluationAssembler - class sjm.examples.logic.EvaluationAssembler.
Pops two terms, constructs an Evaluation from these terms, and pushes it.
EvaluationAssembler() - Constructor for class sjm.examples.logic.EvaluationAssembler
 
EvaluationException - exception sjm.engine.EvaluationException.
Signals that an ArithmeticOperator could not be evaluated.
EvaluationException() - Constructor for class sjm.engine.EvaluationException
Constructs an EvaluationException with no detail message.
EvaluationException(String) - Constructor for class sjm.engine.EvaluationException
Constructs an EvaluationException with the specified detail message.
execute() - Method in class sjm.examples.robot.RobotCommand
If we were really driving a factory, this is where we would turn high level commands into the protocols that various machines would understand.
execute() - Method in class sjm.imperative.Command
Perform the request encapsulated in this command.
execute() - Method in class sjm.imperative.NullCommand
Does nothing.
execute() - Method in class sjm.imperative.WhileCommand
Execute this "while" command.
execute() - Method in class sjm.imperative.IfCommand
Execute this "if" command.
execute() - Method in class sjm.imperative.PrintlnCommand
Print the value of this object's term onto the output writer.
execute() - Method in class sjm.imperative.AssignmentCommand
Execute the assignment.
execute() - Method in class sjm.imperative.ForCommand
Execute this "for" command.
execute() - Method in class sjm.imperative.ReadCommand
Read in a string from this object's input reader, and assign the string to this object's variable.
execute() - Method in class sjm.imperative.CommandSequence
Ask each command in the sequence to execute.
execute() - Method in class sjm.examples.sling.AddFunctionCommand
Evaluate the function and add it to the collection.
execute() - Method in class sjm.examples.sling.AssignFunctionCommand
Evaluate the function and assign the resulting, new function as the value of this object's variable.
ExpAssembler - class sjm.examples.arithmetic.ExpAssembler.
Pop two numbers from the stack and push the result of exponentiating the lower number to the upper one.
ExpAssembler() - Constructor for class sjm.examples.arithmetic.ExpAssembler
 
expected - Variable in class sjm.examples.track.TrackException
 
expFactor() - Method in class sjm.examples.arithmetic.ArithmeticParser
 
expression - Static variable in class sjm.examples.midimath.MidiParser
 
expression - Static variable in class sjm.examples.midimath.MidiloopNot
 
expression - Variable in class sjm.examples.query.ComparisonParser
 
expression - Variable in class sjm.examples.regular.RegularParser
 
expression - Variable in class sjm.examples.arithmetic.ArithmeticParser
 
expression - Variable in class sjm.examples.logic.LogikusParser
 
expression - Variable in class sjm.examples.sling.SlingParser
 
expression() - Method in class sjm.examples.midimath.Midiloop
Returns a parser that will recognize a Midimath expression.
expression() - Method in class sjm.examples.midimath.Midimath
Returns a parser that will recognize a Midimath expression.
expression() - Method in class sjm.examples.midimath.MidiParser
Returns a parser that will recognize a Midimath expression.
expression() - Method in class sjm.examples.midimath.MidiloopNot
Returns a parser that will recognize a Midimath expression.
expression() - Method in class sjm.examples.query.ComparisonParser
Returns a parser that will recognize an arithmetic expression.
expression() - Method in class sjm.examples.regular.RegularParser
Returns a parser that will recognize a regular expression.
expression() - Method in class sjm.examples.arithmetic.ArithmeticParser
Returns a parser that will recognize an arithmetic expression.
expression() - Method in class sjm.examples.logic.LogikusParser
 
expression() - Static method in class sjm.examples.tests.Dangle
 
expression() - Method in class sjm.examples.sling.SlingParser
 
EXPWIDTH - Static variable in class sjm.parse.Repetition
 
Extrema - class sjm.examples.sling.Extrema.
This class holds onto two points, so that methods that find a maximum and minimum value over some range can return both points as a single Extrema.
extrema(int) - Method in class sjm.examples.sling.SlingFunction
Return the extreme values of this function will reach when rendered with the given number of points.
Extrema(Point, Point) - Constructor for class sjm.examples.sling.Extrema
Creates a pair of points as a single value.
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