[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

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

Defines 8 functions

  decode()
  isAfterWhitespace()
  isAlnum()
  isBeforeWhitespace()
  isSurroundedByAlnum()
  isWhitespace()
  markBoundary()
  overwrite()

Functions
Functions that are not part of a class:

decode(str)   X-Ref


isAfterWhitespace(pos)   X-Ref
No description

isAlnum(chr)   X-Ref
Test whether given character is alphanumeric

param: {string}  chr
return: {boolean}

isBeforeWhitespace(pos)   X-Ref
Test whether given position is followed by whitespace

param: {number}  pos
return: {boolean}

isSurroundedByAlnum(pos, len)   X-Ref
Test whether a length of text is surrounded by alphanumeric characters

param: {number}  pos Start of the text
param: {number}  len Length of the text
return: {boolean}

isWhitespace(chr)   X-Ref
Test whether given character is an ASCII whitespace character

NOTE: newlines are normalized to LF before parsing so we don't have to check for CR

param: {string}  chr
return: {boolean}

markBoundary(pos)   X-Ref
Mark the boundary of a block in the original text

param: {number} pos

overwrite(pos, len)   X-Ref
Overwrite part of the text with substitution characters ^Z (0x1A)

param: {number} pos Start of the range
param: {number} len Length of text to overwrite



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