Building Parsers with Java

Package sjm.examples.reserved

Class Summary
ReservedWord A ReservedWord matches a word whose token type is WordOrReservedState.TT_RESERVED.
ShowReserved This class shows the use of a customized tokenizer, and the use of a terminal that looks for the new token type.
VolumeQuery2 This class shows the use of a customized tokenizer, and the use of a terminal that looks for the new token type.
WordOrReservedState Override WordState to return known reserved words as tokens of type TT_RESERVED.
 


by Steve Metsker