PHP Class Gregwar\RST\SubDirective

.. sub-directive:: Some block of code You can imagine anything here, like adding *emphasis*, lists or titles
Inheritance: extends Gregwar\RST\Directive
Show file Open project: gregwar/rst

Public Methods

Method Description
process ( Parser $parser, $node, $variable, $data, array $options ) Process a directive that should parces the next node as a "sub" document
processSub ( Parser $parser, $document, $variable, $data, array $options ) Process a sub directive
wantCode ( )

Method Details

process() final public method

Process a directive that should parces the next node as a "sub" document
final public process ( Parser $parser, $node, $variable, $data, array $options )
$parser Parser
$options array

processSub() public method

Process a sub directive
public processSub ( Parser $parser, $document, $variable, $data, array $options )
$parser Parser
$options array

wantCode() public method

public wantCode ( )