Parses the next (right) sibling of a specified syntax element. It is invoked by the broker when the next (right) sibling element of the current syntax element is required.
Defined In | Type | Member |
CPI_VFT | Mandatory | iFpParseNextSibling |
void cpiParseNextSibling( CciParser* parser, CciContext* context, CciElement* currentElement);
None.
This example is taken from the sample parser file BipSampPluginParser.c (lines 578 to 605):
void cpiParseNextSibling( CciParser* parser, CciContext* context, CciElement* element ){ PARSER_CONTEXT_ST* pc = (PARSER_CONTEXT_ST *)context ; int rc; while ((!cpiElementCompleteNext(&rc, cpiParent(&rc, element))) && (!cpiNextSibling(&rc, element)) && (pc->iCurrentElement)) { pc->iCurrentElement = parseNextItem(parser, context, pc->iCurrentElement); } if (pc->trace) { fprintf(pc->tracefile, "PLUGIN: <- cpiParseNextSibling()\n"); fflush(pc->tracefile); } return; }
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as08060_ |