Lines Matching refs:tokenString

422 	if	(delboy->tokenString == NULL)  in serializeToken()
428 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in serializeToken()
433 delboy->tokenString->set(delboy->tokenString, (const char *)""); in serializeToken()
438 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getTokenIndex(t))); in serializeToken()
439 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeToken()
440 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getType(t))); in serializeToken()
441 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeToken()
442 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getChannel(t))); in serializeToken()
443 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeToken()
444 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getLine(t))); in serializeToken()
445 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeToken()
446 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(t->getCharPositionInLine(t))); in serializeToken()
450 serializeText(delboy->tokenString, t->getText(t)); in serializeToken()
457 return delboy->tokenString->toUTF8(delboy->tokenString); in serializeToken()
471 if (delboy->tokenString == NULL) in serializeNode()
477 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in serializeNode()
482 delboy->tokenString->set(delboy->tokenString, (const char *)""); in serializeNode()
488 return delboy->tokenString; in serializeNode()
494 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeNode()
498 …delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getUniqueID(delboy->adaptor, node)… in serializeNode()
499 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeNode()
503 delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getType(delboy->adaptor, node)); in serializeNode()
509 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeNode()
514 delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(token->getLine(token))); in serializeNode()
515 delboy->tokenString->addc(delboy->tokenString, ' '); in serializeNode()
516 …delboy->tokenString->addi(delboy->tokenString, (ANTLR3_INT32)(token->getCharPositionInLine(token))… in serializeNode()
522 delboy->tokenString->addi(delboy->tokenString, -1); in serializeNode()
523 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeNode()
524 delboy->tokenString->addi(delboy->tokenString, -1); in serializeNode()
529 delboy->tokenString->addc(delboy->tokenString, '\t'); in serializeNode()
530 …delboy->tokenString->addi(delboy->tokenString, (ANTLR3_UINT32)(delboy->adaptor->getTokenStartIndex… in serializeNode()
534 serializeText(delboy->tokenString, delboy->adaptor->getText(delboy->adaptor, node)); in serializeNode()
541 return delboy->tokenString->toUTF8(delboy->tokenString); in serializeNode()
885 transmit (delboy, (const char *)(delboy->tokenString->toUTF8(delboy->tokenString)->chars)); in consumeNode()
904 transmit (delboy, (const char *)(delboy->tokenString->toUTF8(delboy->tokenString)->chars)); in LTT()
920 if (delboy->tokenString == NULL) in createNode()
926 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in createNode()
931 delboy->tokenString->set8(delboy->tokenString, (const char *)"createNodeFromTokenElements "); in createNode()
938 delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getUniqueID(delboy->adaptor, t)); in createNode()
939 delboy->tokenString->addc(delboy->tokenString, '\t'); in createNode()
943 delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getType(delboy->adaptor, t)); in createNode()
947 serializeText(delboy->tokenString, delboy->adaptor->getText(delboy->adaptor, t)); in createNode()
948 delboy->tokenString->addc(delboy->tokenString, '\n'); in createNode()
955 transmit(delboy, (const char *)(delboy->tokenString->toUTF8(delboy->tokenString)->chars)); in createNode()
963 if (delboy->tokenString == NULL) in errorNode()
969 …delboy->tokenString = delboy->grammarFileName->factory->newSize(delboy->grammarFileName->factory, … in errorNode()
974 delboy->tokenString->set8(delboy->tokenString, (const char *)"errorNode\t"); in errorNode()
981 delboy->tokenString->addi(delboy->tokenString, delboy->adaptor->getUniqueID(delboy->adaptor, t)); in errorNode()
982 delboy->tokenString->addc(delboy->tokenString, '\t'); in errorNode()
986 delboy->tokenString->addi(delboy->tokenString, ANTLR3_TOKEN_INVALID); in errorNode()
990 serializeText(delboy->tokenString, delboy->adaptor->getText(delboy->adaptor, t)); in errorNode()
991 delboy->tokenString->addc(delboy->tokenString, '\n'); in errorNode()
998 transmit(delboy, (const char *)(delboy->tokenString->toUTF8(delboy->tokenString)->chars)); in errorNode()