Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
J
K
L
M
N
O
P
Q
R
S
T
U
A
addEscapes(String)
- Static method in error org.nnsoft.commons.bspi.
TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
adjustBeginLineColumn(int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Method to adjust line and column numbers for the start of a token.
B
backup(int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Backup a number of characters.
beginColumn
- Variable in class org.nnsoft.commons.bspi.
Token
The column number of the first character of this Token.
beginLine
- Variable in class org.nnsoft.commons.bspi.
Token
The line number of the first character of this Token.
BeginToken()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Start.
bufcolumn
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
buffer
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
bufline
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
bufpos
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
Position in buffer.
C
column
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
curChar
- Variable in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
currentToken
- Variable in exception org.nnsoft.commons.bspi.
ParseException
This is the last token that has been consumed successfully.
D
debugStream
- Variable in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Debug output.
DEFAULT
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
Lexical state.
DIGIT
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
RegularExpression Id.
Done()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reset buffer when finished.
E
endColumn
- Variable in class org.nnsoft.commons.bspi.
Token
The column number of the last character of this Token.
endLine
- Variable in class org.nnsoft.commons.bspi.
Token
The line number of the last character of this Token.
EOF
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
End of File.
eol
- Variable in exception org.nnsoft.commons.bspi.
ParseException
The end of line string for this machine.
ExpandBuff(boolean)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
expectedTokenSequences
- Variable in exception org.nnsoft.commons.bspi.
ParseException
Each entry in this array is an array of integers.
F
FillBuff()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
G
getBeginColumn()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Get token beginning column number.
getBeginLine()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Get token beginning line number.
getColumn()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Deprecated.
getEndColumn()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Get token end column number.
getEndLine()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Get token end line number.
GetImage()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Get token literal value.
getLine()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Deprecated.
getMessage()
- Method in error org.nnsoft.commons.bspi.
TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken()
- Method in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Get the next Token.
GetSuffix(int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Get the suffix.
getTabSize(int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
getValue()
- Method in class org.nnsoft.commons.bspi.
Token
An optional attribute value of the Token.
I
IDENTIFIER
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
RegularExpression Id.
image
- Variable in class org.nnsoft.commons.bspi.
Token
The string image of the token.
IN_SINGLE_LINE_COMMENT
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
Lexical state.
inBuf
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
input_stream
- Variable in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
inputStream
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
iterator()
- Method in class org.nnsoft.commons.bspi.
ServiceLoader
J
jjFillToken()
- Method in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
jjnewLexState
- Static variable in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Lex State array.
jjstrLiteralImages
- Static variable in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Token literal values.
K
kind
- Variable in class org.nnsoft.commons.bspi.
Token
An integer that describes the kind of this token.
L
LETTER
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
RegularExpression Id.
LexicalError(boolean, int, int, int, String, char)
- Static method in error org.nnsoft.commons.bspi.
TokenMgrError
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 org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Lexer state names.
line
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
load(Class<S>)
- Static method in class org.nnsoft.commons.bspi.
ServiceLoader
Creates a new service loader for the given service type, using the current thread's
context class loader
.
load(Class<S>, ClassLoader)
- Static method in class org.nnsoft.commons.bspi.
ServiceLoader
Creates a new service loader for the given service type and class loader.
loadInstalled(Class<S>)
- Static method in class org.nnsoft.commons.bspi.
ServiceLoader
Creates a new service loader for the given service type, using the extension class loader.
M
maxNextCharInd
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
N
newToken(int, String)
- Static method in class org.nnsoft.commons.bspi.
Token
Returns a new Token object, by default.
newToken(int)
- Static method in class org.nnsoft.commons.bspi.
Token
next
- Variable in class org.nnsoft.commons.bspi.
Token
A reference to the next regular (non-special) token from the input stream.
O
org.nnsoft.commons.bspi
- package org.nnsoft.commons.bspi
P
ParseException
- Exception in
org.nnsoft.commons.bspi
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[])
- Constructor for exception org.nnsoft.commons.bspi.
ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException()
- Constructor for exception org.nnsoft.commons.bspi.
ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String)
- Constructor for exception org.nnsoft.commons.bspi.
ParseException
Constructor with message.
prevCharIsCR
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
prevCharIsLF
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
Q
QUALIFIED_NAME
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
RegularExpression Id.
R
readChar()
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Read a character.
ReInit(SimpleCharStream)
- Method in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int)
- Method in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Reinitialise parser.
ReInit(Reader, int, int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(Reader, int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(Reader)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(InputStream, String)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(InputStream)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
Reinitialise.
reload()
- Method in class org.nnsoft.commons.bspi.
ServiceLoader
Clear this loader's provider cache so that all providers will be reloaded.
S
ServiceConfigurationError
- Error in
org.nnsoft.commons.bspi
Error thrown when something goes wrong while loading a service provider.
ServiceConfigurationError(String)
- Constructor for error org.nnsoft.commons.bspi.
ServiceConfigurationError
Constructs a new instance with the specified message.
ServiceConfigurationError(String, Throwable)
- Constructor for error org.nnsoft.commons.bspi.
ServiceConfigurationError
Constructs a new instance with the specified message and cause.
ServiceFileParserConstants
- Interface in
org.nnsoft.commons.bspi
Token literal values and constants.
ServiceFileParserTokenManager
- Class in
org.nnsoft.commons.bspi
Token Manager.
ServiceFileParserTokenManager(SimpleCharStream)
- Constructor for class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Constructor.
ServiceFileParserTokenManager(SimpleCharStream, int)
- Constructor for class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Constructor.
ServiceLoader
<
S
> - Class in
org.nnsoft.commons.bspi
A simple service-provider loading facility.
setDebugStream(PrintStream)
- Method in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Set debug output.
setTabSize(int)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
SimpleCharStream
- Class in
org.nnsoft.commons.bspi
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(Reader)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SimpleCharStream(InputStream)
- Constructor for class org.nnsoft.commons.bspi.
SimpleCharStream
Constructor.
SINGLE_LINE_COMMENT
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
RegularExpression Id.
specialToken
- Variable in class org.nnsoft.commons.bspi.
Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag
- Static variable in class org.nnsoft.commons.bspi.
SimpleCharStream
Whether parser is static.
SwitchTo(int)
- Method in class org.nnsoft.commons.bspi.
ServiceFileParserTokenManager
Switch to specified lex state.
T
tabSize
- Variable in class org.nnsoft.commons.bspi.
SimpleCharStream
Token
- Class in
org.nnsoft.commons.bspi
Describes the input token stream.
Token()
- Constructor for class org.nnsoft.commons.bspi.
Token
No-argument constructor
Token(int)
- Constructor for class org.nnsoft.commons.bspi.
Token
Constructs a new token for the specified Image.
Token(int, String)
- Constructor for class org.nnsoft.commons.bspi.
Token
Constructs a new token for the specified Image and Kind.
tokenImage
- Variable in exception org.nnsoft.commons.bspi.
ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage
- Static variable in interface org.nnsoft.commons.bspi.
ServiceFileParserConstants
Literal token values.
TokenMgrError
- Error in
org.nnsoft.commons.bspi
Token Manager Error.
TokenMgrError()
- Constructor for error org.nnsoft.commons.bspi.
TokenMgrError
No arg constructor.
TokenMgrError(String, int)
- Constructor for error org.nnsoft.commons.bspi.
TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int)
- Constructor for error org.nnsoft.commons.bspi.
TokenMgrError
Full Constructor.
toString()
- Method in class org.nnsoft.commons.bspi.
ServiceLoader
toString()
- Method in class org.nnsoft.commons.bspi.
Token
Returns the image.
typesIterator()
- Method in class org.nnsoft.commons.bspi.
ServiceLoader
Returns an iterator over a set of elements of type
Class<? extends S>
.
U
UpdateLineColumn(char)
- Method in class org.nnsoft.commons.bspi.
SimpleCharStream
A
B
C
D
E
F
G
I
J
K
L
M
N
O
P
Q
R
S
T
U
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010-2011
99 Software Foundation
. All Rights Reserved.