PHP Interface League\CommonMark\ContextInterface

Datei anzeigen Open project: colinodell/commonmark-php Interface Usage Examples

Public Methods

Method Description
addBlock ( AbstractBlock $block ) : AbstractBlock
getBlockCloser ( ) : UnmatchedBlockCloser Finalize and close any unmatched blocks
getBlocksParsed ( ) : boolean
getContainer ( ) : AbstractBlock
getDocument ( ) : Document
getLine ( ) : string
getLineNumber ( ) : integer
getReferenceParser ( ) : ReferenceParser
getTip ( ) : AbstractBlock
replaceContainerBlock ( AbstractBlock $replacement ) : void
setBlocksParsed ( boolean $bool )
setContainer ( AbstractBlock $getDocument )
setTip ( AbstractBlock $block )

Method Details

addBlock() public method

public addBlock ( AbstractBlock $block ) : AbstractBlock
$block League\CommonMark\Block\Element\AbstractBlock
return League\CommonMark\Block\Element\AbstractBlock

getBlockCloser() public method

Finalize and close any unmatched blocks
public getBlockCloser ( ) : UnmatchedBlockCloser
return UnmatchedBlockCloser

getBlocksParsed() public method

public getBlocksParsed ( ) : boolean
return boolean

getContainer() public method

public getContainer ( ) : AbstractBlock
return League\CommonMark\Block\Element\AbstractBlock

getDocument() public method

public getDocument ( ) : Document
return League\CommonMark\Block\Element\Document

getLine() public method

public getLine ( ) : string
return string

getLineNumber() public method

public getLineNumber ( ) : integer
return integer

getReferenceParser() public method

public getReferenceParser ( ) : ReferenceParser
return ReferenceParser

getTip() public method

public getTip ( ) : AbstractBlock
return League\CommonMark\Block\Element\AbstractBlock

replaceContainerBlock() public method

public replaceContainerBlock ( AbstractBlock $replacement ) : void
$replacement League\CommonMark\Block\Element\AbstractBlock
return void

setBlocksParsed() public method

public setBlocksParsed ( boolean $bool )
$bool boolean

setContainer() public method

public setContainer ( AbstractBlock $getDocument )
$getDocument League\CommonMark\Block\Element\AbstractBlock

setTip() public method

public setTip ( AbstractBlock $block )
$block League\CommonMark\Block\Element\AbstractBlock