X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fxml%2FNode.hpp;h=7050a817f59459f4c296bbff8a96381ce535438b;hb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4;hp=a8579b7b53cf4c35d107b6abe1896112b9feb289;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git 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; }; }