Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str keyword Str keyword Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Assign NameStore Call NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A 
This module is the main entry point for generating vehicle interface source code
from JSON mappings.

Given one or more JSON mapping filenames, and a list of directories where
configuration files may be found, it parses the mappings, validates them, and
prints the resulting source to stdout.
 __future__ print_function N/A sys N/A argparse N/A logging openxc.generator.coder CodeGenerator openxc.generator.message_sets JsonMessageSet openxc.utils fatal_error load_json_from_search_path common configure_logging N/A LOG N/A N/A logging getLogger __name__ N/A DEFAULT_SEARCH_PATH . parse_options N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description Generate C++ source code from CAN signal descriptions in JSON N/A group N/A N/A parser add_mutually_exclusive_group required True N/A N/A N/A group add_argument -m --message-sets type str nargs + dest message_sets metavar MESSAGE_SET help generate source from these JSON-formatted message set definitions N/A N/A N/A group add_argument --super-set type str dest super_set metavar SUPERSET help generate source with multiple active message sets, defined in this JSON-formatted superset N/A N/A N/A parser add_argument -s --search-paths type str nargs + dest search_paths metavar PATH help add directories to the search path when using relative paths N/A N/A N/A parser parse_args N/A main N/A N/A N/A N/A N/A N/A configure_logging N/A arguments N/A parse_options N/A search_paths N/A N/A arguments search_paths N/A N/A N/A N/A search_paths insert 0 DEFAULT_SEARCH_PATH N/A message_sets N/A N/A arguments message_sets N/A N/A N/A N/A arguments super_set None N/A N/A super_set_data N/A load_json_from_search_path N/A arguments super_set N/A arguments search_paths N/A super_set_message_sets N/A N/A super_set_data get message_sets N/A N/A N/A N/A len super_set_message_sets 0 N/A N/A N/A N/A LOG warning N/A Superset '%s' has no message sets N/A N/A super_set_data get name unknown N/A N/A N/A message_sets extend super_set_message_sets N/A generator N/A CodeGenerator search_paths N/A filename message_sets N/A N/A message_set N/A N/A JsonMessageSet parse filename search_paths search_paths skip_disabled_mappings True N/A N/A N/A N/A N/A message_set validate_messages N/A N/A N/A message_set validate_name N/A N/A N/A fatal_error unable to generate code N/A N/A N/A N/A generator message_sets append message_set N/A N/A print N/A N/A generator build_source N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main