PHP 클래스 League\CommonMark\Block\Element\IndentedCode

상속: extends AbstractBlock
파일 보기 프로젝트 열기: colinodell/commonmark-php

공개 메소드들

메소드 설명
acceptsLines ( ) : boolean Returns true if block type can accept lines of text
canContain ( AbstractBlock $block ) : boolean Returns true if this block can contain the given block as a child node
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
isCode ( ) : boolean Whether this is a code block
matchesNextLine ( Cursor $cursor )

메소드 상세

acceptsLines() 공개 메소드

Returns true if block type can accept lines of text
public acceptsLines ( ) : boolean
리턴 boolean

canContain() 공개 메소드

Returns true if this block can contain the given block as a child node
public canContain ( AbstractBlock $block ) : boolean
$block AbstractBlock
리턴 boolean

finalize() 공개 메소드

public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
$context League\CommonMark\ContextInterface

handleRemainingContents() 공개 메소드

public handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
$context League\CommonMark\ContextInterface
$cursor League\CommonMark\Cursor

isCode() 공개 메소드

Whether this is a code block
public isCode ( ) : boolean
리턴 boolean

matchesNextLine() 공개 메소드

public matchesNextLine ( Cursor $cursor )
$cursor League\CommonMark\Cursor