Class BusinessBASICTokenizer
java.lang.Object
com.webcodepro.applecommander.util.BusinessBASICTokenizer
Tokenize the given file as an Apple /// Business BASCIC file.
Apple /// Business BASIC memory format:
[Line]
...
[Line]
where [Line] is:
[Offset to next line - $0000 is end of program] (byte)
[Line no] (word)
[Tokens and/or characters]
[End-of-line marker: $00 bytes]
Date created: Dec 15, 2008 11:17:04 PM
-
Constructor Summary
ConstructorsConstructorDescriptionBusinessBASICTokenizer
(byte[] fileData) Constructor for BusinessBASICTokenizer.BusinessBASICTokenizer
(FileEntry fileEntry) Constructor for BusinessBASICTokenizer. -
Method Summary
Modifier and TypeMethodDescriptionAnswer with the next token in the Business BASIC program.boolean
Indicates if there are more tokens in the Business BASIC program.
-
Constructor Details
-
BusinessBASICTokenizer
Constructor for BusinessBASICTokenizer. -
BusinessBASICTokenizer
public BusinessBASICTokenizer(byte[] fileData) Constructor for BusinessBASICTokenizer.
-
-
Method Details
-
hasMoreTokens
public boolean hasMoreTokens()Indicates if there are more tokens in the Business BASIC program. -
getNextToken
Answer with the next token in the Business BASIC program. This may be code, string pieces, line numbers.
-