Skip navigation links
A B C D E F G H I J K L M N O P R S T V W 

A

accept(Visitor) - Method in class io.github.applecommander.bastokenizer.api.model.Line
 
accept(Visitor) - Method in class io.github.applecommander.bastokenizer.api.model.Program
 
accept(Visitor) - Method in class io.github.applecommander.bastokenizer.api.model.Statement
 
accept(Visitor) - Method in class io.github.applecommander.bastokenizer.api.model.Token
 
append(Token) - Method in class io.github.applecommander.bastokenizer.api.Directive
 
ApplesoftKeyword - Enum in io.github.applecommander.bastokenizer.api.model
All elements of AppleSoft that are tokenized in some manner.

B

BaseVisitor - Class in io.github.applecommander.bastokenizer.api.optimizations
Common base class for optimization visitors that allow the program tree to be rewritten.
BaseVisitor() - Constructor for class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
build() - Method in class io.github.applecommander.bastokenizer.api.Configuration.Builder
 
build() - Method in class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
builder() - Static method in class io.github.applecommander.bastokenizer.api.Configuration
 
ByteVisitor - Class in io.github.applecommander.bastokenizer.api.visitors
 
ByteVisitor(Configuration) - Constructor for class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
 
byteVisitor(Configuration) - Static method in class io.github.applecommander.bastokenizer.api.Visitors
 

C

code - Variable in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
The AppleSoft token value.
comment(int, String) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 
config - Variable in class io.github.applecommander.bastokenizer.api.Directive
 
Configuration - Class in io.github.applecommander.bastokenizer.api
 
Configuration.Builder - Class in io.github.applecommander.bastokenizer.api
 
Converters - Class in io.github.applecommander.bastokenizer.api.utils
 
create(Configuration) - Method in enum io.github.applecommander.bastokenizer.api.Optimization
 

D

debugStream(PrintStream) - Method in class io.github.applecommander.bastokenizer.api.Configuration.Builder
 
debugStream - Variable in class io.github.applecommander.bastokenizer.api.Configuration
 
Directive - Class in io.github.applecommander.bastokenizer.api
 
Directive(Configuration, OutputStream) - Constructor for class io.github.applecommander.bastokenizer.api.Directive
 
directive(int, String) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 
Directives - Class in io.github.applecommander.bastokenizer.api
 
dump(Program) - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
A convenience method to invoke Program.accept(Visitor) and ByteVisitor.getBytes().

E

EmbeddedBinaryDirective - Class in io.github.applecommander.bastokenizer.api.directives
 
EmbeddedBinaryDirective(Configuration, OutputStream) - Constructor for class io.github.applecommander.bastokenizer.api.directives.EmbeddedBinaryDirective
 
eol(int) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 
equalsIgnoreCase(String) - Method in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
 
expectNumber() - Method in class io.github.applecommander.bastokenizer.api.Parser
 

F

find(String, Configuration, OutputStream) - Static method in class io.github.applecommander.bastokenizer.api.Directives
 
find(String) - Static method in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Utility method to locate a keyword ignoring case.

G

getBytes() - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
 
getLineAddresses() - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
 
getPrintStream() - Method in class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
getTargets() - Method in class io.github.applecommander.bastokenizer.api.visitors.LineNumberTargetCollector
 

H

hasMore() - Method in class io.github.applecommander.bastokenizer.api.TokenReader
 

I

ident(int, String) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 
io.github.applecommander.bastokenizer.api - package io.github.applecommander.bastokenizer.api
 
io.github.applecommander.bastokenizer.api.directives - package io.github.applecommander.bastokenizer.api.directives
 
io.github.applecommander.bastokenizer.api.model - package io.github.applecommander.bastokenizer.api.model
 
io.github.applecommander.bastokenizer.api.optimizations - package io.github.applecommander.bastokenizer.api.optimizations
 
io.github.applecommander.bastokenizer.api.utils - package io.github.applecommander.bastokenizer.api.utils
 
io.github.applecommander.bastokenizer.api.visitors - package io.github.applecommander.bastokenizer.api.visitors
 

J

jmp(int) - Method in class io.github.applecommander.bastokenizer.api.Directive
 

K

keyword - Variable in class io.github.applecommander.bastokenizer.api.model.Token
 
keyword(int, ApplesoftKeyword) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 

L

lda(int) - Method in class io.github.applecommander.bastokenizer.api.Directive
 
ldy(int) - Method in class io.github.applecommander.bastokenizer.api.Directive
 
length(Line) - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
A convenience method to get the length of a line.
Line - Class in io.github.applecommander.bastokenizer.api.model
An AppleSoft BASIC Line representation.
Line(int, Program) - Constructor for class io.github.applecommander.bastokenizer.api.model.Line
 
line - Variable in class io.github.applecommander.bastokenizer.api.model.Token
 
lineNumber - Variable in class io.github.applecommander.bastokenizer.api.model.Line
 
lineNumber - Variable in class io.github.applecommander.bastokenizer.api.optimizations.Renumber
 
LineNumberTargetCollector - Class in io.github.applecommander.bastokenizer.api.visitors
 
LineNumberTargetCollector() - Constructor for class io.github.applecommander.bastokenizer.api.visitors.LineNumberTargetCollector
 
lineNumberTargetCollector() - Static method in class io.github.applecommander.bastokenizer.api.Visitors
Collect all line numbers that are a target of GOTO, GOSUB, etc.
lines - Variable in class io.github.applecommander.bastokenizer.api.model.Program
 

M

maxLineLength(int) - Method in class io.github.applecommander.bastokenizer.api.Configuration.Builder
 
maxLineLength - Variable in class io.github.applecommander.bastokenizer.api.Configuration
 
MergeLines - Class in io.github.applecommander.bastokenizer.api.optimizations
 
MergeLines(Configuration) - Constructor for class io.github.applecommander.bastokenizer.api.optimizations.MergeLines
 

N

needsRParen - Variable in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Indicates that this needs _just_ a closing right parenthesis since the opening left parenthesis is included in the token
newProgram - Variable in class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
next(int) - Method in class io.github.applecommander.bastokenizer.api.TokenReader
 
nextLine() - Method in class io.github.applecommander.bastokenizer.api.model.Line
 
number - Variable in class io.github.applecommander.bastokenizer.api.model.Token
 
number(int, Double) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 

O

Optimization - Enum in io.github.applecommander.bastokenizer.api
 
outputStream - Variable in class io.github.applecommander.bastokenizer.api.Directive
 

P

parameters - Variable in class io.github.applecommander.bastokenizer.api.Directive
 
parse() - Method in class io.github.applecommander.bastokenizer.api.Parser
 
Parser - Class in io.github.applecommander.bastokenizer.api
The Parser will read a series of Tokens and build a Program.
Parser(Queue<Token>) - Constructor for class io.github.applecommander.bastokenizer.api.Parser
 
parts - Variable in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Token parts as seen by the StreamTokenizer.
prettyPrint(boolean) - Method in class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
prettyPrint() - Method in class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
PrettyPrintVisitor - Class in io.github.applecommander.bastokenizer.api.visitors
 
PrettyPrintVisitor(Visitors.PrintBuilder) - Constructor for class io.github.applecommander.bastokenizer.api.visitors.PrettyPrintVisitor
 
print() - Method in class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
printBuilder() - Static method in class io.github.applecommander.bastokenizer.api.Visitors
 
PrintBuilder() - Constructor for class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
printStream(PrintStream) - Method in class io.github.applecommander.bastokenizer.api.Visitors.PrintBuilder
 
PrintVisitor - Class in io.github.applecommander.bastokenizer.api.visitors
 
PrintVisitor(Visitors.PrintBuilder) - Constructor for class io.github.applecommander.bastokenizer.api.visitors.PrintVisitor
 
program - Variable in class io.github.applecommander.bastokenizer.api.model.Line
 
Program - Class in io.github.applecommander.bastokenizer.api.model
A Program is a series of lines.
Program() - Constructor for class io.github.applecommander.bastokenizer.api.model.Program
 

R

readLine(Program) - Method in class io.github.applecommander.bastokenizer.api.Parser
 
readStatement() - Method in class io.github.applecommander.bastokenizer.api.Parser
 
reassignments - Variable in class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
ReassignmentVisitor - Class in io.github.applecommander.bastokenizer.api.visitors
This is a mildly rewritable Visitor.
ReassignmentVisitor(Map<Integer, Integer>) - Constructor for class io.github.applecommander.bastokenizer.api.visitors.ReassignmentVisitor
 
reassignVisitor(Map<Integer, Integer>) - Static method in class io.github.applecommander.bastokenizer.api.Visitors
Rewrite the Program tree with the line number reassignments given.
RemoveEmptyStatements - Class in io.github.applecommander.bastokenizer.api.optimizations
 
RemoveEmptyStatements() - Constructor for class io.github.applecommander.bastokenizer.api.optimizations.RemoveEmptyStatements
 
RemoveRemStatements - Class in io.github.applecommander.bastokenizer.api.optimizations
 
RemoveRemStatements() - Constructor for class io.github.applecommander.bastokenizer.api.optimizations.RemoveRemStatements
 
Renumber - Class in io.github.applecommander.bastokenizer.api.optimizations
 
Renumber() - Constructor for class io.github.applecommander.bastokenizer.api.optimizations.Renumber
 
require(Token.Type...) - Method in class io.github.applecommander.bastokenizer.api.Directive
 
requiresInteger() - Method in class io.github.applecommander.bastokenizer.api.Directive
 
requiresString() - Method in class io.github.applecommander.bastokenizer.api.Directive
 

S

setAddress(int, int) - Method in class io.github.applecommander.bastokenizer.api.Directive
 
sourceFile(File) - Method in class io.github.applecommander.bastokenizer.api.Configuration.Builder
 
sourceFile - Variable in class io.github.applecommander.bastokenizer.api.Configuration
 
sta(int) - Method in class io.github.applecommander.bastokenizer.api.Directive
 
startAddress(int) - Method in class io.github.applecommander.bastokenizer.api.Configuration.Builder
 
startAddress - Variable in class io.github.applecommander.bastokenizer.api.Configuration
 
Statement - Class in io.github.applecommander.bastokenizer.api.model
A Statement is simply a series of Tokens.
Statement() - Constructor for class io.github.applecommander.bastokenizer.api.model.Statement
 
statements - Variable in class io.github.applecommander.bastokenizer.api.model.Line
 
string(int, String) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 
syntax(int, int) - Static method in class io.github.applecommander.bastokenizer.api.model.Token
 

T

text - Variable in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Full text of the token.
text - Variable in class io.github.applecommander.bastokenizer.api.model.Token
 
toInteger(String) - Static method in class io.github.applecommander.bastokenizer.api.utils.Converters
Convert a string to an integer allowing multiple formats.
Token - Class in io.github.applecommander.bastokenizer.api.model
A Token in the classic compiler sense, in that this represents a component of the application.
Token.Type - Enum in io.github.applecommander.bastokenizer.api.model
 
tokenize(String) - Static method in class io.github.applecommander.bastokenizer.api.TokenReader
A handy method to generate a list of Tokens from a file name.
tokenize(File) - Static method in class io.github.applecommander.bastokenizer.api.TokenReader
A handy method to generate a list of Tokens from a file.
tokenize(InputStream) - Static method in class io.github.applecommander.bastokenizer.api.TokenReader
A handy method to generate a list of Tokens from an InputStream.
tokenizer(Reader) - Static method in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Utility method to create a shared definition for AppleSoft file parsing.
TokenReader - Class in io.github.applecommander.bastokenizer.api
The TokenReader, given a text file, generates a series of Tokens (in the compiler sense, not AppleSoft) for the AppleSoft program.
TokenReader(Reader) - Constructor for class io.github.applecommander.bastokenizer.api.TokenReader
 
tokens - Variable in class io.github.applecommander.bastokenizer.api.model.Statement
 
toString() - Method in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
 
toString() - Method in class io.github.applecommander.bastokenizer.api.model.Token
 
type - Variable in class io.github.applecommander.bastokenizer.api.model.Token
 

V

valueOf(String) - Static method in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.applecommander.bastokenizer.api.model.Token.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.applecommander.bastokenizer.api.Optimization
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.applecommander.bastokenizer.api.model.ApplesoftKeyword
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.applecommander.bastokenizer.api.model.Token.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.applecommander.bastokenizer.api.Optimization
Returns an array containing the constants of this enum type, in the order they are declared.
VariableReportVisitor - Class in io.github.applecommander.bastokenizer.api.visitors
 
VariableReportVisitor() - Constructor for class io.github.applecommander.bastokenizer.api.visitors.VariableReportVisitor
 
variableReportVisitor() - Static method in class io.github.applecommander.bastokenizer.api.Visitors
 
visit(Program) - Method in class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
visit(Statement) - Method in class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
visit(Token) - Method in class io.github.applecommander.bastokenizer.api.optimizations.BaseVisitor
 
visit(Program) - Method in class io.github.applecommander.bastokenizer.api.optimizations.MergeLines
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.optimizations.MergeLines
 
visit(Statement) - Method in class io.github.applecommander.bastokenizer.api.optimizations.RemoveEmptyStatements
 
visit(Statement) - Method in class io.github.applecommander.bastokenizer.api.optimizations.RemoveRemStatements
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.optimizations.Renumber
 
visit(Program) - Method in interface io.github.applecommander.bastokenizer.api.Visitor
 
visit(Line) - Method in interface io.github.applecommander.bastokenizer.api.Visitor
 
visit(Statement) - Method in interface io.github.applecommander.bastokenizer.api.Visitor
 
visit(Token) - Method in interface io.github.applecommander.bastokenizer.api.Visitor
 
visit(Program) - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
 
visit(Token) - Method in class io.github.applecommander.bastokenizer.api.visitors.ByteVisitor
 
visit(Statement) - Method in class io.github.applecommander.bastokenizer.api.visitors.LineNumberTargetCollector
We saw a trigger, collect any numbers that follow.
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.visitors.PrettyPrintVisitor
 
visit(Token) - Method in class io.github.applecommander.bastokenizer.api.visitors.PrettyPrintVisitor
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.visitors.PrintVisitor
 
visit(Token) - Method in class io.github.applecommander.bastokenizer.api.visitors.PrintVisitor
 
visit(Program) - Method in class io.github.applecommander.bastokenizer.api.visitors.ReassignmentVisitor
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.visitors.ReassignmentVisitor
 
visit(Statement) - Method in class io.github.applecommander.bastokenizer.api.visitors.ReassignmentVisitor
We saw a trigger, reassign any numbers that follow.
visit(Program) - Method in class io.github.applecommander.bastokenizer.api.visitors.VariableReportVisitor
 
visit(Line) - Method in class io.github.applecommander.bastokenizer.api.visitors.VariableReportVisitor
 
visit(Token) - Method in class io.github.applecommander.bastokenizer.api.visitors.VariableReportVisitor
 
Visitor - Interface in io.github.applecommander.bastokenizer.api
The Visitor interface allows some flexibility in what can be done with the AppleSoft BASIC program code.
Visitors - Class in io.github.applecommander.bastokenizer.api
This class presents all of the common Visitor implementations via builder patterns.
Visitors() - Constructor for class io.github.applecommander.bastokenizer.api.Visitors
 
Visitors.PrintBuilder - Class in io.github.applecommander.bastokenizer.api
 

W

writeBytes(int, Line) - Method in class io.github.applecommander.bastokenizer.api.Directive
Write directive contents to output file.
writeBytes(int, Line) - Method in class io.github.applecommander.bastokenizer.api.directives.EmbeddedBinaryDirective
 
A B C D E F G H I J K L M N O P R S T V W 
Skip navigation links