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

io.joern.pythonparser.PythonParserConstants Maven / Gradle / Ivy

There is a newer version: 2.0.440+7-e7df7a79
Show newest version
/* Generated By:JavaCC: Do not edit this line. PythonParserConstants.java */
package io.joern.pythonparser;


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

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int IF = 1;
  /** RegularExpression Id. */
  int ELSE = 2;
  /** RegularExpression Id. */
  int ELIF = 3;
  /** RegularExpression Id. */
  int OR = 4;
  /** RegularExpression Id. */
  int AND = 5;
  /** RegularExpression Id. */
  int NOT = 6;
  /** RegularExpression Id. */
  int DEF = 7;
  /** RegularExpression Id. */
  int ASYNC = 8;
  /** RegularExpression Id. */
  int LAMBDA = 9;
  /** RegularExpression Id. */
  int FOR = 10;
  /** RegularExpression Id. */
  int WITH = 11;
  /** RegularExpression Id. */
  int RETURN = 12;
  /** RegularExpression Id. */
  int TRY = 13;
  /** RegularExpression Id. */
  int EXCEPT = 14;
  /** RegularExpression Id. */
  int FINALLY = 15;
  /** RegularExpression Id. */
  int CLASS = 16;
  /** RegularExpression Id. */
  int WHILE = 17;
  /** RegularExpression Id. */
  int IMPORT = 18;
  /** RegularExpression Id. */
  int FROM = 19;
  /** RegularExpression Id. */
  int AS = 20;
  /** RegularExpression Id. */
  int RAISE = 21;
  /** RegularExpression Id. */
  int PASS = 22;
  /** RegularExpression Id. */
  int DEL = 23;
  /** RegularExpression Id. */
  int YIELD = 24;
  /** RegularExpression Id. */
  int ASSERT = 25;
  /** RegularExpression Id. */
  int BREAK = 26;
  /** RegularExpression Id. */
  int CONTINUE = 27;
  /** RegularExpression Id. */
  int GLOBAL = 28;
  /** RegularExpression Id. */
  int NONLOCAL = 29;
  /** RegularExpression Id. */
  int AWAIT = 30;
  /** RegularExpression Id. */
  int NONE = 31;
  /** RegularExpression Id. */
  int TRUE = 32;
  /** RegularExpression Id. */
  int FALSE = 33;
  /** RegularExpression Id. */
  int ARROW = 34;
  /** RegularExpression Id. */
  int ELLIPSIS = 35;
  /** RegularExpression Id. */
  int COLON = 36;
  /** RegularExpression Id. */
  int SEMICOLON = 37;
  /** RegularExpression Id. */
  int COMMA = 38;
  /** RegularExpression Id. */
  int ASSIGN = 39;
  /** RegularExpression Id. */
  int COLON_ASSIGN = 40;
  /** RegularExpression Id. */
  int PLUS_ASSIGN = 41;
  /** RegularExpression Id. */
  int MINUS_ASSIGN = 42;
  /** RegularExpression Id. */
  int STAR_ASSIGN = 43;
  /** RegularExpression Id. */
  int AT_ASSIGN = 44;
  /** RegularExpression Id. */
  int DIV_ASSIGN = 45;
  /** RegularExpression Id. */
  int MOD_ASSIGN = 46;
  /** RegularExpression Id. */
  int BIT_AND_ASSIGN = 47;
  /** RegularExpression Id. */
  int BIT_OR_ASSIGN = 48;
  /** RegularExpression Id. */
  int BIT_XOR_ASSIGN = 49;
  /** RegularExpression Id. */
  int LSHIFT_ASSIGN = 50;
  /** RegularExpression Id. */
  int RSHIFT_ASSIGN = 51;
  /** RegularExpression Id. */
  int POW_ASSIGN = 52;
  /** RegularExpression Id. */
  int FLOOR_DIV_ASSIGN = 53;
  /** RegularExpression Id. */
  int EQ = 54;
  /** RegularExpression Id. */
  int NEQ = 55;
  /** RegularExpression Id. */
  int LT = 56;
  /** RegularExpression Id. */
  int LTE = 57;
  /** RegularExpression Id. */
  int GT = 58;
  /** RegularExpression Id. */
  int GTE = 59;
  /** RegularExpression Id. */
  int IS = 60;
  /** RegularExpression Id. */
  int IN = 61;
  /** RegularExpression Id. */
  int PLUS = 62;
  /** RegularExpression Id. */
  int MINUS = 63;
  /** RegularExpression Id. */
  int AT = 64;
  /** RegularExpression Id. */
  int DIV = 65;
  /** RegularExpression Id. */
  int FLOOR_DIV = 66;
  /** RegularExpression Id. */
  int MOD = 67;
  /** RegularExpression Id. */
  int INVERT = 68;
  /** RegularExpression Id. */
  int LSHIFT = 69;
  /** RegularExpression Id. */
  int RSHIFT = 70;
  /** RegularExpression Id. */
  int BIT_OR = 71;
  /** RegularExpression Id. */
  int BIT_XOR = 72;
  /** RegularExpression Id. */
  int BIT_AND = 73;
  /** RegularExpression Id. */
  int PAREN_OPEN = 74;
  /** RegularExpression Id. */
  int PAREN_CLOSE = 75;
  /** RegularExpression Id. */
  int SQUARE_OPEN = 76;
  /** RegularExpression Id. */
  int SQUARE_CLOSE = 77;
  /** RegularExpression Id. */
  int CURLY_OPEN = 78;
  /** RegularExpression Id. */
  int CURLY_CLOSE = 79;
  /** RegularExpression Id. */
  int DOT = 80;
  /** RegularExpression Id. */
  int STAR = 81;
  /** RegularExpression Id. */
  int DOUBLE_STAR = 82;
  /** RegularExpression Id. */
  int STR_CONVERSION = 83;
  /** RegularExpression Id. */
  int REPR_CONVERSION = 84;
  /** RegularExpression Id. */
  int ASCII_CONVERSION = 85;
  /** RegularExpression Id. */
  int DEC_INTEGER = 86;
  /** RegularExpression Id. */
  int BIN_INTEGER = 87;
  /** RegularExpression Id. */
  int OCT_INTEGER = 88;
  /** RegularExpression Id. */
  int HEX_INTEGER = 89;
  /** RegularExpression Id. */
  int DIGIT = 90;
  /** RegularExpression Id. */
  int NON_ZERO_DIGIT = 91;
  /** RegularExpression Id. */
  int BIN_DIGIT = 92;
  /** RegularExpression Id. */
  int OCT_DIGIT = 93;
  /** RegularExpression Id. */
  int HEX_DIGIT = 94;
  /** RegularExpression Id. */
  int FLOAT = 95;
  /** RegularExpression Id. */
  int EXPONENT = 96;
  /** RegularExpression Id. */
  int DIGIT_PART = 97;
  /** RegularExpression Id. */
  int IMAGINARY = 98;
  /** RegularExpression Id. */
  int NAME = 99;
  /** RegularExpression Id. */
  int ID_START = 100;
  /** RegularExpression Id. */
  int ID_CONTINUE = 101;
  /** RegularExpression Id. */
  int SPACE = 102;
  /** RegularExpression Id. */
  int SKIPPED_NEWLINE = 103;
  /** RegularExpression Id. */
  int LINE_JOIN = 104;
  /** RegularExpression Id. */
  int END_OF_MEDIUM = 105;
  /** RegularExpression Id. */
  int COMMENT = 106;
  /** RegularExpression Id. */
  int INDENT_CHECK_COMMENT = 107;
  /** RegularExpression Id. */
  int INDENT_CHECK_SPACE = 108;
  /** RegularExpression Id. */
  int INDENT_CHECK_TAB = 109;
  /** RegularExpression Id. */
  int INDENT_CHECK_NEWLINE = 110;
  /** RegularExpression Id. */
  int INDENT_CHECK_END_OF_MEDIUM = 111;
  /** RegularExpression Id. */
  int INDENT_CHECK_END = 112;
  /** RegularExpression Id. */
  int MISSINDENT = 113;
  /** RegularExpression Id. */
  int INDENT = 114;
  /** RegularExpression Id. */
  int DEDENT = 115;
  /** RegularExpression Id. */
  int NEWLINE = 116;
  /** RegularExpression Id. */
  int STRING_PREFIX = 117;
  /** RegularExpression Id. */
  int STRING_PREFIX2 = 118;
  /** RegularExpression Id. */
  int FORMAT_STRING_PREFIX = 119;
  /** RegularExpression Id. */
  int FORMAT_STRING_PREFIX2 = 120;
  /** RegularExpression Id. */
  int STRING_QUOTE_OPEN = 121;
  /** RegularExpression Id. */
  int STRING_CONTENT = 122;
  /** RegularExpression Id. */
  int NSDQ_QUOTE_OPEN = 123;
  /** RegularExpression Id. */
  int NSSQ_QUOTE_OPEN = 124;
  /** RegularExpression Id. */
  int NTDQ_QUOTE_OPEN = 125;
  /** RegularExpression Id. */
  int NTSQ_QUOTE_OPEN = 126;
  /** RegularExpression Id. */
  int NSDQ_CONTENT = 127;
  /** RegularExpression Id. */
  int NSDQ_ESCAPED_ESCAPE = 128;
  /** RegularExpression Id. */
  int NSDQ_ESCAPED_QUOTE = 129;
  /** RegularExpression Id. */
  int NSDQ_ANY = 130;
  /** RegularExpression Id. */
  int NSSQ_CONTENT = 131;
  /** RegularExpression Id. */
  int NSSQ_ESCAPED_ESCAPE = 132;
  /** RegularExpression Id. */
  int NSSQ_ESCAPED_QUOTE = 133;
  /** RegularExpression Id. */
  int NSSQ_ANY = 134;
  /** RegularExpression Id. */
  int NTDQ_CONTENT = 135;
  /** RegularExpression Id. */
  int NTDQ_ESCAPED_ESCAPE = 136;
  /** RegularExpression Id. */
  int NTDQ_ESCAPED_QUOTE = 137;
  /** RegularExpression Id. */
  int NTDQ_ANY = 138;
  /** RegularExpression Id. */
  int NTSQ_CONTENT = 139;
  /** RegularExpression Id. */
  int NTSQ_ESCAPED_ESCAPE = 140;
  /** RegularExpression Id. */
  int NTSQ_ESCAPED_QUOTE = 141;
  /** RegularExpression Id. */
  int NTSQ_ANY = 142;
  /** RegularExpression Id. */
  int FORMAT_SPEC_CURLY_OPEN = 143;
  /** RegularExpression Id. */
  int FORMAT_SPEC_CURLY_CLOSE = 144;
  /** RegularExpression Id. */
  int FORMAT_SPEC_ANY = 145;
  /** RegularExpression Id. */
  int FORMAT_SPEC = 146;
  /** RegularExpression Id. */
  int FORMAT_STRING_QUOTE_OPEN = 147;
  /** RegularExpression Id. */
  int FORMAT_STRING_CONTENT = 148;
  /** RegularExpression Id. */
  int FORMAT_STRING_QUOTE_CLOSE = 149;
  /** RegularExpression Id. */
  int FORMAT_STRING_CURLY_OPEN = 150;
  /** RegularExpression Id. */
  int FSDQ_QUOTE_OPEN = 151;
  /** RegularExpression Id. */
  int FSSQ_QUOTE_OPEN = 152;
  /** RegularExpression Id. */
  int FTDQ_QUOTE_OPEN = 153;
  /** RegularExpression Id. */
  int FTSQ_QUOTE_OPEN = 154;
  /** RegularExpression Id. */
  int FSDQ_CONTENT = 155;
  /** RegularExpression Id. */
  int FSDQ_ESCAPED_ESCAPE = 156;
  /** RegularExpression Id. */
  int FSDQ_ESCAPED_QUOTE = 157;
  /** RegularExpression Id. */
  int FSDQ_ESCAPED_CURLY = 158;
  /** RegularExpression Id. */
  int FSDQ_ANY = 159;
  /** RegularExpression Id. */
  int FSDQ_CURLY_OPEN = 160;
  /** RegularExpression Id. */
  int FSDQ_END = 161;
  /** RegularExpression Id. */
  int FSSQ_CONTENT = 162;
  /** RegularExpression Id. */
  int FSSQ_ESCAPED_ESCAPE = 163;
  /** RegularExpression Id. */
  int FSSQ_ESCAPED_QUOTE = 164;
  /** RegularExpression Id. */
  int FSSQ_ESCAPED_CURLY = 165;
  /** RegularExpression Id. */
  int FSSQ_ANY = 166;
  /** RegularExpression Id. */
  int FSSQ_CURLY_OPEN = 167;
  /** RegularExpression Id. */
  int FSSQ_END = 168;
  /** RegularExpression Id. */
  int FTDQ_CONTENT = 169;
  /** RegularExpression Id. */
  int FTDQ_ESCAPED_ESCAPE = 170;
  /** RegularExpression Id. */
  int FTDQ_ESCAPED_QUOTE = 171;
  /** RegularExpression Id. */
  int FTDQ_ESCAPED_CURLY = 172;
  /** RegularExpression Id. */
  int FTDQ_ANY = 173;
  /** RegularExpression Id. */
  int FTDQ_CURLY_OPEN = 174;
  /** RegularExpression Id. */
  int FTDQ_END = 175;
  /** RegularExpression Id. */
  int FTSQ_CONTENT = 176;
  /** RegularExpression Id. */
  int FTSQ_ESCAPED_ESCAPE = 177;
  /** RegularExpression Id. */
  int FTSQ_ESCAPED_QUOTE = 178;
  /** RegularExpression Id. */
  int FTSQ_ESCAPED_CURLY = 179;
  /** RegularExpression Id. */
  int FTSQ_ANY = 180;
  /** RegularExpression Id. */
  int FTSQ_CURLY_OPEN = 181;
  /** RegularExpression Id. */
  int FTSQ_END = 182;

  /** Lexical state. */
  int DEFAULT = 0;
  /** Lexical state. */
  int INDENT_CHECK = 1;
  /** Lexical state. */
  int MISSDENT_EMIT = 2;
  /** Lexical state. */
  int INDENT_EMIT = 3;
  /** Lexical state. */
  int DEDENT_EMIT = 4;
  /** Lexical state. */
  int NEWLINE_EMIT = 5;
  /** Lexical state. */
  int NEVER = 6;
  /** Lexical state. */
  int NSDQ_LEX = 7;
  /** Lexical state. */
  int NSSQ_LEX = 8;
  /** Lexical state. */
  int NTDQ_LEX = 9;
  /** Lexical state. */
  int NTSQ_LEX = 10;
  /** Lexical state. */
  int FORMAT_SPEC_LEX = 11;
  /** Lexical state. */
  int FORMAT_SPEC_LEX_EMIT = 12;
  /** Lexical state. */
  int FORMAT_STRING_LEX = 13;
  /** Lexical state. */
  int FSDQ_LEX = 14;
  /** Lexical state. */
  int FSDQ_LEX_EMIT_END = 15;
  /** Lexical state. */
  int FSSQ_LEX = 16;
  /** Lexical state. */
  int FSSQ_LEX_EMIT_END = 17;
  /** Lexical state. */
  int FTDQ_LEX = 18;
  /** Lexical state. */
  int FTDQ_LEX_EMIT_END = 19;
  /** Lexical state. */
  int FTSQ_LEX = 20;
  /** Lexical state. */
  int FTSQ_LEX_EMIT_END = 21;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "\"if\"",
    "\"else\"",
    "\"elif\"",
    "\"or\"",
    "\"and\"",
    "\"not\"",
    "\"def\"",
    "\"async\"",
    "\"lambda\"",
    "\"for\"",
    "\"with\"",
    "\"return\"",
    "\"try\"",
    "\"except\"",
    "\"finally\"",
    "\"class\"",
    "\"while\"",
    "\"import\"",
    "\"from\"",
    "\"as\"",
    "\"raise\"",
    "\"pass\"",
    "\"del\"",
    "\"yield\"",
    "\"assert\"",
    "\"break\"",
    "\"continue\"",
    "\"global\"",
    "\"nonlocal\"",
    "\"await\"",
    "\"None\"",
    "\"True\"",
    "\"False\"",
    "\"->\"",
    "\"...\"",
    "\":\"",
    "\";\"",
    "\",\"",
    "\"=\"",
    "\":=\"",
    "\"+=\"",
    "\"-=\"",
    "\"*=\"",
    "\"@=\"",
    "\"/=\"",
    "\"%=\"",
    "\"&=\"",
    "\"|=\"",
    "\"^=\"",
    "\"<<=\"",
    "\">>=\"",
    "\"**=\"",
    "\"//=\"",
    "\"==\"",
    "\"!=\"",
    "\"<\"",
    "\"<=\"",
    "\">\"",
    "\">=\"",
    "\"is\"",
    "\"in\"",
    "\"+\"",
    "\"-\"",
    "\"@\"",
    "\"/\"",
    "\"//\"",
    "\"%\"",
    "\"~\"",
    "\"<<\"",
    "\">>\"",
    "\"|\"",
    "\"^\"",
    "\"&\"",
    "\"(\"",
    "\")\"",
    "\"[\"",
    "\"]\"",
    "\"{\"",
    "\"}\"",
    "\".\"",
    "\"*\"",
    "\"**\"",
    "\"!s\"",
    "\"!r\"",
    "\"!a\"",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "\"\\u0019\"",
    "",
    "",
    "\" \"",
    "\"\\t\"",
    "",
    "\"\\u0019\"",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "\"STRING_QUOTE_OPEN\"",
    "\"STRING_CONTENT\"",
    "\"\\\"\"",
    "\"\\\'\"",
    "\"\\\"\\\"\\\"\"",
    "\"\\\'\\\'\\\'\"",
    "\"\\\"\"",
    "\"\\\\\\\\\"",
    "\"\\\\\\\"\"",
    "",
    "\"\\\'\"",
    "\"\\\\\\\\\"",
    "\"\\\\\\\'\"",
    "",
    "\"\\\"\\\"\\\"\"",
    "\"\\\\\\\\\"",
    "\"\\\\\\\"\"",
    "",
    "\"\\\'\\\'\\\'\"",
    "\"\\\\\\\\\"",
    "\"\\\\\\\'\"",
    "",
    "\"{\"",
    "\"}\"",
    "",
    "\"\"",
    "\"FORMAT_STRING_QUOTE_OPEN\"",
    "\"FORMAT_STRING_CONTENT\"",
    "\"FORMAT_STRING_QUOTE_CLOSE\"",
    "\"FORMAT_STRING_CURLY_OPEN\"",
    "\"\\\"\"",
    "\"\\\'\"",
    "\"\\\"\\\"\\\"\"",
    "\"\\\'\\\'\\\'\"",
    "",
    "\"\\\\\\\\\"",
    "\"\\\\\\\"\"",
    "\"{{\"",
    "",
    "\"{\"",
    "\"\\\"\"",
    "",
    "\"\\\\\\\\\"",
    "\"\\\\\\\'\"",
    "\"{{\"",
    "",
    "\"{\"",
    "\"\\\'\"",
    "",
    "\"\\\\\\\\\"",
    "\"\\\\\\\"\"",
    "\"{{\"",
    "",
    "\"{\"",
    "\"\\\"\\\"\\\"\"",
    "",
    "\"\\\\\\\\\"",
    "\"\\\\\\\'\"",
    "\"{{\"",
    "",
    "\"{\"",
    "\"\\\'\\\'\\\'\"",
  };

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy