예제 #1
0
파일: term.cpp 프로젝트: andyfischer/circa
Term::Term(Block* _parent)
  : type(NULL),
    function(NULL),
    uniqueOrdinal(0),
    owningBlock(_parent),
    index(0),
    nestedContents(NULL)
{
    id = _parent->world->nextTermID++;

    set_hashtable(&properties);

    if (id == DEBUG_BREAK_ON_TERM)
        ca_debugger_break();
}
예제 #2
0
파일: term.cpp 프로젝트: levelplane/circa
Term::Term()
  : weakPtr(0),
    type(NULL),
    function(NULL),
    nameSymbol(name_None),
    owningBranch(NULL),
    index(0),
    nestedContents(NULL),
    flags(0)
{
    id = gNextGlobalID++;

    debug_register_valid_object(this, TERM_OBJECT);

    if (id == DEBUG_BREAK_ON_TERM)
        ca_debugger_break();
}