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 25 fmt.Println("At position", s.Pos(), ":", 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 660 // TokenText returns the string corresponding to the most recently scanned token.
662 func (s *Scanner) TokenText() string {
681 s.tokPos = s.tokEnd // ensure idempotency of TokenText() call
  /prebuilts/go/linux-x86/src/text/scanner/
example_test.go 25 fmt.Println("At position", s.Pos(), ":", 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 660 // TokenText returns the string corresponding to the most recently scanned token.
662 func (s *Scanner) TokenText() string {
681 s.tokPos = s.tokEnd // ensure idempotency of TokenText() call
  /build/soong/androidmk/parser/
parser.go 178 p.scanner.TokenText())
185 if p.tok != scanner.Ident || !isDirective(p.scanner.TokenText()) {
189 d := p.scanner.TokenText()
222 value.appendString(p.scanner.TokenText())
223 if p.scanner.TokenText() == "endef" {
250 value.appendString(p.scanner.TokenText())
294 value.appendString(p.scanner.TokenText())
325 value.appendString(p.scanner.TokenText())
403 recipe += p.scanner.TokenText()
465 comment += "\\" + p.scanner.TokenText()
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/asm/internal/lex/
tokenizer.go 79 return t.s.TokenText()
106 length := strings.Count(s.TokenText(), "\n")
  /prebuilts/go/linux-x86/src/cmd/asm/internal/lex/
tokenizer.go 79 return t.s.TokenText()
106 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()
460 switch text := p.scanner.TokenText(); text {
489 str, err := strconv.Unquote(p.scanner.TokenText())
  /prebuilts/go/darwin-x86/src/cmd/gofmt/
gofmt_test.go 45 if t := s.TokenText(); strings.HasPrefix(t, prefix) {
  /prebuilts/go/linux-x86/src/cmd/gofmt/
gofmt_test.go 45 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 504 milliseconds

1 2