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

M

m - Variable in class sjm.combinatorics.Permutations
 
m - Variable in class sjm.combinatorics.Combinations
 
m() - Static method in class sjm.examples.minimath.MinimathParser
 
main(String[]) - Static method in class sjm.examples.karate.KaratePuzzle
Solve the karate puzzle.
main(String[]) - Static method in class sjm.parse.tokens.TokenStringSource
Shows the example in the class comment.
main(String[]) - Static method in class sjm.examples.tokens.ShowTokenString
Show a collaboration of token-related objects.
main(String[]) - Static method in class sjm.examples.tokens.ShowNewSymbol
Demonstrate how to add a multi-character symbol.
main(String[]) - Static method in class sjm.examples.tokens.ShowDefaultTokenization
Show some aspects of default tokenization.
main(String[]) - Static method in class sjm.examples.tokens.ShowTokenizer
Show a default Tokenizer at work.
main(String[]) - Static method in class sjm.examples.tokens.ShowTokenizer2
Show a StreamTokenizer at work.
main(String[]) - Static method in class sjm.examples.tokens.ShowSuppliedReader
Just an example.
main(String[]) - Static method in class sjm.examples.tokens.ScientificNumberState
Just a demo.
main(String[]) - Static method in class sjm.examples.tokens.ShowQuoteState
Demonstrate the operation of the quote state.
main(String[]) - Static method in class sjm.examples.tokens.ShowScientific
Show how to use a tokenizer that accepts scientific notation with an arithmetic parser.
main(String[]) - Static method in class sjm.examples.tokens.ShowWord
Just an example.
main(String[]) - Static method in class sjm.examples.tokens.ShowNoComment
Demonstrate how to not ignore comments
main(String[]) - Static method in class sjm.examples.midimath.Midiloop
Demonstrate an infinite loop!
main(String[]) - Static method in class sjm.examples.midimath.Midimath
Demonstrate a parser for Midimath.
main(String[]) - Static method in class sjm.examples.midimath.MidiParser
Demonstrate that this utility class does not loop.
main(String[]) - Static method in class sjm.examples.midimath.MidiloopNot
Demonstrate that this utility class does not loop.
main(String[]) - Static method in class sjm.examples.string.ShowStringFunction
Create and use a string function at runtime.
main(String[]) - Static method in class sjm.examples.cloning.CannotCloneWithoutCloneable
Just a demo, this will compile but not run.
main(String[]) - Static method in class sjm.examples.cloning.CannotCloneAnotherType
Just a demo, this will not compile.
main(String[]) - Static method in class sjm.examples.cloning.CloningOk
Just a demo, this will compile and run fine.
main(String[]) - Static method in class sjm.examples.cloning.ShowOrderFlawed
Show the flaw in OrderFlaw.
main(String[]) - Static method in class sjm.examples.cloning.ShowOrderOk
Show an OrderOk, which makes a proper copy of an order, including copying an order's customer.
main(String[]) - Static method in class sjm.examples.cloning.ShowCustomer
Just a little demo.
main(String[]) - Static method in class sjm.examples.minimath.MinimathParser
Just a little demo.
main(String[]) - Static method in class sjm.examples.minimath.MinimathAnonymous
Just a little demo.
main(String[]) - Static method in class sjm.examples.minimath.MiniLeftRecursion
Demonstrates an infinite loop.
main(String[]) - Static method in class sjm.examples.minimath.MinimathCompute
Just a little demo.
main(String[]) - Static method in class sjm.examples.minimath.MinimathRecognize
Just a little demo.
main(String[]) - Static method in class sjm.examples.minimath.MiniWrongAssociativity
Demonstrates incorrect associativity.
main(String[]) - Static method in class sjm.examples.query.JaqlTester
Run a test.
main(String[]) - Static method in class sjm.examples.query.ShowChipSource
Show the chip facts that ChipSource makes available.
main(String[]) - Static method in class sjm.examples.query.JaqlUe
Launch the interactive development environment.
main(String[]) - Static method in class sjm.examples.engine.ShowNot
Show a Not object in action.
main(String[]) - Static method in class sjm.examples.engine.ShowStructure
Show a simple structure.
main(String[]) - Static method in class sjm.examples.engine.ShowProgram
Show the construction and use of a simple program.
main(String[]) - Static method in class sjm.examples.engine.ShowFacts
Shows the construction of a couple of facts.
main(String[]) - Static method in class sjm.examples.engine.ShowArithmetic
Show how to perform arithmetic within the engine.
main(String[]) - Static method in class sjm.examples.engine.ShowJoin
Show a relational join in a coffee database.
main(String[]) - Static method in class sjm.examples.engine.ShowScreening
Show the construction and use of a simple program.
main(String[]) - Static method in class sjm.examples.engine.ShowArithmeticEvaluation
Show the evaluation of an arithmetic operator.
main(String[]) - Static method in class sjm.examples.engine.ShowStructureUnification
Show two structures unifying.
main(String[]) - Static method in class sjm.examples.engine.ShowVariableUnification2
Show a variable unifying with a structure and then another variable.
main(String[]) - Static method in class sjm.examples.engine.ShowTwoStructureQuery
Show a two-structure query.
main(String[]) - Static method in class sjm.examples.engine.ShowVariable
Show some variables.
main(String[]) - Static method in class sjm.examples.engine.ShowVariableUnification3
Show a variable unifying with a structure and then another variable.
main(String[]) - Static method in class sjm.examples.engine.ShowVariableUnification
Show a variable unifying.
main(String[]) - Static method in class sjm.examples.engine.ShowStructureEvaluation
Show the evaluation of a structure.
main(String[]) - Static method in class sjm.examples.engine.ShowComparison
Show a couple of comparisons.
main(String[]) - Static method in class sjm.examples.engine.ShowFailedUnification
Show two structures that fail to unify.
main(String[]) - Static method in class sjm.examples.engine.ShowEvaluation
Show an evaluation.
main(String[]) - Static method in class sjm.examples.engine.ShowRule
Show a rule in action.
main(String[]) - Static method in class sjm.examples.engine.ShowAnonymous
Show how to use an anonymous variable.
main(String[]) - Static method in class sjm.examples.engine.ShowList
Show some lists.
main(String[]) - Static method in class sjm.examples.engine.ShowProof
Show a simple query proving itself.
main(String[]) - Static method in class sjm.examples.track.ShowTrack
Show some examples of using a Track.
main(String[]) - Static method in class sjm.examples.robot.ShowRobotRefactored
Show how to use a parser class that arranges its subparsers as methods.
main(String[]) - Static method in class sjm.examples.robot.ShowRobotParser
Show how to use the RobotParser class.
main(String[]) - Static method in class sjm.examples.robot.RobotMonolithic
Show how to create a parser and use it in a single method.
main(String[]) - Static method in class sjm.examples.coffee.ShowCoffee
Show how to recognize coffees in a file.
main(String[]) - Static method in class sjm.examples.coffee.ShowCoffeeXML
Show how to recognize coffees in an XML file.
main(String[]) - Static method in class sjm.examples.reserved.ShowReserved
Show the use of a customized tokenizer, and the use of a terminal that looks for the new token type.
main(String[]) - Static method in class sjm.examples.introduction.ShowEmpty
Show the value of the Empty parser, using a list parser.
main(String[]) - Static method in class sjm.examples.introduction.ShowQuotedString
Show how to recognize a quoted string.
main(String[]) - Static method in class sjm.examples.introduction.ShowApostrophe
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowElementsAbove
Show how to use Assembler.elementsAbove().
main(String[]) - Static method in class sjm.examples.introduction.ShowRepetition
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowComposite
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowLiteral
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowTokenAssembly
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowNums
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowTerminal
Just a little demo.
main(String[]) - Static method in class sjm.examples.introduction.ShowAssemblyAppearance
Just a little demo.
main(String[]) - Static method in class sjm.examples.pretty.ShowPrettyAlternations
Show how a series of alternations appear when pretty- printed.
main(String[]) - Static method in class sjm.examples.pretty.ShowDangle
Show that the Dangle.statement() parser is ambiguous.
main(String[]) - Static method in 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.
main(String[]) - Static method in class sjm.examples.design.ShowAssembler
Show how to use an assembler to calculate the average length of words in a string.
main(String[]) - Static method in class sjm.examples.design.ShowStack
Show how to use an assembly's stack.
main(String[]) - Static method in class sjm.examples.imperative.ShowCommand
Show a simple composition of commands from sjm.imperative.
main(String[]) - Static method in class sjm.examples.imperative.ShowAssignmentCommand
Provide an example of the assignment command.
main(String[]) - Static method in class sjm.examples.regular.ShowRegularParser
Show some examples of matching regular expressions.
main(String[]) - Static method in class sjm.examples.arithmetic.ShowArithmeticParser
Show a few examples of arithmetic.
main(String[]) - Static method in class sjm.examples.mechanics.ShowSequencePinch
Show that a Sequence match may widen and then narrow the state of a match.
main(String[]) - Static method in class sjm.examples.mechanics.ShowNewTerminals
Show the use of new subclasses of Terminal.
main(String[]) - Static method in class sjm.examples.mechanics.ShowToString1
Show how a simple composite prints itself.
main(String[]) - Static method in class sjm.examples.mechanics.ShowAssemblies
This class shows that a repetition of an object of the Terminal base class will match an entire assembly.
main(String[]) - Static method in class sjm.examples.mechanics.ShowCompleteMatch
Show that Parser.completeMatch() returns a complete match, or null.
main(String[]) - Static method in class sjm.examples.mechanics.ShowToString2
Show how a moderately complex composite parser prints itself.
main(String[]) - Static method in class sjm.examples.mechanics.ShowZeroMatch
This class shows that a repetition object matches successfully once, when the subparser matches an assembly 0 times.
main(String[]) - Static method in class sjm.examples.mechanics.ShowSequenceSimple
Using a VerboseSequence, show the progress a sequence makes during matching.
main(String[]) - Static method in class sjm.examples.mechanics.ShowCycle
Show that a parser that contains a cycle prints itself without looping.
main(String[]) - Static method in class sjm.examples.mechanics.ShowAlternationSet
Show that an alternation can, by itself, create a collection of possible matches.
main(String[]) - Static method in class sjm.examples.mechanics.ShowSequenceManual
Show that a Sequence match is equivalent to a series of match() calls.
main(String[]) - Static method in class sjm.examples.mechanics.ShowPush
Show the value of not pushing the element a terminal matches.
main(String[]) - Static method in 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.
main(String[]) - Static method in class sjm.examples.mechanics.ShowAmbiguity
Show than a parser can find more than one way to completely consume an assembly.
main(String[]) - Static method in class sjm.examples.mechanics.ShowSequenceLeftovers
Show the complete results of matching an arithmetic expression parser against an expression.
main(String[]) - Static method in class sjm.examples.mechanics.ShowVacation
Using a VerboseRepetition, show the progress a repetition makes during matching.
main(String[]) - Static method in class sjm.examples.mechanics.ShowBestMatch
Show that Parser.bestMatch() matches a parser against an input as far as possible.
main(String[]) - Static method in class sjm.examples.mechanics.ShowRepetitionMatch
This class shows that a repetition object creates more than one match from a single assembly.
main(String[]) - Static method in class sjm.examples.mechanics.ShowAlternationBasic
Just show the basics of alternation.
main(String[]) - Static method in class sjm.examples.logic.LogikusIde
Launch a Logikus interactive development environment.
main(String[]) - Static method in class sjm.examples.tests.ShowDangleTest
Test the statement parser from class Dangle.
main(String[]) - Static method in class sjm.examples.tests.ShowCoffeeTest
Test the CoffeeParser class.
main(String[]) - Static method in class sjm.examples.tests.ShowRegularTester
Test the RegularParser class.
main(String[]) - Static method in class sjm.examples.tests.ShowArithmeticTest
Test the ArithmeticParser class.
main(String[]) - Static method in class sjm.examples.tests.ShowLogikusTester
Test the LogikusParser parser class.
main(String[]) - Static method in class sjm.examples.tests.ShowRobotTest
Test the RobotParser class.
main(String[]) - Static method in class sjm.examples.tests.ShowVolumeTest
Test the query parser from class VolumeQuery .
main(String[]) - Static method in class sjm.examples.preface.ShowHello
Create a little parser and use it to recognize "Hello world!".
main(String[]) - Static method in class sjm.examples.sling.SlingTester
Run a test.
main(String[]) - Static method in class sjm.examples.sling.SlingIde
Launch a Sling interactive development environment.
main(String[]) - Static method in class sjm.examples.sling.ShowFunction
Show the composition of the function sin(10*t) .
main(String[]) - Static method in class sjm.utensil.LinearCalculator
Show the example in the class comment.
mainPane() - Method in class sjm.examples.sling.SlingIde
 
mainPanel() - Method in class sjm.examples.query.JaqlUe
 
mainPanel() - Method in class sjm.examples.logic.LogikusIde
 
match(Vector) - Method in class sjm.examples.track.Track
Given a collection of assemblies, this method matches this track against all of them, and returns a new collection of the assemblies that result from the matches.
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.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.
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.examples.mechanics.VerboseSequence
Just a verbose version of Sequence.match().
match(Vector) - Method in class sjm.examples.mechanics.VerboseRepetition
Just a verbose version of Repetition.match() .
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.
max - Variable in class sjm.examples.sling.Extrema
 
mediator - Variable in class sjm.examples.query.JaqlUe
 
mediator - Variable in class sjm.examples.logic.LogikusIde
 
mediator - Variable in class sjm.examples.sling.SlingIde
 
mediator() - Method in class sjm.examples.query.JaqlUe
 
mediator() - Method in class sjm.examples.logic.LogikusIde
 
mediator() - Method in class sjm.examples.sling.SlingIde
 
MellowSpeller - class sjm.examples.query.MellowSpeller.
This class provides a speller that allows any spelling, which facilitates random testing of Jaql language elements.
MellowSpeller() - Constructor for class sjm.examples.query.MellowSpeller
 
messageArea - Variable in class sjm.examples.sling.SlingIde
 
messageArea - Variable in class sjm.examples.sling.SlingMediator
 
messageArea() - Method in class sjm.examples.sling.SlingIde
 
metadataArea - Variable in class sjm.examples.query.JaqlMediator
 
metadataArea - Variable in class sjm.examples.query.JaqlUe
 
metadataArea() - Method in class sjm.examples.query.JaqlUe
 
metadataPanel() - Method in class sjm.examples.query.JaqlUe
 
Midiloop - class sjm.examples.midimath.Midiloop.
This class creates and uses a parser that aims to recognize simple arithmetic expressions, but gets caught in a loop.
Midiloop() - Constructor for class sjm.examples.midimath.Midiloop
 
MidiloopNot - class sjm.examples.midimath.MidiloopNot.
This class creates and uses a parser that aims to recognize simple arithmetic expressions, but gets caught in a loop.
MidiloopNot() - Constructor for class sjm.examples.midimath.MidiloopNot
 
Midimath - class sjm.examples.midimath.Midimath.
This class creates and uses a parser that recognizes arithmetic expressions that use addition and multiplication.
Midimath() - Constructor for class sjm.examples.midimath.Midimath
 
MidiParser - class sjm.examples.midimath.MidiParser.
This class creates and uses a parser that aims to recognize simple arithmetic expressions, but gets caught in a loop.
MidiParser() - Constructor for class sjm.examples.midimath.MidiParser
 
min - Variable in class sjm.examples.sling.Extrema
 
min - Variable in class sjm.examples.sling.SlingIde
 
MiniLeftRecursion - class sjm.examples.minimath.MiniLeftRecursion.
This class uses a problematic grammar for Minimath.
MiniLeftRecursion() - Constructor for class sjm.examples.minimath.MiniLeftRecursion
 
MinimathAnonymous - class sjm.examples.minimath.MinimathAnonymous.
This class just gives a little demo of how to create anonymous assemblers.
MinimathAnonymous() - Constructor for class sjm.examples.minimath.MinimathAnonymous
 
MinimathCompute - class sjm.examples.minimath.MinimathCompute.
This class provides a parser that recognizes minimal arithmetic expressions, specifically allowing only the '-' operator.
MinimathCompute() - Constructor for class sjm.examples.minimath.MinimathCompute
 
MinimathParser - class sjm.examples.minimath.MinimathParser.
Show a properly working utility class that provides an parser for "Minimath", using the grammar:
MinimathParser() - Constructor for class sjm.examples.minimath.MinimathParser
 
MinimathRecognize - class sjm.examples.minimath.MinimathRecognize.
Show how to build a parser to recognize elements of the language "Minimath", whose rules are:
MinimathRecognize() - Constructor for class sjm.examples.minimath.MinimathRecognize
 
MiniWrongAssociativity - class sjm.examples.minimath.MiniWrongAssociativity.
This class uses a problematic grammar for Minimath.
MiniWrongAssociativity() - Constructor for class sjm.examples.minimath.MiniWrongAssociativity
 
MinusAssembler - class sjm.examples.arithmetic.MinusAssembler.
Pop two numbers from the stack and push the result of subtracting the top number from the one below it.
MinusAssembler() - Constructor for class sjm.examples.arithmetic.MinusAssembler
 
minusPhrase() - Method in class sjm.examples.logic.LogikusParser
 
minusTerm() - Method in class sjm.examples.midimath.MidiParser
 
minusTerm() - Method in class sjm.examples.query.ComparisonParser
 
minusTerm() - Method in class sjm.examples.arithmetic.ArithmeticParser
 
minusTerm() - Method in class sjm.examples.sling.SlingParser
 
moveIndex() - Method in class sjm.combinatorics.Permutations
Move the index forward a notch.
moveIndex() - Method in class sjm.combinatorics.Combinations
Move the index forward a notch.
myChar - Variable in class sjm.parse.tokens.SymbolNode
 

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