All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nowina.cadmelia.script.parser.ScriptParserConstants Maven / Gradle / Ivy

The newest version!
/* Generated By:JavaCC: Do not edit this line. ScriptParserConstants.java */
package net.nowina.cadmelia.script.parser;


/**
 * Token literal values and constants.
 * Generated by org.javacc.parser.OtherFilesGen#start()
 */
public interface ScriptParserConstants {

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int MODULE = 6;
  /** RegularExpression Id. */
  int FUNCTION = 7;
  /** RegularExpression Id. */
  int LET = 8;
  /** RegularExpression Id. */
  int BOOLEAN = 9;
  /** RegularExpression Id. */
  int FOR = 10;
  /** RegularExpression Id. */
  int IF = 11;
  /** RegularExpression Id. */
  int THEN = 12;
  /** RegularExpression Id. */
  int ELSE = 13;
  /** RegularExpression Id. */
  int BOOLEAN_EQUAL = 14;
  /** RegularExpression Id. */
  int BOOLEAN_NOT_EQUAL = 15;
  /** RegularExpression Id. */
  int BOOLEAN_NOT = 16;
  /** RegularExpression Id. */
  int USE = 17;
  /** RegularExpression Id. */
  int GT = 18;
  /** RegularExpression Id. */
  int LT = 19;
  /** RegularExpression Id. */
  int OR2 = 20;
  /** RegularExpression Id. */
  int AND2 = 21;
  /** RegularExpression Id. */
  int GTE = 22;
  /** RegularExpression Id. */
  int LTE = 23;
  /** RegularExpression Id. */
  int COLON = 24;
  /** RegularExpression Id. */
  int HASH = 25;
  /** RegularExpression Id. */
  int PERCENT = 26;
  /** RegularExpression Id. */
  int LP = 27;
  /** RegularExpression Id. */
  int RP = 28;
  /** RegularExpression Id. */
  int LB = 29;
  /** RegularExpression Id. */
  int RB = 30;
  /** RegularExpression Id. */
  int QUESTION = 31;
  /** RegularExpression Id. */
  int LBRACE = 32;
  /** RegularExpression Id. */
  int RBRACE = 33;
  /** RegularExpression Id. */
  int EQ = 34;
  /** RegularExpression Id. */
  int SEMICOLON = 35;
  /** RegularExpression Id. */
  int COMMA = 36;
  /** RegularExpression Id. */
  int SP = 37;
  /** RegularExpression Id. */
  int PLUS = 38;
  /** RegularExpression Id. */
  int MINUS = 39;
  /** RegularExpression Id. */
  int DIVIDE = 40;
  /** RegularExpression Id. */
  int TIMES = 41;
  /** RegularExpression Id. */
  int QUOTE = 42;
  /** RegularExpression Id. */
  int NUMBER = 43;
  /** RegularExpression Id. */
  int FILENAME = 44;
  /** RegularExpression Id. */
  int NAME = 45;
  /** RegularExpression Id. */
  int ENDQUOTE = 47;
  /** RegularExpression Id. */
  int CHAR = 48;
  /** RegularExpression Id. */
  int CNTRL_ESC = 49;

  /** Lexical state. */
  int DEFAULT = 0;
  /** Lexical state. */
  int ML_COMMENT_STATE = 1;
  /** Lexical state. */
  int STRING_STATE = 2;
  /** Lexical state. */
  int ESC_STATE = 3;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "",
    "",
    "\"/*\"",
    "\"*/\"",
    "",
    "\"module\"",
    "\"function\"",
    "\"let\"",
    "",
    "\"for\"",
    "\"if\"",
    "\"then\"",
    "\"else\"",
    "\"==\"",
    "\"!=\"",
    "\"!\"",
    "\"use\"",
    "\">\"",
    "\"<\"",
    "\"||\"",
    "\"&&\"",
    "\">=\"",
    "\"<=\"",
    "\":\"",
    "\"#\"",
    "\"%\"",
    "\"(\"",
    "\")\"",
    "\"[\"",
    "\"]\"",
    "\"?\"",
    "\"{\"",
    "\"}\"",
    "\"=\"",
    "\";\"",
    "\",\"",
    "",
    "\"+\"",
    "\"-\"",
    "\"/\"",
    "\"*\"",
    "\"\\\"\"",
    "",
    "",
    "",
    "\"\\\\\"",
    "",
    "",
    "",
  };

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy