class SemanticTreeParser

Defined at line 19 of file ../../src/ui/a11y/lib/semantics/tests/semantic_tree_parser.h

Public Methods

bool ParseSemanticTree (const std::string & file_path, std::vector<fuchsia::accessibility::semantics::Node> * semantic_tree)

This function parses file at file_path to create list of Semantic Tree

nodes. Nodes parsed from the file are appended to the given vector.

Function assumes passed pointer to point to a read std::vector

<Node

>.

Function returns false, if the parsing of the file fails.

Defined at line 11 of file ../../src/ui/a11y/lib/semantics/tests/semantic_tree_parser.cc