Revision: 445
Author: roman_yakovenko
Date: 2006-08-23 12:32:37 -0700 (Wed, 23 Aug 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=445&view=rev
Log Message:
-----------
moving "create aliases for matchers" code from the
module to the declarations package
Modified Paths:
--------------
pyplusplus_dev/contrib/goodies/dsl_interface.py
Modified: pyplusplus_dev/contrib/goodies/dsl_interface.py
===================================================================
--- pyplusplus_dev/contrib/goodies/dsl_interface.py 2006-08-23 19:31:39 UTC (rev 444)
+++ pyplusplus_dev/contrib/goodies/dsl_interface.py 2006-08-23 19:32:37 UTC (rev 445)
@@ -1,33 +1,24 @@
-# Copyright 2004 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-#
-# Authors:
-# Allen Bierbaum
-#
-
-# Dictionary of this module. Useful for adding symbols
-mod_dict = globals()
-
-# Bring in the module builder and alias it
-import pyplusplus.module_builder
-ModuleBuilder = pyplusplus.module_builder.module_builder_t
-set_logger_level = pyplusplus.module_builder.set_logger_level
-
-# Bring in all call policy symbols
-from pyplusplus.module_builder.call_policies import *
-
-from pyplusplus.decl_wrappers import print_declarations
-
-
-# Type traits
-
-# Matchers
-# - Bring in all matchers but rename then without the '_t' at the end
-import pygccxml.declarations.matchers
-for n in ["matcher_base_t","or_matcher_t","and_matcher_t","not_matcher_t",
- "declaration_matcher_t","calldef_matcher_t","namespace_matcher_t",
- "variable_matcher_t","regex_matcher_t","access_type_matcher_t",
- "operator_matcher_t","custom_matcher_t","virtuality_type_matcher_t"]:
- mod_dict[n[:-2]] = pygccxml.declarations.matchers.__dict__[n]
\ No newline at end of file
+# Copyright 2004 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#
+# Authors:
+# Allen Bierbaum
+#
+
+# Dictionary of this module. Useful for adding symbols
+mod_dict = globals()
+
+# Bring in the module builder and alias it
+import pyplusplus.module_builder
+ModuleBuilder = pyplusplus.module_builder.module_builder_t
+set_logger_level = pyplusplus.module_builder.set_logger_level
+
+# Bring in all call policy symbols
+from pyplusplus.module_builder.call_policies import *
+
+from pyplusplus.decl_wrappers import print_declarations
+
+
+# Type traits
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|