|
def | __init__ (self, filenames, pkg_name) |
|
def | __repr__ (self) |
|
def | get_build_dependencies (self) |
|
def | get_external_python_dependencies (self) |
|
def | get_source_by_language (self, language) |
|
def | get_test_dependencies (self) |
|
def | has_header_files (self) |
|
def | modify_with_patterns (self, patterns, language='c++', verbose=True) |
|
def | search_for_pattern (self, pattern, per_line=True) |
|
def | search_for_patterns (self, patterns, per_line=True) |
|
def | setup_tags (self, cmake) |
|
Definition at line 6 of file source_code.py.
def ros_introspection.source_code.SourceCode.__init__ |
( |
|
self, |
|
|
|
filenames, |
|
|
|
pkg_name |
|
) |
| |
def ros_introspection.source_code.SourceCode.__repr__ |
( |
|
self | ) |
|
def ros_introspection.source_code.SourceCode.get_build_dependencies |
( |
|
self | ) |
|
def ros_introspection.source_code.SourceCode.get_external_python_dependencies |
( |
|
self | ) |
|
def ros_introspection.source_code.SourceCode.get_source_by_language |
( |
|
self, |
|
|
|
language |
|
) |
| |
def ros_introspection.source_code.SourceCode.get_test_dependencies |
( |
|
self | ) |
|
def ros_introspection.source_code.SourceCode.has_header_files |
( |
|
self | ) |
|
def ros_introspection.source_code.SourceCode.modify_with_patterns |
( |
|
self, |
|
|
|
patterns, |
|
|
|
language = 'c++' , |
|
|
|
verbose = True |
|
) |
| |
Given a map of patterns, replace all instances in the package source code with the given language.
The key in the map is a regular expression string literal.
If there are no groups, then the matching string is replaced with the map value.
If there are groups, then the literals of the form $0, $1, etc in the map value are replaced with the groups
Definition at line 77 of file source_code.py.
def ros_introspection.source_code.SourceCode.search_for_pattern |
( |
|
self, |
|
|
|
pattern, |
|
|
|
per_line = True |
|
) |
| |
def ros_introspection.source_code.SourceCode.search_for_patterns |
( |
|
self, |
|
|
|
patterns, |
|
|
|
per_line = True |
|
) |
| |
def ros_introspection.source_code.SourceCode.setup_tags |
( |
|
self, |
|
|
|
cmake |
|
) |
| |
ros_introspection.source_code.SourceCode.pkg_name |
ros_introspection.source_code.SourceCode.sources |
The documentation for this class was generated from the following file: