class PropertyParser
Defined at line 241 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 243 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
void PropertyParser (PropertyParser && )
Defined at line 245 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
PropertyParser & operator= (PropertyParser && )
Defined at line 246 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h
void ~PropertyParser ()
Defined at line 248 of file ../../sdk/lib/driver/devicetree/visitors/property-parser.h