lexer
常見(jiàn)例句
- Whenever possible, try to develop separate tests for your lexer and your parser.
衹要有可能,請(qǐng)嘗試爲(wèi)您的 lexer 和解析器開(kāi)發(fā)單獨(dú)的測(cè)試。 - It uses start states -- a feature allowing the lexer to match some rules only some of the time.
它使用了 start 聲明 —— 這項(xiàng)功能使 lexer 能夠衹在一些時(shí)候去匹配某些槼則。 - For lexing purposes, this means that the lexer definition of an integer number, for example, can be used to build the lexer definition of a real number and a fraction.
例如,對(duì)於 詞法分析目的而言,這意味著可以用整數(shù)的詞法分析器定義來(lái)?yè)k建實(shí)數(shù)和分?jǐn)?shù)的詞法分析器定義。 返回 lexer