static class HexCodeFile.Parser extends Object
HexCodeFile.toString()
and
produce a HexCodeFile
object.Modifier and Type | Class and Description |
---|---|
(package private) static class |
HexCodeFile.Parser.InputPos |
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
code |
(package private) HexCodeFile |
hcf |
(package private) String |
input |
(package private) String |
inputSource |
(package private) String |
isa |
(package private) long |
startAddress |
(package private) int |
wordWidth |
Constructor and Description |
---|
Parser(String input,
int sourceOffset,
String source,
String sourceName) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
check(boolean condition,
int offset,
String message) |
(package private) void |
checkHCF(String section,
int offset) |
(package private) Error |
error(int offset,
String message) |
(package private) String |
errorMessage(int offset,
String message) |
(package private) HexCodeFile.Parser.InputPos |
filePos(int index) |
(package private) void |
makeHCF() |
(package private) int |
parseInt(int offset,
String value) |
(package private) void |
parseSection(int offset,
String section) |
(package private) void |
parseSections(int offset,
String source) |
(package private) void |
warning(int offset,
String message) |
final String inputSource
int wordWidth
byte[] code
long startAddress
HexCodeFile hcf
void makeHCF()
String errorMessage(int offset, String message)
HexCodeFile.Parser.InputPos filePos(int index)
void parseSections(int offset, String source)
void parseSection(int offset, String section)