1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#! /usr/bin/env python
"""
:Author: David Goodger
:Contact: goodger@users.sourceforge.net
:Revision: $Revision$
:Date: $Date$
:Copyright: This module has been placed in the public domain.
"""
interpreted = {
'package': nodes.package,
'module': nodes.module,
'class': nodes.inline_class,
'method': nodes.method,
'function': nodes.function,
'variable': nodes.variable,
'parameter': nodes.parameter,
'type': nodes.type,
'class attribute': nodes.class_attribute,
'classatt': nodes.class_attribute,
'instance attribute': nodes.instance_attribute,
'instanceatt': nodes.instance_attribute,
'module attribute': nodes.module_attribute,
'moduleatt': nodes.module_attribute,
'exception class': nodes.exception_class,
'exception': nodes.exception_class,
'warning class': nodes.warning_class,
'warning': nodes.warning_class,}
"""Mapping of interpreted text role name to nodes.py class."""
|