ant.compiler.ast
Class Tree.ConditionTest

java.lang.Object
  extended byant.compiler.ast.Tree
      extended byant.compiler.ast.Tree.Expression
          extended byant.compiler.ast.Tree.ConditionTest
Enclosing class:
Tree

public static class Tree.ConditionTest
extends Tree.Expression

Tree node representing the construct Home[Ahead] and so on.

License: GPL

Author:
Bernhard Haumacher

Nested Class Summary
 
Nested classes inherited from class ant.compiler.ast.Tree
Tree.AndExpression, Tree.Assign, Tree.BinaryExpression, Tree.Block, Tree.Call, Tree.ConditionTest, Tree.Const, Tree.DropCommand, Tree.Expression, Tree.FoodTest, Tree.Goto, Tree.If, Tree.Label, Tree.MarkCommand, Tree.MoveCommand, Tree.NotExpression, Tree.OrExpression, Tree.PickUpCommand, Tree.Proc, Tree.RandomTest, Tree.Set, Tree.Test, Tree.TurnCommand, Tree.UnmarkCommand, Tree.Var, Tree.Visitor, Tree.WallTest
 
Field Summary
 Condition condition
           
 SenseDirection direction
           
 
Fields inherited from class ant.compiler.ast.Tree
parent
 
Constructor Summary
Tree.ConditionTest(SenseDirection direction, Condition condition)
           
 
Method Summary
 void visit(Tree.Visitor v)
           
 
Methods inherited from class ant.compiler.ast.Tree
enclosingBlock, isChildOf, newNopStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

direction

public SenseDirection direction

condition

public Condition condition
Constructor Detail

Tree.ConditionTest

public Tree.ConditionTest(SenseDirection direction,
                          Condition condition)
Method Detail

visit

public void visit(Tree.Visitor v)
Specified by:
visit in class Tree