💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## [Parle \ Lexer](https://www.php.net/manual/en/class.parle-lexer.php)— Parle \ Lexer类 * [Parle \ Lexer :: advance](https://www.php.net/manual/en/parle-lexer.advance.php)—处理下一个lexer规则 * [Parle \ Lexer :: build-](https://www.php.net/manual/en/parle-lexer.build.php)完成lexer规则集 * [Parle \ Lexer :: callout](https://www.php.net/manual/en/parle-lexer.callout.php)—定义令牌回调 * [Parle \ Lexer :: consume](https://www.php.net/manual/en/parle-lexer.consume.php)—传递数据进行处理 * [Parle \ Lexer :: dump](https://www.php.net/manual/en/parle-lexer.dump.php)—转储状态机 * [Parle \ Lexer :: getToken](https://www.php.net/manual/en/parle-lexer.gettoken.php)—检索当前令牌 * [Parle \ Lexer :: insertMacro](https://www.php.net/manual/en/parle-lexer.insertmacro.php)—插入正则表达式宏 * [Parle \ Lexer :: push](https://www.php.net/manual/en/parle-lexer.push.php)—添加一个词法分析器规则 * [Parle \ Lexer :: reset](https://www.php.net/manual/en/parle-lexer.reset.php)—重置词法分析器 ## [Parle \ RLexer](https://www.php.net/manual/en/class.parle-rlexer.php)— Parle \ RLexer类 * [Parle \ RLexer :: advance](https://www.php.net/manual/en/parle-rlexer.advance.php)—处理下一个lexer规则 * [Parle \ RLexer :: build](https://www.php.net/manual/en/parle-rlexer.build.php)—完成词法分析器规则集 * [Parle \ RLexer :: callout](https://www.php.net/manual/en/parle-rlexer.callout.php)—定义令牌回调 * [Parle \ RLexer :: consume](https://www.php.net/manual/en/parle-rlexer.consume.php)—传递数据进行处理 * [Parle \ RLexer :: dump](https://www.php.net/manual/en/parle-rlexer.dump.php)—转储状态机 * [Parle \ RLexer :: getToken](https://www.php.net/manual/en/parle-rlexer.gettoken.php)—检索当前令牌 * [Parle \ RLexer :: insertMacro](https://www.php.net/manual/en/parle-rlexer.insertmacro.php)—插入正则表达式宏 * [Parle \ RLexer :: push](https://www.php.net/manual/en/parle-rlexer.push.php)—添加一个词法分析器规则 * [Parle \ RLexer :: pushState](https://www.php.net/manual/en/parle-rlexer.pushstate.php)—推送新的开始状态 * [Parle \ RLexer :: reset](https://www.php.net/manual/en/parle-rlexer.reset.php)—重置词法分析器 ## [Parle \ Parser](https://www.php.net/manual/en/class.parle-parser.php)— Parle \ Parser类 * [Parle \ Parser :: advance](https://www.php.net/manual/en/parle-parser.advance.php)—处理下一个解析器规则 * [Parle \ Parser :: build](https://www.php.net/manual/en/parle-parser.build.php)—最终确定语法规则 * [Parle \ Parser :: consume](https://www.php.net/manual/en/parle-parser.consume.php)—消耗数据进行处理 * [Parle \ Parser :: dump](https://www.php.net/manual/en/parle-parser.dump.php)—转储语法 * [Parle \ Parser :: errorInfo](https://www.php.net/manual/en/parle-parser.errorinfo.php)—检索错误信息 * [Parle \ Parser :: left](https://www.php.net/manual/en/parle-parser.left.php)—声明具有左关联性的令牌 * [Parle \ Parser :: nonassoc](https://www.php.net/manual/en/parle-parser.nonassoc.php)—声明没有关联[性](https://www.php.net/manual/en/parle-parser.nonassoc.php)的令牌 * [Parle \ Parser :: precedence](https://www.php.net/manual/en/parle-parser.precedence.php)—声明优先级规则 * [Parle \ Parser :: push](https://www.php.net/manual/en/parle-parser.push.php)—添加语法规则 * [Parle \ Parser :: reset](https://www.php.net/manual/en/parle-parser.reset.php)—重置解析器状态 * [Parle \ Parser :: right](https://www.php.net/manual/en/parle-parser.right.php)—声明具有右关联性的令牌 * [Parle \ Parser :: sigil](https://www.php.net/manual/en/parle-parser.sigil.php)—检索规则的匹配部分 * [Parle \ Parser :: token](https://www.php.net/manual/en/parle-parser.token.php)—声明一个令牌 * [Parle \ Parser :: tokenId](https://www.php.net/manual/en/parle-parser.tokenid.php)—获取令牌ID * [Parle \ Parser :: trace](https://www.php.net/manual/en/parle-parser.trace.php)—跟踪解析器操作 * [Parle \ Parser :: validate-](https://www.php.net/manual/en/parle-parser.validate.php)验证输入 ## [Parle \ RParser](https://www.php.net/manual/en/class.parle-rparser.php)— Parle \ RParser类 * [Parle \ RParser :: advance](https://www.php.net/manual/en/parle-rparser.advance.php)—处理下一个解析器规则 * [Parle \ RParser :: build](https://www.php.net/manual/en/parle-rparser.build.php)—最终确定语法规则 * [Parle \ RParser :: consume](https://www.php.net/manual/en/parle-rparser.consume.php)—消耗数据进行处理 * [Parle \ RParser :: dump](https://www.php.net/manual/en/parle-rparser.dump.php)—转储语法 * [Parle \ RParser :: errorInfo](https://www.php.net/manual/en/parle-rparser.errorinfo.php)—检索错误信息 * [Parle \ RParser :: left](https://www.php.net/manual/en/parle-rparser.left.php)—声明具有左关联性的令牌 * [Parle \ RParser :: nonassoc](https://www.php.net/manual/en/parle-rparser.nonassoc.php)—声明没有关联[性](https://www.php.net/manual/en/parle-rparser.nonassoc.php)的令牌 * [Parle \ RParser :: precedence](https://www.php.net/manual/en/parle-rparser.precedence.php)—声明优先级规则 * [Parle \ RParser :: push](https://www.php.net/manual/en/parle-rparser.push.php)—添加语法规则 * [Parle \ RParser :: reset](https://www.php.net/manual/en/parle-rparser.reset.php)—重置解析器状态 * [Parle \ RParser :: right](https://www.php.net/manual/en/parle-rparser.right.php)—声明具有右关联性的令牌 * [Parle \ RParser :: sigil](https://www.php.net/manual/en/parle-rparser.sigil.php)—检索规则的匹配部分 * [Parle \ RParser :: token](https://www.php.net/manual/en/parle-rparser.token.php)—声明一个令牌 * [Parle \ RParser :: tokenId](https://www.php.net/manual/en/parle-rparser.tokenid.php)—获取令牌ID * [Parle \ RParser :: trace](https://www.php.net/manual/en/parle-rparser.trace.php)—跟踪解析器操作 * [Parle \ RParser :: validate-](https://www.php.net/manual/en/parle-rparser.validate.php)验证输入 ## [Parle \ Stack](https://www.php.net/manual/en/class.parle-stack.php)— Parle \ Stack类 * [Parle \ Stack :: pop](https://www.php.net/manual/en/parle-stack.pop.php)—从堆栈中弹出一个项目 * [Parle \ Stack :: push](https://www.php.net/manual/en/parle-stack.push.php)—将项目推入堆栈 ## [Parle \ Token](https://www.php.net/manual/en/class.parle-token.php)— Parle \ Token类 ## [Parle \ ErrorInfo](https://www.php.net/manual/en/class.parle-errorinfo.php)— Parle \ ErrorInfo类 ## [Parle \ LexerException](https://www.php.net/manual/en/class.parle-lexerexception.php)— Parle \ LexerException类 ## [Parle \ ParserException](https://www.php.net/manual/en/class.parle-parserexception.php)— Parle \ ParserException类