org.javacc.parser.JavaFiles.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
JavaFiles
org.javacc.parser
Class JavaFiles
- java.lang.Object
-
- org.javacc.parser.JavaCCGlobals
-
- org.javacc.parser.JavaFiles
-
- All Implemented Interfaces:
- JavaCCParserConstants
public class JavaFiles
extends JavaCCGlobals
implements JavaCCParserConstants
Generate CharStream, TokenManager and Exceptions.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
JavaFiles.JavaModernResourceTemplateLocationImpl
static class
JavaFiles.JavaResourceTemplateLocationImpl
static interface
JavaFiles.JavaResourceTemplateLocations
-
Field Summary
Fields
Modifier and Type
Field and Description
static JavaFiles.JavaResourceTemplateLocations
RESOURCES_JAVA_CLASSIC
static JavaFiles.JavaResourceTemplateLocations
RESOURCES_JAVA_MODERN
-
Fields inherited from class org.javacc.parser.JavaCCGlobals
bnfproductions, ccol, cline, cu_from_insertion_point_2, cu_name, cu_to_insertion_point_1, cu_to_insertion_point_2, fileName, jj2index, jjtreeGenerated, lexstate_I2S, lexstate_S2I, lookaheadNeeded, maskindex, maskVals, named_tokens_table, names_of_tokens, ordered_named_tokens, origFileName, otherLanguageDeclTokenBeg, otherLanguageDeclTokenEnd, production_table, rexprlist, rexps_of_tokens, simple_tokens_table, token_mgr_decls, tokenCount, toolName, toolNames
-
Fields inherited from interface org.javacc.parser.JavaCCParserConstants
_CPPCODE, _DCL_PARSER_BEGIN, _DCL_PARSER_END, _DEF_PARSER_BEGIN, _DEF_PARSER_END, _DEFAULT, _EOF, _IGNORE_CASE, _INC_PARSER_BEGIN, _INC_PARSER_END, _JAVACODE, _LOOKAHEAD, _MORE, _PARSER_BEGIN, _PARSER_END, _SKIP, _SPECIAL_TOKEN, _TOKEN, _TOKEN_MGR_DECLS, ABSTRACT, ACT_TOK, AFTER_EGEN, ANDASSIGN, ASSERT, ASSIGN, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_EXPONENT, DECIMAL_FLOATING_POINT_LITERAL, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, DOUBLECOLON, ELSE, ENUM, EOF, EQ, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_LITERAL, HEXADECIMAL_EXPONENT, HEXADECIMAL_FLOATING_POINT_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LANGLE, LBRACE, LBRACKET, LE, LETTER, LONG, LPAREN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PART_LETTER, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RANGLE, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RUNSIGNEDSHIFT, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRICTFP, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, TEMPLATE, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, TYPENAME, VOID, VOLATILE, WHILE, XOR, XORASSIGN
-
Constructor Summary
Constructors
Constructor and Description
JavaFiles()
-
Method Summary
Methods
Modifier and Type
Method and Description
static void
gen_CharStream(JavaFiles.JavaResourceTemplateLocations locations)
static void
gen_JavaCharStream(JavaFiles.JavaResourceTemplateLocations locations)
static void
gen_JavaModernFiles()
static void
gen_ParseException(JavaFiles.JavaResourceTemplateLocations locations)
static void
gen_SimpleCharStream(JavaFiles.JavaResourceTemplateLocations locations)
static void
gen_Token(JavaFiles.JavaResourceTemplateLocations locations)
static void
gen_TokenManager(JavaFiles.JavaResourceTemplateLocations locations)
static void
gen_TokenMgrError(JavaFiles.JavaResourceTemplateLocations locations)
static void
reInit()
-
Methods inherited from class org.javacc.parser.JavaCCGlobals
add_escapes, addUnicodeEscapes, bannerLine, createOutputDir, getIdString, getIdString, getToolNames, isGeneratedBy, printLeadingComments, printLeadingComments, printToken, printToken, printTokenList, printTokenOnly, printTokenOnly, printTokenSetup, printTrailingComments, printTrailingComments, staticOpt
-
-
Field Detail
-
RESOURCES_JAVA_CLASSIC
public static final JavaFiles.JavaResourceTemplateLocations RESOURCES_JAVA_CLASSIC
-
RESOURCES_JAVA_MODERN
public static final JavaFiles.JavaResourceTemplateLocations RESOURCES_JAVA_MODERN
-
Method Detail
-
gen_JavaCharStream
public static void gen_JavaCharStream(JavaFiles.JavaResourceTemplateLocations locations)
-
gen_SimpleCharStream
public static void gen_SimpleCharStream(JavaFiles.JavaResourceTemplateLocations locations)
-
gen_CharStream
public static void gen_CharStream(JavaFiles.JavaResourceTemplateLocations locations)
-
gen_JavaModernFiles
public static void gen_JavaModernFiles()
-
gen_ParseException
public static void gen_ParseException(JavaFiles.JavaResourceTemplateLocations locations)
-
gen_TokenMgrError
public static void gen_TokenMgrError(JavaFiles.JavaResourceTemplateLocations locations)
-
gen_Token
public static void gen_Token(JavaFiles.JavaResourceTemplateLocations locations)
-
gen_TokenManager
public static void gen_TokenManager(JavaFiles.JavaResourceTemplateLocations locations)
-
reInit
public static void reInit()