Searched refs:tokText (Results 1 – 6 of 6) sorted by relevance
379 String tokText = in buildToks() local383 char tokText0 = tokText.charAt(0); // The token's first character. in buildToks()405 } else if (tokText.startsWith("'") || tokText.startsWith("\"")) { in buildToks()409 } else if (tokText.startsWith("//") || tokText.startsWith("/*")) { in buildToks()411 if (tokText.startsWith("//") in buildToks()414 tokText = tokText.substring(0, tokText.length() - extraNewline.length()); in buildToks()423 || (tokText0 == '.' && tokText.length() > 1 && Character.isDigit(tokText.charAt(1)))) { in buildToks()427 strings.add(tokText); in buildToks()434 for (char c : tokText.toCharArray()) { in buildToks()443 tokText, in buildToks()[all …]
383 return token->tokText.text; in getText()394 …token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)token->tokText.… in getText()396 return token->tokText.text; in getText()412 token->tokText.text = token->strFactory->newStr8(token->strFactory, (pANTLR3_UINT8)"<EOF>"); in getText()414 token->tokText.text->factory = token->strFactory; in getText()415 return token->tokText.text; in getText()453 token->tokText.chars = (pANTLR3_UCHAR)text; in setText8()460 token->tokText.text->set8(token->tokText.text, (const char *)text); in setText8()480 token->tokText.text = text; in setText()
300 newToken->tokText.chars = (pANTLR3_UCHAR)text; in createToken()345 newToken->tokText.chars = fromToken->tokText.chars; in createTokenFromToken()351 …newToken->tokText.text = adaptor->strFactory->newPtr(adaptor->strFactory, text->chars, text->l… in createTokenFromToken()
393 token->tokText.chars = (pANTLR3_UCHAR)"UP"; in antlr3CommonTreeNodeStreamNew()399 token->tokText.chars = (pANTLR3_UCHAR)"DOWN"; in antlr3CommonTreeNodeStreamNew()405 token->tokText.chars = (pANTLR3_UCHAR)"EOF"; in antlr3CommonTreeNodeStreamNew()411 token->tokText.chars = (pANTLR3_UCHAR)"INVALID"; in antlr3CommonTreeNodeStreamNew()897 token->tokText.chars = (pANTLR3_UCHAR)"DOWN"; in newDownNode()911 token->tokText.chars = (pANTLR3_UCHAR)"UP"; in newUpNode()
668 token->tokText.text = lexer->rec->state->text; in emit()
188 tokText; member