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