Uses of Class
slogo.instruction.Instruction

Packages that use Instruction
slogo.instruction   
slogo.instruction.arithmetic   
slogo.instruction.conditional   
slogo.instruction.drawing   
 

Uses of Instruction in slogo.instruction
 

Subclasses of Instruction in slogo.instruction
 class Assignment
          An assignment instruction assigns an expression to a variable, updating the global state to reflect the assignment.
 class If
           
 class Repeat
          An AST (abstract syntax tree) for a MoboLogo/Slogo REPEAT instruction.
 class StrictInstructionList
          A list of instructions that doesn't include a function definition.
 class Subroutine
          Represents a subroutine object that has a name and a list of instructions.
 class To
          Defines a turtle subroutine by placing it in the subroutine factory map.
 

Fields in slogo.instruction with type parameters of type Instruction
protected  java.util.List<Instruction> StrictInstructionList.instructionList
           
 

Methods in slogo.instruction that return types with arguments of type Instruction
 java.util.Iterator<Instruction> StrictInstructionList.iterator()
          Return an iterator for accessing all the instructions.
 

Methods in slogo.instruction with parameters of type Instruction
 void StrictInstructionList.add(Instruction i)
          Add an instruction to this list (FIFO order for execution).
 

Uses of Instruction in slogo.instruction.arithmetic
 

Subclasses of Instruction in slogo.instruction.arithmetic
 class Addition
          Represents a + b, the addition of two expressions
 class ArithmeticInstruction
          The base class of any binary expression, e.g., a + b, a - b, or, in future use, a < b and so on.
 class Division
          Represents a / b, the division of two expressions
 class Multiplication
          Represents a x b, the multiplication of two expressions
 class Negation
          Represents unary minus, e.g., -expression
 class NumericInstruction
           
 class Remainder
          Represents the remainder when two numbers are divided
 class Subtraction
          Represents a - b, the subtraction of two expressions
 class UnaryExpression
           
 

Uses of Instruction in slogo.instruction.conditional
 

Subclasses of Instruction in slogo.instruction.conditional
 class ConditionalInstruction
           
 class Equal
           
 class Greater
           
 class Less
           
 class NotEqual
           
 

Uses of Instruction in slogo.instruction.drawing
 

Subclasses of Instruction in slogo.instruction.drawing
 class Back
          moves the turtle backwards by the amount specified
 class Clean
          clears the drawing area (the turtles statistics do not reset)
 class ClearScreen
          erases the drawing area and sends the turtle to the home position (Like CLEAN and HOME)
 class Forward
          moves the turtle forward by dist pixels
 class Heading
           
 class HideTurtle
           
 class Home
          moves the turtle to the center of the screen (0 0)
 class IsPenDown
          returns 1 (:TRUE) if the pen is down, 0 (:FALSE) if it's up.
 class Left
          turns the turtle counterclockwise by the specified angle
 class OneParameterInstruction
           
 class PenDown
          sets the pen's position to DOWN
 class PenUp
          sets the pen's position to UP
 class Right
          turns the turtle clockwise by the specified angle
 class SetPenColor
          Sets the turtle's pen color.
 class SetX
          moves the turtle horizontally to a new absolute horizontal coordinate
 class SetXY
          moves the turtle to an absolute screen position.
 class SetY
          moves the turtle vertically to a new absolute vertical coordinate.
 class ShowTurtle
          makes the turtle visible
 class Towards
          returns a heading the turtle should be facing to point from its current position to the given position
 class XCor
          returns the turtle's X coordinate
 class YCor
          returns the turtle's Y coordinate