summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-02-02 01:35:30 (GMT)
committerDavid Malcolm <dmalcolm@redhat.com>2012-02-02 01:38:17 (GMT)
commitb6d86c290176be95b81a96ba357e64db9e1e74f4 (patch)
treef7a74889c5edf93e14fc924c0346a08a4745a976
parentecf2ac844d87945f782765c8ef7ce2a8877b15d6 (diff)
downloadgcc-python-plugin-b6d86c290176be95b81a96ba357e64db9e1e74f4.zip
gcc-python-plugin-b6d86c290176be95b81a96ba357e64db9e1e74f4.tar.gz
gcc-python-plugin-b6d86c290176be95b81a96ba357e64db9e1e74f4.tar.xz
document gcc.IntegerField min_value and max_value (issue #31)
-rw-r--r--docs/tree.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/tree.rst b/docs/tree.rst
index cd3090f..6010114 100644
--- a/docs/tree.rst
+++ b/docs/tree.rst
@@ -425,6 +425,16 @@ Types
The gcc.IntegerType for the unsigned version of this type
+ .. py:attribute:: max_value
+
+ The maximum possible value for this type, as a
+ :py:class:`gcc.IntegerCst`
+
+ .. py:attribute:: min_value
+
+ The minimum possible value for this type, as a
+ :py:class:`gcc.IntegerCst`
+
.. py:class:: gcc.FloatType
Subclass of :py:class:`gcc.Type` representing C's `float` and `double` types