ant.compiler.ast
Class Tree.Goto

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

public static class Tree.Goto
extends Tree

Tree node representing goto label; statements.

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
 java.lang.String name
           
 Tree.Label target
           
 
Fields inherited from class ant.compiler.ast.Tree
parent
 
Constructor Summary
Tree.Goto(java.lang.String name)
           
 
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

name

public java.lang.String name

target

public Tree.Label target
Constructor Detail

Tree.Goto

public Tree.Goto(java.lang.String name)
Method Detail

visit

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