218 lines
4.8 KiB
Java
218 lines
4.8 KiB
Java
/* Generated By:JJTree&JavaCC: Do not edit this line. FtScriptConstants.java */
|
|
package eu.dnetlib.data.collective.transformation.rulelanguage.parser;
|
|
|
|
|
|
/**
|
|
* Token literal values and constants.
|
|
* Generated by org.javacc.parser.OtherFilesGen#start()
|
|
*/
|
|
public interface FtScriptConstants {
|
|
|
|
/** End of File. */
|
|
int EOF = 0;
|
|
/** RegularExpression Id. */
|
|
int SINGLE_LINE_COMMENT = 8;
|
|
/** RegularExpression Id. */
|
|
int IMPORT = 9;
|
|
/** RegularExpression Id. */
|
|
int TRANS = 10;
|
|
/** RegularExpression Id. */
|
|
int IF = 11;
|
|
/** RegularExpression Id. */
|
|
int ELSE = 12;
|
|
/** RegularExpression Id. */
|
|
int END = 13;
|
|
/** RegularExpression Id. */
|
|
int EXTRACT = 14;
|
|
/** RegularExpression Id. */
|
|
int IDENTIFIEREXTRACT = 15;
|
|
/** RegularExpression Id. */
|
|
int CONVERT = 16;
|
|
/** RegularExpression Id. */
|
|
int REGEXPR = 17;
|
|
/** RegularExpression Id. */
|
|
int GETVALUE = 18;
|
|
/** RegularExpression Id. */
|
|
int COPY = 19;
|
|
/** RegularExpression Id. */
|
|
int DECLARE_NAMESPACE = 20;
|
|
/** RegularExpression Id. */
|
|
int DECLARE_SCRIPT = 21;
|
|
/** RegularExpression Id. */
|
|
int DECLARE_SUBSCRIPT = 22;
|
|
/** RegularExpression Id. */
|
|
int PREPROCESS = 23;
|
|
/** RegularExpression Id. */
|
|
int SET = 24;
|
|
/** RegularExpression Id. */
|
|
int SKIPRECORD = 25;
|
|
/** RegularExpression Id. */
|
|
int SPLIT = 26;
|
|
/** RegularExpression Id. */
|
|
int STATIC = 27;
|
|
/** RegularExpression Id. */
|
|
int XPATH_SCHEME = 28;
|
|
/** RegularExpression Id. */
|
|
int APPLY = 29;
|
|
/** RegularExpression Id. */
|
|
int EMPTY = 30;
|
|
/** RegularExpression Id. */
|
|
int DBLOOKUP = 31;
|
|
/** RegularExpression Id. */
|
|
int BLACKLIST = 32;
|
|
/** RegularExpression Id. */
|
|
int LOOKUP = 33;
|
|
/** RegularExpression Id. */
|
|
int CONCAT = 34;
|
|
/** RegularExpression Id. */
|
|
int SEMICOLON = 35;
|
|
/** RegularExpression Id. */
|
|
int RBRACKET = 36;
|
|
/** RegularExpression Id. */
|
|
int LBRACE = 37;
|
|
/** RegularExpression Id. */
|
|
int RBRACE = 38;
|
|
/** RegularExpression Id. */
|
|
int COMMA = 39;
|
|
/** RegularExpression Id. */
|
|
int RPAREN = 40;
|
|
/** RegularExpression Id. */
|
|
int QUOTE = 41;
|
|
/** RegularExpression Id. */
|
|
int EQUAL = 42;
|
|
/** RegularExpression Id. */
|
|
int NOTEQUAL = 43;
|
|
/** RegularExpression Id. */
|
|
int GT = 44;
|
|
/** RegularExpression Id. */
|
|
int LT = 45;
|
|
/** RegularExpression Id. */
|
|
int GTE = 46;
|
|
/** RegularExpression Id. */
|
|
int LTE = 47;
|
|
/** RegularExpression Id. */
|
|
int PLUS = 48;
|
|
/** RegularExpression Id. */
|
|
int VBAR = 49;
|
|
/** RegularExpression Id. */
|
|
int SLASH = 50;
|
|
/** RegularExpression Id. */
|
|
int DOT_DOT = 51;
|
|
/** RegularExpression Id. */
|
|
int AT = 52;
|
|
/** RegularExpression Id. */
|
|
int LPAREN = 53;
|
|
/** RegularExpression Id. */
|
|
int LBRACKET = 54;
|
|
/** RegularExpression Id. */
|
|
int DOLLAR_QNAME = 55;
|
|
/** RegularExpression Id. */
|
|
int PERCENT_QNAME = 56;
|
|
/** RegularExpression Id. */
|
|
int XPATH = 57;
|
|
/** RegularExpression Id. */
|
|
int JOBCONST = 58;
|
|
/** RegularExpression Id. */
|
|
int JOBCONST_PREFIX = 59;
|
|
/** RegularExpression Id. */
|
|
int QUOTED_STRING = 60;
|
|
/** RegularExpression Id. */
|
|
int SINGLE_QUOTE = 61;
|
|
/** RegularExpression Id. */
|
|
int CHARACTER_LITERAL = 62;
|
|
/** RegularExpression Id. */
|
|
int STRING_LITERAL = 63;
|
|
/** RegularExpression Id. */
|
|
int URI = 64;
|
|
/** RegularExpression Id. */
|
|
int IDENTIFIER = 65;
|
|
/** RegularExpression Id. */
|
|
int LETTER_OR_DIGIT = 66;
|
|
/** RegularExpression Id. */
|
|
int MINUS = 67;
|
|
/** RegularExpression Id. */
|
|
int DOT = 68;
|
|
/** RegularExpression Id. */
|
|
int COLON = 69;
|
|
|
|
/** Lexical state. */
|
|
int DEFAULT = 0;
|
|
/** Lexical state. */
|
|
int IN_SINGLE_LINE_COMMENT = 1;
|
|
|
|
/** Literal token values. */
|
|
String[] tokenImage = {
|
|
"<EOF>",
|
|
"\" \"",
|
|
"\"\\t\"",
|
|
"\"\\n\"",
|
|
"\"\\r\"",
|
|
"<token of kind 5>",
|
|
"<token of kind 6>",
|
|
"\"//\"",
|
|
"<SINGLE_LINE_COMMENT>",
|
|
"\"import\"",
|
|
"\"trans\"",
|
|
"\"if\"",
|
|
"\"else\"",
|
|
"\"end\"",
|
|
"\"Extract\"",
|
|
"\"identifierExtract\"",
|
|
"\"Convert\"",
|
|
"\"RegExpr\"",
|
|
"\"getValue\"",
|
|
"\"copy\"",
|
|
"\"declare_ns\"",
|
|
"\"declare_script\"",
|
|
"\"declare_subscript\"",
|
|
"\"preprocess\"",
|
|
"\"set\"",
|
|
"\"skipRecord\"",
|
|
"\"split\"",
|
|
"\"static\"",
|
|
"\"xpath:\"",
|
|
"\"apply\"",
|
|
"\"empty\"",
|
|
"\"dblookup\"",
|
|
"\"blacklist\"",
|
|
"\"lookup\"",
|
|
"\"concat\"",
|
|
"\";\"",
|
|
"\"]\"",
|
|
"\"{\"",
|
|
"\"}\"",
|
|
"\",\"",
|
|
"\")\"",
|
|
"\"\\\'\"",
|
|
"\"=\"",
|
|
"\"!=\"",
|
|
"<GT>",
|
|
"<LT>",
|
|
"<GTE>",
|
|
"<LTE>",
|
|
"\"+\"",
|
|
"\"|\"",
|
|
"\"/\"",
|
|
"\"..\"",
|
|
"\"@\"",
|
|
"\"(\"",
|
|
"\"[\"",
|
|
"<DOLLAR_QNAME>",
|
|
"<PERCENT_QNAME>",
|
|
"<XPATH>",
|
|
"<JOBCONST>",
|
|
"\"$job.\"",
|
|
"<QUOTED_STRING>",
|
|
"<SINGLE_QUOTE>",
|
|
"<CHARACTER_LITERAL>",
|
|
"<STRING_LITERAL>",
|
|
"<URI>",
|
|
"<IDENTIFIER>",
|
|
"<LETTER_OR_DIGIT>",
|
|
"\"-\"",
|
|
"\".\"",
|
|
"\":\"",
|
|
};
|
|
|
|
}
|