A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABS - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- accept(Visitor) - Method in class io.github.applecommander.bastools.api.model.Line
- accept(Visitor) - Method in class io.github.applecommander.bastools.api.model.Program
- accept(Visitor) - Method in class io.github.applecommander.bastools.api.model.Statement
- accept(Visitor) - Method in class io.github.applecommander.bastools.api.model.Token
- add - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- add(CodeGenerator) - Method in class io.github.applecommander.bastools.api.code.CodeBuilder
-
Helper method to chain in a
CodeGenerator
. - addBinary(byte[]) - Method in class io.github.applecommander.bastools.api.code.CodeBuilder
-
Add a
byte[]
to this stream. - addColumn() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- addRow() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- amp - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- AND - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- andThen(CodeGenerator) - Method in interface io.github.applecommander.bastools.api.code.CodeGenerator
-
Returns a composed
CodeGenerator
that performs, in sequence, this operation followed by theafter
operation. - append(Token) - Method in class io.github.applecommander.bastools.api.Directive
-
Append directive tokens.
- append(VectorCommand) - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- appendBitmapRow(String) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- appendLongCommands(String) - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- appendShortCommand(char) - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- appendShortCommands(String) - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- ApplesoftKeyword - Enum in io.github.applecommander.bastools.api.model
-
All elements of AppleSoft that are tokenized in some manner.
- apply(String) - Method in class io.github.applecommander.bastools.api.shapes.VectorShape.VectorRegexOptimization
- asBoolean() - Method in class io.github.applecommander.bastools.api.Directive.SimpleExpression
- ASC - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- ASCII_TEXT - io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
-
A simple border based on plain ASCII characters.
- asciiTextBorder() - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- asInteger() - Method in class io.github.applecommander.bastools.api.Directive.SimpleExpression
- asm() - Method in class io.github.applecommander.bastools.api.code.CodeBuilder
-
Start generating Assembly code.
- AsmBuilder - Class in io.github.applecommander.bastools.api.code
-
AsmBuilder
allows generation of assembly code to embed into the output stream. - AsmBuilder(CodeBuilder) - Constructor for class io.github.applecommander.bastools.api.code.AsmBuilder
- assign(String, int) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate an assignment statement.
- assign(String, CodeMark) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate an assignment statement.
- asString() - Method in class io.github.applecommander.bastools.api.Directive.SimpleExpression
- asString() - Method in class io.github.applecommander.bastools.api.model.Token
- AT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- ATN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
B
- BaseVisitor - Class in io.github.applecommander.bastools.api.optimizations
-
Common base class for optimization visitors that allow the program tree to be rewritten.
- BaseVisitor() - Constructor for class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- basic() - Method in class io.github.applecommander.bastools.api.code.CodeBuilder
-
Start generating BASIC code.
- BasicBuilder - Class in io.github.applecommander.bastools.api.code
-
BasicBuilder
allows BASIC commands to be built. - BasicBuilder(CodeBuilder) - Constructor for class io.github.applecommander.bastools.api.code.BasicBuilder
- BasTools - Class in io.github.applecommander.bastools.api
-
Since there are many pieces to bastools, the version information is just a small, dedicated class.
- bitmap() - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- BitmapShape - Class in io.github.applecommander.bastools.api.shapes
-
Represents a bitmap copy of the shape.
- BitmapShape() - Constructor for class io.github.applecommander.bastools.api.shapes.BitmapShape
- BitmapShape(int, int) - Constructor for class io.github.applecommander.bastools.api.shapes.BitmapShape
- BitmapShape(int, int, String) - Constructor for class io.github.applecommander.bastools.api.shapes.BitmapShape
- BitmapShape(String) - Constructor for class io.github.applecommander.bastools.api.shapes.BitmapShape
- BitmapShape.EuclidianDistanceVectorization - Class in io.github.applecommander.bastools.api.shapes
-
Encode a bitmap shape by using the Euclidean distance between plotted points to determine which vectors take precedence.
- BitmapShape.SweepVectorization - Class in io.github.applecommander.bastools.api.shapes
-
Encode a bitmap shape by going to a corner and sweeping back-and-forth across the image.
- bmp() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- border(boolean) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- borderStrategy(TextShapeExporter.BorderStrategy) - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- bottomDivider(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- bottomLeftCorner(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- bottomRightCorner(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- BOX_DRAWING - io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
-
A border comprised of the box drawing characters.
- boxDrawingBorder() - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- build() - Method in class io.github.applecommander.bastools.api.Configuration.Builder
- build() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- build() - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- build() - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- build() - Method in class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- builder() - Static method in class io.github.applecommander.bastools.api.Configuration
- Builder() - Constructor for class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- Builder() - Constructor for class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- Builder() - Constructor for class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- byteVisitor(Configuration) - Static method in class io.github.applecommander.bastools.api.Visitors
- ByteVisitor - Class in io.github.applecommander.bastools.api.visitors
- ByteVisitor(Configuration) - Constructor for class io.github.applecommander.bastools.api.visitors.ByteVisitor
C
- CALL - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- CALL(CodeMark) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "CALL
" statement. - CHAR1 - Static variable in class io.github.applecommander.bastools.api.utils.VariableNameGenerator
- CHAR2 - Static variable in class io.github.applecommander.bastools.api.utils.VariableNameGenerator
- CHR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- CLEAR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- code - Variable in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
The AppleSoft token value.
- CodeBuilder - Class in io.github.applecommander.bastools.api.code
-
CodeBuilder
allows dynamic generation of combined BASIC and Assembly code with dynamicCodeMark
capability. - CodeBuilder() - Constructor for class io.github.applecommander.bastools.api.code.CodeBuilder
- CodeGenerator - Interface in io.github.applecommander.bastools.api.code
-
Represents a code generation operation that accepts the current
GeneratorState
and performs operations against that state. - CodeMark - Class in io.github.applecommander.bastools.api.code
-
A
CodeMark
marks a dynamic address within the output stream. - CodeMark() - Constructor for class io.github.applecommander.bastools.api.code.CodeMark
- COLOR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- comment(int, String) - Static method in class io.github.applecommander.bastools.api.model.Token
- COMMENT - io.github.applecommander.bastools.api.model.Token.Type
- config - Variable in class io.github.applecommander.bastools.api.Directive
- Configuration - Class in io.github.applecommander.bastools.api
- Configuration.Builder - Class in io.github.applecommander.bastools.api
- CONT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- Converters - Class in io.github.applecommander.bastools.api.utils
- COS - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- create(Configuration) - Method in enum io.github.applecommander.bastools.api.Optimization
- currentAddress() - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
This is the current address as defined by the start address + number of bytes generated.
D
- DATA - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- debugStream - Variable in class io.github.applecommander.bastools.api.Configuration
- debugStream(PrintStream) - Method in class io.github.applecommander.bastools.api.Configuration.Builder
- DEF - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- defaultBooleanExpression(String, boolean) - Method in class io.github.applecommander.bastools.api.Directive
- DEL - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- DIM - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- directive(int, String) - Static method in class io.github.applecommander.bastools.api.model.Token
- Directive - Class in io.github.applecommander.bastools.api
- Directive(String, Configuration, OutputStream, String...) - Constructor for class io.github.applecommander.bastools.api.Directive
- DIRECTIVE - io.github.applecommander.bastools.api.model.Token.Type
- Directive.Expression - Interface in io.github.applecommander.bastools.api
- Directive.MapExpression - Class in io.github.applecommander.bastools.api
- Directive.SimpleExpression - Class in io.github.applecommander.bastools.api
- Directive.Variable - Class in io.github.applecommander.bastools.api
- Directives - Class in io.github.applecommander.bastools.api
- div - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- dividerHorizontalLine(PrintWriter, int) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- dividerLeftEdge(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- dividerMiddle(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- dividerRightEdge(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- dividerVerticalLine(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- DRAW - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- drawBorders(Graphics, int, int, int, int) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter
- drawShapeAt(Graphics, BitmapShape, Point) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter
- dump(Program) - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
-
A convenience method to invoke
Program.accept(Visitor)
andByteVisitor.getBytes()
.
E
- EmbeddedBinaryDirective - Class in io.github.applecommander.bastools.api.directives
-
Embed an binary file into a BASIC program.
- EmbeddedBinaryDirective(Configuration, OutputStream) - Constructor for class io.github.applecommander.bastools.api.directives.EmbeddedBinaryDirective
- EmbeddedShapeTable - Class in io.github.applecommander.bastools.api.directives
-
Embed an Applesoft shape table into a BASIC program.
- EmbeddedShapeTable(Configuration, OutputStream) - Constructor for class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- end() - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
- end() - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
- END - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- endLine() - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
End the current line.
- endStatement() - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a statement separator.
- entrySet() - Method in class io.github.applecommander.bastools.api.Directive.MapExpression
- eol(int) - Static method in class io.github.applecommander.bastools.api.model.Token
- EOL - io.github.applecommander.bastools.api.model.Token.Type
- eq - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- equalsIgnoreCase(String) - Method in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
- EuclidianDistanceVectorization(BitmapShape) - Constructor for class io.github.applecommander.bastools.api.shapes.BitmapShape.EuclidianDistanceVectorization
- EXP - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- expectNumber() - Method in class io.github.applecommander.bastools.api.Parser
- export(Shape, File) - Method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
-
Export a single shape to the File.
- export(Shape, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter
- export(Shape, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter
- export(Shape, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter
- export(Shape, OutputStream) - Method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
-
Export a single shape to the OutputStream.
- export(Shape, Path) - Method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
-
Export a single shape to the Path.
- export(ShapeTable, File) - Method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
-
Export the entire shape table to the File.
- export(ShapeTable, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter
- export(ShapeTable, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter
- export(ShapeTable, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter
- export(ShapeTable, OutputStream) - Method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
-
Export the entire shape table to the OutputStream.
- export(ShapeTable, Path) - Method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
-
Export the entire shape table to the Path.
- export(List<BitmapShape>, OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter
- exportShapeAsBitmap(Shape, PrintWriter) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter
- exportShapeAsLongCommands(Shape, PrintWriter) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter
- exportShapeAsShortCommands(Shape, PrintWriter) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter
- expr - Variable in class io.github.applecommander.bastools.api.Directive.Variable
- ExternalShapeImporter - Class in io.github.applecommander.bastools.api.shapes
-
Allow the import of an external shape.
- ExternalShapeImporter(ShapeTable, String) - Constructor for class io.github.applecommander.bastools.api.shapes.ExternalShapeImporter
- EXTRACT_CONSTANT_VALUES - io.github.applecommander.bastools.api.Optimization
- ExtractConstantValues - Class in io.github.applecommander.bastools.api.optimizations
-
Find constants and extract to variables in order to have the number parsed only once.
- ExtractConstantValues(Configuration) - Constructor for class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
F
- find(String) - Static method in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
Utility method to locate a keyword ignoring case.
- find(String, Configuration, OutputStream) - Static method in class io.github.applecommander.bastools.api.Directives
- findPositionByLabel(String) - Method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- findStartPosition() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.SweepVectorization
- FLASH - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- FN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- FOR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- FRE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- from(ByteBuffer) - Static method in class io.github.applecommander.bastools.api.shapes.VectorShape
G
- generate(int) - Method in class io.github.applecommander.bastools.api.code.CodeBuilder
-
Generate this set of code beginning at the starting address.
- generate(GeneratorState) - Method in interface io.github.applecommander.bastools.api.code.CodeGenerator
-
Generates code and writes the bytes into the given
OutputStream
. - generate(File) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeGenerator
- generate(InputStream) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeGenerator
- generate(Reader) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeGenerator
- generate(Path) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeGenerator
- GeneratorState - Class in io.github.applecommander.bastools.api.code
-
Track current state of the code generation.
- GeneratorState(int) - Constructor for class io.github.applecommander.bastools.api.code.GeneratorState
- get() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.EuclidianDistanceVectorization
- get() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.SweepVectorization
- get() - Method in class io.github.applecommander.bastools.api.utils.VariableNameGenerator
- get(int, int) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- get(Point) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- get(String) - Method in class io.github.applecommander.bastools.api.Directive.MapExpression
- GET - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- getAddress() - Method in class io.github.applecommander.bastools.api.code.CodeMark
- getBytes() - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
- getHeight() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- getLabel() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- getLabel() - Method in interface io.github.applecommander.bastools.api.shapes.Shape
-
Get the label of this shape.
- getLabel() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- getLineAddresses() - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
- getLineNumber() - Method in class io.github.applecommander.bastools.api.model.Line
- getPrintStream() - Method in class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- getTargets() - Method in class io.github.applecommander.bastools.api.visitors.LineNumberTargetCollector
- getVariableNames() - Method in class io.github.applecommander.bastools.api.visitors.VariableCollectorVisitor
- getWidth() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- gif() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- GOSUB - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- GOSUB(int) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "GOSUB
" statement. - GOTO - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- GOTO(int) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "GOTO
" statement. - GR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- grid - Variable in class io.github.applecommander.bastools.api.shapes.BitmapShape
- gt - io.github.applecommander.bastools.api.model.ApplesoftKeyword
H
- hasMarkMoved() - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
Indicates if a CodeMark has moved.
- HCOLOR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- HCOLOR(int) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "HCOLOR=<0-7>" statement.
- HexDirective - Class in io.github.applecommander.bastools.api.directives
-
A simple directive to introduce hexadecimal capabilities.
- HexDirective(Configuration, OutputStream) - Constructor for class io.github.applecommander.bastools.api.directives.HexDirective
- HGR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- HGR2 - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- HIMEM - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- HLIN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- HOME - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- horizontal - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- horizontalLine(PrintWriter, int) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- HPLOT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- HTAB - io.github.applecommander.bastools.api.model.ApplesoftKeyword
I
- ident(int, String) - Static method in class io.github.applecommander.bastools.api.model.Token
- IDENT - io.github.applecommander.bastools.api.model.Token.Type
- IF - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- image() - Static method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
- imageFormat(String) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- ImageShapeExporter - Class in io.github.applecommander.bastools.api.shapes.exporters
- ImageShapeExporter.Builder - Class in io.github.applecommander.bastools.api.shapes.exporters
- importShape(Shape) - Method in class io.github.applecommander.bastools.api.shapes.ExternalShapeImporter
- importShapeTableFromBinary(String) - Method in class io.github.applecommander.bastools.api.shapes.ExternalShapeImporter
- importShapeTableFromSource(String) - Method in class io.github.applecommander.bastools.api.shapes.ExternalShapeImporter
- IN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- INPUT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- insertColumn() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- insertRow() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- INT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- INVERSE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- io.github.applecommander.bastools.api - package io.github.applecommander.bastools.api
- io.github.applecommander.bastools.api.code - package io.github.applecommander.bastools.api.code
- io.github.applecommander.bastools.api.directives - package io.github.applecommander.bastools.api.directives
- io.github.applecommander.bastools.api.model - package io.github.applecommander.bastools.api.model
- io.github.applecommander.bastools.api.optimizations - package io.github.applecommander.bastools.api.optimizations
- io.github.applecommander.bastools.api.shapes - package io.github.applecommander.bastools.api.shapes
- io.github.applecommander.bastools.api.shapes.exporters - package io.github.applecommander.bastools.api.shapes.exporters
- io.github.applecommander.bastools.api.utils - package io.github.applecommander.bastools.api.utils
- io.github.applecommander.bastools.api.visitors - package io.github.applecommander.bastools.api.visitors
- isEmpty() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- isEmpty() - Method in interface io.github.applecommander.bastools.api.shapes.Shape
-
Indicates if this shape is empty.
- isEmpty() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
J
- jmp(int) - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
-
Generate a "JMP address" in the output stream.
- jpeg() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
K
- keyword - Variable in class io.github.applecommander.bastools.api.model.Token
- keyword(int, ApplesoftKeyword) - Static method in class io.github.applecommander.bastools.api.model.Token
- KEYWORD - io.github.applecommander.bastools.api.model.Token.Type
L
- label - Variable in class io.github.applecommander.bastools.api.shapes.BitmapShape
- label - Variable in class io.github.applecommander.bastools.api.shapes.VectorShape
- lda(int) - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
-
Generate a "LDA #value" in the output stream.
- ldy(int) - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
-
Generate a "LDY #value" in the output stream.
- LEFT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- LEN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- length(Line) - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
-
A convenience method to get the length of a line.
- LENGTH - Static variable in class io.github.applecommander.bastools.api.utils.VariableNameGenerator
- LET - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- line - Variable in class io.github.applecommander.bastools.api.model.Token
- Line - Class in io.github.applecommander.bastools.api.model
-
An AppleSoft BASIC Line representation.
- Line(int, Program) - Constructor for class io.github.applecommander.bastools.api.model.Line
- lineNumber - Variable in class io.github.applecommander.bastools.api.model.Line
- lineNumber - Variable in class io.github.applecommander.bastools.api.optimizations.Renumber
- lineNumberTargetCollector() - Static method in class io.github.applecommander.bastools.api.Visitors
-
Collect all line numbers that are a target of GOTO, GOSUB, etc.
- LineNumberTargetCollector - Class in io.github.applecommander.bastools.api.visitors
- LineNumberTargetCollector() - Constructor for class io.github.applecommander.bastools.api.visitors.LineNumberTargetCollector
- lines - Variable in class io.github.applecommander.bastools.api.model.Program
- LIST - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- LOAD - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- LOG - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- LOMEM - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- longCommand - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- longCommands() - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- lt - io.github.applecommander.bastools.api.model.ApplesoftKeyword
M
- MapExpression() - Constructor for class io.github.applecommander.bastools.api.Directive.MapExpression
- mapShapeTableToBin(ShapeTable) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- maxLineLength - Variable in class io.github.applecommander.bastools.api.Configuration
- maxLineLength(int) - Method in class io.github.applecommander.bastools.api.Configuration.Builder
- maxWidth(int) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- maxWidth(int) - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- MERGE_LINES - io.github.applecommander.bastools.api.Optimization
- MergeLines - Class in io.github.applecommander.bastools.api.optimizations
- MergeLines(Configuration) - Constructor for class io.github.applecommander.bastools.api.optimizations.MergeLines
- MID - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- move() - Method in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- MOVE_DOWN - io.github.applecommander.bastools.api.shapes.VectorCommand
- MOVE_LEFT - io.github.applecommander.bastools.api.shapes.VectorCommand
- MOVE_RIGHT - io.github.applecommander.bastools.api.shapes.VectorCommand
- MOVE_UP - io.github.applecommander.bastools.api.shapes.VectorCommand
- moveDown() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- moveLeft() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- moveRight() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- moveTo(boolean, Point, Point) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.EuclidianDistanceVectorization
-
Move from origin to target.
- moveUp() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- mul - io.github.applecommander.bastools.api.model.ApplesoftKeyword
N
- name - Variable in class io.github.applecommander.bastools.api.Directive.Variable
- NAME - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedBinaryDirective
- NAME - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- NAME - Static variable in class io.github.applecommander.bastools.api.directives.HexDirective
- needsRParen - Variable in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
Indicates that this needs _just_ a closing right parenthesis since the opening left parenthesis is included in the token
- NEW - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- newProgram - Variable in class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- NEXT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- nextLine() - Method in class io.github.applecommander.bastools.api.model.Line
- noBorder() - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- NONE - io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
-
No border but with spaces between shapes.
- NORMAL - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- NOT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- NOTRACE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- nullTransformation(Token) - Method in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
- number - Variable in class io.github.applecommander.bastools.api.model.Token
- number(int, Double) - Static method in class io.github.applecommander.bastools.api.model.Token
- NUMBER - io.github.applecommander.bastools.api.model.Token.Type
- numberToIdentTransformation(Token) - Method in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
-
Collect a map of constant values and the new variable name to be used.
O
- of(String) - Static method in class io.github.applecommander.bastools.api.shapes.VectorShape.VectorRegexOptimization
- of(String, Function<String, String>) - Static method in class io.github.applecommander.bastools.api.shapes.VectorShape.VectorRegexOptimization
- ON - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- ONERR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- ONLY_ONE - Static variable in class io.github.applecommander.bastools.api.Directive
- onOrAtEdge(VectorCommand) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.SweepVectorization
- opposite() - Method in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- Optimization - Enum in io.github.applecommander.bastools.api
-
All optimization capabilities are definined here in the "best" manner of execution.
- optimize() - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- optimize() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
-
Optimize the vectors by removing useless vectors or replacing a series with a shorter series.
- optimize(boolean) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- optionalExpression(String) - Method in class io.github.applecommander.bastools.api.Directive
- optionalIntegerExpression(String) - Method in class io.github.applecommander.bastools.api.Directive
- optionalMapExpression(String) - Method in class io.github.applecommander.bastools.api.Directive
- optionalStringExpression(String) - Method in class io.github.applecommander.bastools.api.Directive
- OR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- origin - Variable in class io.github.applecommander.bastools.api.shapes.BitmapShape
- outputStream - Variable in class io.github.applecommander.bastools.api.Directive
- outputStream() - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
Grab the
ByteArrayOutputStream
.
P
- PaddedOutputStream(OutputStream, String) - Constructor for class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.PaddedOutputStream
- PARAM_ADDRESS - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_ASSIGN - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_BIN - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_FILE - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedBinaryDirective
- PARAM_INIT - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_LABEL - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_MOVETO - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedBinaryDirective
- PARAM_POKE - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_SRC - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- PARAM_VAR - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedBinaryDirective
- parse() - Method in class io.github.applecommander.bastools.api.Parser
- Parser - Class in io.github.applecommander.bastools.api
-
The Parser will read a series of Tokens and build a Program.
- Parser(Queue<Token>) - Constructor for class io.github.applecommander.bastools.api.Parser
- parts - Variable in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
Token parts as seen by the StreamTokenizer.
- PDL - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- PEEK - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- pixelSize(int) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- plot - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- plot() - Method in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- plot(int, int) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- plot(int, int, Boolean) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- PLOT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- PLOT_DOWN - io.github.applecommander.bastools.api.shapes.VectorCommand
- PLOT_LEFT - io.github.applecommander.bastools.api.shapes.VectorCommand
- PLOT_RIGHT - io.github.applecommander.bastools.api.shapes.VectorCommand
- PLOT_UP - io.github.applecommander.bastools.api.shapes.VectorCommand
- plotDown() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- plotLeft() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- plotOrMove(VectorCommand) - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.SweepVectorization
- plotRight() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- plotUp() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- png() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- POKE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- POKEW(int, CodeMark) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "POKE ,
:POKE , " set of statements. - POP - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- POS - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- pow - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- PR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- prettyPrint() - Method in class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- prettyPrint(boolean) - Method in class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- PrettyPrintVisitor - Class in io.github.applecommander.bastools.api.visitors
- PrettyPrintVisitor(Visitors.PrintBuilder) - Constructor for class io.github.applecommander.bastools.api.visitors.PrettyPrintVisitor
- print() - Method in class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- PRINT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- printBuilder() - Static method in class io.github.applecommander.bastools.api.Visitors
- PrintBuilder() - Constructor for class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- printStream(PrintStream) - Method in class io.github.applecommander.bastools.api.Visitors.PrintBuilder
- PrintVisitor - Class in io.github.applecommander.bastools.api.visitors
- PrintVisitor(Visitors.PrintBuilder) - Constructor for class io.github.applecommander.bastools.api.visitors.PrintVisitor
- process(String) - Method in class io.github.applecommander.bastools.api.shapes.ExternalShapeImporter
- program - Variable in class io.github.applecommander.bastools.api.model.Line
- Program - Class in io.github.applecommander.bastools.api.model
-
A Program is a series of lines.
- Program() - Constructor for class io.github.applecommander.bastools.api.model.Program
Q
- questionmark - io.github.applecommander.bastools.api.model.ApplesoftKeyword
R
- read(byte[]) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeTable
-
Read an existing Applesoft shape table binary file.
- read(File) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- read(InputStream) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- read(Path) - Static method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- READ - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- readBin(String) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- readLine(Program) - Method in class io.github.applecommander.bastools.api.Parser
- readSrc(String) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- readStatement() - Method in class io.github.applecommander.bastools.api.Parser
- reassignments - Variable in class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- ReassignmentVisitor - Class in io.github.applecommander.bastools.api.visitors
-
This is a mildly rewritable Visitor.
- ReassignmentVisitor(Map<Integer, Integer>) - Constructor for class io.github.applecommander.bastools.api.visitors.ReassignmentVisitor
- reassignVisitor(Map<Integer, Integer>) - Static method in class io.github.applecommander.bastools.api.Visitors
-
Rewrite the Program tree with the line number reassignments given.
- RECALL - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- REM - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- REMOVE_EMPTY_STATEMENTS - io.github.applecommander.bastools.api.Optimization
- REMOVE_REM_STATEMENTS - io.github.applecommander.bastools.api.Optimization
- RemoveEmptyStatements - Class in io.github.applecommander.bastools.api.optimizations
-
Remove any empty statements during the tree walk.
- RemoveEmptyStatements(Configuration) - Constructor for class io.github.applecommander.bastools.api.optimizations.RemoveEmptyStatements
- RemoveRemStatements - Class in io.github.applecommander.bastools.api.optimizations
-
Drop all REM statements as they are encountered in the tree walk.
- RemoveRemStatements(Configuration) - Constructor for class io.github.applecommander.bastools.api.optimizations.RemoveRemStatements
- Renumber - Class in io.github.applecommander.bastools.api.optimizations
-
A simple renumbering algorithm that maps the reassignments and lets
BaseVisitor
perform the actual renumbering! - Renumber(Configuration) - Constructor for class io.github.applecommander.bastools.api.optimizations.Renumber
- RENUMBER - io.github.applecommander.bastools.api.Optimization
- requiredIntegerExpression(String, String) - Method in class io.github.applecommander.bastools.api.Directive
- requiredStringExpression(String, String) - Method in class io.github.applecommander.bastools.api.Directive
- reset() - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
Clear current state for another pass.
- resolve(String) - Method in class io.github.applecommander.bastools.api.Directive
-
Resolve the given variable name with any variable replacements that should occur.
- RESTORE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- RESUME - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- RETURN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- RETURN() - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "RETURN" statement.
- RIGHT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- RND - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- ROT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- ROT(int) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "ROT=<0-64>" statement.
- RUN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
S
- SAVE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- SCALE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- SCALE(int) - Method in class io.github.applecommander.bastools.api.code.BasicBuilder
-
Generate a "SCALE=<1-255>" statement.
- scanRow() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape.SweepVectorization
- SCRN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- set(CodeMark) - Method in class io.github.applecommander.bastools.api.code.CodeBuilder
-
Set a
CodeMark
's value. - setAddress(int, int) - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
-
Generate an address setup in the output stream of the format:
- setAddress(CodeMark, int) - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
-
Generate an address setup for a mark in the output stream of the format:
- setupLabels(String, BasicBuilder, Optional<ShapeTable>) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- setupVariables(Directive.MapExpression, BasicBuilder, Optional<ShapeTable>) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- SGN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- Shape - Interface in io.github.applecommander.bastools.api.shapes
-
Represents a single Applesoft shape.
- ShapeExporter - Interface in io.github.applecommander.bastools.api.shapes
- ShapeGenerator - Class in io.github.applecommander.bastools.api.shapes
- ShapeGenerator() - Constructor for class io.github.applecommander.bastools.api.shapes.ShapeGenerator
- shapes - Variable in class io.github.applecommander.bastools.api.shapes.ShapeTable
- ShapeTable - Class in io.github.applecommander.bastools.api.shapes
-
Represents an Applesoft shape table.
- ShapeTable() - Constructor for class io.github.applecommander.bastools.api.shapes.ShapeTable
- SHLOAD - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- shortCommand - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- shortCommands() - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- SHORTEN_VARIABLE_NAMES - io.github.applecommander.bastools.api.Optimization
- ShortenVariableNames - Class in io.github.applecommander.bastools.api.optimizations
-
Ensure all variable names are 1 or 2 characters long.
- ShortenVariableNames(Configuration) - Constructor for class io.github.applecommander.bastools.api.optimizations.ShortenVariableNames
- SimpleExpression(String) - Constructor for class io.github.applecommander.bastools.api.Directive.SimpleExpression
- SIN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- skipEmptyShapes() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- skipEmptyShapes() - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- skipEmptyShapes() - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- skipEmptyShapes(boolean) - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- skipEmptyShapes(boolean) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.Builder
- skipEmptyShapes(boolean) - Method in class io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.Builder
- source() - Static method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
- sourceFile - Variable in class io.github.applecommander.bastools.api.Configuration
- sourceFile(File) - Method in class io.github.applecommander.bastools.api.Configuration.Builder
- SourceShapeExporter - Class in io.github.applecommander.bastools.api.shapes.exporters
- SourceShapeExporter.Builder - Class in io.github.applecommander.bastools.api.shapes.exporters
- SourceShapeExporter.PaddedOutputStream - Class in io.github.applecommander.bastools.api.shapes.exporters
- SPC - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- SPEED - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- SQR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- sta(int) - Method in class io.github.applecommander.bastools.api.code.AsmBuilder
-
Generate a "STA address" in the output stream.
- startAddress - Variable in class io.github.applecommander.bastools.api.Configuration
- startAddress(int) - Method in class io.github.applecommander.bastools.api.Configuration.Builder
- Statement - Class in io.github.applecommander.bastools.api.model
-
A Statement is simply a series of Tokens.
- Statement() - Constructor for class io.github.applecommander.bastools.api.model.Statement
- statements - Variable in class io.github.applecommander.bastools.api.model.Line
- STEP - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- STOP - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- STORE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- STR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- Streams - Class in io.github.applecommander.bastools.api.utils
- string(int, String) - Static method in class io.github.applecommander.bastools.api.model.Token
- STRING - io.github.applecommander.bastools.api.model.Token.Type
- sub - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- SweepVectorization(BitmapShape, VectorCommand, VectorCommand) - Constructor for class io.github.applecommander.bastools.api.shapes.BitmapShape.SweepVectorization
-
Create an instance of the sweep method.
- syntax(int, int) - Static method in class io.github.applecommander.bastools.api.model.Token
- SYNTAX - io.github.applecommander.bastools.api.model.Token.Type
T
- TAB - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- TAN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- TARGET_ENDS - Static variable in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
-
These trigger the end of a replacement range.
- TARGET_STARTS - Static variable in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
-
These trigger the start of a replacement range.
- text - Variable in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
Full text of the token.
- text - Variable in class io.github.applecommander.bastools.api.model.Token
- text() - Static method in interface io.github.applecommander.bastools.api.shapes.ShapeExporter
- TEXT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- TextShapeExporter - Class in io.github.applecommander.bastools.api.shapes.exporters
- TextShapeExporter.BorderStrategy - Enum in io.github.applecommander.bastools.api.shapes.exporters
- TextShapeExporter.Builder - Class in io.github.applecommander.bastools.api.shapes.exporters
- THEN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- TITLE - Static variable in class io.github.applecommander.bastools.api.BasTools
- TO - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- toBitmap() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
- toBitmap() - Method in interface io.github.applecommander.bastools.api.shapes.Shape
-
Transform to a BitmapShape.
- toBitmap() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- toBoolean(String) - Static method in class io.github.applecommander.bastools.api.utils.Converters
-
Convert a string to a boolean value allowing for "true" or "yes" to evaluate to Boolean.TRUE.
- toByteArray(InputStream) - Static method in class io.github.applecommander.bastools.api.utils.Streams
-
Utility method to read all bytes from an InputStream.
- toBytes() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- toInteger(String) - Static method in class io.github.applecommander.bastools.api.utils.Converters
-
Convert a string to an integer allowing multiple formats.
- toIntStream(String) - Static method in class io.github.applecommander.bastools.api.utils.Converters
-
Supports entry of values in ranges or comma-separated lists and combinations thereof.
- Token - Class in io.github.applecommander.bastools.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.bastools.api.model
- tokenize(File) - Static method in class io.github.applecommander.bastools.api.TokenReader
-
A handy method to generate a list of Tokens from a file.
- tokenize(InputStream) - Static method in class io.github.applecommander.bastools.api.TokenReader
-
A handy method to generate a list of Tokens from an InputStream.
- tokenize(String) - Static method in class io.github.applecommander.bastools.api.TokenReader
-
A handy method to generate a list of Tokens from a file name.
- tokenizer(Reader) - Static method in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
Utility method to create a shared definition for AppleSoft file parsing.
- TokenReader - Class in io.github.applecommander.bastools.api
-
The TokenReader, given a text file, generates a series of Tokens (in the compiler sense, not AppleSoft) for the AppleSoft program.
- tokens - Variable in class io.github.applecommander.bastools.api.model.Statement
- toMapExpression() - Method in interface io.github.applecommander.bastools.api.Directive.Expression
- toMapExpression() - Method in class io.github.applecommander.bastools.api.Directive.MapExpression
- toMapExpression() - Method in class io.github.applecommander.bastools.api.Directive.SimpleExpression
- topDivider(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- topLeftCorner(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- topRightCorner(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- toShortCommands() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- toSimpleExpression() - Method in interface io.github.applecommander.bastools.api.Directive.Expression
- toSimpleExpression() - Method in class io.github.applecommander.bastools.api.Directive.MapExpression
- toSimpleExpression() - Method in class io.github.applecommander.bastools.api.Directive.SimpleExpression
- toString() - Method in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
- toString() - Method in class io.github.applecommander.bastools.api.model.Token
- toVector() - Method in class io.github.applecommander.bastools.api.shapes.BitmapShape
-
Convert this bitmap shape to a vector shape.
- toVector() - Method in interface io.github.applecommander.bastools.api.shapes.Shape
-
Transform to a VectorShape.
- toVector() - Method in class io.github.applecommander.bastools.api.shapes.VectorShape
- TRACE - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- type - Variable in class io.github.applecommander.bastools.api.model.Token
U
- update(CodeMark) - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
Hook for the CodeMark to be updated and to capture if a change occurred.
- update(GeneratorState) - Method in class io.github.applecommander.bastools.api.code.CodeMark
-
Update the current address based on the
GeneratorState
. - USR - io.github.applecommander.bastools.api.model.ApplesoftKeyword
V
- VAL - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- validateSet(Predicate<Integer>, String, Optional<?>...) - Method in class io.github.applecommander.bastools.api.Directive
-
Validate a set of optionals with the given validator.
- VALUE_VARIABLE - Static variable in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
- valueOf(String) - Static method in enum io.github.applecommander.bastools.api.model.ApplesoftKeyword
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.applecommander.bastools.api.model.Token.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.applecommander.bastools.api.Optimization
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.applecommander.bastools.api.shapes.VectorCommand
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.applecommander.bastools.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.bastools.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.bastools.api.Optimization
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.applecommander.bastools.api.shapes.VectorCommand
-
Returns an array containing the constants of this enum type, in the order they are declared.
- variableCollectorVisitor() - Static method in class io.github.applecommander.bastools.api.Visitors
- VariableCollectorVisitor - Class in io.github.applecommander.bastools.api.visitors
- VariableCollectorVisitor() - Constructor for class io.github.applecommander.bastools.api.visitors.VariableCollectorVisitor
- VariableNameGenerator - Class in io.github.applecommander.bastools.api.utils
-
Generate all Applesoft BASIC FP variable names.
- VariableNameGenerator() - Constructor for class io.github.applecommander.bastools.api.utils.VariableNameGenerator
- variableReplacements - Variable in class io.github.applecommander.bastools.api.Configuration
- variableReportVisitor() - Static method in class io.github.applecommander.bastools.api.Visitors
- VariableReportVisitor - Class in io.github.applecommander.bastools.api.visitors
- VariableReportVisitor() - Constructor for class io.github.applecommander.bastools.api.visitors.VariableReportVisitor
- VectorCommand - Enum in io.github.applecommander.bastools.api.shapes
-
Represents all "plot vectors" available in an Applesoft shape table.
- vectors - Variable in class io.github.applecommander.bastools.api.shapes.VectorShape
- VectorShape - Class in io.github.applecommander.bastools.api.shapes
- VectorShape() - Constructor for class io.github.applecommander.bastools.api.shapes.VectorShape
- VectorShape(String) - Constructor for class io.github.applecommander.bastools.api.shapes.VectorShape
- VectorShape.VectorRegexOptimization - Class in io.github.applecommander.bastools.api.shapes
-
A vector optimization based on regex.
- VERSION - Static variable in class io.github.applecommander.bastools.api.BasTools
- vertical - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
- verticalLine(PrintWriter) - Method in enum io.github.applecommander.bastools.api.shapes.exporters.TextShapeExporter.BorderStrategy
- visit(Line) - Method in class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- visit(Line) - Method in class io.github.applecommander.bastools.api.optimizations.MergeLines
- visit(Line) - Method in class io.github.applecommander.bastools.api.optimizations.Renumber
- visit(Line) - Method in interface io.github.applecommander.bastools.api.Visitor
- visit(Line) - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
- visit(Line) - Method in class io.github.applecommander.bastools.api.visitors.PrettyPrintVisitor
- visit(Line) - Method in class io.github.applecommander.bastools.api.visitors.PrintVisitor
- visit(Line) - Method in class io.github.applecommander.bastools.api.visitors.ReassignmentVisitor
- visit(Line) - Method in class io.github.applecommander.bastools.api.visitors.VariableReportVisitor
- visit(Program) - Method in class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- visit(Program) - Method in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
- visit(Program) - Method in class io.github.applecommander.bastools.api.optimizations.MergeLines
- visit(Program) - Method in class io.github.applecommander.bastools.api.optimizations.ShortenVariableNames
- visit(Program) - Method in interface io.github.applecommander.bastools.api.Visitor
- visit(Program) - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
- visit(Program) - Method in class io.github.applecommander.bastools.api.visitors.ReassignmentVisitor
- visit(Program) - Method in class io.github.applecommander.bastools.api.visitors.VariableReportVisitor
- visit(Statement) - Method in class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- visit(Statement) - Method in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
- visit(Statement) - Method in class io.github.applecommander.bastools.api.optimizations.RemoveEmptyStatements
- visit(Statement) - Method in class io.github.applecommander.bastools.api.optimizations.RemoveRemStatements
- visit(Statement) - Method in class io.github.applecommander.bastools.api.optimizations.ShortenVariableNames
- visit(Statement) - Method in interface io.github.applecommander.bastools.api.Visitor
- visit(Statement) - Method in class io.github.applecommander.bastools.api.visitors.LineNumberTargetCollector
-
We saw a trigger, collect any numbers that follow.
- visit(Statement) - Method in class io.github.applecommander.bastools.api.visitors.ReassignmentVisitor
-
We saw a trigger, reassign any numbers that follow.
- visit(Token) - Method in class io.github.applecommander.bastools.api.optimizations.BaseVisitor
- visit(Token) - Method in class io.github.applecommander.bastools.api.optimizations.ExtractConstantValues
- visit(Token) - Method in class io.github.applecommander.bastools.api.optimizations.ShortenVariableNames
- visit(Token) - Method in interface io.github.applecommander.bastools.api.Visitor
- visit(Token) - Method in class io.github.applecommander.bastools.api.visitors.ByteVisitor
- visit(Token) - Method in class io.github.applecommander.bastools.api.visitors.PrettyPrintVisitor
- visit(Token) - Method in class io.github.applecommander.bastools.api.visitors.PrintVisitor
- visit(Token) - Method in class io.github.applecommander.bastools.api.visitors.VariableCollectorVisitor
- visit(Token) - Method in class io.github.applecommander.bastools.api.visitors.VariableReportVisitor
- Visitor - Interface in io.github.applecommander.bastools.api
-
The Visitor interface allows some flexibility in what can be done with the AppleSoft BASIC program code.
- Visitors - Class in io.github.applecommander.bastools.api
-
This class presents all of the common Visitor implementations via builder patterns.
- Visitors() - Constructor for class io.github.applecommander.bastools.api.Visitors
- Visitors.PrintBuilder - Class in io.github.applecommander.bastools.api
- VLIN - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- VTAB - io.github.applecommander.bastools.api.model.ApplesoftKeyword
W
- WAIT - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- wbmp() - Method in class io.github.applecommander.bastools.api.shapes.exporters.ImageShapeExporter.Builder
- write(byte[]) - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
Write entire byte array to the output stream.
- write(int) - Method in class io.github.applecommander.bastools.api.code.GeneratorState
-
Write a byte to the output stream.
- write(int) - Method in class io.github.applecommander.bastools.api.shapes.exporters.SourceShapeExporter.PaddedOutputStream
- write(File) - Method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- write(OutputStream) - Method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- write(Path) - Method in class io.github.applecommander.bastools.api.shapes.ShapeTable
- writeBytes(int, Line) - Method in class io.github.applecommander.bastools.api.Directive
-
Write directive contents to output file.
- writeBytes(int, Line) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedBinaryDirective
- writeBytes(int, Line) - Method in class io.github.applecommander.bastools.api.directives.EmbeddedShapeTable
-
Parse the given parameters, generating code and embedding shape table as directed.
- writeBytes(int, Line) - Method in class io.github.applecommander.bastools.api.directives.HexDirective
X
- XDRAW - io.github.applecommander.bastools.api.model.ApplesoftKeyword
- xmove - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
Y
- ymove - Variable in enum io.github.applecommander.bastools.api.shapes.VectorCommand
Z
- ZERO - Static variable in class io.github.applecommander.bastools.api.Directive
- ZERO_OR_ONE - Static variable in class io.github.applecommander.bastools.api.Directive
All Classes All Packages