[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Plugins/Litedown/Parser/Passes/ -> Blocks.php (summary)

(no description)

File Size: 514 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Blocks:: (6 methods):
  parse()
  closeList()
  computeBlockIgnoreLen()
  getAtxHeaderEndTagLen()
  getBlockMarks()
  matchSetextLines()


Class: Blocks  - X-Ref


parse()   X-Ref
{@inheritdoc}


closeList(array $list, $textBoundary)   X-Ref
Close a list at given offset

param: array   $list
param: integer $textBoundary
return: void

computeBlockIgnoreLen($str, $maxBlockDepth)   X-Ref
Compute the amount of text to ignore at the start of a block line

param: string  $str           Original block markup
param: integer $maxBlockDepth Maximum block depth
return: integer                Number of characters to ignore

getAtxHeaderEndTagLen($startPos, $endPos)   X-Ref
Return the length of the markup at the end of an ATX header

param: integer $startPos Start of the header's text
param: integer $endPos   End of the header's text
return: integer

getBlockMarks($str)   X-Ref
Capture and return block marks from given string

param: string   $str Block markup, composed of ">", "!" and whitespace
return: string[]

matchSetextLines()   X-Ref
Capture and store lines that contain a Setext-tyle header

return: void



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1