Lines Matching refs:Node
29 typedef SkDOMNode Node;
34 const Node* build(SkStream&);
35 const Node* copy(const SkDOM& dom, const Node* node);
37 const Node* getRootNode() const;
40 const Node* finishParsing();
46 Type getType(const Node*) const;
48 const char* getName(const Node*) const;
49 const Node* getFirstChild(const Node*, const char elem[] = nullptr) const;
50 const Node* getNextSibling(const Node*, const char elem[] = nullptr) const;
52 const char* findAttr(const Node*, const char attrName[]) const;
53 const Attr* getFirstAttr(const Node*) const;
54 const Attr* getNextAttr(const Node*, const Attr*) const;
55 const char* getAttrName(const Node*, const Attr*) const;
56 const char* getAttrValue(const Node*, const Attr*) const;
59 int countChildren(const Node* node, const char elem[] = nullptr) const;
62 bool findS32(const Node*, const char name[], int32_t* value) const;
63 bool findScalars(const Node*, const char name[], SkScalar value[], int count) const;
64 bool findHex(const Node*, const char name[], uint32_t* value) const;
65 bool findBool(const Node*, const char name[], bool*) const;
66 int findList(const Node*, const char name[], const char list[]) const;
68 bool findScalar(const Node* node, const char name[], SkScalar value[]) const {
69 return this->findScalars(node, name, value, 1);
72 bool hasAttr(const Node*, const char name[], const char value[]) const;
73 bool hasS32(const Node*, const char name[], int32_t value) const;
74 bool hasScalar(const Node*, const char name[], SkScalar value) const;
75 bool hasHex(const Node*, const char name[], uint32_t value) const;
76 bool hasBool(const Node*, const char name[], bool value) const;
80 AttrIter(const SkDOM&, const Node*);
89 Node* fRoot;