Crate device_tree_source [−] [src]
This crate includes functionality to parse Device Tree Source files into a tree structure and then manipulate that tree structure.
The main parsing function is parser::parse_dt
. The structures that make
up the returned tree are found in the tree
module. Finally, functions to
parse includes and manipulate the information gleaned from include
statements can be found in the include
module.
Modules
include |
This module includes functions and structures that deal with the parsing and
execution of Device Tree |
parser |
This module's main focus is |
tree |
Contains the structures that represent the device tree. |
Enums
ParseError |
Various errors that can occur why parsing. |
Functions
byte_offset_to_line_col |
Returns the line and column of the character at the offset within the iterator. |
line_to_byte_offset |
Returns the byte offset of the starting character of line within the iterator. |