public class LexGenJava extends CodeGenerator
m_ccol, m_cline, m_includeBuffer, m_mainBuffer, m_outputBuffer, m_staticsBuffer| Constructor and Description |
|---|
LexGenJava() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCharToSkip(char c,
int kind) |
protected static void |
checkEmptyStringMatch() |
protected static char |
maxChar(long l) |
static void |
reInit() |
void |
start() |
protected void |
writeTemplate(String name,
String... additionalOptions) |
genAnnotation, genClassStart, genCode, genCode, genCodeLine, genCodeNewLine, generateMethodDefHeader, generateMethodDefHeader, genModifier, genStringLiteralArrayCPP, genStringLiteralInCPP, getCharStreamName, getClassQualifier, getGeneratedCode, getLeadingComments, getOutputLanguage, getStringForTokenOnly, getStringToPrint, getTrailingComments, printLeadingComments, printToken, printTokenList, printTokenOnly, printTokenSetup, printTrailingComments, saveOutput, saveOutput, switchToIncludeFile, switchToMainFile, switchToStaticsFile, writeTemplatepublic static String s_tokMgrClassName
public static int s_lexStateIndex
public static int s_maxOrdinal
public static String s_lexStateSuffix
public static int[] s_lexStates
public static boolean[] s_ignoreCase
public static ExpAction[] s_actions
public static int s_stateSetSize
public static int s_totalNumStates
public static int s_maxLexStates
public static String[] s_lexStateName
public static long[] s_toSkip
public static long[] s_toSpecial
public static long[] s_toMore
public static long[] s_toToken
public static int s_defaultLexState
public static AbstractExpRegularExpression[] s_rexprs
public static int[] s_maxLongsReqd
public static int[] s_initMatch
public static int[] s_canMatchAnyChar
public static boolean s_hasEmptyMatch
public static boolean[] s_canLoop
public static boolean[] s_stateHasActions
public static boolean s_hasLoop
public static boolean[] s_canReachOnMore
public static boolean[] s_hasNfa
public static boolean[] s_mixed
public static NfaState s_initialState
public static int s_curKind
public static AbstractExpRegularExpression s_curRE
public static boolean s_keepLineCol
public static String s_errorHandlingClass
public static TokenizerData s_tokenizerData
public static boolean s_generateDataOnly
protected void writeTemplate(String name, String... additionalOptions) throws IOException
IOExceptionpublic static void addCharToSkip(char c,
int kind)
public void start()
throws IOException
IOExceptionprotected static void checkEmptyStringMatch()
protected static char maxChar(long l)
public static void reInit()
Copyright © 2017–2019 Philip Helger. All rights reserved.