编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\Parser::build
  • Parle\Parser::dump »
  • PHP Manual
  • Parle\Parser
  • Consume the data for processing

Parle\Parser::consume

(PECL parle >= 0.5.1)

Parle\Parser::consume — Consume the data for processing

说明

public Parle\Parser::consume ( string $data , Parle\Lexer $lexer ) : void

Consume the data for parsing.

参数

data

Data to be parsed.

lexer

A lexer object containing the lexing rules prepared for the particular grammar.

返回值

没有返回值。

相关文章
php parle lexer pass the data for processingphp parle parser process next parser rulephp parle parser finalize the grammar rulesphp parle parser consume the data for processingphp parle parser dump the grammarphp parle parser retrieve the error informationphp parle parser declare a precedence rulephp parle parser add a grammar rulephp parle parser reset parser statephp parle parser declare a token with right associativityphp parle parser retrieve a matching part of a rulephp parle parser declare a tokenphp parle parser get token idphp parle parser trace the parser operationphp parle parser validate inputphp parle rlexer pass the data for processingphp parle rparser process next parser rulephp parle rparser consume the data for processingphp parle rparser reset parser statephp parle rparser trace the parser operation
关注编程学问公众号
编程学问网 湘ICP备20001732号