class League / CommonMark / Parser / Block / BlockStart
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final

BlockStart

Result object for starting parsing of a block; see static methods for constructors

Properties

private

$blockParsers BlockContinueParserInterface[]

Default: null
private

$cursorState

Default: null
private

$replaceActiveBlockParser

Default: false
private

$isAborting

Default: false

Methods

private

__construct ( BlockContinueParserInterface $blockParsers ) : void

public

getBlockParsers ( ) : BlockContinueParserInterface[]

public

getCursorState ( ) : void

public

isReplaceActiveBlockParser ( ) : void

public

isAborting ( ) : void

public

at ( Cursor $cursor ) : $this

Signal that we want to parse at the given cursor position

public

replaceActiveBlockParser ( ) : $this

Signal that we want to replace the active block parser with this one

public static

none ( ) : null

Signal that we cannot parse whatever is here

public static

of ( BlockContinueParserInterface $blockParsers ) : void

Signal that we'd like to register the given parser(s) so they can parse the current block

public static

abort ( ) : void

Signal that the block parsing process should be aborted (no other block starts should be checked)