PHP 클래스 League\CommonMark\DocParser

파일 보기 프로젝트 열기: colinodell/commonmark-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$environment Environment

공개 메소드들

메소드 설명
__construct ( Environment $environment )
getEnvironment ( ) : Environment
parse ( string $input ) : Document

비공개 메소드들

메소드 설명
incorporateLine ( League\CommonMark\ContextInterface $context )
isLazyParagraphContinuation ( League\CommonMark\ContextInterface $context, Cursor $cursor ) : boolean
parseBlocks ( League\CommonMark\ContextInterface $context, Cursor $cursor ) Parse blocks
preProcessInput ( string $input ) : string[]
processDocument ( League\CommonMark\ContextInterface $context )
processInlines ( League\CommonMark\ContextInterface $context, League\CommonMark\Node\NodeWalker $walker )
resetContainer ( League\CommonMark\ContextInterface $context, Cursor $cursor ) Sets the container to the last open child (or its parent)
setAndPropagateLastLineBlank ( League\CommonMark\ContextInterface $context, Cursor $cursor )

메소드 상세

__construct() 공개 메소드

public __construct ( Environment $environment )
$environment Environment

getEnvironment() 공개 메소드

public getEnvironment ( ) : Environment
리턴 Environment

parse() 공개 메소드

public parse ( string $input ) : Document
$input string
리턴 League\CommonMark\Block\Element\Document

프로퍼티 상세

$environment 보호되어 있는 프로퍼티

protected Environment,League\CommonMark $environment
리턴 Environment