Classes | Functions | Variables
xacro Namespace Reference

Classes

class  QuickLexer
class  Table
class  XacroException

Functions

def child_elements
def eat_ignore
def eval_all
def eval_expr
def eval_extension
def eval_factor
def eval_lit
def eval_self_contained
def eval_term
def eval_text
def first_child_element
def fixed_writexml
def grab_macros
def grab_properties
def isnumber
def main
def next_element
def next_node
def next_sibling_element
def print_usage
def process_includes
def set_substitution_args_context

Variables

 _basestr = basestring
list all_includes = []
tuple backup_path = list(sys.path)
tuple cur_dir = os.getcwd()
string deprecated_include_msg
string include_no_matches_msg = """Include tag filename spec \"{}\" matched no files."""
dictionary substitution_args_context = {}
tuple this_dir = os.path.dirname(__file__)
tuple this_dir_cwd = os.getcwd()

Function Documentation

def xacro.child_elements (   elt)

Definition at line 197 of file src/xacro/__init__.py.

def xacro.eat_ignore (   lex)

Definition at line 354 of file src/xacro/__init__.py.

def xacro.eval_all (   root,
  macros,
  symbols 
)

Definition at line 485 of file src/xacro/__init__.py.

def xacro.eval_expr (   lex,
  symbols 
)

Definition at line 426 of file src/xacro/__init__.py.

def xacro.eval_extension (   str)

Definition at line 65 of file src/xacro/__init__.py.

def xacro.eval_factor (   lex,
  symbols 
)

Definition at line 380 of file src/xacro/__init__.py.

def xacro.eval_lit (   lex,
  symbols 
)

Definition at line 359 of file src/xacro/__init__.py.

Definition at line 598 of file src/xacro/__init__.py.

def xacro.eval_term (   lex,
  symbols 
)

Definition at line 403 of file src/xacro/__init__.py.

def xacro.eval_text (   text,
  symbols 
)

Definition at line 452 of file src/xacro/__init__.py.

Definition at line 155 of file src/xacro/__init__.py.

def xacro.fixed_writexml (   self,
  writer,
  indent = "",
  addindent = "",
  newl = "" 
)

Definition at line 71 of file src/xacro/__init__.py.

def xacro.grab_macros (   doc)

Definition at line 294 of file src/xacro/__init__.py.

def xacro.grab_properties (   doc)

Definition at line 316 of file src/xacro/__init__.py.

def xacro.isnumber (   x)

Definition at line 61 of file src/xacro/__init__.py.

def xacro.main ( )

Definition at line 615 of file src/xacro/__init__.py.

def xacro.next_element (   elt)

Definition at line 174 of file src/xacro/__init__.py.

def xacro.next_node (   node)

Definition at line 187 of file src/xacro/__init__.py.

Definition at line 164 of file src/xacro/__init__.py.

def xacro.print_usage (   exit_code = 0)

Definition at line 604 of file src/xacro/__init__.py.

def xacro.process_includes (   doc,
  base_dir 
)
Exceptions:
XacroExceptionif a parsing error occurs with an included document

Definition at line 217 of file src/xacro/__init__.py.

def xacro.set_substitution_args_context (   context = {})

Definition at line 611 of file src/xacro/__init__.py.


Variable Documentation

xacro::_basestr = basestring

Definition at line 49 of file src/xacro/__init__.py.

Definition at line 204 of file src/xacro/__init__.py.

tuple xacro::backup_path = list(sys.path)

Definition at line 44 of file xacro.py.

tuple xacro::cur_dir = os.getcwd()

Definition at line 47 of file xacro.py.

Initial value:
00001 """DEPRECATED IN HYDRO:
00002   The <include> tag should be prepended with 'xacro' if that is the intended use
00003   of it, such as <xacro:include ...>. Use the following script to fix incorrect
00004   xacro includes:
00005      sed -i 's/<include/<xacro:include/g' `find . -iname *.xacro`"""

Definition at line 207 of file src/xacro/__init__.py.

string xacro::include_no_matches_msg = """Include tag filename spec \"{}\" matched no files."""

Definition at line 213 of file src/xacro/__init__.py.

Definition at line 54 of file src/xacro/__init__.py.

tuple xacro::this_dir = os.path.dirname(__file__)

Definition at line 45 of file xacro.py.

tuple xacro::this_dir_cwd = os.getcwd()

Definition at line 49 of file xacro.py.



xacro
Author(s): Stuart Glaser
autogenerated on Thu Aug 27 2015 15:44:55