clang-tools  7.0.0
Public Member Functions | Public Attributes | Friends | List of all members
clang::clangd::Range Struct Reference

#include <Protocol.h>

Collaboration diagram for clang::clangd::Range:
[legend]

Public Member Functions

bool contains (Position Pos) const
 

Public Attributes

Position start
 The range's start position. More...
 
Position end
 The range's end position. More...
 

Friends

bool operator== (const Range &LHS, const Range &RHS)
 
bool operator!= (const Range &LHS, const Range &RHS)
 
bool operator< (const Range &LHS, const Range &RHS)
 

Detailed Description

Definition at line 118 of file Protocol.h.

Member Function Documentation

◆ contains()

bool clang::clangd::Range::contains ( Position  Pos) const
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const Range LHS,
const Range RHS 
)
friend

Definition at line 128 of file Protocol.h.

◆ operator<

bool operator< ( const Range LHS,
const Range RHS 
)
friend

Definition at line 131 of file Protocol.h.

◆ operator==

bool operator== ( const Range LHS,
const Range RHS 
)
friend

Definition at line 125 of file Protocol.h.

Member Data Documentation

◆ end

Position clang::clangd::Range::end

◆ start

Position clang::clangd::Range::start

The documentation for this struct was generated from the following file: