org.teatrove.tea.parsetree
Class Directive

java.lang.Object
  extended by org.teatrove.tea.parsetree.Node
      extended by org.teatrove.tea.parsetree.Directive
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
ImportDirective

public abstract class Directive
extends Node

Base class for Directives

Author:
Guy Molinari
See Also:
Serialized Form

Constructor Summary
protected Directive(SourceInfo info)
           
 
Method Summary
abstract  Object accept(NodeVisitor visitor)
          Every subclass of Node must override this method with the following: return visitor.visit(this).
 
Methods inherited from class org.teatrove.tea.parsetree.Node
clone, getSourceInfo, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Directive

protected Directive(SourceInfo info)
Method Detail

accept

public abstract Object accept(NodeVisitor visitor)
Description copied from class: Node
Every subclass of Node must override this method with the following: return visitor.visit(this).

Specified by:
accept in class Node
Parameters:
visitor - A visitor of this Node
Returns:
Node The Node returned by the visitor
See Also:
NodeVisitor


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.