summaryrefslogtreecommitdiff
path: root/sandbox/davidg/pysource_reader/en.py
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2002-04-20 03:00:05 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2002-04-20 03:00:05 +0000
commitfa752a6cc4fa1d49139807ba852fa2fa6989f146 (patch)
treeed6848a501036147144b926b7db4e03d7226b96e /sandbox/davidg/pysource_reader/en.py
parent4c1abf79df20160e81f8cd632366d0b56c7a5307 (diff)
downloaddocutils-fa752a6cc4fa1d49139807ba852fa2fa6989f146.tar.gz
Initial revision
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@17 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/davidg/pysource_reader/en.py')
-rw-r--r--sandbox/davidg/pysource_reader/en.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/sandbox/davidg/pysource_reader/en.py b/sandbox/davidg/pysource_reader/en.py
new file mode 100644
index 000000000..78a383ab3
--- /dev/null
+++ b/sandbox/davidg/pysource_reader/en.py
@@ -0,0 +1,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."""