常見例句雙語例句Whenever possible, try to develop separate tests for your lexer and your parser.只要有可能,請嘗試為您的 lexer 和解析器開發(fā)單獨(dú)的測試。It uses start states -- a feature allowing the lexer to match some rules only some of the time.它使用了 start 聲明 —— 這項功能使 lexer 能夠只在一些時候去匹配某些規(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.例如,對于 詞法分析目的而言,這意味著可以用整數(shù)的詞法分析器定義來構(gòu)建實(shí)數(shù)和分?jǐn)?shù)的詞法分析器定義。 返回 lexer