A half-open character range inside a particular file, the start offset is included and the end offset is excluded from the range. More...
#include "clang/Tooling/Syntax/Tokens.h"
A half-open character range inside a particular file, the start offset is included and the end offset is excluded from the range.
Definition at line 50 of file Tokens.h.
◆ FileRange() [1/3] ◆ FileRange() [2/3] ◆ FileRange() [3/3] ◆ beginOffset() unsigned clang::syntax::FileRange::beginOffset ( ) const inline ◆ contains() bool clang::syntax::FileRange::contains ( unsigned Offset ) const inlineCheck if Offset
is inside the range.
Definition at line 69 of file Tokens.h.
◆ endOffset() unsigned clang::syntax::FileRange::endOffset ( ) const inline ◆ file() FileID clang::syntax::FileRange::file ( ) const inline ◆ length() unsigned clang::syntax::FileRange::length ( ) const inline ◆ text() llvm::StringRef FileRange::text ( const SourceManager & SM ) const ◆ toCharRange()Convert to the clang range.
The returned range is always a char range, never a token range.
Definition at line 264 of file Tokens.cpp.
◆ touches() bool clang::syntax::FileRange::touches ( unsigned Offset ) const inlineCheck Offset
is inside the range or equal to its endpoint.
Definition at line 73 of file Tokens.h.
◆ operator!= ◆ operator==The documentation for this struct 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