// genHeader();
// Do not use printAction because we assume tabs==0
// println(behavior.getHeaderAction(""));
// Generate a definition for each token type
Vector v = tm.getVocabulary();
// Do special tokens manually
println("SKIP = antlr.SKIP");
println("INVALID_TYPE = antlr.INVALID_TYPE");
println("EOF_TYPE = antlr.EOF_TYPE");
println("EOF = antlr.EOF");
println("NULL_TREE_LOOKAHEAD = antlr.NULL_TREE_LOOKAHEAD");
println("MIN_USER_TYPE = antlr.MIN_USER_TYPE");
for (int i = Token.MIN_USER_TYPE; i < v.size(); i++)
{
String s = (String)v.elementAt(i);
if (s != null)
{
if (s.startsWith("\""))
{
// a string literal