Home
last modified time | relevance | path

Searched refs:tokText (Results 1 – 6 of 6) sorted by relevance

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaInput.java379 String tokText = in buildToks() local
383 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 …]
/external/antlr/runtime/C/src/
Dantlr3commontoken.c383 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()
Dantlr3commontreeadaptor.c300 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()
Dantlr3commontreenodestream.c393 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()
Dantlr3lexer.c668 token->tokText.text = lexer->rec->state->text; in emit()
/external/antlr/runtime/C/include/
Dantlr3commontoken.h188 tokText; member