pygccxml.declarations.declarations_matchers module¶
-
class
calldef_matcher_t(name=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None)¶ Bases:
pygccxml.declarations.declarations_matchers.declaration_matcher_t- Instance of this class will match callable by the following criteria:
declaration_matcher_tcriteriareturn type. For example:
int_tor ‘int’argument types
-
class
declaration_matcher_t(name=None, decl_type=None, header_dir=None, header_file=None)¶ Bases:
pygccxml.declarations.matchers.matcher_base_t- Instance of this class will match declarations by next criteria:
declaration name, also could be fully qualified name Example: wstring or ::std::wstring
declaration type Example:
class_t,namespace_t,enumeration_tlocation within file system ( file or directory )
-
check_name(decl)¶
-
property
decl_name_only¶
-
is_full_name()¶
-
property
name¶
-
class
namespace_matcher_t(name=None)¶ Bases:
pygccxml.declarations.declarations_matchers.declaration_matcher_tInstance of this class will match namespaces by name.
-
class
operator_matcher_t(name=None, symbol=None, return_type=None, arg_types=None, decl_type=None, header_dir=None, header_file=None)¶ Bases:
pygccxml.declarations.declarations_matchers.calldef_matcher_t- Instance of this class will match operators by next criteria:
calldef_matcher_tcriteriaoperator symbol: =, !=, (), [] and etc
-
class
variable_matcher_t(name=None, decl_type=None, header_dir=None, header_file=None)¶ Bases:
pygccxml.declarations.declarations_matchers.declaration_matcher_t- Instance of this class will match variables by next criteria:
declaration_matcher_tcriteriavariable type. Example:
int_tor ‘int’