Guides

DefaultCodeNodeOptionMapper
in package
implements CodeNodeOptionMapper

FinalYes

The directives `code-block` and `literalinclude` both create a CodeNode with the same possible options.

This common mapper is used by both Directives.

Table of Contents

Interfaces

CodeNodeOptionMapper
The directives `code-block` and `literalinclude` both create a CodeNode with the same possible options.

Constants

LINE_NUMBER_RANGES_REGEX  = '/^\d+(-\d*)?(?:,\s*\d+(-\d*)?)*$/'

Properties

$startingRule  : InlineMarkupRule
$inlineParser  : InlineParser
$logger  : LoggerInterface

Methods

__construct()  : mixed
apply()  : void
setCaptionBasedOnOptions()  : void
setEmphasizeLinesBasedOnOptions()  : void
setStartingLineNumberBasedOnOptions()  : void

Constants

Properties

Methods


        
On this page

Search results