Uses of Class
sjm.parse.Parser

Packages that use Parser
org.jsesoft.jpp
org.jsesoft.jpp: A Java macro preprocessor Title: A Java macro preprocessor.
sjm.parse   
sjm.parse.chars   
sjm.parse.tokens   
 

Uses of Parser in org.jsesoft.jpp
 

Subclasses of Parser in org.jsesoft.jpp
 class AnyButMacros
          The AnyButMacros terminal.
 class Comment
          A comment terminal.
 class Default
          The default terminal.
 class Identifier
          The identifier terminal.
 class Keyword
          The keyword terminal.
 class MacroCall
          The macro call terminal.
 class MacroOperator
          The macro operator terminal.
 class Number
          The number terminal.
 class Operator
          The operator terminal.
 class Quoted
          The quoted terminal.
 class Separator
          The seperator terminal.
 class SpecificTerminal
          Terminal with specific type and possibly value.
 class Whitespace
          The whitespace terminal.
 

Fields in org.jsesoft.jpp declared as Parser
protected  Parser Preprocessor.program
          A parser for a program.
protected  Parser Preprocessor.definition
          A parser for a definition.
protected  Parser Preprocessor.header
          A parser for a header.
protected  Parser Preprocessor.paramlist
          A parser for a paramlist.
protected  Parser Preprocessor.params
          A parser for params.
protected  Parser Preprocessor.body
          A parser for a body.
protected  Parser Preprocessor.macroIfdef
          A parser for a #ifdef.
protected  Parser Preprocessor.macroIfndef
          A parser for a #ifndef.
protected  Parser Preprocessor.macroUndef
          A parser for a #ifndef.
protected  Parser Preprocessor.macroEndif
          A parser for a #endif.
protected  Parser Preprocessor.macroElse
          A parser for a #else.
protected  Parser Preprocessor.macroInclude
          A parser for a #include.
protected  Parser Preprocessor.macroCall
          A parser for a macroCall.
protected  Parser Preprocessor.arglist
          A parser for an arglist.
protected  Parser Preprocessor.args
          A parser for args.
protected  Parser Preprocessor.arg
          A parser for an arg.
protected  Parser Preprocessor.anyButMacros
          A parser for anything but macros.
protected  Parser Preprocessor.blanks
          A parser for blanks.
 

Methods in org.jsesoft.jpp that return Parser
 Parser Preprocessor.program()
          Creates a parser for a program.
 Parser Preprocessor.definition()
          Creates a parser for a definition.
 Parser Preprocessor.header()
          Creates a parser for a header.
 Parser Preprocessor.paramlist()
          Creates a parser for a paramlist.
 Parser Preprocessor.params()
          Creates a parser for params.
 Parser Preprocessor.body()
          Creates a parser for a body.
 Parser Preprocessor.macroIfdef()
          Creates a parser for a #ifdef. macroIfdef = "#ifdef" Identifier ;
 Parser Preprocessor.macroIfndef()
          Creates a parser for a #ifndef. macroIfndef = "#ifndef" Identifier ;
 Parser Preprocessor.macroUndef()
          Creates a parser for a #undef. macroUndef = "#ifndef" Identifier ;
 Parser Preprocessor.macroEndif()
          Creates a parser for a #endif. macroElse = "#else" ;
 Parser Preprocessor.macroElse()
          Creates a parser for a #else. macroEndif = "#endif" ;
 Parser Preprocessor.macroInclude()
          Creates a parser for a #include. macroInclude = "#include" String ;
 Parser Preprocessor.macroCall()
          Creates a parser for a macro call. macroCall = "#" Identifier arglist ;
 Parser Preprocessor.arglist()
          Creates a parser for an arglist. arglist = "(" args | Empty ")" ;
 Parser Preprocessor.args()
          Creates a parser for a args. args = blanks arg ( blanks "," blanks arg )* ;
 Parser Preprocessor.arg()
          Creates a parser for an arg. arg = macroCall | anyButMacros ;
 Parser Preprocessor.anyButMacros()
          Creates a parser matching anyButMacros terminal.
 Parser Preprocessor.blanks()
          Creates a parser discarding Whitespace, if any.
static Parser Preprocessor.start()
          Returns the macro processors starting point.
 

Uses of Parser in sjm.parse
 

Subclasses of Parser in sjm.parse
 class Alternation
          An Alternation object is a collection of parsers, any one of which can successfully match against an assembly.
 class CollectionParser
          This class abstracts the behavior common to parsers that consist of a series of other parsers.
 class Empty
          An Empty parser matches any assembly once, and applies its assembler that one time.
 class Repetition
          A Repetition matches its underlying parser repeatedly against a assembly.
 class 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.
 class Terminal
          A Terminal is a parser that is not a composition of other parsers.
 

Fields in sjm.parse declared as Parser
protected  Parser ParserTester.p
           
protected  Parser Repetition.subparser
           
 

Methods in sjm.parse that return Parser
 Parser Parser.setAssembler(Assembler assembler)
          Sets the object that will work on an assembly whenever this parser successfully matches against the assembly.
 Parser Repetition.getSubparser()
          Return this parser's subparser.
 Parser Repetition.setPreAssembler(Assembler preAssembler)
          Sets the object that will work on every assembly before matching against it.
 

Methods in sjm.parse with parameters of type Parser
 CollectionParser CollectionParser.add(Parser e)
          Adds a parser to the collection.
 

Constructors in sjm.parse with parameters of type Parser
ParserTester(Parser p)
          Constructs a tester for the given parser.
Repetition(Parser p)
          Constructs a repetition of the given parser.
Repetition(Parser subparser, java.lang.String name)
          Constructs a repetition of the given parser with the given name.
 

Uses of Parser in sjm.parse.chars
 

Subclasses of Parser in sjm.parse.chars
 class Char
          A Char matches a character from a character assembly.
 class Digit
          A Digit matches a digit from a character assembly.
 class Letter
          A Letter matches any letter from a character assembly.
 class SpecificChar
          A SpecificChar matches a specified character from a character assembly.
 

Constructors in sjm.parse.chars with parameters of type Parser
CharacterTester(Parser p)
           
 

Uses of Parser in sjm.parse.tokens
 

Subclasses of Parser in sjm.parse.tokens
 class CaselessLiteral
          A CaselessLiteral matches a specified String from an assembly, disregarding case.
 class Literal
          A Literal matches a specific String from an assembly.
 class Num
          A Num matches a number from a token assembly.
 class QuotedString
          A QuotedString matches a quoted string, like "this one" from a token assembly.
 class Symbol
          A Symbol matches a specific sequence, such as <, or <= that a tokenizer returns as a symbol.
 class Word
          A Word matches a word from a token assembly.
 

Constructors in sjm.parse.tokens with parameters of type Parser
TokenTester(Parser p)