clang-tools  7.0.0
Namespaces | Functions
Iterator.cpp File Reference
#include "Iterator.h"
#include <algorithm>
#include <cassert>
#include <numeric>
Include dependency graph for Iterator.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 
 clang::clangd::dex
 

Functions

std::vector< DocID > clang::clangd::dex::consume (Iterator &It)
 Exhausts given iterator and returns all processed DocIDs. More...
 
std::unique_ptr< Iterator > clang::clangd::dex::create (PostingListRef Documents)
 Returns a document iterator over given PostingList. More...
 
std::unique_ptr< Iterator > clang::clangd::dex::createAnd (std::vector< std::unique_ptr< Iterator >> Children)
 Returns AND Iterator which performs the intersection of the PostingLists of its children. More...
 
std::unique_ptr< Iterator > clang::clangd::dex::createOr (std::vector< std::unique_ptr< Iterator >> Children)
 Returns OR Iterator which performs the union of the PostingLists of its children. More...