|
Building Parsers with Java | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use Terminal | |
| sjm.examples.mechanics | |
| sjm.examples.pretty | |
| sjm.examples.reserved | |
| sjm.examples.sling | |
| sjm.parse | |
| sjm.parse.chars | |
| sjm.parse.tokens | |
| Uses of Terminal in sjm.examples.mechanics |
| Subclasses of Terminal in sjm.examples.mechanics | |
class |
LowercaseWord
This class shows the how to introduce a new type of terminal, specifically for recognizing lowercase words. |
class |
UppercaseWord
This class shows the how to introduce a new type of terminal, specifically for recognizing uppercase words. |
| Uses of Terminal in sjm.examples.pretty |
| Methods in sjm.examples.pretty with parameters of type Terminal | |
void |
PrettyVisitor.visitTerminal(Terminal t,
java.util.Vector visited)
Set a Terminal object's assembler to be
a PrettyTerminalAssembler object. |
| Uses of Terminal in sjm.examples.reserved |
| Subclasses of Terminal in sjm.examples.reserved | |
class |
ReservedWord
A ReservedWord matches a word whose token type is WordOrReservedState.TT_RESERVED. |
| Uses of Terminal in sjm.examples.sling |
| Subclasses of Terminal in sjm.examples.sling | |
class |
ReservedLiteral
A ReservedLiteral matches a specific string
that a tokenizer returns as a reserved word type. |
| Uses of Terminal in sjm.parse |
| Methods in sjm.parse that return Terminal | |
Terminal |
Terminal.discard()
A convenience method that sets discarding to be true. |
Terminal |
Terminal.setDiscard(boolean discard)
By default, terminals push themselves upon a assembly's stack, after a successful match. |
| Methods in sjm.parse with parameters of type Terminal | |
abstract void |
ParserVisitor.visitTerminal(Terminal t,
java.util.Vector visited)
Visit a terminal. |
| Uses of Terminal in sjm.parse.chars |
| Subclasses of Terminal 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. |
| Uses of Terminal in sjm.parse.tokens |
| Subclasses of Terminal 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. |
|
by Steve Metsker | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||