Package org.multijava.util.lexgen

Provides a lexer for the compilers of MultiJava and the Java Modeling Language.


Interface Summary

Class Summary
DefinitionFile.KeywordTokenInfo This nested class serves as a data structure for accumulating information in #accumKeywords(List,String,List).
LexgenOptions This class is automatically generated from LexgenOptions.opt and contains member fields corresponding to command-line options.
Main This class is the entry point for the keyword lookup generation facility.
TestSuite This class is automatically generated using org.multijava.util.testing.Main and is used to group a collection of JUnit tests for the local package and perhaps some subpackages.

Exception Summary
LexgenError Error thrown on problems encountered while running the program.

Package org.multijava.util.lexgen Description

Provides a lexer for the compilers of MultiJava and the Java Modeling Language.

Package Specification

Lexgen uses ANTLR and a .t file to automatically generate a hashtable with corresponding tokens for a list of keywords.


The code for Lexgen originated from the Kopi project. This code was adapted for the Mulijava project by Curtis Clifton.

Thanks also to any contributors whose names we have failed to mention. If we've left you off this list, it is a mistake on our part and we apologize. Please let us know so the mistake can be rectified.


JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.