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