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

io.termd.core.term.TermInfoParserConstants Maven / Gradle / Ivy

Go to download

An open source terminal daemon library providing terminal handling in Java, back ported to Alibaba by core engine team to support running on JDK 6+.

There is a newer version: 1.1.7.14
Show newest version
/* Generated By:JavaCC: Do not edit this line. TermInfoParserConstants.java */
package io.termd.core.term;


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

  /** End of File. */
  int EOF = 0;
  /** RegularExpression Id. */
  int BLANK = 1;
  /** RegularExpression Id. */
  int END_FEATURE = 2;
  /** RegularExpression Id. */
  int START_FEATURE_LINE = 3;
  /** RegularExpression Id. */
  int START_HEADER_LINE = 4;
  /** RegularExpression Id. */
  int START_COMMENT_LINE = 5;
  /** RegularExpression Id. */
  int EMPTY_LINE = 6;
  /** RegularExpression Id. */
  int HEADER_VALUE = 7;
  /** RegularExpression Id. */
  int START_HEADER = 8;
  /** RegularExpression Id. */
  int END_HEADER_LINE = 9;
  /** RegularExpression Id. */
  int ANY_CHAR = 10;
  /** RegularExpression Id. */
  int END_COMMENT_LINE = 11;
  /** RegularExpression Id. */
  int START_FEATURE = 12;
  /** RegularExpression Id. */
  int END_FEATURE_LINE = 13;
  /** RegularExpression Id. */
  int START_STRING_VALUE = 14;
  /** RegularExpression Id. */
  int START_NUMERIC_VALUE = 15;
  /** RegularExpression Id. */
  int END_BOOLEAN_VALUE = 16;
  /** RegularExpression Id. */
  int STRING_CHAR = 17;
  /** RegularExpression Id. */
  int STRING_QUOTE = 18;
  /** RegularExpression Id. */
  int STRING_ESC = 19;
  /** RegularExpression Id. */
  int STRING_CARET = 20;
  /** RegularExpression Id. */
  int OP_CODE_PUSH_PARAM = 21;
  /** RegularExpression Id. */
  int OP_CODE_PRINTF = 22;
  /** RegularExpression Id. */
  int OP_CODE_PUSH_INTEGER_CONSTANT = 23;
  /** RegularExpression Id. */
  int OP_CODE_BIT_AND = 24;
  /** RegularExpression Id. */
  int OP_CODE_BIT_OR = 25;
  /** RegularExpression Id. */
  int OP_CODE_BIT_XOR = 26;
  /** RegularExpression Id. */
  int OP_CODE_BIT_NEG = 27;
  /** RegularExpression Id. */
  int OP_CODE_PERCENT = 28;
  /** RegularExpression Id. */
  int OP_CODE_PRINT_CHAR = 29;
  /** RegularExpression Id. */
  int OP_CODE_SET_POP_VARIABLE = 30;
  /** RegularExpression Id. */
  int OP_CODE_GET_PUSH_VARIABLE = 31;
  /** RegularExpression Id. */
  int OP_CODE_PUSH_CHAR_CONSTANT = 32;
  /** RegularExpression Id. */
  int OP_CODE_PUSH_STRLEN = 33;
  /** RegularExpression Id. */
  int OP_CODE_ARITHMETIC_PLUS = 34;
  /** RegularExpression Id. */
  int OP_CODE_ARITHMETIC_MINUS = 35;
  /** RegularExpression Id. */
  int OP_CODE_ARITHMETIC_MUL = 36;
  /** RegularExpression Id. */
  int OP_CODE_ARITHMETIC_DIV = 37;
  /** RegularExpression Id. */
  int OP_CODE_ARITHMETIC_MOD = 38;
  /** RegularExpression Id. */
  int OP_CODE_LOGICAL_EQ = 39;
  /** RegularExpression Id. */
  int OP_CODE_LOGICAL_GT = 40;
  /** RegularExpression Id. */
  int OP_CODE_LOGICAL_LT = 41;
  /** RegularExpression Id. */
  int OP_CODE_LOGICAL_AND = 42;
  /** RegularExpression Id. */
  int OP_CODE_LOGICAL_OR = 43;
  /** RegularExpression Id. */
  int OP_CODE_LOGICAL_NEG = 44;
  /** RegularExpression Id. */
  int OP_CODE_ADD_1_TO_PARAMS = 45;
  /** RegularExpression Id. */
  int OP_CODE_EXPR_IF = 46;
  /** RegularExpression Id. */
  int OP_CODE_EXPR_THEN = 47;
  /** RegularExpression Id. */
  int OP_CODE_EXPR_ELSE = 48;
  /** RegularExpression Id. */
  int OP_CODE_EXPR_FI = 49;
  /** RegularExpression Id. */
  int END_STRING_VALUE = 50;
  /** RegularExpression Id. */
  int ANY_ESC_VALUE = 51;
  /** RegularExpression Id. */
  int OCTAL_DIGIT = 52;
  /** RegularExpression Id. */
  int ESC_ZERO_OCTAL = 53;
  /** RegularExpression Id. */
  int ESC_OTHER_OCTAL = 54;
  /** RegularExpression Id. */
  int ANY_CARET_VALUE = 55;
  /** RegularExpression Id. */
  int DEC_VALUE = 56;
  /** RegularExpression Id. */
  int OCT_VALUE = 57;
  /** RegularExpression Id. */
  int HEX_VALUE = 58;
  /** RegularExpression Id. */
  int END_NUMERIC_VALUE = 59;

  /** Lexical state. */
  int DEFAULT = 0;
  /** Lexical state. */
  int PARSING_HEADER_LINE = 1;
  /** Lexical state. */
  int PARSING_COMMENT = 2;
  /** Lexical state. */
  int PARSING_FEATURE_LINE = 3;
  /** Lexical state. */
  int PARSING_FEATURE_VALUE = 4;
  /** Lexical state. */
  int PARSING_STRING_VALUE = 5;
  /** Lexical state. */
  int PARSING_STRING_ESC = 6;
  /** Lexical state. */
  int PARSING_STRING_CARET = 7;
  /** Lexical state. */
  int PARSING_NUMERIC_VALUE = 8;

  /** Literal token values. */
  String[] tokenImage = {
    "",
    "",
    "",
    "",
    "",
    "\"#\"",
    "\"\\n\"",
    "",
    "\"|\"",
    "",
    "",
    "\"\\n\"",
    "",
    "",
    "\"=\"",
    "\"#\"",
    "",
    "",
    "\"\\\'\"",
    "",
    "",
    "",
    "",
    "",
    "\"%&\"",
    "\"%|\"",
    "\"%^\"",
    "\"%~\"",
    "\"%%\"",
    "\"%c\"",
    "",
    "",
    "\"%\\\'\"",
    "\"%l\"",
    "\"%+\"",
    "\"%-\"",
    "\"%*\"",
    "\"%/\"",
    "\"%m\"",
    "\"%=\"",
    "\"%>\"",
    "\"%<\"",
    "\"%A\"",
    "\"%O\"",
    "\"%!\"",
    "\"%i\"",
    "\"%?\"",
    "\"%t\"",
    "\"%e\"",
    "\"%;\"",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
  };

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy