A RetroSearch Logo

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

Search Query:

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

clang: clang::syntax::FileRange Struct Reference

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 inline

Check 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 SourceManagerSM ) 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.

References Begin, and SM.

◆ touches() bool clang::syntax::FileRange::touches ( unsigned  Offset ) const inline

Check 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