org.teatrove.tea.parsetree
Class Directive
java.lang.Object
org.teatrove.tea.parsetree.Node
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
|
Method Summary |
abstract Object |
accept(NodeVisitor visitor)
Every subclass of Node must override this method with the following:
return visitor.visit(this). |
Directive
protected Directive(SourceInfo info)
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.