void CommonTokenAction(Token token) {
    if (!hashtable_initialized) {
      initialize_the_hashtable();
    }

    if (token.kind == ID_OR_KEYWORD && keywords.containsKey(token.image)) {
      token.style = KEYWORD;
    }
    //        if( token.kind == METHOD_OR_FIELD){
    //        	token.style = METHODS ;
    //        }
    if (token.style == null) token.style = PLAIN;
  }
 protected Token jjFillToken() {
   Token t = Token.newToken(jjmatchedKind);
   t.kind = jjmatchedKind;
   String im = jjstrLiteralImages[jjmatchedKind];
   t.image = (im == null) ? input_stream.GetImage() : im;
   t.beginLine = input_stream.getBeginLine();
   t.beginColumn = input_stream.getBeginColumn();
   t.endLine = input_stream.getEndLine();
   t.endColumn = input_stream.getEndColumn();
   return t;
 }
 void TokenLexicalActions(Token matchedToken) {
   switch (jjmatchedKind) {
     case 6:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = COMMENT;
       CommonTokenAction(matchedToken);
       break;
     case 8:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = COMMENT;
       CommonTokenAction(matchedToken);
       break;
     case 10:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = CONSTANT;
       break;
     case 11:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = CONSTANT;
       break;
     case 12:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = CONSTANT;
       break;
     case 13:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = CONSTANT;
       break;
     case 15:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = CONSTANT;
       break;
     case 16:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = CONSTANT;
       break;
     case 18:
       if (image == null) image = new StringBuffer();
       image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
       matchedToken.style = IDENTIFIERS;
       break;
     case 30:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[30]);
       matchedToken.style = OPERATORS;
       break;
     case 37:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[37]);
       matchedToken.style = OPERATORS;
       break;
     case 38:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[38]);
       matchedToken.style = OPERATORS;
       break;
     case 39:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[39]);
       matchedToken.style = OPERATORS;
       break;
     case 40:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[40]);
       matchedToken.style = OPERATORS;
       break;
     case 41:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[41]);
       matchedToken.style = OPERATORS;
       break;
     case 42:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[42]);
       matchedToken.style = OPERATORS;
       break;
     case 56:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[56]);
       matchedToken.style = OPERATORS;
       break;
     case 57:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[57]);
       matchedToken.style = OPERATORS;
       break;
     case 58:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[58]);
       matchedToken.style = OPERATORS;
       break;
     case 59:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[59]);
       matchedToken.style = OPERATORS;
       break;
     case 60:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[60]);
       matchedToken.style = OPERATORS;
       break;
     case 61:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[61]);
       matchedToken.style = OPERATORS;
       break;
     case 62:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[62]);
       matchedToken.style = OPERATORS;
       break;
     case 63:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[63]);
       matchedToken.style = OPERATORS;
       break;
     case 64:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[64]);
       matchedToken.style = OPERATORS;
       break;
     case 65:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[65]);
       matchedToken.style = OPERATORS;
       break;
     case 66:
       if (image == null) image = new StringBuffer();
       image.append(jjstrLiteralImages[66]);
       matchedToken.style = OPERATORS;
       break;
     default:
       break;
   }
 }