X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fxml%2FNode.hpp;h=7050a817f59459f4c296bbff8a96381ce535438b;hp=a8579b7b53cf4c35d107b6abe1896112b9feb289;hb=1fd0c19880f48fd5d98dfce81dfed21147b4dfe3;hpb=5c20be7038fe63f4c23f7bd265d3c1fd97f84088 diff --git a/include/anna/xml/Node.hpp b/include/anna/xml/Node.hpp index a8579b7..7050a81 100644 --- a/include/anna/xml/Node.hpp +++ b/include/anna/xml/Node.hpp @@ -458,10 +458,15 @@ private: static const Attribute* find(const char* attrName, const_attribute_iterator, const_attribute_iterator) throw(); + // Allow sort in compiler + attribute_iterator attribute_begin() throw() { return a_attributes.begin(); } + attribute_iterator attribute_end() throw() { return a_attributes.end(); } + friend class Parser; friend class Allocator; friend class XPath; friend class Decompressor; + friend class Compiler; }; }