net.sourceforge.pmd.cpd.cppast

Class CPPParserTokenManager

public class CPPParserTokenManager extends Object implements CPPParserConstants

Field Summary
protected static charcurChar
static PrintStreamdebugStream
protected static SimpleCharStreaminput_stream
static int[]jjnewLexState
static String[]jjstrLiteralImages
static String[]lexStateNames
Constructor Summary
CPPParserTokenManager(SimpleCharStream stream)
CPPParserTokenManager(SimpleCharStream stream, int lexState)
Method Summary
static TokengetNextToken()
protected static TokenjjFillToken()
static voidReInit(SimpleCharStream stream)
static voidReInit(SimpleCharStream stream, int lexState)
static voidsetDebugStream(PrintStream ds)
static voidSwitchTo(int lexState)

Field Detail

curChar

protected static char curChar

debugStream

public static PrintStream debugStream

input_stream

protected static SimpleCharStream input_stream

jjnewLexState

public static final int[] jjnewLexState

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

Constructor Detail

CPPParserTokenManager

public CPPParserTokenManager(SimpleCharStream stream)

CPPParserTokenManager

public CPPParserTokenManager(SimpleCharStream stream, int lexState)

Method Detail

getNextToken

public static Token getNextToken()

jjFillToken

protected static Token jjFillToken()

ReInit

public static void ReInit(SimpleCharStream stream)

ReInit

public static void ReInit(SimpleCharStream stream, int lexState)

setDebugStream

public static void setDebugStream(PrintStream ds)

SwitchTo

public static void SwitchTo(int lexState)