Copied!
CloneableFinalInstantiable
Methods
public __construct(League\CommonMark\Parser\Cursor $contents, League\CommonMark\Node\Block\AbstractBlock $container, League\CommonMark\Reference\ReferenceMapInterface $referenceMap, int $maxDelimitersPerLine = 9223372036854775807League\CommonMark\Parser\PHP_INT_MAX)
public getContainer() : League\CommonMark\Node\Block\AbstractBlock
public getCursor() : League\CommonMark\Parser\Cursor
public getDelimiterStack() : League\CommonMark\Delimiter\DelimiterStack
public getFullMatch() : string
 
  • return string The full text that matched the InlineParserMatch definition
public getFullMatchLength() : int
 
  • return int The length of the full match (in characters, not bytes)
public getMatches() : array
 
  • return string[] Similar to preg_match(), index 0 will contain the full match, and any other array elements will be captured sub-matches
  • psalm-return non-empty-array
public getReferenceMap() : League\CommonMark\Reference\ReferenceMapInterface
public getSubMatches() : array
 
  • return string[]
public withMatches(array $matches) : League\CommonMark\Parser\InlineParserContext
 
  • param string[] $matches
  • psalm-param non-empty-array<string> $matches
Properties
private League\CommonMark\Node\Block\AbstractBlock $container
 
  • psalm-readonly
private League\CommonMark\Parser\Cursor $cursor
 
  • psalm-readonly
private League\CommonMark\Delimiter\DelimiterStack $delimiterStack
 
  • psalm-readonly
private array $matches
 
  • var string[]
  • psalm-var non-empty-array
  • psalm-readonly-allow-private-mutation
private League\CommonMark\Reference\ReferenceMapInterface $referenceMap
 
  • psalm-readonly
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration