pyrtma.parser.Parser
- class Parser(debug=False, validate_alignment=True, auto_pad=True, import_coredefs=True)[source]
Bases:
object
Parser class
Parser class
- Parameters:
Methods
add_fields
Confirm 64 bit alignment of structures
Check namespaces for conflicting names.
check_key_value_separation
Check that names start with a letter.
clear
expand_expression
get_ctype_cls
- rtype:
Type
[Structure
]
get_ctype_size
- rtype:
Find the base type ultimately represented by the typedef alias
handle_compiler_options
handle_expression
handle_host_id
handle_import
handle_message_def
handle_metadata
handle_module_id
handle_reserve
handle_signal
handle_string
handle_struct
parse
parse_compiler_options
- rtype:
parse_file
parse_options
parse_options_text
parse_text
to_json
trim_root
- rtype:
validate_msg_def
validate_msg_id
warning