lexer

lexer

 英

  • 網絡詞法分析器;詞法分析程序;詞法分掃描器類

例句

The lexer actually does some of the work of figuring out where in a message it is, but the parser still ties everything together.

lexer實際上完成指出位于消息哪個地方一些任務但是解析器所有內容一起

Additionally there is implemented a IDL lexer, which allows to use the preprocessor library as the lexing component of a IDL oriented tool.

此外實現一個IDLlexer允許預處理器用作某個面向IDL工具lexing組件

Whenever possible, try to develop separate tests for your lexer and your parser.

只要可能嘗試lexer解析器開發單獨測試

The lexer for this example is more complicated than the one for the calculator; quite a bit so.

示例lexer計算器更為復雜復雜

So this lexer does not recognize any keywords (except true and false, which are needed by the preprocessor itself).

因此這個lexer識別任何關鍵除了truefalse因為預處理本身需要它們)。

A lexer is a software component that divides text strings into individual words, or tokens, so that the individual words can be indexed.

lexer一個文本字符串分成單個命令或者標記軟件組分這樣使得單個命令可以檢索

On the basis of the test tool of executing characteristics of programs, we modify the lexer and parser to implement it.

工具程序執行特征測試工具基礎詞法分析器語法分析加以修改實現

These directives are used to define the tokens the lexer can return.

這些指令用來定義lexer可以返回記號

The lexer is the part of our language knowledge that says "this is a sentence; this is punctuation; twenty-three is a single word. "

詞法分析器我們語言知識識別一個句子標點;twenty-three一個單一一部分

The symbols produced by the lexer are called terminals or tokens.

lexer生成符號稱為終結符terminals或者記號tokens)。

JAPANESE_LEXER: A lexer for extracting tokens from Japanese text.

JAPANESE_LEXER:一個Japanese文本提取標記lexer

The C++ lexers packaged with the Wave library may be used standalone, too, and are not tied to the C++ preprocessor iterator at all.

Wave一起打包C++lexer可以單獨使用沒有C++預處理迭代捆綁一起

So, in this example, NUMBER is a terminal; the lexer is producing this result.

所以這個例子NUMBER一個終結符lexer正是生成這種結果

KOREAN_MORPH_LEXER: A lexer for extracting tokens from Korean text.

KOREAN_MORPH_LEXER:一個Korean文本提取標記lexer

The tokens ALPHA, INT, and REAL are typically provided from the lexer.

INTREAL通常lexer提供

KOREAN_LEXER: A lexer for extracting tokens from Korean text.

KOREAN_LEXER:一個Korean文本提取標記lexer

This does mean that the lexer and the parser both have to know that an empty line separates a header from a body.

確實意味lexer解析器必須明白一個行將標題主體分離出來

A listing of supported lexer types follows.

下面一個支持lexer類型清單

JAPANESE_VGRAM: A lexer for extracting tokens from Japanese text.

JAPANESE_VGRAM:一個Japanese文本提取標記lexer

Most simple programming projects, of course, can get by with very trivial lexers.

當然大部分簡單編程項目使用非常普通lexer就可以完成

CHINESE_VGRAM: A lexer for extracting tokens from Chinese text.

CHINESE_VGRAM:一個Chinese文本提取標記lexer

Thus, P: : RD on top of Perl 5 is a powerful parser and lexer combination.

因此,Perl5之上P::RD一個解析詞法分析器強大組合

A good lexer example can help a lot with learning how to write a tokenizer.

一個lexer例子非常有助于學習如何編寫tokenizer)。