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

S

s1 - Variable in class sjm.examples.sling.SlingIde
 
s1 - Variable in class sjm.examples.sling.SlingTarget
 
s1 - Variable in class sjm.examples.sling.SlingMediator
 
s1() - Method in class sjm.examples.sling.SlingParser
 
s1() - Method in class sjm.examples.sling.SlingIde
 
s1() - Method in class sjm.examples.sling.SlingTarget
Return the first slider.
s2 - Variable in class sjm.examples.sling.SlingIde
 
s2 - Variable in class sjm.examples.sling.SlingTarget
 
s2 - Variable in class sjm.examples.sling.SlingMediator
 
s2() - Method in class sjm.examples.sling.SlingParser
 
s2() - Method in class sjm.examples.sling.SlingIde
 
s2() - Method in class sjm.examples.sling.SlingTarget
Return the second slider.
Scale - class sjm.examples.sling.Scale.
A scale represents the relationship of two temporal variables that vary linearly with each other.
scale() - Method in class sjm.examples.sling.SlingParser
 
Scale() - Constructor for class sjm.examples.sling.Scale
Constructs a scale with the right number of arguments, which is useful for a prototypical scale.
Scale(SlingFunction, SlingFunction) - Constructor for class sjm.examples.sling.Scale
Constructs scale((0, 0), t, (1, 1), bFrom, bTo) .
Scale(SlingFunction, SlingFunction, SlingFunction, SlingFunction, SlingFunction) - Constructor for class sjm.examples.sling.Scale
Constructs scale(aFrom, a, aTo, bFrom, bTo).
ScaleAssembler - class sjm.examples.sling.ScaleAssembler.
This class augments the stack with default scale arguments, and then uses a FunctionAssembler with a Scale object to work on the assembly.
ScaleAssembler() - Constructor for class sjm.examples.sling.ScaleAssembler
 
ScanAssembler - class sjm.examples.robot.ScanAssembler.
Sets an assembly's target to be a ScanCommand and note its location.
ScanAssembler() - Constructor for class sjm.examples.robot.ScanAssembler
 
ScanCommand - class sjm.examples.robot.ScanCommand.
Just for demonstration.
scanCommand() - Method in class sjm.examples.robot.RobotRefactored
 
scanCommand() - Method in class sjm.examples.robot.RobotParser
 
ScanCommand() - Constructor for class sjm.examples.robot.ScanCommand
 
ScientificNumberState - class sjm.examples.tokens.ScientificNumberState.
A ScientificNumberState object returns a number from a reader.
ScientificNumberState() - Constructor for class sjm.examples.tokens.ScientificNumberState
 
scope - Variable in class sjm.engine.DynamicRule
 
scope - Variable in class sjm.examples.sling.SlingTarget
 
Scope - class sjm.engine.Scope.
A scope is a repository for variables.
Scope - class sjm.examples.sling.Scope.
This class holds a collection of variables.
Scope() - Constructor for class sjm.engine.Scope
Create an empty scope.
Scope() - Constructor for class sjm.examples.sling.Scope
 
Scope(Term[]) - Constructor for class sjm.engine.Scope
Create a scope that uses the variables in the supplied terms.
select() - Method in class sjm.examples.query.JaqlParser
Returns a parser that will recognize a select statement.
selectTerm() - Method in class sjm.examples.query.JaqlParser
 
SelectTermAssembler - class sjm.examples.query.SelectTermAssembler.
This assembler pops a term and passes it to a query builder.
SelectTermAssembler() - Constructor for class sjm.examples.query.SelectTermAssembler
 
selectTerms() - Method in class sjm.examples.query.JaqlParser
 
semicolon() - Static method in class sjm.examples.sling.SlingParser
 
sendBill() - Static method in class sjm.examples.tests.Dangle
 
separator() - Method in class sjm.parse.ParserTester
 
separator() - Method in class sjm.parse.chars.CharacterTester
 
seq() - Static method in class sjm.examples.pretty.ShowPrettyRepetitions
The parser to try:
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.
setAlsoOfferFrench(boolean) - Method in class sjm.examples.coffee.Coffee
Set the truth of the notion that, in addition to some other type of roast, we offer a french roast version of this coffee.
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.
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".
setComputing(boolean) - Method in class sjm.examples.logic.LogikusMediator
 
setComputing(boolean) - Method in class sjm.examples.sling.SlingMediator
 
setCountry(String) - Method in class sjm.examples.coffee.Coffee
Set the country of origin for of this type of coffee's beans.
setCustomer(Customer) - Method in class sjm.examples.cloning.OrderOk
Set the customer for this order.
setCustomer(Customer) - Method in class sjm.examples.cloning.OrderFlawed
Set the customer for this order.
setDiscard(boolean) - Method in class sjm.parse.Terminal
By default, terminals push themselves upon a assembly's stack, after a successful match.
setFormerName(String) - Method in class sjm.examples.coffee.Coffee
Set a former name of this coffee.
setIQ(int) - Method in class sjm.examples.cloning.Customer
Set this customer's IQ.
setLocation(String) - Method in class sjm.examples.robot.RobotCommand
Set the location for this command.
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 sjm.examples.cloning.Person
This method was created by Steve Metsker
setName(String) - Method in class sjm.examples.coffee.Coffee
Set the name of this coffee.
setPlot(RenderableCollection) - Method in class sjm.examples.sling.SlingPanel
Set the renderables this component will display, and set the number of lines to use for the display of each function.
setPreAssembler(Assembler) - Method in class sjm.parse.Repetition
Sets the object that will work on every assembly before matching against it.
setPrice(double) - Method in class sjm.examples.coffee.Coffee
Set the price per pound of this coffee
setProfessor(Professor) - Method in class sjm.examples.cloning.Course
Set the professor.
setReader(PushbackReader) - Method in class sjm.parse.tokens.Tokenizer
Set the reader to read from.
setRoast(String) - Method in class sjm.examples.coffee.Coffee
Set the roast of this coffee.
setShowLabels(boolean) - Method in class sjm.examples.pretty.PrettyParser
Sets the boolean that determines if this PrettyParser object will show labels for composite nodes.
setSpouse(Person) - Method in class sjm.examples.cloning.Person
This method was created by Steve Metsker
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.
setTextbook(Textbook) - Method in class sjm.examples.cloning.Course
Set the textbook.
setupCommand - Variable in class sjm.imperative.ForCommand
 
setValid(boolean) - Method in class sjm.parse.tokens.SymbolNode
 
setValue(SlingFunction) - Method in class sjm.examples.sling.Variable
Sets the value of the variable to the given function.
setWhitespaceChars(int, int, boolean) - Method in class sjm.parse.tokens.WhitespaceState
Establish the given characters as whitespace to ignore.
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.
ShowAlternationBasic - class sjm.examples.mechanics.ShowAlternationBasic.
This class shows the basics of using an alternation.
ShowAlternationBasic() - Constructor for class sjm.examples.mechanics.ShowAlternationBasic
 
ShowAlternationSet - class sjm.examples.mechanics.ShowAlternationSet.
This class shows that an alternation can, by itself, create a collection of possible matches.
ShowAlternationSet() - Constructor for class sjm.examples.mechanics.ShowAlternationSet
 
ShowAmbiguity - class sjm.examples.mechanics.ShowAmbiguity.
This class shows than a parser can find more than one way to completely consume an assembly.
ShowAmbiguity() - Constructor for class sjm.examples.mechanics.ShowAmbiguity
 
ShowAnonymous - class sjm.examples.engine.ShowAnonymous.
Show how to use an anonymous variable.
ShowAnonymous() - Constructor for class sjm.examples.engine.ShowAnonymous
 
ShowApostrophe - class sjm.examples.introduction.ShowApostrophe.
Show that apostrophes can be parts of words and can contain quoted strings.
ShowApostrophe() - Constructor for class sjm.examples.introduction.ShowApostrophe
 
ShowArithmetic - class sjm.examples.engine.ShowArithmetic.
Show how to perform arithmetic within the engine.
ShowArithmetic() - Constructor for class sjm.examples.engine.ShowArithmetic
 
ShowArithmeticEvaluation - class sjm.examples.engine.ShowArithmeticEvaluation.
Show the evaluation of an arithmetic operator.
ShowArithmeticEvaluation() - Constructor for class sjm.examples.engine.ShowArithmeticEvaluation
 
ShowArithmeticParser - class sjm.examples.arithmetic.ShowArithmeticParser.
Show how to use the ArithmeticParser class.
ShowArithmeticParser() - Constructor for class sjm.examples.arithmetic.ShowArithmeticParser
 
ShowArithmeticTest - class sjm.examples.tests.ShowArithmeticTest.
Test the ArithmeticParser class.
ShowArithmeticTest() - Constructor for class sjm.examples.tests.ShowArithmeticTest
 
ShowAssembler - class sjm.examples.design.ShowAssembler.
Show how to use an assembler.
ShowAssembler() - Constructor for class sjm.examples.design.ShowAssembler
 
ShowAssemblies - class sjm.examples.mechanics.ShowAssemblies.
This class shows that a repetition of an object of the Terminal base class will match an entire assembly.
ShowAssemblies() - Constructor for class sjm.examples.mechanics.ShowAssemblies
 
ShowAssemblyAppearance - class sjm.examples.introduction.ShowAssemblyAppearance.
Show how an assembly prints itself.
ShowAssemblyAppearance() - Constructor for class sjm.examples.introduction.ShowAssemblyAppearance
 
ShowAssignmentCommand - class sjm.examples.imperative.ShowAssignmentCommand.
This class provides an example of the assignment command.
ShowAssignmentCommand() - Constructor for class sjm.examples.imperative.ShowAssignmentCommand
 
ShowAstarAB - class sjm.examples.mechanics.ShowAstarAB.
This class shows that the "right" answer for a repetition object is not always to match all that it can.
ShowAstarAB() - Constructor for class sjm.examples.mechanics.ShowAstarAB
 
ShowBestMatch - class sjm.examples.mechanics.ShowBestMatch.
Show that Parser.bestMatch() matches a parser against an input as far as possible.
ShowBestMatch() - Constructor for class sjm.examples.mechanics.ShowBestMatch
 
ShowChipSource - class sjm.examples.query.ShowChipSource.
This class shows the chip facts that ChipSource makes available.
ShowChipSource() - Constructor for class sjm.examples.query.ShowChipSource
 
ShowCoffee - class sjm.examples.coffee.ShowCoffee.
Show the recognition of a list of types of coffee, reading from a file.
ShowCoffee() - Constructor for class sjm.examples.coffee.ShowCoffee
 
ShowCoffeeTest - class sjm.examples.tests.ShowCoffeeTest.
Test the CoffeeParser class.
ShowCoffeeTest() - Constructor for class sjm.examples.tests.ShowCoffeeTest
 
ShowCoffeeXML - class sjm.examples.coffee.ShowCoffeeXML.
Show the recognition of a list of types of coffee, reading from an XML file.
ShowCoffeeXML() - Constructor for class sjm.examples.coffee.ShowCoffeeXML
 
ShowCommand - class sjm.examples.imperative.ShowCommand.
This class shows a simple composition of commands from sjm.imperative.
ShowCommand() - Constructor for class sjm.examples.imperative.ShowCommand
 
ShowComparison - class sjm.examples.engine.ShowComparison.
Show a couple of comparisons.
ShowComparison() - Constructor for class sjm.examples.engine.ShowComparison
 
ShowCompleteMatch - class sjm.examples.mechanics.ShowCompleteMatch.
This class shows that Parser.completeMatch() returns a complete match, or null.
ShowCompleteMatch() - Constructor for class sjm.examples.mechanics.ShowCompleteMatch
 
ShowComposite - class sjm.examples.introduction.ShowComposite.
Show how to create a composite parser.
ShowComposite() - Constructor for class sjm.examples.introduction.ShowComposite
 
ShowCustomer - class sjm.examples.cloning.ShowCustomer.
Show how to clone a customer.
ShowCustomer() - Constructor for class sjm.examples.cloning.ShowCustomer
 
ShowCycle - class sjm.examples.mechanics.ShowCycle.
Show that a parser that contains a cycle prints itself without looping.
ShowCycle() - Constructor for class sjm.examples.mechanics.ShowCycle
 
ShowDangle - class sjm.examples.pretty.ShowDangle.
Show that the Dangle.statement() parser is ambiguous.
ShowDangle() - Constructor for class sjm.examples.pretty.ShowDangle
 
ShowDangleTest - class sjm.examples.tests.ShowDangleTest.
Test the statement parser from class Dangle.
ShowDangleTest() - Constructor for class sjm.examples.tests.ShowDangleTest
 
ShowDefaultTokenization - class sjm.examples.tokens.ShowDefaultTokenization.
This class shows some aspects of default tokenization.
ShowDefaultTokenization() - Constructor for class sjm.examples.tokens.ShowDefaultTokenization
 
ShowElementsAbove - class sjm.examples.introduction.ShowElementsAbove.
Show how to use Assembler.elementsAbove().
ShowElementsAbove() - Constructor for class sjm.examples.introduction.ShowElementsAbove
 
ShowEmpty - class sjm.examples.introduction.ShowEmpty.
Show how to put the Empty class to good use.
ShowEmpty() - Constructor for class sjm.examples.introduction.ShowEmpty
 
ShowEvaluation - class sjm.examples.engine.ShowEvaluation.
Show an evaluation.
ShowEvaluation() - Constructor for class sjm.examples.engine.ShowEvaluation
 
ShowFacts - class sjm.examples.engine.ShowFacts.
This class shows the construction of a couple of facts.
ShowFacts() - Constructor for class sjm.examples.engine.ShowFacts
 
ShowFailedUnification - class sjm.examples.engine.ShowFailedUnification.
This class shows two structures that fail to unify.
ShowFailedUnification() - Constructor for class sjm.examples.engine.ShowFailedUnification
 
ShowFunction - class sjm.examples.sling.ShowFunction.
Show the composition of the function sin(10*t).
ShowFunction() - Constructor for class sjm.examples.sling.ShowFunction
 
ShowHello - class sjm.examples.preface.ShowHello.
This is a "Hello world" program.
ShowHello() - Constructor for class sjm.examples.preface.ShowHello
 
ShowJoin - class sjm.examples.engine.ShowJoin.
Show a relational join in a coffee database.
ShowJoin() - Constructor for class sjm.examples.engine.ShowJoin
 
ShowList - class sjm.examples.engine.ShowList.
Show some lists.
ShowList() - Constructor for class sjm.examples.engine.ShowList
 
ShowLiteral - class sjm.examples.introduction.ShowLiteral.
Show a parser that recognizes an int declaration.
ShowLiteral() - Constructor for class sjm.examples.introduction.ShowLiteral
 
ShowLogikusTester - class sjm.examples.tests.ShowLogikusTester.
Test the Logikus parser class.
ShowLogikusTester() - Constructor for class sjm.examples.tests.ShowLogikusTester
 
ShowNewSymbol - class sjm.examples.tokens.ShowNewSymbol.
This class shows how to add a new multi-character symbol.
ShowNewSymbol() - Constructor for class sjm.examples.tokens.ShowNewSymbol
 
ShowNewTerminals - class sjm.examples.mechanics.ShowNewTerminals.
Show the use of new subclasses of Terminal.
ShowNewTerminals() - Constructor for class sjm.examples.mechanics.ShowNewTerminals
 
ShowNoComment - class sjm.examples.tokens.ShowNoComment.
This class shows how to not ignore Java-style comments.
ShowNoComment() - Constructor for class sjm.examples.tokens.ShowNoComment
 
ShowNot - class sjm.examples.engine.ShowNot.
Show a Not object in action.
ShowNot() - Constructor for class sjm.examples.engine.ShowNot
 
ShowNums - class sjm.examples.introduction.ShowNums.
Show what counts as a number.
ShowNums() - Constructor for class sjm.examples.introduction.ShowNums
 
ShowOrderFlawed - class sjm.examples.cloning.ShowOrderFlawed.
Show the flaw in OrderFlawed.
ShowOrderFlawed() - Constructor for class sjm.examples.cloning.ShowOrderFlawed
 
ShowOrderOk - class sjm.examples.cloning.ShowOrderOk.
Show an Ok order, to compare OrderOk with OrderFlawed.
ShowOrderOk() - Constructor for class sjm.examples.cloning.ShowOrderOk
 
ShowPrettyAlternations - class sjm.examples.pretty.ShowPrettyAlternations.
Show how the pretty printer displays a deep match of alternations.
ShowPrettyAlternations() - Constructor for class sjm.examples.pretty.ShowPrettyAlternations
 
ShowPrettyRepetitions - class sjm.examples.pretty.ShowPrettyRepetitions.
Show that the pretty printer will find all the parses that result from applying the parser Word* Word* against a string with four words.
ShowPrettyRepetitions() - Constructor for class sjm.examples.pretty.ShowPrettyRepetitions
 
ShowProgram - class sjm.examples.engine.ShowProgram.
Show the construction and use of a simple program.
ShowProgram() - Constructor for class sjm.examples.engine.ShowProgram
 
ShowProof - class sjm.examples.engine.ShowProof.
Show a simple query proving itself.
ShowProof() - Constructor for class sjm.examples.engine.ShowProof
 
ShowPush - class sjm.examples.mechanics.ShowPush.
Show the value of not pushing the element a terminal matches.
ShowPush() - Constructor for class sjm.examples.mechanics.ShowPush
 
ShowQuotedString - class sjm.examples.introduction.ShowQuotedString.
Show how to recognize a quoted string.
ShowQuotedString() - Constructor for class sjm.examples.introduction.ShowQuotedString
 
ShowQuoteState - class sjm.examples.tokens.ShowQuoteState.
This class demonstrates how QuoteState works.
ShowQuoteState() - Constructor for class sjm.examples.tokens.ShowQuoteState
 
ShowRegularParser - class sjm.examples.regular.ShowRegularParser.
Show how to use the RegularParser class.
ShowRegularParser() - Constructor for class sjm.examples.regular.ShowRegularParser
 
ShowRegularTester - class sjm.examples.tests.ShowRegularTester.
Test the RegularParser class.
ShowRegularTester() - Constructor for class sjm.examples.tests.ShowRegularTester
 
ShowRepetition - class sjm.examples.introduction.ShowRepetition.
Show that a Repetition object creates multiple interpretations.
ShowRepetition() - Constructor for class sjm.examples.introduction.ShowRepetition
 
ShowRepetitionMatch - class sjm.examples.mechanics.ShowRepetitionMatch.
This class shows that a repetition object creates more than one match from a single assembly.
ShowRepetitionMatch() - Constructor for class sjm.examples.mechanics.ShowRepetitionMatch
 
ShowReserved - class sjm.examples.reserved.ShowReserved.
This class shows the use of a customized tokenizer, and the use of a terminal that looks for the new token type.
ShowReserved() - Constructor for class sjm.examples.reserved.ShowReserved
 
showResults(Query) - Method in class sjm.examples.query.JaqlMediator
 
ShowRobotParser - class sjm.examples.robot.ShowRobotParser.
Show how to use the RobotParser class.
ShowRobotParser() - Constructor for class sjm.examples.robot.ShowRobotParser
 
ShowRobotRefactored - class sjm.examples.robot.ShowRobotRefactored.
Show how to use a parser class that arranges its subparsers as methods.
ShowRobotRefactored() - Constructor for class sjm.examples.robot.ShowRobotRefactored
 
ShowRobotTest - class sjm.examples.tests.ShowRobotTest.
Test the RobotParser class.
ShowRobotTest() - Constructor for class sjm.examples.tests.ShowRobotTest
 
ShowRule - class sjm.examples.engine.ShowRule.
Show a rule in action.
ShowRule() - Constructor for class sjm.examples.engine.ShowRule
 
ShowScientific - class sjm.examples.tokens.ShowScientific.
This class shows how to use a tokenizer that accepts scientific notation with an arithmetic parser.
ShowScientific() - Constructor for class sjm.examples.tokens.ShowScientific
 
ShowScreening - class sjm.examples.engine.ShowScreening.
Show how a query can screen for certain facts.
ShowScreening() - Constructor for class sjm.examples.engine.ShowScreening
 
ShowSequenceLeftovers - class sjm.examples.mechanics.ShowSequenceLeftovers.
This class shows the complete results of matching an arithmetic expression parser against an expression.
ShowSequenceLeftovers() - Constructor for class sjm.examples.mechanics.ShowSequenceLeftovers
 
ShowSequenceManual - class sjm.examples.mechanics.ShowSequenceManual.
This class shows that a Sequence match is equivalent to a series of match() calls.
ShowSequenceManual() - Constructor for class sjm.examples.mechanics.ShowSequenceManual
 
ShowSequencePinch - class sjm.examples.mechanics.ShowSequencePinch.
This class shows that a Sequence match may widen and then narrow the state of a match.
ShowSequencePinch() - Constructor for class sjm.examples.mechanics.ShowSequencePinch
 
ShowSequenceSimple - class sjm.examples.mechanics.ShowSequenceSimple.
This class uses a VerboseSequence to show the progress a sequence makes during matching.
ShowSequenceSimple() - Constructor for class sjm.examples.mechanics.ShowSequenceSimple
 
ShowStack - class sjm.examples.design.ShowStack.
Show how to use an assembly's stack.
ShowStack() - Constructor for class sjm.examples.design.ShowStack
 
ShowStringFunction - class sjm.examples.string.ShowStringFunction.
Create and use a string function at runtime.
ShowStringFunction() - Constructor for class sjm.examples.string.ShowStringFunction
 
ShowStructure - class sjm.examples.engine.ShowStructure.
This class shows a simple structure.
ShowStructure() - Constructor for class sjm.examples.engine.ShowStructure
 
ShowStructureEvaluation - class sjm.examples.engine.ShowStructureEvaluation.
Show the evaluation of a structure.
ShowStructureEvaluation() - Constructor for class sjm.examples.engine.ShowStructureEvaluation
 
ShowStructureUnification - class sjm.examples.engine.ShowStructureUnification.
Show two structures unifying.
ShowStructureUnification() - Constructor for class sjm.examples.engine.ShowStructureUnification
 
showStudents() - Method in class sjm.examples.karate.KaratePuzzle
 
ShowSuppliedReader - class sjm.examples.tokens.ShowSuppliedReader.
This class shows that you can supply your own reader to a tokenizer.
ShowSuppliedReader() - Constructor for class sjm.examples.tokens.ShowSuppliedReader
 
ShowTerminal - class sjm.examples.introduction.ShowTerminal.
Show how to recognize terminals in a string.
ShowTerminal() - Constructor for class sjm.examples.introduction.ShowTerminal
 
ShowTokenAssembly - class sjm.examples.introduction.ShowTokenAssembly.
Show how a TokenAssembly divides up a string.
ShowTokenAssembly() - Constructor for class sjm.examples.introduction.ShowTokenAssembly
 
ShowTokenizer - class sjm.examples.tokens.ShowTokenizer.
Show a default Tokenizer object at work.
ShowTokenizer() - Constructor for class sjm.examples.tokens.ShowTokenizer
 
ShowTokenizer2 - class sjm.examples.tokens.ShowTokenizer2.
Show a StreamTokenizer object at work.
ShowTokenizer2() - Constructor for class sjm.examples.tokens.ShowTokenizer2
 
ShowTokenString - class sjm.examples.tokens.ShowTokenString.
This class shows a collaboration of objects from classes Tokenizer, TokenStringSource, TokenString, TokenAssembly.
ShowTokenString() - Constructor for class sjm.examples.tokens.ShowTokenString
 
ShowToString1 - class sjm.examples.mechanics.ShowToString1.
Show how a simple composite prints itself.
ShowToString1() - Constructor for class sjm.examples.mechanics.ShowToString1
 
ShowToString2 - class sjm.examples.mechanics.ShowToString2.
Show how a moderately complex composite parser prints itself.
ShowToString2() - Constructor for class sjm.examples.mechanics.ShowToString2
 
ShowTrack - class sjm.examples.track.ShowTrack.
Show some examples of using a Track.
ShowTrack() - Constructor for class sjm.examples.track.ShowTrack
 
ShowTwoStructureQuery - class sjm.examples.engine.ShowTwoStructureQuery.
Show a two-structure query.
ShowTwoStructureQuery() - Constructor for class sjm.examples.engine.ShowTwoStructureQuery
 
ShowVacation - class sjm.examples.mechanics.ShowVacation.
This class uses a VerboseRepetition to show the progress a repetition makes during matching.
ShowVacation() - Constructor for class sjm.examples.mechanics.ShowVacation
 
ShowVariable - class sjm.examples.engine.ShowVariable.
This class shows some variables.
ShowVariable() - Constructor for class sjm.examples.engine.ShowVariable
 
ShowVariableUnification - class sjm.examples.engine.ShowVariableUnification.
Show a variable unifying.
ShowVariableUnification() - Constructor for class sjm.examples.engine.ShowVariableUnification
 
ShowVariableUnification2 - class sjm.examples.engine.ShowVariableUnification2.
Show a variable unifying with a structure and then another variable.
ShowVariableUnification2() - Constructor for class sjm.examples.engine.ShowVariableUnification2
 
ShowVariableUnification3 - class sjm.examples.engine.ShowVariableUnification3.
Show a variable unifying with a structure and then another variable.
ShowVariableUnification3() - Constructor for class sjm.examples.engine.ShowVariableUnification3
 
ShowVolumeTest - class sjm.examples.tests.ShowVolumeTest.
Test the query parser from class VolumeQuery .
ShowVolumeTest() - Constructor for class sjm.examples.tests.ShowVolumeTest
 
ShowWord - class sjm.examples.tokens.ShowWord.
This class shows a Tokenizer consuming a word.
ShowWord() - Constructor for class sjm.examples.tokens.ShowWord
 
ShowZeroMatch - class sjm.examples.mechanics.ShowZeroMatch.
This class shows that a repetition object matches successfully once, when the subparser matches an assembly 0 times.
ShowZeroMatch() - Constructor for class sjm.examples.mechanics.ShowZeroMatch
 
Sin - class sjm.examples.sling.Sin.
This class wraps a sin function around another source function.
Sin() - Constructor for class sjm.examples.sling.Sin
Constructs sin(t).
Sin(SlingFunction) - Constructor for class sjm.examples.sling.Sin
Constructs a function object that wraps a sin function around the given source function.
size() - Method in class sjm.engine.Unification
Returns the number of variables in this unification.
sjm.combinatorics - package sjm.combinatorics
 
sjm.engine - package sjm.engine
 
sjm.examples.arithmetic - package sjm.examples.arithmetic
 
sjm.examples.chips - package sjm.examples.chips
 
sjm.examples.cloning - package sjm.examples.cloning
 
sjm.examples.coffee - package sjm.examples.coffee
 
sjm.examples.design - package sjm.examples.design
 
sjm.examples.engine - package sjm.examples.engine
 
sjm.examples.imperative - package sjm.examples.imperative
 
sjm.examples.introduction - package sjm.examples.introduction
 
sjm.examples.karate - package sjm.examples.karate
 
sjm.examples.logic - package sjm.examples.logic
 
sjm.examples.mechanics - package sjm.examples.mechanics
 
sjm.examples.midimath - package sjm.examples.midimath
 
sjm.examples.minimath - package sjm.examples.minimath
 
sjm.examples.preface - package sjm.examples.preface
 
sjm.examples.pretty - package sjm.examples.pretty
 
sjm.examples.query - package sjm.examples.query
 
sjm.examples.regular - package sjm.examples.regular
 
sjm.examples.reserved - package sjm.examples.reserved
 
sjm.examples.robot - package sjm.examples.robot
 
sjm.examples.sling - package sjm.examples.sling
 
sjm.examples.string - package sjm.examples.string
 
sjm.examples.tests - package sjm.examples.tests
 
sjm.examples.tokens - package sjm.examples.tokens
 
sjm.examples.track - package sjm.examples.track
 
sjm.imperative - package sjm.imperative
 
sjm.parse - package sjm.parse
 
sjm.parse.chars - package sjm.parse.chars
 
sjm.parse.tokens - package sjm.parse.tokens
 
sjm.utensil - package sjm.utensil
 
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
 
slider - Variable in class sjm.examples.sling.Slider
 
slider - Variable in class sjm.examples.sling.SliderAssembler
 
Slider - class sjm.examples.sling.Slider.
This class holds a JSlider component, and returns the the slider's value in its f(t) call.
slider() - Method in class sjm.examples.sling.SlingIde
 
Slider(JSlider) - Constructor for class sjm.examples.sling.Slider
Constructs a function that wraps the given slider.
SliderAssembler - class sjm.examples.sling.SliderAssembler.
Uses one of the sliders in an assembly's target to create a Slider function, and pushes this function.
SliderAssembler(int) - Constructor for class sjm.examples.sling.SliderAssembler
Creates an assembler that will extract the indicated slider from an assembly's target.
sliderBox(String, JSlider) - Method in class sjm.examples.sling.SlingIde
 
sliderPanel() - Method in class sjm.examples.sling.SlingIde
 
Sling - class sjm.examples.sling.Sling.
This class represents the location of a sling stone in terms of the length of a sling's strap, and the speed of the stone's rotation around the slinger's head.
Sling() - Constructor for class sjm.examples.sling.Sling
Constructs sling(t, t), which is mainly useful for a prototypical sling.
Sling(SlingFunction, SlingFunction) - Constructor for class sjm.examples.sling.Sling
Constructs a sling from the given sources, using the y component of the first function as a sling's strap length, and the y component of the second function as the sling's speed.
SlingFunction - class sjm.examples.sling.SlingFunction.
SlingFunction is an abstract class that requires subclasses to implement the method Point f(double t).
SlingFunction() - Constructor for class sjm.examples.sling.SlingFunction
Construct a function that wraps nothing.
SlingFunction(SlingFunction) - Constructor for class sjm.examples.sling.SlingFunction
Construct a function that wraps the provided function.
SlingFunction(SlingFunction[]) - Constructor for class sjm.examples.sling.SlingFunction
Construct a function that wraps the provided functions.
SlingFunction(SlingFunction, SlingFunction) - Constructor for class sjm.examples.sling.SlingFunction
Construct a function that wraps the provided functions.
SlingIde - class sjm.examples.sling.SlingIde.
This class provides an interactive development environment for the Sling programming language.
SlingIde() - Constructor for class sjm.examples.sling.SlingIde
 
SlingMediator - class sjm.examples.sling.SlingMediator.
This class supports a SlingIde object, handling the interaction of the IDE's components.
SlingMediator() - Constructor for class sjm.examples.sling.SlingMediator
 
SlingPanel - class sjm.examples.sling.SlingPanel.
A SlingPlanel draws a RenderableCollection.
SlingPanel() - Constructor for class sjm.examples.sling.SlingPanel
 
SlingParser - class sjm.examples.sling.SlingParser.
This class provides a parser for Sling, an imperative language that plots the path of a sling stone.
SlingParser() - Constructor for class sjm.examples.sling.SlingParser
 
SlingTarget - class sjm.examples.sling.SlingTarget.
This class provides a target for a SlingParser .
SlingTarget(JSlider, JSlider) - Constructor for class sjm.examples.sling.SlingTarget
Construct a target, given two sliders.
SlingTester - class sjm.examples.sling.SlingTester.
This class tests that class SlingParser can parse random language elements.
SlingTester() - Constructor for class sjm.examples.sling.SlingTester
Create a tester for the primary Sling parser.
snake() - Static method in class sjm.examples.pretty.ShowPrettyAlternations
Returns a parser that recognizes some snakes.
solve() - Method in class sjm.examples.karate.KaratePuzzle
Generate all permutations of last names and specialties, and check each arrangement to see if it passes all the clues that the puzzle specifies.
source - Variable in class sjm.examples.string.StringFunction
 
source - Variable in class sjm.engine.ConsultingStructure
 
source - Variable in class sjm.examples.sling.SlingFunction
 
specialties - Variable in class sjm.examples.karate.KaratePuzzle
 
specialty - Variable in class sjm.examples.karate.Student
 
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.
speller - Variable in class sjm.examples.query.JaqlParser
 
speller - Static variable in class sjm.examples.query.JaqlTester
 
speller - Variable in class sjm.examples.query.QueryBuilder
 
speller - Static variable in class sjm.examples.query.ChipSource
 
speller - Variable in class sjm.examples.query.ComparisonParser
 
speller - Variable in class sjm.examples.query.JaqlMediator
 
Speller - interface sjm.examples.query.Speller.
This interface defines the role of a speller, that returns the proper spelling of a class or variable name, given any spelling.
speller() - Static method in class sjm.examples.query.JaqlTester
 
speller() - Method in class sjm.examples.query.JaqlMediator
 
squamata() - Static method in class sjm.examples.pretty.ShowPrettyAlternations
Returns a parser that recognizes some members of the squamata order.
stack - Variable in class sjm.parse.Assembly
 
stackIsEmpty() - Method in class sjm.parse.Assembly
Returns true if this assembly's stack is empty.
StarAssembler - class sjm.examples.regular.StarAssembler.
Pop a parser from the stack and push a new Repetition of it.
StarAssembler() - Constructor for class sjm.examples.regular.StarAssembler
 
start() - Static method in class sjm.examples.minimath.MinimathParser
Returns a parser that will recognize a Minimath expression.
start() - Method in class sjm.examples.query.JaqlParser
Returns a parser that will recognize a select statement.
start() - Static method in class sjm.examples.robot.RobotParser
Returns a parser that will recognize a command for a track robot and build a corresponding command object.
start() - Static method in class sjm.examples.coffee.CoffeeParser
Return the primary parser for this class -- coffee().
start() - Static method in class sjm.examples.regular.RegularParser
Returns a parser that will recognize a regular expression.
start() - Static method in class sjm.examples.arithmetic.ArithmeticParser
Returns a parser that will recognize an arithmetic expression.
start() - Static method in class sjm.examples.logic.LogikusParser
Return a parser that recognizes the grammar:
start() - Method in class sjm.examples.sling.SlingParser
 
startElement(Object) - Method in class sjm.examples.coffee.Helper
An application that uses a SAX parser should call this method upon receiving a startElement event.
startElement(Object) - Method in class sjm.examples.coffee.OrFrenchHelper
Sets a target coffee object's alsoOfferFrench attribute to true.
startElement(Object) - Method in class sjm.examples.coffee.NewCoffeeHelper
Add a new coffee object to the end of a vector of coffees.
startElement(String, String, String, Attributes) - Method in class sjm.examples.coffee.ShowCoffeeXML
Receive notification of the start of an element.
stateChanged(ChangeEvent) - Method in class sjm.examples.sling.SlingMediator
 
statement - Static variable in class sjm.examples.tests.Dangle
 
statement - Variable in class sjm.examples.sling.SlingParser
 
statement() - Static method in class sjm.examples.tests.Dangle
Return a parser that recognizes the grammar:
statement() - Method in class sjm.examples.sling.SlingParser
 
statements() - Method in class sjm.examples.sling.SlingParser
 
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.
StringFunction - class sjm.examples.string.StringFunction.
A StringFunction implements the method f() to accept a string, apply a function to it, and return a string.
StringFunction() - Constructor for class sjm.examples.string.StringFunction
Construct a function whose source function is identity, which does not change a string.
StringFunction(StringFunction) - Constructor for class sjm.examples.string.StringFunction
Construct a function whose source is the given function.
structure - Variable in class sjm.examples.logic.LogikusParser
 
Structure - class sjm.engine.Structure.
A Structure is a functor associated with a number of terms; a functor can be any object.
structure() - Method in class sjm.examples.logic.LogikusParser
 
Structure(Object) - Constructor for class sjm.engine.Structure
Contructs a structure from the specified object.
Structure(Object, Term[]) - Constructor for class sjm.engine.Structure
Constructs a structure with the specified functor and terms.
structures - Variable in class sjm.engine.Rule
 
StructureWithTermsAssembler - class sjm.examples.logic.StructureWithTermsAssembler.
Pops the terms and functor of a structure from an assembly's stack, builds a structure, and pushes it.
StructureWithTermsAssembler() - Constructor for class sjm.examples.logic.StructureWithTermsAssembler
 
Student - class sjm.examples.karate.Student.
KaratePuzzle uses this class as a data structure.
Student(String) - Constructor for class sjm.examples.karate.Student
Create a Student with the specified first name.
studentNamed(String) - Method in class sjm.examples.karate.KaratePuzzle
Return the Student who has the given last name
students - Variable in class sjm.examples.karate.KaratePuzzle
 
subparser - Variable in class sjm.parse.Repetition
 
subparsers - Variable in class sjm.parse.CollectionParser
the parsers this parser is a collection of
Substring - class sjm.examples.string.Substring.
This class wraps a substring function around an instance of another StringFunction class.
Substring(StringFunction, int) - Constructor for class sjm.examples.string.Substring
Construct a Substring function that will wrap itself around the supplied source, returning the portion of a string from the given index to the string's end.
Substring(StringFunction, int, int) - Constructor for class sjm.examples.string.Substring
Construct a Substring function that will wrap itself around the supplied source, returning the portion of a string from the given from index to the given to index.
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.
symbolState - Variable in class sjm.parse.tokens.Tokenizer
 
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).

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