mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::CommandLineParser::OptionArgument Class Reference

#include <CommandLineParser.h>

Public Member Functions

 OptionArgument (std::string name)
 OptionArgument (std::string name, std::string value)
const std::string & name () const &
std::string && name () &&
const std::optional< std::string > & value () const &
std::optional< std::string > && value () &&

Constructor & Destructor Documentation

◆ OptionArgument() [1/2]

mini_llvm::CommandLineParser::OptionArgument::OptionArgument ( std::string name)
inlineexplicit

◆ OptionArgument() [2/2]

mini_llvm::CommandLineParser::OptionArgument::OptionArgument ( std::string name,
std::string value )
inline

Member Function Documentation

◆ name() [1/2]

std::string && mini_llvm::CommandLineParser::OptionArgument::name ( ) &&
inline

◆ name() [2/2]

const std::string & mini_llvm::CommandLineParser::OptionArgument::name ( ) const &
inline

◆ value() [1/2]

std::optional< std::string > && mini_llvm::CommandLineParser::OptionArgument::value ( ) &&
inline

◆ value() [2/2]

const std::optional< std::string > & mini_llvm::CommandLineParser::OptionArgument::value ( ) const &
inline

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