词法分析(英语:lexical analysis)是计算机科学中将字符序列转换为单词(Token)序列的过程。进行词法分析的程序或者函数叫作词法分析器(Lexical analyzer,简称Lexer),也叫扫描器(Scanner)。词法分析器一般以函数的形式存在,供语法分析器调用。完成词法分析任务的程序称为词法分析程序或词法分析器或扫描器。 完成词法分析任务的程序称为词法分析程序或词法分析器或扫描器。从左至右地对源程序进行扫描,按照语言的词法规则识别各类单词,并产生相应单词的属性字。
Zend Engine 功能 先进行预编译( Compile ),然后再执行( Execute )。 词法分析(Lexer):将代码切分为一个个的标记Toekn。 语法分析(Parser):语法检查。
基于14个网页-相关网页
执行此匹配的第一步叫做扫描 或词法分析。
The first step in performing this match is called scanning, or lexical analysis.
扫描,也称词法分析。
在索引更新过程中,词法分析确定文档中单词的词元。
During index update processing, the lexical analysis identifies the lemmas of the words in the document, and the analysis adds this information to the text index.
应用推荐