Revision: 442
Author: roman_yakovenko
Date: 2006-08-23 12:28:36 -0700 (Wed, 23 Aug 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=442&view=rev
Log Message:
-----------
adding aliases for matcher classes
Modified Paths:
--------------
pygccxml_dev/pygccxml/declarations/__init__.py
Modified: pygccxml_dev/pygccxml/declarations/__init__.py
===================================================================
--- pygccxml_dev/pygccxml/declarations/__init__.py 2006-08-23 19:27:57 UTC (rev 441)
+++ pygccxml_dev/pygccxml/declarations/__init__.py 2006-08-23 19:28:36 UTC (rev 442)
@@ -214,6 +214,33 @@
from matchers import operator_matcher_t
from matchers import custom_matcher_t
from matchers import virtuality_type_matcher_t
+
+#make matchers to look more like functors
+or_matcher = or_matcher_t
+"""see L{or_matcher} for documentation"""
+and_matcher = and_matcher_t
+"""see L{and_matcher} for documentation"""
+not_matcher = not_matcher_t
+"""see L{not_matcher} for documentation"""
+declaration_matcher = declaration_matcher_t
+"""see L{declaration_matcher} for documentation"""
+calldef_matcher = calldef_matcher_t
+"""see L{calldef_matcher} for documentation"""
+namespace_matcher = namespace_matcher_t
+"""see L{namespace_matcher} for documentation"""
+variable_matcher = variable_matcher_t
+"""see L{variable_matcher} for documentation"""
+regex_matcher = regex_matcher_t
+"""see L{regex_matcher} for documentation"""
+access_type_matcher = access_type_matcher_t
+"""see L{access_type_matcher} for documentation"""
+operator_matcher = operator_matcher_t
+"""see L{operator_matcher} for documentation"""
+custom_matcher = custom_matcher_t
+"""see L{custom_matcher} for documentation"""
+virtuality_type_matcher = virtuality_type_matcher_t
+"""see L{virtuality_type_matcher} for documentation"""
+
from matcher import matcher
from mdecl_wrapper import mdecl_wrapper_t
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|