Author: jcater
Date: 2006-10-25 22:34:49 -0500 (Wed, 25 Oct 2006)
New Revision: 8932
Modified:
trunk/gnue-common/src/definitions/GParser.py
Log:
add a virtual method for notification of node creation (does nothing by default)
Modified: trunk/gnue-common/src/definitions/GParser.py
===================================================================
--- trunk/gnue-common/src/definitions/GParser.py 2006-10-26 02:59:31 UTC
(rev 8931)
+++ trunk/gnue-common/src/definitions/GParser.py 2006-10-26 03:34:49 UTC
(rev 8932)
@@ -619,8 +619,16 @@
self._phaseInitCount = (inits != None and inits > self._phaseInitCount \
and inits or self._phaseInitCount)
assert gDebug (7, "</%s>" % tname)
+
+ self.object_created(child)
+ # ---------------------------------------------------------------------------
+ # Get the root comments sequence
+ # ---------------------------------------------------------------------------
+ def object_created(self, obj):
+ pass
+
# ---------------------------------------------------------------------------
# Get the root comments sequence
# ---------------------------------------------------------------------------
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue