# protobuf.parser.lex 库模块帮助文档

## protobuf.parser.lex 成员列表 <a id="protobuf.parser.lex" href="#protobuf.parser.lex">&#x23;</a>

### protobuf.parser.lex._tk_keyword <a id="protobuf.parser.lex._tk_keyword" href="#protobuf.parser.lex._tk_keyword">&#x23;</a>
关键词

### protobuf.parser.lex._tk_number <a id="protobuf.parser.lex._tk_number" href="#protobuf.parser.lex._tk_number">&#x23;</a>
数值

### protobuf.parser.lex._tk_string <a id="protobuf.parser.lex._tk_string" href="#protobuf.parser.lex._tk_string">&#x23;</a>
字符串

## protobuflexObject 成员列表 <a id="protobuflexObject" href="#protobuflexObject">&#x23;</a>

### protobuflexObject.check() <a id="protobuflexObject.check" href="#protobuflexObject.check">&#x23;</a>
检测是否存在指定的 Token,  
可指定符号字节码

### protobuflexObject.checkKeyword() <a id="protobuflexObject.checkKeyword" href="#protobuflexObject.checkKeyword">&#x23;</a>
检测当前token是否关键字

### protobuflexObject.checkNext() <a id="protobuflexObject.checkNext" href="#protobuflexObject.checkNext">&#x23;</a>
检测是否存在指定的 Token ,并向下词法分析

### protobuflexObject.checkNumber() <a id="protobuflexObject.checkNumber" href="#protobuflexObject.checkNumber">&#x23;</a>
检测当前token是否数值

### protobuflexObject.data <a id="protobuflexObject.data" href="#protobuflexObject.data">&#x23;</a>
当前数据;

### protobuflexObject.next() <a id="protobuflexObject.next" href="#protobuflexObject.next">&#x23;</a>
向下做词法分析

### protobuflexObject.testKeyword() <a id="protobuflexObject.testKeyword" href="#protobuflexObject.testKeyword">&#x23;</a>
当前token是否关键字

### protobuflexObject.testNext() <a id="protobuflexObject.testNext" href="#protobuflexObject.testNext">&#x23;</a>
忽略指定的 Token

### protobuflexObject.token <a id="protobuflexObject.token" href="#protobuflexObject.token">&#x23;</a>
当前token;
