Class JavaCCParserInternals
java.lang.Object
org.javacc.parser.JavaCCGlobals
org.javacc.parser.JavaCCParserInternals
- Direct Known Subclasses:
JavaCCParser
Utilities.
-
Field Summary
Fields inherited from class 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidprotected static voidadd_token_manager_decls(Token t, List decls) protected static voidprotected static voidprotected static voidprotected static charprotected static charcharacter_descriptor_assign(Token t, String s, String left) protected static voidprotected static booleanhexchar(char ch) protected static inthexval(char ch) protected static voidprotected static voidprotected static voidmakeTryBlock(Token tryLoc, Container result, Container nestedExp, List types, List ids, List catchblks, List finallyblk) protected static voidstatic voidreInit()protected static Stringremove_escapes_and_quotes(Token t, String str) protected static voidprotected static voidsetinsertionpoint(Token t, int no) Methods inherited from class JavaCCGlobals
add_escapes, addUnicodeEscapes, bannerLine, createOutputDir, getIdString, getIdString, getToolNames, isGeneratedBy, printLeadingComments, printLeadingComments, printToken, printToken, printTokenList, printTokenOnly, printTokenOnly, printTokenSetup, printTrailingComments, printTrailingComments, staticOpt
-
Constructor Details
-
JavaCCParserInternals
public JavaCCParserInternals()
-
-
Method Details
-
initialize
protected static void initialize() -
addcuname
-
compare
-
setinsertionpoint
-
insertionpointerrors
-
set_initial_cu_token
-
addproduction
-
production_addexpansion
-
addregexpr
-
add_token_manager_decls
-
add_inline_regexpr
-
hexchar
protected static boolean hexchar(char ch) -
hexval
protected static int hexval(char ch) -
remove_escapes_and_quotes
-
character_descriptor_assign
-
character_descriptor_assign
-
makeTryBlock
-
reInit
public static void reInit()
-