MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlParseCRNGTokenize

Function xmlParseCRNGTokenize

ThirdParty/libxml2/vtklibxml2/rngparser.c:413–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413static void
414xmlParseCRNGTokenize(xmlCRelaxNGParserCtxtPtr ctxt) {
415 tokenPtr token;
416
417 token = xmlParseCRNGGetToken(ctxt, 1);
418 while (token != NULL) {
419 switch (token->toktype) {
420 case CRNG_NONE: printf("none"); break;
421 case CRNG_OP: printf("op"); break;
422 case CRNG_KEYWORD: printf("keyword"); break;
423 case CRNG_IDENTIFIER: printf("identifier"); break;
424 case CRNG_LITERAL_SEGMENT: printf("literal"); break;
425 case CRNG_CNAME: printf("cname"); break;
426 case CRNG_QNAME: printf("qname"); break;
427 case CRNG_NSNAME: printf("nsname"); break;
428 case CRNG_DOCUMENTATION: printf("doc"); break;
429 }
430 printf(":%s\n", token->token);
431 xmlParseCRNGDropTokens(ctxt, 1);
432 token = xmlParseCRNGGetToken(ctxt, 1);
433 }
434}
435
436/**
437 * xmlParseCRNG_attribute:

Callers

nothing calls this directly

Calls 3

xmlParseCRNGGetTokenFunction · 0.85
printfFunction · 0.85
xmlParseCRNGDropTokensFunction · 0.85

Tested by

no test coverage detected