aardio 文档

protobuf.parser.lex 库模块帮助文档

protobuf.parser.lex 成员列表 #

protobuf.parser.lex._tk_keyword #

关键词

protobuf.parser.lex._tk_number #

数值

protobuf.parser.lex._tk_string #

字符串

protobuflexObject 成员列表 #

protobuflexObject.check() #

检测是否存在指定的 Token,
可指定符号字节码

protobuflexObject.checkKeyword() #

检测当前token是否关键字

protobuflexObject.checkNext() #

检测是否存在指定的 Token ,并向下词法分析

protobuflexObject.checkNumber() #

检测当前token是否数值

protobuflexObject.data #

当前数据;

protobuflexObject.next() #

向下做词法分析

protobuflexObject.testKeyword() #

当前token是否关键字

protobuflexObject.testNext() #

忽略指定的 Token

protobuflexObject.token #

当前token;

Markdown 格式