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