Index
A B C D E F G H I J K L M N O P Q R S T U V W _
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- AbstractCharStream - Class in de.jplag.cpp
-
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
- AbstractCharStream(int, int, int) - Constructor for class de.jplag.cpp.AbstractCharStream
-
Constructor.
- add(int, Token) - Method in class de.jplag.cpp.Scanner
- addEscapes(String) - Static method in exception de.jplag.cpp.TokenMgrException
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- adjustBeginLineColumn(int, int) - Method in class de.jplag.cpp.AbstractCharStream
-
Method to adjust line and column numbers for the start of a token.
- AMPERSAND - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- AND - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- ARROWSTAR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- ASSIGNEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- AUTO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- available - Variable in class de.jplag.cpp.AbstractCharStream
-
The number of unoccupied buffer array positions
B
- BACKSLASH - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- backup(int) - Method in class de.jplag.cpp.AbstractCharStream
- backup(int) - Method in interface de.jplag.cpp.CharStream
-
Backs up the input stream by amount steps.
- beginColumn - Variable in class de.jplag.cpp.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class de.jplag.cpp.Token
-
The line number of the first character of this Token.
- beginToken() - Method in class de.jplag.cpp.AbstractCharStream
- beginToken() - Method in interface de.jplag.cpp.CharStream
- BITWISEANDEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- BITWISEOR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- BITWISEOREQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- BITWISEXOR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- BITWISEXOREQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- BREAK - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- buffer - Variable in class de.jplag.cpp.AbstractCharStream
-
Internal circular buffer
- bufpos - Variable in class de.jplag.cpp.AbstractCharStream
-
Current read position in buffer.
- bufsize - Variable in class de.jplag.cpp.AbstractCharStream
-
Overall buffer size - same as buffer.length
C
- C_ARROW - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_ARROWSTAR - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_ASSIGN - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_AUTO - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_BLOCK_BEGIN - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_BLOCK_END - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_BREAK - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_CASE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_CATCH - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_CHAR - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_CLASS - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_CONST - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_CONTINUE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_DEFAULT - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_DELETE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_DO - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_DOT - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_DOTSTAR - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_DOUBLE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_ELLIPSIS - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_ELSE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_ENUM - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_EXTERN - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_FLOAT - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_FOR - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_FRIEND - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_FUN - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_GOTO - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_ID - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_IF - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_INLINE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_INT - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_LONG - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_NEW - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_NULL - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_OPERATOR - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_PRIVATE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_PROTECTED - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_PUBLIC - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_QUESTIONMARK - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_REDECLARED - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_REGISTER - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_RETURN - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_SCOPE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_SHORT - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_SIGNED - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_SIZEOF - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_STATIC - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_STRUCT - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_SWITCH - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_TEMPLATE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_THIS - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_THROW - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_TRY - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_TYPEDEF - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_UNION - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_UNSIGNED - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_VIRTUAL - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_VOID - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_VOLANTILE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- C_WHILE - Static variable in interface de.jplag.cpp.CPPTokenConstants
- CASE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CATCH - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CHAR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CHARACTER - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CharStream - Interface in de.jplag.cpp
-
This interface describes a character stream that maintains line and column number positions of the characters.
- CLASS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- COLON - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- COMMA - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CONST - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CONTINUE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- CPPScanner - Class in de.jplag.cpp
- CPPScanner(CPPScannerTokenManager) - Constructor for class de.jplag.cpp.CPPScanner
-
Constructor with generated Token Manager.
- CPPScanner(InputStream) - Constructor for class de.jplag.cpp.CPPScanner
-
Constructor with InputStream.
- CPPScanner(InputStream, String) - Constructor for class de.jplag.cpp.CPPScanner
-
Constructor with InputStream and supplied encoding
- CPPScanner(Reader) - Constructor for class de.jplag.cpp.CPPScanner
-
Constructor with InputStream.
- CPPScannerConstants - Interface in de.jplag.cpp
-
Token literal values and constants.
- CPPScannerTokenManager - Class in de.jplag.cpp
-
Token Manager.
- CPPScannerTokenManager(SimpleCharStream) - Constructor for class de.jplag.cpp.CPPScannerTokenManager
-
Constructor.
- CPPScannerTokenManager(SimpleCharStream, int) - Constructor for class de.jplag.cpp.CPPScannerTokenManager
-
Constructor.
- CPPToken - Class in de.jplag.cpp
- CPPToken(int, String, int) - Constructor for class de.jplag.cpp.CPPToken
- CPPTokenConstants - Interface in de.jplag.cpp
- curChar - Variable in class de.jplag.cpp.CPPScannerTokenManager
- currentToken - Variable in exception de.jplag.cpp.ParseException
-
This is the last token that has been consumed successfully.
D
- de.jplag.cpp - package de.jplag.cpp
- DECIMALINT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- DECIMALLONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- DEFAULT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
Lexical state.
- DEFAULT_BUF_SIZE - Static variable in class de.jplag.cpp.AbstractCharStream
-
Default buffer size if nothing is specified
- DELETE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- disable_tracing() - Method in class de.jplag.cpp.CPPScanner
-
Disable tracing.
- DIVIDE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- DIVIDEEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- DO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- done() - Method in class de.jplag.cpp.AbstractCharStream
- done() - Method in interface de.jplag.cpp.CharStream
-
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
- DOT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- DOTSTAR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- DOUBLE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
E
- ELLIPSIS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- ELSE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- enable_tracing() - Method in class de.jplag.cpp.CPPScanner
-
Enable tracing.
- endColumn - Variable in class de.jplag.cpp.Token
-
The column number of the last character of this Token.
- endLine - Variable in class de.jplag.cpp.Token
-
The line number of the last character of this Token.
- ENUM - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- EOF - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
End of File.
- EOL - Static variable in exception de.jplag.cpp.ParseException
-
The end of line string for this machine.
- EQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- errorCount() - Method in class de.jplag.cpp.Language
- expandBuff(boolean) - Method in class de.jplag.cpp.AbstractCharStream
- expectedTokenSequences - Variable in exception de.jplag.cpp.ParseException
-
Each entry in this array is an array of integers.
- EXTERN - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
F
- FALSETOK - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- FILE_END - Static variable in interface de.jplag.cpp.CPPTokenConstants
- fillBuff() - Method in class de.jplag.cpp.AbstractCharStream
- FLOAT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- FLOATONE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- FLOATTWO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- FOR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- FRIEND - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
G
- generateParseException() - Method in class de.jplag.cpp.CPPScanner
-
Generate ParseException.
- getBeginColumn() - Method in class de.jplag.cpp.AbstractCharStream
- getBeginColumn() - Method in interface de.jplag.cpp.CharStream
- getBeginLine() - Method in class de.jplag.cpp.AbstractCharStream
- getBeginLine() - Method in interface de.jplag.cpp.CharStream
- getBufSizeAfterExpansion() - Method in class de.jplag.cpp.AbstractCharStream
- getColumn() - Method in class de.jplag.cpp.AbstractCharStream
- getColumn() - Method in class de.jplag.cpp.CPPToken
- getEndColumn() - Method in class de.jplag.cpp.AbstractCharStream
- getEndColumn() - Method in interface de.jplag.cpp.CharStream
- getEndLine() - Method in class de.jplag.cpp.AbstractCharStream
- getEndLine() - Method in interface de.jplag.cpp.CharStream
- getImage() - Method in class de.jplag.cpp.AbstractCharStream
- getImage() - Method in interface de.jplag.cpp.CharStream
- getLength() - Method in class de.jplag.cpp.CPPToken
- getLine() - Method in class de.jplag.cpp.AbstractCharStream
- getLine() - Method in class de.jplag.cpp.CPPToken
- getMessage() - Method in exception de.jplag.cpp.TokenMgrException
-
You can also modify the body of this method to customize your error messages.
- getName() - Method in class de.jplag.cpp.Language
- getNextToken() - Method in class de.jplag.cpp.CPPScanner
- getNextToken() - Method in class de.jplag.cpp.CPPScannerTokenManager
-
Get the next Token.
- getShortName() - Method in class de.jplag.cpp.Language
- getSuffix(int) - Method in class de.jplag.cpp.AbstractCharStream
- getSuffix(int) - Method in interface de.jplag.cpp.CharStream
- getTabSize() - Method in class de.jplag.cpp.AbstractCharStream
- getTabSize() - Method in interface de.jplag.cpp.CharStream
- getToken(int) - Method in class de.jplag.cpp.CPPScanner
- getValue() - Method in class de.jplag.cpp.Token
-
An optional attribute value of the Token.
- GOTO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- GREATERTHAN - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- GREATERTHANOREQUALTO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
H
- hasErrors() - Method in class de.jplag.cpp.Language
- HEXADECIMALINT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- HEXADECIMALLONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
I
- ID - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- IF - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- image - Variable in class de.jplag.cpp.Token
-
The string image of the token.
- IN_COMMENT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
Lexical state.
- IN_LINE_COMMENT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
Lexical state.
- inBuf - Variable in class de.jplag.cpp.AbstractCharStream
-
Characters in the backup/pushBack buffer
- index() - Method in class de.jplag.cpp.CPPScanner
- INLINE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- input_stream - Variable in class de.jplag.cpp.CPPScannerTokenManager
- INT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- internalAdjustBuffSize() - Method in class de.jplag.cpp.AbstractCharStream
- internalSetBufLineColumn(int, int) - Method in class de.jplag.cpp.AbstractCharStream
- internalUpdateLineColumn(char) - Method in class de.jplag.cpp.AbstractCharStream
- INVALID_LEXICAL_STATE - Static variable in exception de.jplag.cpp.TokenMgrException
-
Tried to change to an invalid lexical state.
- isPreformatted() - Method in class de.jplag.cpp.Language
- isTrackLineColumn() - Method in class de.jplag.cpp.AbstractCharStream
- isTrackLineColumn() - Method in interface de.jplag.cpp.CharStream
J
- jj_nt - Variable in class de.jplag.cpp.CPPScanner
-
Next token.
- jjFillToken() - Method in class de.jplag.cpp.CPPScannerTokenManager
- jjnewLexState - Static variable in class de.jplag.cpp.CPPScannerTokenManager
-
Lex State array.
- jjstrLiteralImages - Static variable in class de.jplag.cpp.CPPScannerTokenManager
-
Token literal values.
K
L
- Language - Class in de.jplag.cpp
- Language(ErrorConsumer) - Constructor for class de.jplag.cpp.Language
- LCURLYBRACE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- LESSTHAN - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- LESSTHANOREQUALTO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- LEXICAL_ERROR - Static variable in exception de.jplag.cpp.TokenMgrException
-
Lexical error occurred.
- LexicalErr(boolean, int, int, int, String, int) - Static method in exception de.jplag.cpp.TokenMgrException
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- lexStateNames - Static variable in class de.jplag.cpp.CPPScannerTokenManager
-
Lexer state names.
- LONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- LOOP_DETECTED - Static variable in exception de.jplag.cpp.TokenMgrException
-
Detected (and bailed out of) an infinite loop in the token manager.
- LPARENTHESIS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- LSQUAREBRACKET - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
M
- maxNextCharInd - Variable in class de.jplag.cpp.AbstractCharStream
- minimumTokenMatch() - Method in class de.jplag.cpp.Language
- MINUS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- MINUSEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- MINUSMINUS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- MOD - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- MODEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
N
- NEW - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- newToken(int) - Static method in class de.jplag.cpp.Token
- newToken(int, String) - Static method in class de.jplag.cpp.Token
-
Returns a new Token object, by default.
- next - Variable in class de.jplag.cpp.Token
-
A reference to the next regular (non-special) token from the input stream.
- NOT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- NOTEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- NULL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- NUM_DIFF_TOKENS - Static variable in interface de.jplag.cpp.CPPTokenConstants
- numberOfTokens() - Method in class de.jplag.cpp.Language
O
- OCTALINT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- OCTALLONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- OPERATOR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- OR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
P
- parse(File, String[]) - Method in class de.jplag.cpp.Language
- ParseException - Exception in de.jplag.cpp
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception de.jplag.cpp.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(Token, int[][], String[]) - Constructor for exception de.jplag.cpp.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(String) - Constructor for exception de.jplag.cpp.ParseException
-
Constructor with message.
- PLUS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- PLUSEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- PLUSPLUS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- POINTERTO - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- PREPROCESSOR_OUTPUT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
Lexical state.
- PREPROCESSOR_OUTPUT2 - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
Lexical state.
- PRIVATE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- PROTECTED - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- PUBLIC - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
Q
- QUESTIONMARK - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
R
- RCURLYBRACE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- readChar() - Method in class de.jplag.cpp.AbstractCharStream
- readChar() - Method in interface de.jplag.cpp.CharStream
-
Get the next character from the selected input.
- REDECLARED - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- REGISTER - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- reInit(int, int, int) - Method in class de.jplag.cpp.AbstractCharStream
-
Reinitialise.
- reInit(InputStream, String) - Method in class de.jplag.cpp.SimpleCharStream
-
Reinitialise.
- reInit(InputStream, String, int, int) - Method in class de.jplag.cpp.SimpleCharStream
-
Reinitialise.
- reInit(InputStream, String, int, int, int) - Method in class de.jplag.cpp.SimpleCharStream
-
Reinitialise.
- reInit(Reader) - Method in class de.jplag.cpp.SimpleCharStream
-
Reinitialise.
- reInit(Reader, int, int) - Method in class de.jplag.cpp.SimpleCharStream
-
Reinitialise.
- reInit(Reader, int, int, int) - Method in class de.jplag.cpp.SimpleCharStream
-
Reinitialise.
- ReInit(CPPScannerTokenManager) - Method in class de.jplag.cpp.CPPScanner
-
Reinitialise
- ReInit(SimpleCharStream) - Method in class de.jplag.cpp.CPPScannerTokenManager
-
Reinitialise parser.
- ReInit(SimpleCharStream, int) - Method in class de.jplag.cpp.CPPScannerTokenManager
-
Reinitialise parser.
- ReInit(InputStream) - Method in class de.jplag.cpp.CPPScanner
-
Reinitialise
- ReInit(InputStream, String) - Method in class de.jplag.cpp.CPPScanner
-
Reinitialise
- ReInit(Reader) - Method in class de.jplag.cpp.CPPScanner
-
Reinitialise
- RETURN - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- RPARENTHESIS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- RSQUAREBRACKET - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
S
- scan() - Method in class de.jplag.cpp.CPPScanner
- scan(File, String[]) - Method in class de.jplag.cpp.Scanner
- scanFile(File, String, CPPScanner, Scanner) - Static method in class de.jplag.cpp.CPPScanner
- Scanner - Class in de.jplag.cpp
- Scanner() - Constructor for class de.jplag.cpp.Scanner
- SCOPE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SEMICOLON - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SEPARATOR_TOKEN - Static variable in interface de.jplag.cpp.CPPTokenConstants
- setLine(int) - Method in class de.jplag.cpp.CPPToken
- setTabSize(int) - Method in class de.jplag.cpp.AbstractCharStream
- setTabSize(int) - Method in interface de.jplag.cpp.CharStream
-
Set the tab size to use.
- setTrackLineColumn(boolean) - Method in class de.jplag.cpp.AbstractCharStream
- setTrackLineColumn(boolean) - Method in interface de.jplag.cpp.CharStream
-
Enable or disable line number and column number tracking.
- SHIFTLEFT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SHIFTLEFTEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SHIFTRIGHT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SHIFTRIGHTEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SHORT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SIGNED - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SimpleCharStream - Class in de.jplag.cpp
-
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
- SimpleCharStream(InputStream, String) - Constructor for class de.jplag.cpp.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String, int, int) - Constructor for class de.jplag.cpp.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String, int, int, int) - Constructor for class de.jplag.cpp.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader) - Constructor for class de.jplag.cpp.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader, int, int) - Constructor for class de.jplag.cpp.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader, int, int, int) - Constructor for class de.jplag.cpp.SimpleCharStream
-
Constructor.
- SIZEOF - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- specialToken - Variable in class de.jplag.cpp.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- STAR - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- STATIC - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- STATIC_LEXER_ERROR - Static variable in exception de.jplag.cpp.TokenMgrException
-
An attempt was made to create a second instance of a static token manager.
- streamClose() - Method in class de.jplag.cpp.AbstractCharStream
-
Close the underlying stream.
- streamClose() - Method in class de.jplag.cpp.SimpleCharStream
- streamRead(char[], int, int) - Method in class de.jplag.cpp.AbstractCharStream
-
Read from the underlying stream.
- streamRead(char[], int, int) - Method in class de.jplag.cpp.SimpleCharStream
- STRING - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- STRUCT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- suffixes() - Method in class de.jplag.cpp.Language
- supportsColumns() - Method in class de.jplag.cpp.Language
- SWITCH - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- SwitchTo(int) - Method in class de.jplag.cpp.CPPScannerTokenManager
-
Switch to specified lex state.
T
- TEMPLATE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- THIS - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- THROW - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- TILDE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- TIMESEQUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- token - Variable in class de.jplag.cpp.CPPScanner
-
Current token.
- token() - Method in class de.jplag.cpp.CPPScanner
- Token - Class in de.jplag.cpp
-
Describes the input token stream.
- Token() - Constructor for class de.jplag.cpp.Token
-
No-argument constructor
- Token(int) - Constructor for class de.jplag.cpp.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class de.jplag.cpp.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class de.jplag.cpp.CPPScanner
-
Generated Token Manager.
- tokenBegin - Variable in class de.jplag.cpp.AbstractCharStream
-
The first array index (of `buffer`) that the current token starts
- tokenImage - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
Literal token values.
- tokenImage - Variable in exception de.jplag.cpp.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- TokenMgrException - Exception in de.jplag.cpp
-
Token Manager Error.
- TokenMgrException() - Constructor for exception de.jplag.cpp.TokenMgrException
-
No arg constructor.
- TokenMgrException(boolean, int, int, int, String, int, int) - Constructor for exception de.jplag.cpp.TokenMgrException
-
Full Constructor.
- TokenMgrException(String, int) - Constructor for exception de.jplag.cpp.TokenMgrException
-
Constructor with message and reason.
- toString() - Method in class de.jplag.cpp.Token
-
Returns the image.
- trace_enabled() - Method in class de.jplag.cpp.CPPScanner
- TRUETOK - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- TRY - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- type2string(int) - Static method in class de.jplag.cpp.CPPToken
- type2string(int) - Method in class de.jplag.cpp.Language
- TYPEDEF - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
U
- UNION - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED_DECIMALINT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED_DECIMALLONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED_HEXADECIMALINT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED_HEXADECIMALLONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED_OCTALINT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- UNSIGNED_OCTALLONG - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- usesIndex() - Method in class de.jplag.cpp.Language
V
- var() - Method in class de.jplag.cpp.CPPScanner
- var1() - Method in class de.jplag.cpp.CPPScanner
- var2() - Method in class de.jplag.cpp.CPPScanner
- var3() - Method in class de.jplag.cpp.CPPScanner
- VIRTUAL - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- VOID - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
- VOLATILE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
W
- WHILE - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
_
- _DEFAULT - Static variable in interface de.jplag.cpp.CPPScannerConstants
-
RegularExpression Id.
All Classes|All Packages