Logo Search packages:      
Sourcecode: inkscape version File versions

DOMString org::w3c::dom::xpath::Token::getTypeString (  )  [virtual]

Return the string TokenType of this token

Return the string TokenType of this token (in the .cpp file)

Definition at line 891 of file xpathtoken.cpp.

References org::w3c::dom::xpath::TokenTableEntry::sval, and type.

Referenced by dump().

{
    DOMString ret = "unknown";
    for (TokenTableEntry *entry = tokenTable ; entry->sval ; entry++)
        {
        if (entry->ival == type)
            {
            ret = entry->sval;
            break;
            }
        }
    return ret;
}


Generated by  Doxygen 1.6.0   Back to index