lexer
常見(jiàn)例句
- Whenever possible, try to develop separate tests for your lexer and your parser.
只要有可能,請(qǐng)嘗試為您的 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í)候去匹配某些規(guī)則。 - 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)構(gòu)建實(shí)數(shù)和分?jǐn)?shù)的詞法分析器定義。 返回 lexer