class PropertyParser
Defined at line 38 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
Helper class to parse properties concerning a visitor. A visitor can bunch all the necessary
properties it needs to extract from a node and call the |PropertyParser::Parse| method.
Properties can be a string list, uint32 array or reference properties - see below for classes
that inherit from |Property| for the complete list of supported property types. The visitor can
also use this collect all connected properties and associate them appropriately using the vector
index.
Public Methods
zx::result<ParsedProperties> Parse (Node & node)
Defined at line 15 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.cc
void PropertyParser (Properties properties)
Defined at line 40 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
void PropertyParser (PropertyParser && )
Defined at line 42 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
PropertyParser & operator= (PropertyParser && )
Defined at line 43 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
void ~PropertyParser ()
Defined at line 45 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h