예제 #1
0
static void
CcXmlSpec_Destruct(CcObject_t * self)
{
    CcXmlSpec_t * ccself = (CcXmlSpec_t *)self;
    CcArrayList_Destruct(&ccself->PInstructions);
    CcArrayList_Destruct(&ccself->Attrs);
    CcArrayList_Destruct(&ccself->Tags);
    CcBitArray_Destruct(&ccself->options);
    CcObject_Destruct(self);
}
예제 #2
0
void
CcGlobals_Destruct(CcGlobals_t * self)
{
    CcArrayList_Destruct(&self->sections);
    CcSyntax_Destruct(&self->syntax);
    if (self->lexical) CcLexical_Destruct(self->lexical);
    if (self->xmlspecmap) CcXmlSpecMap_Destruct(self->xmlspecmap);
    CcSymbolTable_Destruct(&self->symtab);
}
예제 #3
0
void
CcSyntax_Destruct(CcSyntax_t * self)
{
    CcArrayList_Destruct(&self->errors);
    if (self->allSyncSets) CcBitArray_Destruct(self->allSyncSets);
    if (self->visited) CcBitArray_Destruct(self->visited);
    if (self->grammarPrefix) CcFree(self->grammarPrefix);
    if (self->schemeName) CcFree(self->schemeName);
    if (self->destructor) CcsPosition_Destruct(self->destructor);
    if (self->constructor) CcsPosition_Destruct(self->constructor);
    if (self->members) CcsPosition_Destruct(self->members);
    CcEBNF_Destruct(&self->base);
}
예제 #4
0
파일: EBNF.c 프로젝트: charlesw1234/cocoxml
void
CcEBNF_Destruct(CcEBNF_t * self)
{
    CcArrayList_Destruct(&self->nodes);
}