[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 6 functions

  parse()
  closeList()
  computeBlockIgnoreLen()
  getAtxHeaderEndTagLen()
  getBlockMarks()
  matchSetextLines()

Functions
Functions that are not part of a class:

parse()   X-Ref
No description

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

param: {!Object} list
param: {number}  textBoundary

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

return: {number}               Number of characters to ignore
param: {string} str           Original block markup
param: {number} maxBlockDepth Maximum block depth

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

return: {number}
param: {number} startPos Start of the header's text
param: {number} endPos   End of the header's text

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

return: {!Array<string>}
param: {string} str Block markup, composed of ">", "!" and whitespace

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




Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1