py-dtbindings  1.4.1
This python "lib" aim is to extract devicetree bindings informations.
bindings.MainProp Class Reference

This NamedTuple represent a single property and its value(s) More...

Inheritance diagram for bindings.MainProp:
Collaboration diagram for bindings.MainProp:

Public Member Functions

def __str__ (self)
 
def __contains__ (self, item)
 
def __getitem__ (self, key)
 

Private Member Functions

def _contains_finder (self, name, val)
 Recursive private method used by magic method __contains__() to find if given item is in.
 
def _getitem_finder (self, name, val)
 Recursive private method used by magic method __getitem__() to return Prop if given Prop.name exist.
 

Detailed Description

This NamedTuple represent a single property and its value(s)

This class is like Prop but should be at top level (as Prop.value could be another Prop)
As NamedTuple var can't be detected by doxygen, here it's how it work:
MainProp is like a C struct, with 3 field:

  • MainProp.name -> The name of the property
  • MainProp.value -> Value(s) of the property
  • MainProp.type -> Type of the property

The documentation for this class was generated from the following file: