wp/wp-includes/class-wp-block-parser-frame.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
    63 	 * @since 5.0.0
    63 	 * @since 5.0.0
    64 	 *
    64 	 *
    65 	 * @param WP_Block_Parser_Block $block              Full or partial block.
    65 	 * @param WP_Block_Parser_Block $block              Full or partial block.
    66 	 * @param int                   $token_start        Byte offset into document for start of parse token.
    66 	 * @param int                   $token_start        Byte offset into document for start of parse token.
    67 	 * @param int                   $token_length       Byte length of entire parse token string.
    67 	 * @param int                   $token_length       Byte length of entire parse token string.
    68 	 * @param int                   $prev_offset        Byte offset into document for after parse token ends.
    68 	 * @param int|null              $prev_offset        Optional. Byte offset into document for after parse token ends. Default null.
    69 	 * @param int                   $leading_html_start Byte offset into document where leading HTML before token starts.
    69 	 * @param int|null              $leading_html_start Optional. Byte offset into document where leading HTML before token starts.
       
    70 	 *                                                  Default null.
    70 	 */
    71 	 */
    71 	public function __construct( $block, $token_start, $token_length, $prev_offset = null, $leading_html_start = null ) {
    72 	public function __construct( $block, $token_start, $token_length, $prev_offset = null, $leading_html_start = null ) {
    72 		$this->block              = $block;
    73 		$this->block              = $block;
    73 		$this->token_start        = $token_start;
    74 		$this->token_start        = $token_start;
    74 		$this->token_length       = $token_length;
    75 		$this->token_length       = $token_length;