net.sourceforge.pmd.lang.vm.directive
Class Block
java.lang.Object
net.sourceforge.pmd.lang.vm.directive.Directive
net.sourceforge.pmd.lang.vm.directive.Block
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- BlockMacro, Define
public abstract class Block
- extends Directive
Directive that puts an unrendered AST block in the context
under the specified key, postponing rendering until the
reference is used and rendered.
- Since:
- 1.7
- Version:
- $Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $
- Author:
- Andrew Tetlaw, Nathan Bubna, Jarkko Viinamaki
Constructor Summary |
Block()
|
Method Summary |
int |
getType()
Return type of this directive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected String key
Block
public Block()
getType
public int getType()
- Return type of this directive.
- Specified by:
getType
in class Directive
- Returns:
- The directive type BLOCK/LINE.
Copyright © 2002–2015 InfoEther. All rights reserved.