A B C D E F G H I J K L M N O P R S T U V W X Y

A

AHEAD - Static variable in class ant.compiler.ast.SenseDirection
 
AHEAD - Static variable in interface ant.compiler.parser.AntParserConstants
 
AbstractVisitor - class ant.compiler.ast.AbstractVisitor.
Abstract visitor that provides default implementations for visit methods.
AbstractVisitor() - Constructor for class ant.compiler.ast.AbstractVisitor
 
AddressResolver - class ant.compiler.asm.AddressResolver.
Computes addresses for a graph of Asm statements and places them in a list in address order.
AddressResolver() - Constructor for class ant.compiler.asm.AddressResolver
 
Ant - class ant.debug.Ant.
 
Ant() - Constructor for class ant.debug.Ant
 
AntCompiler - class ant.compiler.AntCompiler.
AntCompiler main class.
AntCompiler() - Constructor for class ant.compiler.AntCompiler
 
AntDebugger - class ant.debug.AntDebugger.
This class reads in a file with the following format: ...
AntDebugger() - Constructor for class ant.debug.AntDebugger
 
AntParser - class ant.compiler.parser.AntParser.
The Parser of the Ant Control Language.
AntParser(InputStream) - Constructor for class ant.compiler.parser.AntParser
 
AntParser(Reader) - Constructor for class ant.compiler.parser.AntParser
 
AntParser(AntParserTokenManager) - Constructor for class ant.compiler.parser.AntParser
 
AntParser.JJCalls - class ant.compiler.parser.AntParser.JJCalls.
 
AntParser.JJCalls() - Constructor for class ant.compiler.parser.AntParser.JJCalls
 
AntParserConstants - interface ant.compiler.parser.AntParserConstants.
 
AntParserTokenManager - class ant.compiler.parser.AntParserTokenManager.
 
AntParserTokenManager(SimpleCharStream) - Constructor for class ant.compiler.parser.AntParserTokenManager
 
AntParserTokenManager(SimpleCharStream, int) - Constructor for class ant.compiler.parser.AntParserTokenManager
 
AntWorld - class ant.debug.AntWorld.
 
AntWorld(int, int, int) - Constructor for class ant.debug.AntWorld
 
Asm - class ant.compiler.asm.Asm.
Ant assembler with inner classes that represents the basic statments for the ant simulator.
Asm() - Constructor for class ant.compiler.asm.Asm
 
Asm.AbstractDFSVisitor - class ant.compiler.asm.Asm.AbstractDFSVisitor.
Abstract depth first search visitor implementation of the Asm statements.
Asm.AbstractDFSVisitor() - Constructor for class ant.compiler.asm.Asm.AbstractDFSVisitor
 
Asm.AbstractVisitor - class ant.compiler.asm.Asm.AbstractVisitor.
Default implementation of the Asm.Visitor interface.
Asm.AbstractVisitor() - Constructor for class ant.compiler.asm.Asm.AbstractVisitor
 
Asm.Conditional - class ant.compiler.asm.Asm.Conditional.
Abstract super class for all conditional Asm statements.
Asm.Conditional(Asm, Asm) - Constructor for class ant.compiler.asm.Asm.Conditional
 
Asm.DFSPostorderVisitor - class ant.compiler.asm.Asm.DFSPostorderVisitor.
Depth first search visitor that performs a postorder graph traversal.
Asm.DFSPostorderVisitor() - Constructor for class ant.compiler.asm.Asm.DFSPostorderVisitor
 
Asm.DFSPreorderVisitor - class ant.compiler.asm.Asm.DFSPreorderVisitor.
Depth first search visitor that performs a preorder graph traversal.
Asm.DFSPreorderVisitor() - Constructor for class ant.compiler.asm.Asm.DFSPreorderVisitor
 
Asm.Drop - class ant.compiler.asm.Asm.Drop.
Asm statement representing the drop instruction.
Asm.Drop(Asm) - Constructor for class ant.compiler.asm.Asm.Drop
 
Asm.Flip - class ant.compiler.asm.Asm.Flip.
Asm statement representing the flip instruction.
Asm.Flip(int, Asm) - Constructor for class ant.compiler.asm.Asm.Flip
 
Asm.Flip(int, Asm, Asm) - Constructor for class ant.compiler.asm.Asm.Flip
 
Asm.Mark - class ant.compiler.asm.Asm.Mark.
Asm statement representing the mark instruction.
Asm.Mark(int, Asm) - Constructor for class ant.compiler.asm.Asm.Mark
 
Asm.Move - class ant.compiler.asm.Asm.Move.
Asm statement representing the move instruction.
Asm.Move(Asm) - Constructor for class ant.compiler.asm.Asm.Move
 
Asm.Move(Asm, Asm) - Constructor for class ant.compiler.asm.Asm.Move
 
Asm.Nop - class ant.compiler.asm.Asm.Nop.
Asm statement that does nothing.
Asm.Nop() - Constructor for class ant.compiler.asm.Asm.Nop
 
Asm.Nop(Asm) - Constructor for class ant.compiler.asm.Asm.Nop
 
Asm.NopFoodTest - class ant.compiler.asm.Asm.NopFoodTest.
Asm statement representing the special test FoundFood.
Asm.NopFoodTest(Asm, Asm) - Constructor for class ant.compiler.asm.Asm.NopFoodTest
 
Asm.NopWallTest - class ant.compiler.asm.Asm.NopWallTest.
Asm statement representing the special test HitWall.
Asm.NopWallTest(Asm, Asm) - Constructor for class ant.compiler.asm.Asm.NopWallTest
 
Asm.PickUp - class ant.compiler.asm.Asm.PickUp.
Asm statement representing the pickup instruction.
Asm.PickUp(Asm) - Constructor for class ant.compiler.asm.Asm.PickUp
 
Asm.PickUp(Asm, Asm) - Constructor for class ant.compiler.asm.Asm.PickUp
 
Asm.Sense - class ant.compiler.asm.Asm.Sense.
Asm statement representing the sense instruction.
Asm.Sense(SenseDirection, Condition, Asm, Asm) - Constructor for class ant.compiler.asm.Asm.Sense
 
Asm.Sequential - class ant.compiler.asm.Asm.Sequential.
Abstract super class for all sequential Asm statements.
Asm.Sequential() - Constructor for class ant.compiler.asm.Asm.Sequential
 
Asm.Sequential(Asm) - Constructor for class ant.compiler.asm.Asm.Sequential
 
Asm.Turn - class ant.compiler.asm.Asm.Turn.
Asm statement representing the turn instruction.
Asm.Turn(TurnDirection, Asm) - Constructor for class ant.compiler.asm.Asm.Turn
 
Asm.Unmark - class ant.compiler.asm.Asm.Unmark.
Asm statement representing the unmark instruction.
Asm.Unmark(int, Asm) - Constructor for class ant.compiler.asm.Asm.Unmark
 
Asm.Visitor - interface ant.compiler.asm.Asm.Visitor.
Visitor interface implemented by all Asm statements.
AsmPrinter - class ant.compiler.asm.AsmPrinter.
Visitor for assembler statements in the Asm class.
AsmPrinter(ErrorLog, PrintWriter, boolean) - Constructor for class ant.compiler.asm.AsmPrinter
 
AsmSymbols - class ant.compiler.asm.AsmSymbols.
Stores the connection between jumps and labeled Asm statements.
AsmSymbols() - Constructor for class ant.compiler.asm.AsmSymbols
 
AssignTransformer - class ant.compiler.trafo.AssignTransformer.
Visitor that creates the transformation for assign statements in the Ant Control Language.
AssignTransformer() - Constructor for class ant.compiler.trafo.AssignTransformer
 
actionPerformed(ActionEvent) - Method in class ant.debug.MyActionListener
 
addEscapes(String) - Static method in class ant.compiler.parser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addLocalVariable(Tree.Var) - Method in class ant.compiler.ast.Tree.Block
 
add_escapes(String) - Method in class ant.compiler.parser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addr - Variable in class ant.compiler.asm.AddressResolver
 
addr - Variable in class ant.compiler.asm.Asm
 
adjustBeginLineColumn(int, int) - Method in class ant.compiler.parser.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
adjustmentValueChanged(AdjustmentEvent) - Method in class ant.debug.AntDebugger
 
afterUpdate(Tree, Tree) - Method in class ant.compiler.ast.Transformer
 
afterUpdate(Tree, Tree) - Method in class ant.compiler.trafo.ProcTransformer
 
andExpression() - Method in class ant.compiler.parser.AntParser
 
ant.compiler - package ant.compiler
 
ant.compiler.asm - package ant.compiler.asm
 
ant.compiler.ast - package ant.compiler.ast
 
ant.compiler.gen - package ant.compiler.gen
 
ant.compiler.parser - package ant.compiler.parser
 
ant.compiler.trafo - package ant.compiler.trafo
 
ant.compiler.util - package ant.compiler.util
 
ant.debug - package ant.debug
 
ants - Variable in class ant.debug.AntWorld
 
ants - Variable in class ant.debug.Round
 
arg - Variable in class ant.compiler.parser.AntParser.JJCalls
 
args - Variable in class ant.compiler.ast.Tree.Call
 
available - Variable in class ant.compiler.parser.SimpleCharStream
 

B

BLACK_ANT - Static variable in interface ant.debug.Constants
 
BLACK_ANT_HILL - Static variable in interface ant.debug.Constants
 
BeginToken() - Method in class ant.compiler.parser.SimpleCharStream
 
back - Variable in class ant.debug.AntDebugger
 
background - Variable in class ant.debug.MyCanvas
 
backup(int) - Method in class ant.compiler.parser.SimpleCharStream
 
beforeDescend(Tree) - Method in class ant.compiler.ast.DFSVisitor
 
beforeDescend(Tree) - Method in class ant.compiler.trafo.SemanticAnalyzer.ParentResolver
 
beginColumn - Variable in class ant.compiler.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class ant.compiler.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
black - Variable in class ant.debug.Marker
 
black_ant_direction0 - Variable in class ant.debug.MyCanvas
 
black_ant_direction0food - Variable in class ant.debug.MyCanvas
 
black_ant_direction1 - Variable in class ant.debug.MyCanvas
 
black_ant_direction1food - Variable in class ant.debug.MyCanvas
 
black_ant_direction2 - Variable in class ant.debug.MyCanvas
 
black_ant_direction2food - Variable in class ant.debug.MyCanvas
 
black_ant_direction3 - Variable in class ant.debug.MyCanvas
 
black_ant_direction3food - Variable in class ant.debug.MyCanvas
 
black_ant_direction4 - Variable in class ant.debug.MyCanvas
 
black_ant_direction4food - Variable in class ant.debug.MyCanvas
 
black_ant_direction5 - Variable in class ant.debug.MyCanvas
 
black_ant_direction5food - Variable in class ant.debug.MyCanvas
 
body - Variable in class ant.compiler.ast.Tree.Proc
 
bufcolumn - Variable in class ant.compiler.parser.SimpleCharStream
 
buffer - Variable in class ant.compiler.parser.SimpleCharStream
 
bufline - Variable in class ant.compiler.parser.SimpleCharStream
 
bufpos - Variable in class ant.compiler.parser.SimpleCharStream
 
bufsize - Variable in class ant.compiler.parser.SimpleCharStream
 

C

CALL - Static variable in interface ant.compiler.parser.AntParserConstants
 
CodeGenerator - class ant.compiler.gen.CodeGenerator.
Generate Asm statements from an ACP abstract syntax Tree.
CodeGenerator(AsmSymbols) - Constructor for class ant.compiler.gen.CodeGenerator
 
Condition - class ant.compiler.ast.Condition.
Constats representing test conditions of the Tree.ConditionTest statements.
Condition(int) - Constructor for class ant.compiler.ast.Condition
 
Constants - interface ant.debug.Constants.
 
CopyVisitor - class ant.compiler.ast.CopyVisitor.
Visitor that copies a tree fragment.
CopyVisitor() - Constructor for class ant.compiler.ast.CopyVisitor
 
canvas - Variable in class ant.debug.MyActionListener
 
checkForUpdate(Tree) - Method in class ant.compiler.ast.Transformer
 
clearLocalVariables() - Method in class ant.compiler.ast.Tree.Block
 
column - Variable in class ant.compiler.asm.AsmPrinter
 
column - Variable in class ant.compiler.parser.SimpleCharStream
 
commands - Variable in class ant.compiler.asm.AddressResolver
 
commands - Variable in class ant.compiler.asm.StateMinimizer
 
compile(String) - Static method in class ant.compiler.AntCompiler
 
computeEquality() - Method in class ant.compiler.asm.StateMinimizer
 
condition - Variable in class ant.compiler.asm.Asm.Sense
 
condition - Variable in class ant.compiler.ast.Tree.ConditionTest
 
condition() - Method in class ant.compiler.parser.AntParser
 
copy - Variable in class ant.compiler.ast.CopyVisitor
 
curChar - Variable in class ant.compiler.parser.AntParserTokenManager
 
curLexState - Variable in class ant.compiler.parser.AntParserTokenManager
 
currentCall - Variable in class ant.compiler.trafo.ProcTransformer
 
currentProc - Variable in class ant.compiler.trafo.ProcTransformer
 
currentToken - Variable in class ant.compiler.parser.ParseException
This is the last token that has been consumed successfully.

D

DEFAULT - Static variable in interface ant.compiler.parser.AntParserConstants
 
DFSVisitor - class ant.compiler.ast.DFSVisitor.
Visitor that visits a tree fragment in depth first order.
DFSVisitor() - Constructor for class ant.compiler.ast.DFSVisitor
 
DROP - Static variable in interface ant.compiler.parser.AntParserConstants
 
Done() - Method in class ant.compiler.parser.SimpleCharStream
 
debug - Static variable in class ant.compiler.AntCompiler
 
debug - Variable in class ant.compiler.asm.AsmPrinter
 
debug - Variable in class ant.compiler.ast.TreePrinter
 
debugStream - Variable in class ant.compiler.parser.AntParserTokenManager
 
debugToString(Asm) - Static method in class ant.compiler.util.Printer
 
defaultLexState - Variable in class ant.compiler.parser.AntParserTokenManager
 
definition - Variable in class ant.compiler.ast.Tree.Assign
 
definition - Variable in class ant.compiler.ast.Tree.Set
 
definition - Variable in class ant.compiler.ast.Tree.Test
 
descendConditional(Asm.Conditional) - Method in class ant.compiler.asm.Asm.AbstractDFSVisitor
 
descendSequential(Asm.Sequential) - Method in class ant.compiler.asm.Asm.AbstractDFSVisitor
 
direction - Variable in class ant.compiler.asm.Asm.Sense
 
direction - Variable in class ant.compiler.asm.Asm.Turn
 
direction - Variable in class ant.compiler.ast.Tree.ConditionTest
 
direction - Variable in class ant.compiler.ast.Tree.TurnCommand
 
direction - Variable in class ant.debug.Ant
 
disable_tracing() - Method in class ant.compiler.parser.AntParser
 
dumpAsm(Asm) - Static method in class ant.compiler.AntCompiler
 
dumpTree(Tree, boolean) - Static method in class ant.compiler.ast.TreePrinter
 

E

ELSE - Static variable in interface ant.compiler.parser.AntParserConstants
 
EOF - Static variable in interface ant.compiler.parser.AntParserConstants
 
EXTENSION_ACP - Static variable in class ant.compiler.AntCompiler
 
EXTENSION_ANT - Static variable in class ant.compiler.AntCompiler
 
ErrorLog - class ant.compiler.util.ErrorLog.
Logs error messages during compilation.
ErrorLog(String) - Constructor for class ant.compiler.util.ErrorLog
 
ExpandBuff(boolean) - Method in class ant.compiler.parser.SimpleCharStream
 
ExpressionEvaluator - class ant.compiler.gen.ExpressionEvaluator.
Code generation for expressions.
ExpressionEvaluator() - Constructor for class ant.compiler.gen.ExpressionEvaluator
 
elseOp - Variable in class ant.compiler.gen.ExpressionEvaluator
 
elseStmt - Variable in class ant.compiler.ast.Tree.If
 
enable_tracing() - Method in class ant.compiler.parser.AntParser
 
enclosingBlock() - Method in class ant.compiler.ast.Tree
Finds the enclosing Tree.Block of a tree.
endColumn - Variable in class ant.compiler.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class ant.compiler.parser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
eol - Variable in class ant.compiler.parser.ParseException
The end of line string for this machine.
equals(Object) - Method in class ant.compiler.asm.Asm.Drop
 
equals(Object) - Method in class ant.compiler.asm.Asm.Flip
 
equals(Object) - Method in class ant.compiler.asm.Asm.Mark
 
equals(Object) - Method in class ant.compiler.asm.Asm.Move
 
equals(Object) - Method in class ant.compiler.asm.Asm.PickUp
 
equals(Object) - Method in class ant.compiler.asm.Asm.Sense
 
equals(Object) - Method in class ant.compiler.asm.Asm.Turn
 
equals(Object) - Method in class ant.compiler.asm.Asm.Unmark
 
error(String) - Method in class ant.compiler.util.ErrorLog
 
errorCnt - Variable in class ant.compiler.util.ErrorLog
 
errorCode - Variable in class ant.compiler.parser.TokenMgrError
Indicates the reason why the exception is thrown.
evaluator - Variable in class ant.compiler.gen.CodeGenerator
 
expectedTokenSequences - Variable in class ant.compiler.parser.ParseException
Each entry in this array is an array of integers.
expr - Variable in class ant.compiler.ast.Tree.Assign
 
expr - Variable in class ant.compiler.ast.Tree.If
 
expression() - Method in class ant.compiler.parser.AntParser
 
exprs() - Method in class ant.compiler.parser.AntParser
 

F

FALSE - Static variable in interface ant.compiler.parser.AntParserConstants
 
FOE - Static variable in class ant.compiler.ast.Condition
 
FOE - Static variable in interface ant.compiler.parser.AntParserConstants
 
FOEHOME - Static variable in interface ant.compiler.parser.AntParserConstants
 
FOEMARKER - Static variable in interface ant.compiler.parser.AntParserConstants
 
FOEWITHFOOD - Static variable in interface ant.compiler.parser.AntParserConstants
 
FOE_HOME - Static variable in class ant.compiler.ast.Condition
 
FOE_MARKER - Static variable in class ant.compiler.ast.Condition
 
FOE_WITH_FOOD - Static variable in class ant.compiler.ast.Condition
 
FOOD - Static variable in class ant.compiler.ast.Condition
 
FOOD - Static variable in interface ant.compiler.parser.AntParserConstants
 
FOUNDFOOD - Static variable in interface ant.compiler.parser.AntParserConstants
 
FREE - Static variable in interface ant.debug.Constants
 
FRIEND - Static variable in class ant.compiler.ast.Condition
 
FRIEND - Static variable in interface ant.compiler.parser.AntParserConstants
 
FRIENDWITHFOOD - Static variable in interface ant.compiler.parser.AntParserConstants
 
FRIEND_WITH_FOOD - Static variable in class ant.compiler.ast.Condition
 
Field - class ant.debug.Field.
 
Field() - Constructor for class ant.debug.Field
 
FillBuff() - Method in class ant.compiler.parser.SimpleCharStream
 
Food - class ant.debug.Food.
 
Food() - Constructor for class ant.debug.Food
 
field - Variable in class ant.debug.AntWorld
 
fileReader - Variable in class ant.debug.AntDebugger
 
finder - Variable in class ant.compiler.trafo.SemanticAnalyzer
 
first - Variable in class ant.compiler.parser.AntParser.JJCalls
 
food - Variable in class ant.debug.Field
 
food - Variable in class ant.debug.Round
 

G

GOTO - Static variable in interface ant.compiler.parser.AntParserConstants
 
GetImage() - Method in class ant.compiler.parser.SimpleCharStream
 
GetSuffix(int) - Method in class ant.compiler.parser.SimpleCharStream
 
g2D - Variable in class ant.debug.MyCanvas
 
gen - Variable in class ant.compiler.parser.AntParser.JJCalls
 
generateParseException() - Method in class ant.compiler.parser.AntParser
 
getBeginColumn() - Method in class ant.compiler.parser.SimpleCharStream
 
getBeginLine() - Method in class ant.compiler.parser.SimpleCharStream
 
getColumn() - Method in class ant.compiler.parser.SimpleCharStream
Deprecated.  
getCommands() - Method in class ant.compiler.asm.AddressResolver
 
getCopy() - Method in class ant.compiler.ast.CopyVisitor
 
getEndColumn() - Method in class ant.compiler.parser.SimpleCharStream
 
getEndLine() - Method in class ant.compiler.parser.SimpleCharStream
 
getIcon(String) - Static method in class ant.debug.MyCanvas
 
getInt(String) - Method in class ant.compiler.parser.AntParser
 
getJumpLabel(Asm) - Method in class ant.compiler.asm.AsmSymbols
 
getJumps() - Method in class ant.compiler.asm.AsmSymbols
 
getLabel(TurnDirection) - Static method in class ant.compiler.util.Printer
 
getLabel(SenseDirection) - Static method in class ant.compiler.util.Printer
 
getLabel(Condition) - Static method in class ant.compiler.util.Printer
 
getLine() - Method in class ant.compiler.parser.SimpleCharStream
Deprecated.  
getLocalVariable(int) - Method in class ant.compiler.ast.Tree.Block
 
getLocalVariableCnt() - Method in class ant.compiler.ast.Tree.Block
 
getLocalVariableIndex(Tree.Var) - Method in class ant.compiler.ast.Tree.Block
 
getMarker(Condition) - Static method in class ant.compiler.util.Printer
 
getMessage() - Method in class ant.compiler.parser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class ant.compiler.parser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNextToken() - Method in class ant.compiler.parser.AntParser
 
getNextToken() - Method in class ant.compiler.parser.AntParserTokenManager
 
getResult() - Method in class ant.compiler.asm.NopEliminator
 
getResult() - Method in class ant.compiler.ast.Transformer
 
getResult() - Method in class ant.compiler.gen.CodeGenerator
 
getResult() - Method in class ant.compiler.gen.ExpressionEvaluator
 
getTarget(String) - Method in class ant.compiler.asm.AsmSymbols
 
getToken(int) - Method in class ant.compiler.parser.AntParser
 
getVersioned(String, int) - Static method in class ant.compiler.util.Name
 
getVersionedCall(String, int) - Static method in class ant.compiler.util.Name
 

H

HERE - Static variable in class ant.compiler.ast.SenseDirection
 
HERE - Static variable in interface ant.compiler.parser.AntParserConstants
 
HITWALL - Static variable in interface ant.compiler.parser.AntParserConstants
 
HOME - Static variable in class ant.compiler.ast.Condition
 
HOME - Static variable in interface ant.compiler.parser.AntParserConstants
 
hasErrors() - Method in class ant.compiler.util.ErrorLog
 
hasMarker(Condition) - Static method in class ant.compiler.util.Printer
 
howMuch - Variable in class ant.debug.Food
 

I

ID(Tree) - Method in class ant.compiler.ast.TreePrinter
 
ID - Static variable in interface ant.compiler.parser.AntParserConstants
 
ID - Variable in class ant.debug.Ant
 
ID_AHEAD - Static variable in class ant.compiler.ast.SenseDirection
 
ID_FOE - Static variable in class ant.compiler.ast.Condition
 
ID_FOE_HOME - Static variable in class ant.compiler.ast.Condition
 
ID_FOE_MARKER - Static variable in class ant.compiler.ast.Condition
 
ID_FOE_WITH_FOOD - Static variable in class ant.compiler.ast.Condition
 
ID_FOOD - Static variable in class ant.compiler.ast.Condition
 
ID_FRIEND - Static variable in class ant.compiler.ast.Condition
 
ID_FRIEND_WITH_FOOD - Static variable in class ant.compiler.ast.Condition
 
ID_HERE - Static variable in class ant.compiler.ast.SenseDirection
 
ID_HOME - Static variable in class ant.compiler.ast.Condition
 
ID_LEFT - Static variable in class ant.compiler.ast.TurnDirection
 
ID_LEFT_AHEAD - Static variable in class ant.compiler.ast.SenseDirection
 
ID_MARKER_0 - Static variable in class ant.compiler.ast.Condition
 
ID_MARKER_1 - Static variable in class ant.compiler.ast.Condition
 
ID_MARKER_2 - Static variable in class ant.compiler.ast.Condition
 
ID_MARKER_3 - Static variable in class ant.compiler.ast.Condition
 
ID_MARKER_4 - Static variable in class ant.compiler.ast.Condition
 
ID_MARKER_5 - Static variable in class ant.compiler.ast.Condition
 
ID_RIGHT - Static variable in class ant.compiler.ast.TurnDirection
 
ID_RIGHT_AHEAD - Static variable in class ant.compiler.ast.SenseDirection
 
ID_ROCK - Static variable in class ant.compiler.ast.Condition
 
IF - Static variable in interface ant.compiler.parser.AntParserConstants
 
INDENT - Static variable in class ant.compiler.ast.TreePrinter
 
INVALID_LEXICAL_STATE - Static variable in class ant.compiler.parser.TokenMgrError
Tried to change to an invalid lexical state.
id - Variable in class ant.compiler.ast.Condition
 
id - Variable in class ant.compiler.ast.SenseDirection
 
id - Variable in class ant.compiler.ast.TurnDirection
 
image - Variable in class ant.compiler.parser.Token
The string image of the token.
inBuf - Variable in class ant.compiler.parser.SimpleCharStream
 
indent() - Method in class ant.compiler.ast.TreePrinter
 
indentPos - Variable in class ant.compiler.ast.TreePrinter
 
init() - Method in class ant.debug.MyCanvas
 
inputStream - Variable in class ant.compiler.parser.SimpleCharStream
 
input_stream - Variable in class ant.compiler.parser.AntParserTokenManager
 
internalState - Variable in class ant.debug.Ant
 
isChildOf(Tree) - Method in class ant.compiler.ast.Tree
 

J

jjAddStates(int, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjCheckNAdd(int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjCheckNAddStates(int, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjCheckNAddStates(int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjCheckNAddTwoStates(int, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjFillToken() - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveNfa_0(int, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa0_0() - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa10_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa11_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa12_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa13_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa1_0(long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa2_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa3_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa4_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa5_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa6_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa7_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa8_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjMoveStringLiteralDfa9_0(long, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjStartNfaWithStates_0(int, int, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjStartNfa_0(int, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjStopAtPos(int, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
jjStopStringLiteralDfa_0(int, long) - Method in class ant.compiler.parser.AntParserTokenManager
 
jj_2_1(int) - Method in class ant.compiler.parser.AntParser
 
jj_2_2(int) - Method in class ant.compiler.parser.AntParser
 
jj_2_3(int) - Method in class ant.compiler.parser.AntParser
 
jj_2_4(int) - Method in class ant.compiler.parser.AntParser
 
jj_2_rtns - Variable in class ant.compiler.parser.AntParser
 
jj_3R_10() - Method in class ant.compiler.parser.AntParser
 
jj_3R_11() - Method in class ant.compiler.parser.AntParser
 
jj_3R_12() - Method in class ant.compiler.parser.AntParser
 
jj_3R_13() - Method in class ant.compiler.parser.AntParser
 
jj_3R_14() - Method in class ant.compiler.parser.AntParser
 
jj_3R_15() - Method in class ant.compiler.parser.AntParser
 
jj_3R_16() - Method in class ant.compiler.parser.AntParser
 
jj_3R_17() - Method in class ant.compiler.parser.AntParser
 
jj_3R_18() - Method in class ant.compiler.parser.AntParser
 
jj_3R_19() - Method in class ant.compiler.parser.AntParser
 
jj_3R_20() - Method in class ant.compiler.parser.AntParser
 
jj_3R_21() - Method in class ant.compiler.parser.AntParser
 
jj_3R_22() - Method in class ant.compiler.parser.AntParser
 
jj_3R_23() - Method in class ant.compiler.parser.AntParser
 
jj_3R_6() - Method in class ant.compiler.parser.AntParser
 
jj_3R_7() - Method in class ant.compiler.parser.AntParser
 
jj_3R_8() - Method in class ant.compiler.parser.AntParser
 
jj_3R_9() - Method in class ant.compiler.parser.AntParser
 
jj_3_1() - Method in class ant.compiler.parser.AntParser
 
jj_3_2() - Method in class ant.compiler.parser.AntParser
 
jj_3_3() - Method in class ant.compiler.parser.AntParser
 
jj_3_4() - Method in class ant.compiler.parser.AntParser
 
jj_add_error_token(int, int) - Method in class ant.compiler.parser.AntParser
 
jj_consume_token(int) - Method in class ant.compiler.parser.AntParser
 
jj_endpos - Variable in class ant.compiler.parser.AntParser
 
jj_expentries - Variable in class ant.compiler.parser.AntParser
 
jj_expentry - Variable in class ant.compiler.parser.AntParser
 
jj_gc - Variable in class ant.compiler.parser.AntParser
 
jj_gen - Variable in class ant.compiler.parser.AntParser
 
jj_input_stream - Variable in class ant.compiler.parser.AntParser
 
jj_kind - Variable in class ant.compiler.parser.AntParser
 
jj_la - Variable in class ant.compiler.parser.AntParser
 
jj_la1 - Variable in class ant.compiler.parser.AntParser
 
jj_la1_0 - Variable in class ant.compiler.parser.AntParser
 
jj_la1_1 - Variable in class ant.compiler.parser.AntParser
 
jj_lastpos - Variable in class ant.compiler.parser.AntParser
 
jj_lasttokens - Variable in class ant.compiler.parser.AntParser
 
jj_nt - Variable in class ant.compiler.parser.AntParser
 
jj_ntk - Variable in class ant.compiler.parser.AntParser
 
jj_ntk() - Method in class ant.compiler.parser.AntParser
 
jj_rescan - Variable in class ant.compiler.parser.AntParser
 
jj_rescan_token() - Method in class ant.compiler.parser.AntParser
 
jj_save(int, int) - Method in class ant.compiler.parser.AntParser
 
jj_scan_token(int) - Method in class ant.compiler.parser.AntParser
 
jj_scanpos - Variable in class ant.compiler.parser.AntParser
 
jj_semLA - Variable in class ant.compiler.parser.AntParser
 
jjbitVec0 - Static variable in class ant.compiler.parser.AntParserTokenManager
 
jjmatchedKind - Variable in class ant.compiler.parser.AntParserTokenManager
 
jjmatchedPos - Variable in class ant.compiler.parser.AntParserTokenManager
 
jjnewStateCnt - Variable in class ant.compiler.parser.AntParserTokenManager
 
jjnextStates - Static variable in class ant.compiler.parser.AntParserTokenManager
 
jjround - Variable in class ant.compiler.parser.AntParserTokenManager
 
jjrounds - Variable in class ant.compiler.parser.AntParserTokenManager
 
jjstateSet - Variable in class ant.compiler.parser.AntParserTokenManager
 
jjstrLiteralImages - Static variable in class ant.compiler.parser.AntParserTokenManager
 
jjtoSkip - Static variable in class ant.compiler.parser.AntParserTokenManager
 
jjtoToken - Static variable in class ant.compiler.parser.AntParserTokenManager
 
jumpName - Variable in class ant.compiler.asm.AsmSymbols
 

K

kind - Variable in class ant.compiler.parser.Token
An integer that describes the kind of this token.

L

LEFT - Static variable in class ant.compiler.ast.TurnDirection
 
LEFT - Static variable in interface ant.compiler.parser.AntParserConstants
 
LEFTAHEAD - Static variable in interface ant.compiler.parser.AntParserConstants
 
LEFT_AHEAD - Static variable in class ant.compiler.ast.SenseDirection
 
LEXICAL_ERROR - Static variable in class ant.compiler.parser.TokenMgrError
Lexical error occured.
LOOP_DETECTED - Static variable in class ant.compiler.parser.TokenMgrError
Detected (and bailed out of) an infinite loop in the token manager.
LexicalError(boolean, int, int, int, String, char) - Static method in class ant.compiler.parser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
labelCnt - Static variable in class ant.compiler.util.Name
 
labelDefinitions - Variable in class ant.compiler.trafo.SemanticAnalyzer
 
labeledOp - Variable in class ant.compiler.asm.AsmSymbols
 
lastRound - Variable in class ant.debug.MyCanvas
 
left - Variable in class ant.compiler.ast.Tree.BinaryExpression
 
lexStateNames - Static variable in class ant.compiler.parser.AntParserTokenManager
 
line - Variable in class ant.compiler.parser.SimpleCharStream
 
linker - Variable in class ant.compiler.trafo.SemanticAnalyzer
 
localVars - Variable in class ant.compiler.ast.Tree.Block
 
log - Variable in class ant.compiler.asm.AsmPrinter
 
log - Variable in class ant.compiler.asm.NopAnalyzer
 
log - Variable in class ant.compiler.asm.NopEliminator
 
log - Variable in class ant.compiler.trafo.ProcTransformer
 
log - Variable in class ant.compiler.trafo.SemanticAnalyzer
 
lookingAhead - Variable in class ant.compiler.parser.AntParser
 

M

MARK - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER0 - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER1 - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER2 - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER3 - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER4 - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER5 - Static variable in interface ant.compiler.parser.AntParserConstants
 
MARKER_0 - Static variable in class ant.compiler.ast.Condition
 
MARKER_1 - Static variable in class ant.compiler.ast.Condition
 
MARKER_2 - Static variable in class ant.compiler.ast.Condition
 
MARKER_3 - Static variable in class ant.compiler.ast.Condition
 
MARKER_4 - Static variable in class ant.compiler.ast.Condition
 
MARKER_5 - Static variable in class ant.compiler.ast.Condition
 
MARKER_BLACK_0 - Static variable in interface ant.debug.Constants
 
MARKER_BLACK_1 - Static variable in interface ant.debug.Constants
 
MARKER_BLACK_2 - Static variable in interface ant.debug.Constants
 
MARKER_BLACK_3 - Static variable in interface ant.debug.Constants
 
MARKER_BLACK_4 - Static variable in interface ant.debug.Constants
 
MARKER_BLACK_5 - Static variable in interface ant.debug.Constants
 
MARKER_RED_0 - Static variable in interface ant.debug.Constants
 
MARKER_RED_1 - Static variable in interface ant.debug.Constants
 
MARKER_RED_2 - Static variable in interface ant.debug.Constants
 
MARKER_RED_3 - Static variable in interface ant.debug.Constants
 
MARKER_RED_4 - Static variable in interface ant.debug.Constants
 
MARKER_RED_5 - Static variable in interface ant.debug.Constants
 
MOVE - Static variable in interface ant.compiler.parser.AntParserConstants
 
Marker - class ant.debug.Marker.
 
Marker() - Constructor for class ant.debug.Marker
 
MyActionListener - class ant.debug.MyActionListener.
 
MyActionListener(AntDebugger) - Constructor for class ant.debug.MyActionListener
 
MyCanvas - class ant.debug.MyCanvas.
 
MyCanvas(AntWorld, AntDebugger) - Constructor for class ant.debug.MyCanvas
 
main(String[]) - Static method in class ant.compiler.AntCompiler
 
main(String[]) - Static method in class ant.debug.AntDebugger
 
markVisited(Asm) - Method in class ant.compiler.asm.Asm.AbstractDFSVisitor
 
marker - Variable in class ant.compiler.ast.Tree.MarkCommand
 
marker - Variable in class ant.compiler.ast.Tree.UnmarkCommand
 
marker - Variable in class ant.debug.Round
 
master - Variable in class ant.debug.MyActionListener
 
master - Variable in class ant.debug.MyCanvas
 
maxNextCharInd - Variable in class ant.compiler.parser.SimpleCharStream
 
minimize() - Method in class ant.compiler.asm.StateMinimizer
 
myActionListener - Variable in class ant.debug.AntDebugger
 
myCanvas - Variable in class ant.debug.AntDebugger
 

N

NUMBER - Static variable in interface ant.compiler.parser.AntParserConstants
 
Name - class ant.compiler.util.Name.
Utility class for creating transformed names.
Name() - Constructor for class ant.compiler.util.Name
 
NameTransformer - class ant.compiler.trafo.NameTransformer.
Visitor class transforming names in an Ant Control Program fragment.
NameTransformer() - Constructor for class ant.compiler.trafo.NameTransformer
 
NopAnalyzer - class ant.compiler.asm.NopAnalyzer.
Computes replacements for Asm.Nop statements.
NopAnalyzer(ErrorLog) - Constructor for class ant.compiler.asm.NopAnalyzer
 
NopEliminator - class ant.compiler.asm.NopEliminator.
Eliminates Asm.Nop statements from a graph of Asm statements.
NopEliminator(ErrorLog) - Constructor for class ant.compiler.asm.NopEliminator
 
name - Variable in class ant.compiler.ast.Tree.Assign
 
name - Variable in class ant.compiler.ast.Tree.Call
 
name - Variable in class ant.compiler.ast.Tree.Goto
 
name - Variable in class ant.compiler.ast.Tree.Label
 
name - Variable in class ant.compiler.ast.Tree.Proc
 
name - Variable in class ant.compiler.ast.Tree.Set
 
name - Variable in class ant.compiler.ast.Tree.Test
 
name - Variable in class ant.compiler.ast.Tree.Var
 
newNopStatement() - Static method in class ant.compiler.ast.Tree
 
newToken(int) - Static method in class ant.compiler.parser.Token
Returns a new Token object, by default.
newline() - Method in class ant.compiler.ast.TreePrinter
 
newlineRequired - Variable in class ant.compiler.ast.TreePrinter
 
next - Variable in class ant.compiler.asm.Asm.Sequential
 
next - Variable in class ant.compiler.gen.CodeGenerator
 
next - Variable in class ant.compiler.parser.AntParser.JJCalls
 
next - Variable in class ant.compiler.parser.Token
A reference to the next regular (non-special) token from the input stream.
nextElse - Variable in class ant.compiler.asm.Asm.Conditional
 
nextThen - Variable in class ant.compiler.asm.Asm.Conditional
 
nextUnique() - Static method in class ant.compiler.util.Name
 
nextUniqueUsage() - Static method in class ant.compiler.util.Name
 
notExpression() - Method in class ant.compiler.parser.AntParser
 
nr - Variable in class ant.compiler.asm.Asm.Mark
 
nr - Variable in class ant.compiler.asm.Asm.Unmark
 
number - Variable in class ant.debug.Round
 

O

OPTION_MARKER_3C - Static variable in interface ant.debug.Constants
 
OPTION_MARKER_BIT - Static variable in interface ant.debug.Constants
 
OPTION_MARKER_FM - Static variable in interface ant.debug.Constants
 
oneStep - Variable in class ant.debug.AntDebugger
 
ops - Variable in class ant.compiler.asm.Asm.AbstractDFSVisitor
 
options - Static variable in class ant.debug.AntDebugger
 
original - Variable in class ant.compiler.trafo.VersionCreator
 
out - Variable in class ant.compiler.asm.AsmPrinter
 
out - Variable in class ant.compiler.ast.TreePrinter
 
outPutImage - Variable in class ant.debug.MyCanvas
 

P

PICK - Static variable in interface ant.compiler.parser.AntParserConstants
 
PIX_LENGTH - Static variable in interface ant.debug.Constants
 
PROC - Static variable in interface ant.compiler.parser.AntParserConstants
 
ParseException - exception ant.compiler.parser.ParseException.
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for class ant.compiler.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for class ant.compiler.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class ant.compiler.parser.ParseException
 
Printer - class ant.compiler.util.Printer.
Utility class for printing constants of the Asm assembler.
Printer() - Constructor for class ant.compiler.util.Printer
 
ProcTransformer - class ant.compiler.trafo.ProcTransformer.
Visitor that computes the transformation for procedure statements in the Ant Control Language.
ProcTransformer(ErrorLog, Tree) - Constructor for class ant.compiler.trafo.ProcTransformer
 
paint(Graphics) - Method in class ant.debug.MyCanvas
 
paintBackground(Graphics2D) - Method in class ant.debug.MyCanvas
 
params - Variable in class ant.compiler.ast.Tree.Proc
 
params() - Method in class ant.compiler.parser.AntParser
 
parent - Variable in class ant.compiler.ast.Tree
 
parent - Variable in class ant.compiler.trafo.SemanticAnalyzer.ParentResolver
 
pos - Variable in class ant.compiler.ast.TreePrinter
 
pretty - Static variable in class ant.compiler.AntCompiler
 
prevCharIsCR - Variable in class ant.compiler.parser.SimpleCharStream
 
prevCharIsLF - Variable in class ant.compiler.parser.SimpleCharStream
 
print(String) - Method in class ant.compiler.asm.AsmPrinter
 
print(String) - Method in class ant.compiler.ast.TreePrinter
 
printAddrComment(Asm) - Method in class ant.compiler.asm.AsmPrinter
 
printDef(Tree) - Method in class ant.compiler.ast.TreePrinter
 
printWorld() - Method in class ant.debug.AntDebugger
 
println() - Method in class ant.compiler.asm.AsmPrinter
 
println(String) - Method in class ant.compiler.asm.AsmPrinter
 
println() - Method in class ant.compiler.ast.TreePrinter
 
println(String) - Method in class ant.compiler.ast.TreePrinter
 
probability - Variable in class ant.compiler.asm.Asm.Flip
 
probability - Variable in class ant.compiler.ast.Tree.RandomTest
 
procDefinitions - Variable in class ant.compiler.trafo.SemanticAnalyzer
 

R

RANDOM - Static variable in interface ant.compiler.parser.AntParserConstants
 
RED_ANT - Static variable in interface ant.debug.Constants
 
RED_ANT_HILL - Static variable in interface ant.debug.Constants
 
RIGHT - Static variable in class ant.compiler.ast.TurnDirection
 
RIGHT - Static variable in interface ant.compiler.parser.AntParserConstants
 
RIGHTAHEAD - Static variable in interface ant.compiler.parser.AntParserConstants
 
RIGHT_AHEAD - Static variable in class ant.compiler.ast.SenseDirection
 
ROCK - Static variable in class ant.compiler.ast.Condition
 
ROCK - Static variable in interface ant.compiler.parser.AntParserConstants
 
ROCK - Static variable in interface ant.debug.Constants
 
ReInit(InputStream) - Method in class ant.compiler.parser.AntParser
 
ReInit(Reader) - Method in class ant.compiler.parser.AntParser
 
ReInit(AntParserTokenManager) - Method in class ant.compiler.parser.AntParser
 
ReInit(SimpleCharStream) - Method in class ant.compiler.parser.AntParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class ant.compiler.parser.AntParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class ant.compiler.parser.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class ant.compiler.parser.SimpleCharStream
 
ReInit(Reader) - Method in class ant.compiler.parser.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class ant.compiler.parser.SimpleCharStream
 
ReInit(InputStream) - Method in class ant.compiler.parser.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class ant.compiler.parser.SimpleCharStream
 
ReInitRounds() - Method in class ant.compiler.parser.AntParserTokenManager
 
Round - class ant.debug.Round.
 
Round(int) - Constructor for class ant.debug.Round
 
readAllRounds() - Method in class ant.debug.AntDebugger
 
readChar() - Method in class ant.compiler.parser.SimpleCharStream
 
readMap(String) - Method in class ant.debug.AntDebugger
 
readOptions(String[]) - Method in class ant.debug.AntDebugger
 
red - Variable in class ant.debug.Marker
 
red_ant_direction0 - Variable in class ant.debug.MyCanvas
 
red_ant_direction0food - Variable in class ant.debug.MyCanvas
 
red_ant_direction1 - Variable in class ant.debug.MyCanvas
 
red_ant_direction1food - Variable in class ant.debug.MyCanvas
 
red_ant_direction2 - Variable in class ant.debug.MyCanvas
 
red_ant_direction2food - Variable in class ant.debug.MyCanvas
 
red_ant_direction3 - Variable in class ant.debug.MyCanvas
 
red_ant_direction3food - Variable in class ant.debug.MyCanvas
 
red_ant_direction4 - Variable in class ant.debug.MyCanvas
 
red_ant_direction4food - Variable in class ant.debug.MyCanvas
 
red_ant_direction5 - Variable in class ant.debug.MyCanvas
 
red_ant_direction5food - Variable in class ant.debug.MyCanvas
 
registerJump(Asm, String) - Method in class ant.compiler.asm.AsmSymbols
 
registerLabel(String, Asm) - Method in class ant.compiler.asm.AsmSymbols
 
replacement - Variable in class ant.compiler.asm.Asm.Nop
 
reset() - Method in class ant.compiler.asm.AddressResolver
 
reset() - Method in class ant.compiler.asm.Asm.AbstractDFSVisitor
 
reset() - Method in class ant.compiler.gen.CodeGenerator
 
reset() - Method in class ant.compiler.gen.ExpressionEvaluator
 
resolveLabels() - Method in class ant.compiler.asm.AsmSymbols
 
resolver - Variable in class ant.compiler.trafo.SemanticAnalyzer
 
resting - Variable in class ant.debug.Ant
 
result - Variable in class ant.compiler.asm.NopAnalyzer
 
result - Variable in class ant.compiler.asm.NopEliminator
 
result - Variable in class ant.compiler.ast.Transformer
 
result - Variable in class ant.compiler.gen.CodeGenerator
 
result - Variable in class ant.compiler.gen.ExpressionEvaluator
 
right - Variable in class ant.compiler.ast.Tree.BinaryExpression
 
root - Variable in class ant.compiler.trafo.ProcTransformer
 
root - Variable in class ant.compiler.trafo.VarTransformer
 
rounds - Variable in class ant.debug.AntDebugger
 
rounds_it - Variable in class ant.debug.MyCanvas
 

S

SET - Static variable in interface ant.compiler.parser.AntParserConstants
 
STATIC_LEXER_ERROR - Static variable in class ant.compiler.parser.TokenMgrError
An attempt wass made to create a second instance of a static token manager.
SemanticAnalyzer - class ant.compiler.trafo.SemanticAnalyzer.
Visitor that performs the semantic analysis in Ant Control Programs.
SemanticAnalyzer(ErrorLog) - Constructor for class ant.compiler.trafo.SemanticAnalyzer
 
SemanticAnalyzer.DefinitionFinder - class ant.compiler.trafo.SemanticAnalyzer.DefinitionFinder.
Visitor that finds definitions in the symbol table.
SemanticAnalyzer.DefinitionFinder() - Constructor for class ant.compiler.trafo.SemanticAnalyzer.DefinitionFinder
 
SemanticAnalyzer.ParentResolver - class ant.compiler.trafo.SemanticAnalyzer.ParentResolver.
Visitor that links tree nodes to their parents.
SemanticAnalyzer.ParentResolver() - Constructor for class ant.compiler.trafo.SemanticAnalyzer.ParentResolver
 
SemanticAnalyzer.UsageResolver - class ant.compiler.trafo.SemanticAnalyzer.UsageResolver.
Visitor that enters definitions into the symbol table.
SemanticAnalyzer.UsageResolver() - Constructor for class ant.compiler.trafo.SemanticAnalyzer.UsageResolver
 
SenseDirection - class ant.compiler.ast.SenseDirection.
Constants representing sense directions.
SenseDirection(int) - Constructor for class ant.compiler.ast.SenseDirection
 
SimpleCharStream - class ant.compiler.parser.SimpleCharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class ant.compiler.parser.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class ant.compiler.parser.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class ant.compiler.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class ant.compiler.parser.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class ant.compiler.parser.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class ant.compiler.parser.SimpleCharStream
 
StateMinimizer - class ant.compiler.asm.StateMinimizer.
 
StateMinimizer(ArrayList) - Constructor for class ant.compiler.asm.StateMinimizer
 
SwitchTo(int) - Method in class ant.compiler.parser.AntParserTokenManager
 
semantic - Variable in class ant.compiler.trafo.ProcTransformer
 
semantic - Variable in class ant.compiler.trafo.VarTransformer
 
senseDirection() - Method in class ant.compiler.parser.AntParser
 
setCanvas(MyCanvas) - Method in class ant.debug.MyActionListener
 
setCopy(Tree) - Method in class ant.compiler.ast.CopyVisitor
 
setDebugStream(PrintStream) - Method in class ant.compiler.parser.AntParserTokenManager
 
setElse(Asm) - Method in class ant.compiler.gen.ExpressionEvaluator
 
setNext(Asm) - Method in class ant.compiler.asm.Asm.Conditional
 
setNext(Asm) - Method in class ant.compiler.asm.Asm.Sequential
 
setNext(Asm) - Method in class ant.compiler.asm.Asm
 
setOriginal(Tree.Block) - Method in class ant.compiler.trafo.VersionCreator
 
setResult(Tree) - Method in class ant.compiler.ast.Transformer
 
setThen(Asm) - Method in class ant.compiler.gen.ExpressionEvaluator
 
setVersion(int) - Method in class ant.compiler.trafo.VersionCreator
 
showRound(int) - Method in class ant.debug.MyCanvas
 
showWorld() - Method in class ant.debug.AntDebugger
 
simpleExpression() - Method in class ant.compiler.parser.AntParser
 
simpleStmt() - Method in class ant.compiler.parser.AntParser
 
slowDown - Variable in class ant.debug.AntDebugger
 
source - Variable in class ant.compiler.util.ErrorLog
 
specialConstructor - Variable in class ant.compiler.parser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class ant.compiler.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
state - Variable in class ant.debug.Ant
 
state - Variable in class ant.debug.Field
 
staticFlag - Static variable in class ant.compiler.parser.SimpleCharStream
 
stmt - Variable in class ant.compiler.ast.Tree.Label
 
stmt() - Method in class ant.compiler.parser.AntParser
 
stmts - Variable in class ant.compiler.ast.Tree.Block
 
stmts() - Method in class ant.compiler.parser.AntParser
 
stop - Variable in class ant.debug.AntDebugger
 
sub - Variable in class ant.compiler.ast.Tree.NotExpression
 
symbols - Variable in class ant.compiler.gen.CodeGenerator
 

T

TRUE - Static variable in interface ant.compiler.parser.AntParserConstants
 
TURN - Static variable in interface ant.compiler.parser.AntParserConstants
 
Token - class ant.compiler.parser.Token.
Describes the input token stream.
Token() - Constructor for class ant.compiler.parser.Token
 
TokenMgrError - error ant.compiler.parser.TokenMgrError.
 
TokenMgrError() - Constructor for class ant.compiler.parser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class ant.compiler.parser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class ant.compiler.parser.TokenMgrError
 
Transformer - class ant.compiler.ast.Transformer.
Visitor that transforms a tree fragment.
Transformer() - Constructor for class ant.compiler.ast.Transformer
 
Tree - class ant.compiler.ast.Tree.
Super class for all tree AST nodes of the Ant Control Language.
Tree() - Constructor for class ant.compiler.ast.Tree
 
Tree.AndExpression - class ant.compiler.ast.Tree.AndExpression.
Tree node representing the construct expression && expression.
Tree.AndExpression(Tree.Expression, Tree.Expression) - Constructor for class ant.compiler.ast.Tree.AndExpression
 
Tree.Assign - class ant.compiler.ast.Tree.Assign.
Tree node representing var = expr; statements.
Tree.Assign(String, Tree.Expression) - Constructor for class ant.compiler.ast.Tree.Assign
 
Tree.BinaryExpression - class ant.compiler.ast.Tree.BinaryExpression.
Tree node representing binary expressions.
Tree.BinaryExpression(Tree.Expression, Tree.Expression) - Constructor for class ant.compiler.ast.Tree.BinaryExpression
 
Tree.Block - class ant.compiler.ast.Tree.Block.
Tree node representing {...} statements.
Tree.Block(Tree[]) - Constructor for class ant.compiler.ast.Tree.Block
 
Tree.Call - class ant.compiler.ast.Tree.Call.
Tree node representing foo(arg, ...) statements.
Tree.Call(String, Tree.Expression[]) - Constructor for class ant.compiler.ast.Tree.Call
 
Tree.ConditionTest - class ant.compiler.ast.Tree.ConditionTest.
Tree node representing the construct Home[Ahead] and so on.
Tree.ConditionTest(SenseDirection, Condition) - Constructor for class ant.compiler.ast.Tree.ConditionTest
 
Tree.Const - class ant.compiler.ast.Tree.Const.
Tree node representing the construct true|false.
Tree.Const(boolean) - Constructor for class ant.compiler.ast.Tree.Const
 
Tree.DropCommand - class ant.compiler.ast.Tree.DropCommand.
Tree node representing drop statements.
Tree.DropCommand() - Constructor for class ant.compiler.ast.Tree.DropCommand
 
Tree.Expression - class ant.compiler.ast.Tree.Expression.
Tree node representing expressions.
Tree.Expression() - Constructor for class ant.compiler.ast.Tree.Expression
 
Tree.FoodTest - class ant.compiler.ast.Tree.FoodTest.
Tree node representing the construct FoundFood.
Tree.FoodTest() - Constructor for class ant.compiler.ast.Tree.FoodTest
 
Tree.Goto - class ant.compiler.ast.Tree.Goto.
Tree node representing goto label; statements.
Tree.Goto(String) - Constructor for class ant.compiler.ast.Tree.Goto
 
Tree.If - class ant.compiler.ast.Tree.If.
Tree node representing if (expr) {...} else {}; statements.
Tree.If(Tree.Expression, Tree, Tree) - Constructor for class ant.compiler.ast.Tree.If
 
Tree.Label - class ant.compiler.ast.Tree.Label.
Tree class for representing labels name: statement;.
Tree.Label(String, Tree) - Constructor for class ant.compiler.ast.Tree.Label
 
Tree.MarkCommand - class ant.compiler.ast.Tree.MarkCommand.
Tree node representing mark n statements.
Tree.MarkCommand(int) - Constructor for class ant.compiler.ast.Tree.MarkCommand
 
Tree.MoveCommand - class ant.compiler.ast.Tree.MoveCommand.
Tree node representing move statements.
Tree.MoveCommand() - Constructor for class ant.compiler.ast.Tree.MoveCommand
 
Tree.NotExpression - class ant.compiler.ast.Tree.NotExpression.
Tree node representing the construct ! expression.
Tree.NotExpression(Tree.Expression) - Constructor for class ant.compiler.ast.Tree.NotExpression
 
Tree.OrExpression - class ant.compiler.ast.Tree.OrExpression.
Tree node representing the construct expression || expression.
Tree.OrExpression(Tree.Expression, Tree.Expression) - Constructor for class ant.compiler.ast.Tree.OrExpression
 
Tree.PickUpCommand - class ant.compiler.ast.Tree.PickUpCommand.
Tree node representing pick statements.
Tree.PickUpCommand() - Constructor for class ant.compiler.ast.Tree.PickUpCommand
 
Tree.Proc - class ant.compiler.ast.Tree.Proc.
Tree node representing proc(var param, ...) {}; statements.
Tree.Proc(String, Tree.Var[], Tree) - Constructor for class ant.compiler.ast.Tree.Proc
 
Tree.RandomTest - class ant.compiler.ast.Tree.RandomTest.
Tree node representing the construct random(n).
Tree.RandomTest(int) - Constructor for class ant.compiler.ast.Tree.RandomTest
 
Tree.Set - class ant.compiler.ast.Tree.Set.
Tree node representing set var|unset var; statements.
Tree.Set(String, boolean) - Constructor for class ant.compiler.ast.Tree.Set
 
Tree.Test - class ant.compiler.ast.Tree.Test.
Tree node representing the construct var.
Tree.Test(String) - Constructor for class ant.compiler.ast.Tree.Test
 
Tree.TurnCommand - class ant.compiler.ast.Tree.TurnCommand.
Tree node representing turn Left|Right statements.
Tree.TurnCommand(TurnDirection) - Constructor for class ant.compiler.ast.Tree.TurnCommand
 
Tree.UnmarkCommand - class ant.compiler.ast.Tree.UnmarkCommand.
Tree node representing unmark n statements.
Tree.UnmarkCommand(int) - Constructor for class ant.compiler.ast.Tree.UnmarkCommand
 
Tree.Var - class ant.compiler.ast.Tree.Var.
Tree node representing var name; statements.
Tree.Var(String) - Constructor for class ant.compiler.ast.Tree.Var
 
Tree.Visitor - interface ant.compiler.ast.Tree.Visitor.
Visitor interface that is implemented by all Tree nodes.
Tree.WallTest - class ant.compiler.ast.Tree.WallTest.
Tree node representing the construct HitWall.
Tree.WallTest() - Constructor for class ant.compiler.ast.Tree.WallTest
 
TreePrinter - class ant.compiler.ast.TreePrinter.
Utility class for pretty printing AST representations of the Ant Control Language.
TreePrinter(PrintWriter) - Constructor for class ant.compiler.ast.TreePrinter
 
TreePrinter(PrintWriter, boolean) - Constructor for class ant.compiler.ast.TreePrinter
 
TurnDirection - class ant.compiler.ast.TurnDirection.
Constants representing directions in Tree.TurnCommand commands.
TurnDirection(int) - Constructor for class ant.compiler.ast.TurnDirection
 
tab(int) - Method in class ant.compiler.asm.AsmPrinter
 
target - Variable in class ant.compiler.ast.Tree.Call
 
target - Variable in class ant.compiler.ast.Tree.Goto
 
thenOp - Variable in class ant.compiler.gen.ExpressionEvaluator
 
thenStmt - Variable in class ant.compiler.ast.Tree.If
 
toString() - Method in class ant.compiler.parser.Token
Returns the image.
toStringTarget(Asm, Asm) - Method in class ant.compiler.asm.AsmPrinter
 
token - Variable in class ant.compiler.parser.AntParser
 
tokenBegin - Variable in class ant.compiler.parser.SimpleCharStream
 
tokenImage - Static variable in interface ant.compiler.parser.AntParserConstants
 
tokenImage - Variable in class ant.compiler.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
token_source - Variable in class ant.compiler.parser.AntParser
 
transformName(Tree.Label) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Goto) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Proc) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Call) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Var) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Set) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Assign) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Test) - Method in class ant.compiler.trafo.NameTransformer
 
transformName(Tree.Label) - Method in class ant.compiler.trafo.VersionCreator
 
transformName(Tree.Goto) - Method in class ant.compiler.trafo.VersionCreator
 
transformName(Tree.Var) - Method in class ant.compiler.trafo.VersionCreator
 
transformName(Tree.Set) - Method in class ant.compiler.trafo.VersionCreator
 
transformName(Tree.Test) - Method in class ant.compiler.trafo.VersionCreator
 
transformNameTree(Tree, String) - Method in class ant.compiler.trafo.NameTransformer
 
turnDirection() - Method in class ant.compiler.parser.AntParser
 

U

UNMARK - Static variable in interface ant.compiler.parser.AntParserConstants
 
UNSET - Static variable in interface ant.compiler.parser.AntParserConstants
 
UpdateLineColumn(char) - Method in class ant.compiler.parser.SimpleCharStream
 
update(Graphics) - Method in class ant.debug.MyCanvas
 
usage() - Method in class ant.debug.AntDebugger
 
usageName - Variable in class ant.compiler.ast.Tree.Set
 

V

VAR - Static variable in interface ant.compiler.parser.AntParserConstants
 
VarTransformer - class ant.compiler.trafo.VarTransformer.
Visitor that computes the transformation for local variables in the Ant Control Language.
VarTransformer(ErrorLog, Tree) - Constructor for class ant.compiler.trafo.VarTransformer
 
VersionCreator - class ant.compiler.trafo.VersionCreator.
Visitor class that creates a versiond copy of an Ant Control Program fragment.
VersionCreator() - Constructor for class ant.compiler.trafo.VersionCreator
 
value - Variable in class ant.compiler.ast.Tree.Const
 
value - Variable in class ant.compiler.ast.Tree.Set
 
var() - Method in class ant.compiler.parser.AntParser
 
variableDefinitions - Variable in class ant.compiler.trafo.SemanticAnalyzer
 
version - Variable in class ant.compiler.trafo.ProcTransformer
 
version - Variable in class ant.compiler.trafo.VersionCreator
 
versionizer - Variable in class ant.compiler.trafo.ProcTransformer
 
versionizer - Variable in class ant.compiler.trafo.VarTransformer
 
visit(Asm.Nop) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Mark) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Unmark) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Drop) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Turn) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.NopWallTest) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.NopFoodTest) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Sense) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.PickUp) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Move) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Flip) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Drop
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Flip
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Mark
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Move
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Nop
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.NopFoodTest
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.NopWallTest
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.PickUp
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Sense
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Turn
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm.Unmark
 
visit(Asm.Nop) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.NopWallTest) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.NopFoodTest) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Sense) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Mark) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Unmark) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.PickUp) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Drop) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Turn) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Move) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Flip) - Method in interface ant.compiler.asm.Asm.Visitor
 
visit(Asm.Visitor) - Method in class ant.compiler.asm.Asm
 
visit(Asm.Nop) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.NopWallTest) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.NopFoodTest) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Sense) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Mark) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Unmark) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.PickUp) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Drop) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Turn) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Move) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Flip) - Method in class ant.compiler.asm.AsmPrinter
 
visit(Asm.Nop) - Method in class ant.compiler.asm.NopAnalyzer
 
visit(Asm.Nop) - Method in class ant.compiler.asm.NopEliminator
 
visit(Asm.Move) - Method in class ant.compiler.asm.NopEliminator
 
visit(Asm.PickUp) - Method in class ant.compiler.asm.NopEliminator
 
visit(Asm.NopWallTest) - Method in class ant.compiler.asm.NopEliminator
 
visit(Asm.NopFoodTest) - Method in class ant.compiler.asm.NopEliminator
 
visit(Tree.Label) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Block) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.If) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Goto) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Proc) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Call) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.MarkCommand) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.UnmarkCommand) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.TurnCommand) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.MoveCommand) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.PickUpCommand) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.DropCommand) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Var) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Set) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Assign) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Test) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Const) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.AndExpression) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.OrExpression) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.NotExpression) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.ConditionTest) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.WallTest) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.FoodTest) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.RandomTest) - Method in class ant.compiler.ast.AbstractVisitor
 
visit(Tree.Label) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Block) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.If) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Goto) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Proc) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Call) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.MarkCommand) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.UnmarkCommand) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.TurnCommand) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.MoveCommand) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.PickUpCommand) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.DropCommand) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Var) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Set) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Assign) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Test) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Const) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.NotExpression) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.ConditionTest) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.WallTest) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.FoodTest) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.RandomTest) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.AndExpression) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.OrExpression) - Method in class ant.compiler.ast.CopyVisitor
 
visit(Tree.Label) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.Block) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.Proc) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.Call) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.Assign) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.If) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.NotExpression) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.AndExpression) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.OrExpression) - Method in class ant.compiler.ast.DFSVisitor
 
visit(Tree.Label) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.Block) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.If) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.Assign) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.NotExpression) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.AndExpression) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.OrExpression) - Method in class ant.compiler.ast.Transformer
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.AndExpression
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Assign
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Block
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Call
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.ConditionTest
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Const
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.DropCommand
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.FoodTest
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Goto
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.If
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Label
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.MarkCommand
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.MoveCommand
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.NotExpression
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.OrExpression
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.PickUpCommand
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Proc
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.RandomTest
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Set
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Test
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.TurnCommand
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.UnmarkCommand
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.Var
 
visit(Tree.Label) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Block) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.If) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Goto) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Proc) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Call) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.MarkCommand) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.UnmarkCommand) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.TurnCommand) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.MoveCommand) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.PickUpCommand) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.DropCommand) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Var) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Set) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Assign) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Test) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Const) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.AndExpression) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.OrExpression) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.NotExpression) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.ConditionTest) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.WallTest) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.FoodTest) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.RandomTest) - Method in interface ant.compiler.ast.Tree.Visitor
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree.WallTest
 
visit(Tree.Visitor) - Method in class ant.compiler.ast.Tree
 
visit(Tree.Label) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Block) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.If) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Goto) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Proc) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Call) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.MarkCommand) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.UnmarkCommand) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.TurnCommand) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.MoveCommand) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.PickUpCommand) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.DropCommand) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Var) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Set) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Assign) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Test) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Const) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.AndExpression) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.OrExpression) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.NotExpression) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.ConditionTest) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.WallTest) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.FoodTest) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.RandomTest) - Method in class ant.compiler.ast.TreePrinter
 
visit(Tree.Label) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.Block) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.If) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.Goto) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.MarkCommand) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.UnmarkCommand) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.TurnCommand) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.MoveCommand) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.PickUpCommand) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.DropCommand) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree) - Method in class ant.compiler.gen.CodeGenerator
 
visit(Tree.AndExpression) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.OrExpression) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.NotExpression) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.ConditionTest) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.Const) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.WallTest) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.FoodTest) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.RandomTest) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree) - Method in class ant.compiler.gen.ExpressionEvaluator
 
visit(Tree.Assign) - Method in class ant.compiler.trafo.AssignTransformer
 
visit(Tree.Label) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Goto) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Proc) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Call) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Var) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Set) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Assign) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Test) - Method in class ant.compiler.trafo.NameTransformer
 
visit(Tree.Proc) - Method in class ant.compiler.trafo.ProcTransformer
 
visit(Tree.Call) - Method in class ant.compiler.trafo.ProcTransformer
 
visit(Tree.Label) - Method in class ant.compiler.trafo.SemanticAnalyzer.DefinitionFinder
 
visit(Tree.Var) - Method in class ant.compiler.trafo.SemanticAnalyzer.DefinitionFinder
 
visit(Tree.Proc) - Method in class ant.compiler.trafo.SemanticAnalyzer.DefinitionFinder
 
visit(Tree.Goto) - Method in class ant.compiler.trafo.SemanticAnalyzer.UsageResolver
 
visit(Tree.Call) - Method in class ant.compiler.trafo.SemanticAnalyzer.UsageResolver
 
visit(Tree.Set) - Method in class ant.compiler.trafo.SemanticAnalyzer.UsageResolver
 
visit(Tree.Assign) - Method in class ant.compiler.trafo.SemanticAnalyzer.UsageResolver
 
visit(Tree.Test) - Method in class ant.compiler.trafo.SemanticAnalyzer.UsageResolver
 
visit(Tree.Block) - Method in class ant.compiler.trafo.VarTransformer
 
visit(Tree.Proc) - Method in class ant.compiler.trafo.VersionCreator
 
visit(Tree.Call) - Method in class ant.compiler.trafo.VersionCreator
 
visit(Tree.Assign) - Method in class ant.compiler.trafo.VersionCreator
 
visit(Tree.Var) - Method in class ant.compiler.trafo.VersionCreator
 
visit(Tree.Set) - Method in class ant.compiler.trafo.VersionCreator
 
visit(Tree.Test) - Method in class ant.compiler.trafo.VersionCreator
 
visitAsm(Asm) - Method in class ant.compiler.asm.AddressResolver
 
visitAsm(Asm) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visitAsm(Asm) - Method in class ant.compiler.asm.NopEliminator
 
visitBinaryExpression(Tree.BinaryExpression) - Method in class ant.compiler.ast.AbstractVisitor
 
visitConditional(Asm.Conditional) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visitConditional(Asm.Conditional) - Method in class ant.compiler.asm.Asm.DFSPostorderVisitor
 
visitConditional(Asm.Conditional) - Method in class ant.compiler.asm.Asm.DFSPreorderVisitor
 
visitConditional(Asm.Conditional) - Method in class ant.compiler.asm.NopAnalyzer
 
visitExpression(Tree.Expression) - Method in class ant.compiler.ast.AbstractVisitor
 
visitSequential(Asm.Sequential) - Method in class ant.compiler.asm.Asm.AbstractVisitor
 
visitSequential(Asm.Sequential) - Method in class ant.compiler.asm.Asm.DFSPostorderVisitor
 
visitSequential(Asm.Sequential) - Method in class ant.compiler.asm.Asm.DFSPreorderVisitor
 
visitSequential(Asm.Sequential) - Method in class ant.compiler.asm.NopAnalyzer
 
visitTree(Tree) - Method in class ant.compiler.ast.AbstractVisitor
 
visitTree(Tree) - Method in class ant.compiler.ast.Transformer
 
visitTree(Tree) - Method in class ant.compiler.trafo.SemanticAnalyzer.ParentResolver
 
visitTree(Tree) - Method in class ant.compiler.trafo.SemanticAnalyzer
 
visited(Asm) - Method in class ant.compiler.asm.Asm.AbstractDFSVisitor
 

W

WITH_FOOD - Static variable in interface ant.debug.Constants
 
window - Variable in class ant.debug.AntDebugger
 
windowClosing(WindowEvent) - Method in class ant.debug.AntDebugger
 
world - Variable in class ant.debug.AntDebugger
 
world - Variable in class ant.debug.MyCanvas
 

X

xPos - Variable in class ant.debug.Ant
 
xPos - Variable in class ant.debug.Food
 
xPos - Variable in class ant.debug.Marker
 

Y

yPos - Variable in class ant.debug.Ant
 
yPos - Variable in class ant.debug.Food
 
yPos - Variable in class ant.debug.Marker
 

A B C D E F G H I J K L M N O P R S T U V W X Y