9#ifndef LLDB_UTILITY_TILDEEXPRESSIONRESOLVER_H
10#define LLDB_UTILITY_TILDEEXPRESSIONRESOLVER_H
12#include "llvm/ADT/StringRef.h"
13#include "llvm/ADT/StringSet.h"
16template <
typename T>
class SmallVectorImpl;
48 llvm::StringSet<> &Output) = 0;
60 bool ResolvePartial(llvm::StringRef Expr, llvm::StringSet<> &Output)
override;
bool ResolvePartial(llvm::StringRef Expr, llvm::StringSet<> &Output) override
Auto-complete a tilde expression with all matching values.
bool ResolveExact(llvm::StringRef Expr, llvm::SmallVectorImpl< char > &Output) override
Resolve a Tilde Expression contained according to bash rules.
bool ResolveFullPath(llvm::StringRef Expr, llvm::SmallVectorImpl< char > &Output)
Resolve an entire path that begins with a tilde expression, replacing the username portion with the m...
virtual bool ResolveExact(llvm::StringRef Expr, llvm::SmallVectorImpl< char > &Output)=0
Resolve a Tilde Expression contained according to bash rules.
virtual ~TildeExpressionResolver()
virtual bool ResolvePartial(llvm::StringRef Expr, llvm::StringSet<> &Output)=0
Auto-complete a tilde expression with all matching values.
A class that represents a running process on the host machine.