Advertisement

WP_Block_Parser::parse

Parses a document and returns a list of block structures

WP_Block_Parser::proceed

Processes the next token from the input document and returns whether to proceed eating more tokens

Advertisement

WP_Block_Parser::next_token

Scans the document from where we last left off and finds the next valid token to parse if it exists

Advertisement

Advertisement

WP_Block_Parser::parse

Parses a document and returns a list of block structures

WP_Block_Parser::proceed

Processes the next token from the input document and returns whether to proceed eating more tokens