|
LLDB mainline
|
#include <TildeExpressionResolver.h>
Public Member Functions | |
| bool | ResolveExact (llvm::StringRef Expr, llvm::SmallVectorImpl< char > &Output) override |
| Resolve a Tilde Expression contained according to bash rules. | |
| bool | ResolvePartial (llvm::StringRef Expr, llvm::StringSet<> &Output) override |
| Auto-complete a tilde expression with all matching values. | |
| Public Member Functions inherited from lldb_private::TildeExpressionResolver | |
| virtual | ~TildeExpressionResolver () |
| 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 matched result. | |
Definition at line 56 of file TildeExpressionResolver.h.
|
overridevirtual |
Resolve a Tilde Expression contained according to bash rules.
| Expr | Contains the tilde expression to resolve. A valid tilde expression must begin with a tilde and contain only non separator characters. |
| Output | Contains the resolved tilde expression, or the original input if the tilde expression could not be resolved. |
Expr was successfully resolved, false otherwise. Implements lldb_private::TildeExpressionResolver.
Definition at line 32 of file TildeExpressionResolver.cpp.
|
overridevirtual |
Auto-complete a tilde expression with all matching values.
| Expr | Contains the tilde expression prefix to resolve. See ResolveExact() for validity rules. |
| Output | Contains all matching home directories, each one itself unresolved (i.e. you need to call ResolveExact on each item to turn it into a real path). |
Implements lldb_private::TildeExpressionResolver.
Definition at line 42 of file TildeExpressionResolver.cpp.