public class FileParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static char |
ASSIGNMENT_CHARACTER |
static char |
CLOSING_ARRAY_BRACKET |
static char |
COMMENT |
static char |
OPENING_ARRAY_BRACKET |
Constructor and Description |
---|
FileParser() |
Modifier and Type | Method and Description |
---|---|
static Value |
expand(Line line,
TokenArrayIterator it)
Converts a sequence of tokens into a hierarchical structure of value
objects.
|
static void |
parseInputStream(java.io.InputStream input,
Parameters parameters,
java.io.PrintWriter parserLogStream) |
public static final char ASSIGNMENT_CHARACTER
public static final char OPENING_ARRAY_BRACKET
public static final char CLOSING_ARRAY_BRACKET
public static final char COMMENT
public static void parseInputStream(java.io.InputStream input, Parameters parameters, java.io.PrintWriter parserLogStream)
public static Value expand(Line line, TokenArrayIterator it)
it
- the iterator giving access to the tokens