A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1syntax_1_1Token.html below:

clang: clang::syntax::Token Class Reference

A token coming directly from a file or from a macro invocation. More...

#include "clang/Tooling/Syntax/Tokens.h"

A token coming directly from a file or from a macro invocation.

Has just enough information to locate the token in the source code. Can represent both expanded and spelled tokens.

Definition at line 103 of file Tokens.h.

◆ Token() [1/2] ◆ Token() [2/2] ◆ dumpForTests() std::string syntax::Token::dumpForTests ( const SourceManagerSM ) const ◆ endLocation() ◆ kind() ◆ length() unsigned clang::syntax::Token::length ( ) const inline

Definition at line 116 of file Tokens.h.

◆ location() ◆ range() [1/2] ◆ range() [2/2]

Given two tokens inside the same file, returns a file range that starts at First and ends at Last.

EXPECTS: First and Last are file tokens from the same file, Last starts after First.

Definition at line 169 of file Tokens.cpp.

References clang::First, clang::Last, and SM.

◆ str() std::string syntax::Token::str ( ) const ◆ text() llvm::StringRef syntax::Token::text ( const SourceManagerSM ) const

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4