String XmlParser::ReadDecl(bool next) { if(!IsDecl()) throw XmlError("Declaration expected"); String h = tagtext; if(next) Next(); return h; }
GLOBAL TypeQual NodeDeclLocation(Node *node) { assert(node->typ == Decl); assert(IsDecl(node)); return tq_decl_location(node->u.decl.tq); }
GLOBAL TypeQual NodeDeclTq (Node *node) { assert(node->typ==Decl); assert(IsDecl(node)); return node->u.decl.tq; }