Bash++
Bash++ compiler internal documentation
Public Attributes | List of all members
Arguments Struct Reference

Represents the parsed command-line arguments given to the compiler. More...

#include <parse_arguments.h>

Collaboration diagram for Arguments:
Collaboration graph
[legend]

Public Attributes

std::vector< char * > program_arguments
 
std::optional< std::string > input_file
 
std::optional< std::string > output_file
 
BashVersion target_bash_version = {5, 2}
 
std::shared_ptr< std::vector< std::string > > include_paths = std::make_shared<std::vector<std::string>>()
 
bool suppress_warnings = false
 
bool display_tokens = false
 
bool display_parse_tree = false
 
bool exit_early = false
 

Detailed Description

Represents the parsed command-line arguments given to the compiler.

This struct holds the parsed command-line arguments for the Bash++ compiler. It includes options for input/output files, target Bash version, include paths, warning suppression, and flags for displaying tokens or parse trees.

Member Data Documentation

◆ display_parse_tree

bool Arguments::display_parse_tree = false

◆ display_tokens

bool Arguments::display_tokens = false

◆ exit_early

bool Arguments::exit_early = false

◆ include_paths

std::shared_ptr<std::vector<std::string> > Arguments::include_paths = std::make_shared<std::vector<std::string>>()

◆ input_file

std::optional<std::string> Arguments::input_file

◆ output_file

std::optional<std::string> Arguments::output_file

◆ program_arguments

std::vector<char*> Arguments::program_arguments

◆ suppress_warnings

bool Arguments::suppress_warnings = false

◆ target_bash_version

BashVersion Arguments::target_bash_version = {5, 2}

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