Classes | Functions | Variables
xacro Namespace Reference

Classes

class  QuickLexer
class  Table
class  XacroException

Functions

def child_nodes
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 open_output
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_nodes (   elt)

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

def xacro.eat_ignore (   lex)

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

def xacro.eval_all (   root,
  macros,
  symbols 
)

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

def xacro.eval_expr (   lex,
  symbols 
)

Definition at line 435 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 389 of file src/xacro/__init__.py.

def xacro.eval_lit (   lex,
  symbols 
)

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

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

def xacro.eval_term (   lex,
  symbols 
)

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

def xacro.eval_text (   text,
  symbols 
)

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

Definition at line 157 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 295 of file src/xacro/__init__.py.

def xacro.grab_properties (   doc)

Definition at line 317 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 646 of file src/xacro/__init__.py.

def xacro.next_element (   elt)

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

def xacro.next_node (   node)

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

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

def xacro.open_output (   output_filename)

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

def xacro.print_usage (   exit_code = 0)

Definition at line 630 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 218 of file src/xacro/__init__.py.

def xacro.set_substitution_args_context (   context = {})

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


Variable Documentation

xacro::_basestr = basestring

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

Definition at line 205 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 208 of file src/xacro/__init__.py.

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

Definition at line 214 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, William Woodall
autogenerated on Sat Jun 8 2019 18:50:42