用于记录lua代码的sphinx域
sphinxcontrib-luadomain的Python项目详细描述
##########
sphinx lua
lua:alias::packet=table<;string,number>;
类型别名。
…lua:class::基类
a基类
…lua:attribute::clsname:string
lua:class::foo:base
我的超级lua类。lua:method::append(i)
:虚拟:
虚拟方法。
:param i:value to append
:type i:integer or none
。lua:static method::static(i)
静态方法。
…lua:method::send(packet)
:抽象:
抽象方法。
:param packet packet:foo
……py:function::send(msg)
向收件人发送消息
:param str packet:发送消息的人
:type packet:string
:return:消息id
:rtype:int
```
sphinx lua
lua:alias::packet=table<;string,number>;
类型别名。
…lua:class::基类
a基类
…lua:attribute::clsname:string
lua:class::foo:base
我的超级lua类。lua:method::append(i)
:虚拟:
虚拟方法。
:param i:value to append
:type i:integer or none
。lua:static method::static(i)
静态方法。
…lua:method::send(packet)
:抽象:
抽象方法。
:param packet packet:foo
……py:function::send(msg)
向收件人发送消息
:param str packet:发送消息的人
:type packet:string
:return:消息id
:rtype:int
```