reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
   96     Result.Range.Start = currentLocation();
   99       Result.Kind = TokenInfo::TK_CodeCompletion;
  100       Result.Text = StringRef(CodeCompletionLocation, 0);
  102       return Result;
  106       Result.Kind = TokenInfo::TK_Eof;
  107       Result.Text = "";
  108       return Result;
  113       Result.Kind = TokenInfo::TK_Eof;
  114       Result.Text = "";
  115       return Result;
  117       Result.Kind = TokenInfo::TK_Comma;
  118       Result.Text = Code.substr(0, 1);
  122       Result.Kind = TokenInfo::TK_Period;
  123       Result.Text = Code.substr(0, 1);
  127       Result.Kind = TokenInfo::TK_OpenParen;
  128       Result.Text = Code.substr(0, 1);
  132       Result.Kind = TokenInfo::TK_CloseParen;
  133       Result.Text = Code.substr(0, 1);
  140       consumeStringLiteral(&Result);
  146       consumeNumberLiteral(&Result);
  159             Result.Kind = TokenInfo::TK_CodeCompletion;
  160             Result.Text = Code.substr(0, TokenLength);
  162             return Result;
  169           Result.Kind = TokenInfo::TK_Literal;
  170           Result.Value = true;
  172           Result.Kind = TokenInfo::TK_Literal;
  173           Result.Value = false;
  175           Result.Kind = TokenInfo::TK_Ident;
  176           Result.Text = Code.substr(0, TokenLength);
  180         Result.Kind = TokenInfo::TK_InvalidChar;
  181         Result.Text = Code.substr(0, 1);
  187     Result.Range.End = currentLocation();
  188     return Result;