public class MatrixParser extends java.lang.Object implements MatrixParserTreeConstants, MatrixParserConstants
Red (kienhuis) |
Red |
Modifier and Type | Field and Description |
---|---|
(package private) static SimpleCharStream |
jj_input_stream |
static Token |
jj_nt |
protected static JJTMatrixParserState |
jjtree |
static Token |
token |
static MatrixParserTokenManager |
token_source |
JJTELEMENT, JJTMATRIX, jjtNodeName, JJTROW
Constructor and Description |
---|
MatrixParser(java.io.InputStream stream) |
MatrixParser(java.io.InputStream stream,
java.lang.String encoding) |
MatrixParser(MatrixParserTokenManager tm) |
MatrixParser(java.io.Reader stream) |
Modifier and Type | Method and Description |
---|---|
static void |
disable_tracing() |
static double |
element() |
static void |
enable_tracing() |
static ParseException |
generateParseException() |
static Token |
getNextToken() |
static Token |
getToken(int index) |
static java.util.Vector |
matrix() |
java.util.Vector |
readMatrix()
Read a Matrix from File.
|
static void |
ReInit(java.io.InputStream stream) |
static void |
ReInit(java.io.InputStream stream,
java.lang.String encoding) |
void |
ReInit(MatrixParserTokenManager tm) |
static void |
ReInit(java.io.Reader stream) |
static java.util.Vector |
row() |
protected static JJTMatrixParserState jjtree
public static MatrixParserTokenManager token_source
static SimpleCharStream jj_input_stream
public static Token token
public static Token jj_nt
public MatrixParser(java.io.InputStream stream)
public MatrixParser(java.io.InputStream stream, java.lang.String encoding)
public MatrixParser(java.io.Reader stream)
public MatrixParser(MatrixParserTokenManager tm)
public java.util.Vector readMatrix() throws IllegalActionException
IllegalActionException
- If an error occurs during parsing.public static final java.util.Vector matrix() throws ParseException
ParseException
public static final java.util.Vector row() throws ParseException
ParseException
public static final double element() throws ParseException
ParseException
public static void ReInit(java.io.InputStream stream)
public static void ReInit(java.io.InputStream stream, java.lang.String encoding)
public static void ReInit(java.io.Reader stream)
public void ReInit(MatrixParserTokenManager tm)
public static final Token getNextToken()
public static final Token getToken(int index)
public static ParseException generateParseException()
public static final void enable_tracing()
public static final void disable_tracing()