HomeSort by relevance Sort by last modified time
    Searched refs:TokenText (Results 1 - 25 of 26) sorted by null

1 2

  /external/clang/lib/Format/
FormatTokenLexer.cpp 108 First[0]->TokenText = "<<";
129 AddLength += First[i]->TokenText.size();
132 First[0]->TokenText = StringRef(First[0]->TokenText.data(),
133 First[0]->TokenText.size() + AddLength);
196 const char *RegexBegin = Offset - RegexToken->TokenText.size();
225 RegexToken->TokenText = StringRef(RegexBegin, Offset - RegexBegin);
226 RegexToken->ColumnWidth = RegexToken->TokenText.size();
233 if (!BacktickToken->is(tok::unknown) || BacktickToken->TokenText != "`")
238 const char *TmplBegin = Offset - BacktickToken->TokenText.size(); // at "`
    [all...]
BreakableToken.cpp 150 assert(Tok.TokenText.endswith(Postfix));
151 Line = Tok.TokenText.substr(
152 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
204 getLineCommentIndentPrefix(Token.TokenText), "",
207 if (Token.TokenText.size() > Prefix.size() &&
208 isAlphanumeric(Token.TokenText[Prefix.size()])) {
257 StringRef TokenText(Token.TokenText);
258 assert(TokenText.startswith("/*") && TokenText.endswith("*/"))
    [all...]
SortJavaScriptImports.cpp 339 Current->TokenText.substr(1, Current->TokenText.size() - 2);
352 // URL = TokenText without the quotes.
354 Current->TokenText.substr(1, Current->TokenText.size() - 2);
387 Reference.Prefix = Current->TokenText;
405 Symbol.Symbol = Current->TokenText;
415 Symbol.Alias = Current->TokenText;
AffectedRangeManager.cpp 79 End = End.getLocWithOffset(Last.TokenText.size());
ContinuationIndenter.cpp 269 ((Previous.is(tok::identifier) && Previous.TokenText == "endl") ||
270 (Previous.Tok.isLiteral() && (Previous.TokenText.endswith("\\n\"") ||
271 Previous.TokenText == "\'\\n\'"))))
    [all...]
TokenAnnotator.cpp 843 return Tok.TokenText == "goog" && Tok.Next && Tok.Next->is(tok::period) &&
844 Tok.Next->Next && (Tok.Next->Next->TokenText == "module" ||
845 Tok.Next->Next->TokenText == "provide" ||
846 Tok.Next->Next->TokenText == "require" ||
847 Tok.Next->Next->TokenText == "setTestOnly" ||
848 Tok.Next->Next->TokenText == "forwardDeclare") &&
    [all...]
UnwrappedLineParser.cpp 459 if (I->Tok->TokenText != "goog")
465 if (I->Tok->TokenText != "scope")
    [all...]
FormatToken.h 161 StringRef TokenText;
Format.cpp     [all...]
UnwrappedLineFormatter.cpp 468 llvm::dbgs() << State.NextToken->TokenText << "\n";
    [all...]
  /prebuilts/go/darwin-x86/src/text/scanner/
example_test.go 23 fmt.Printf("%s: %s\n", s.Position, s.TokenText())
scanner_test.go 243 stext := s.TokenText()
247 // check idempotency of TokenText() call
248 stext = s.TokenText()
534 if string(ch) != s.TokenText() {
535 t.Errorf("tok = %q, want %q", s.TokenText(), string(ch))
scanner.go 663 // TokenText returns the string corresponding to the most recently scanned token.
665 func (s *Scanner) TokenText() string {
684 s.tokPos = s.tokEnd // ensure idempotency of TokenText() call
  /prebuilts/go/linux-x86/src/text/scanner/
example_test.go 23 fmt.Printf("%s: %s\n", s.Position, s.TokenText())
scanner_test.go 243 stext := s.TokenText()
247 // check idempotency of TokenText() call
248 stext = s.TokenText()
534 if string(ch) != s.TokenText() {
535 t.Errorf("tok = %q, want %q", s.TokenText(), string(ch))
scanner.go 663 // TokenText returns the string corresponding to the most recently scanned token.
665 func (s *Scanner) TokenText() string {
684 s.tokPos = s.tokEnd // ensure idempotency of TokenText() call
  /build/soong/androidmk/parser/
parser.go 192 p.scanner.TokenText())
199 if p.tok != scanner.Ident || !isDirective(p.scanner.TokenText()) {
203 d := p.scanner.TokenText()
236 value.appendString(p.scanner.TokenText())
237 if p.scanner.TokenText() == "endef" {
264 value.appendString(p.scanner.TokenText())
308 value.appendString(p.scanner.TokenText())
339 value.appendString(p.scanner.TokenText())
417 recipe += p.scanner.TokenText()
479 comment += "\\" + p.scanner.TokenText()
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/asm/internal/lex/
tokenizer.go 80 return t.s.TokenText()
110 length := strings.Count(s.TokenText(), "\n")
  /prebuilts/go/linux-x86/src/cmd/asm/internal/lex/
tokenizer.go 80 return t.s.TokenText()
110 length := strings.Count(s.TokenText(), "\n")
  /build/blueprint/parser/
parser.go 160 lines := strings.Split(p.scanner.TokenText(), "\n")
178 ident := p.scanner.TokenText()
299 name := p.scanner.TokenText()
468 switch text := p.scanner.TokenText(); text {
498 str, err := strconv.Unquote(p.scanner.TokenText())
523 str += p.scanner.TokenText()
  /prebuilts/go/darwin-x86/src/cmd/gofmt/
gofmt_test.go 47 if t := s.TokenText(); strings.HasPrefix(t, prefix) {
  /prebuilts/go/linux-x86/src/cmd/gofmt/
gofmt_test.go 47 if t := s.TokenText(); strings.HasPrefix(t, prefix) {
  /prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/
parser.go 96 buf.WriteString(p.scanner.TokenText())
111 p.lit = p.scanner.TokenText()
  /prebuilts/go/linux-x86/src/go/internal/gccgoimporter/
parser.go 96 buf.WriteString(p.scanner.TokenText())
111 p.lit = p.scanner.TokenText()
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
Antlr.Runtime.Tree.pas     [all...]

Completed in 804 milliseconds

1 2