[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ -> class-wp-block-parser-frame.php (summary)

Block Serialization Parser

File Size: 79 lines (2 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Block_Parser_Frame:: (1 method):
  __construct()


Class: WP_Block_Parser_Frame  - X-Ref

Class WP_Block_Parser_Frame

Holds partial blocks in memory while parsing

__construct( $block, $token_start, $token_length, $prev_offset = null, $leading_html_start = null )   X-Ref
Constructor

Will populate object properties from the provided arguments.

param: WP_Block_Parser_Block $block              Full or partial block.
param: int                   $token_start        Byte offset into document for start of parse token.
param: int                   $token_length       Byte length of entire parse token string.
param: int|null              $prev_offset        Optional. Byte offset into document for after parse token ends. Default null.
param: int|null              $leading_html_start Optional. Byte offset into document where leading HTML before token starts.



Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref