34 std::shared_ptr<bpp::bash_while_or_until_condition>
condition;
37 std::shared_ptr<bpp::bash_while_or_until_condition>
get_condition()
const;
39 std::string
get_code()
const override;
The condition for a while/until loop in Bash++.
Definition bash_while_or_until_loop.h:51
A while/until loop in Bash++.
Definition bash_while_or_until_loop.h:32
std::string get_code() const override
Return the contents of the main code buffer as a string.
Definition bash_while_or_until_loop.cpp:19
std::string get_pre_code() const override
Return the contents of the pre-code buffer as a string.
Definition bash_while_or_until_loop.cpp:23
std::string get_post_code() const override
Return the contents of the post-code buffer as a string.
Definition bash_while_or_until_loop.cpp:31
std::shared_ptr< bpp::bash_while_or_until_condition > condition
Definition bash_while_or_until_loop.h:34
void set_condition(std::shared_ptr< bpp::bash_while_or_until_condition > condition)
Definition bash_while_or_until_loop.cpp:11
std::shared_ptr< bpp::bash_while_or_until_condition > get_condition() const
Definition bash_while_or_until_loop.cpp:15
An entity which can contain code.
Definition bpp_code_entity.h:35
The practical difference between bpp_code_entity and bpp_string is how we handle the code buffers.
Definition bpp_string.h:77
Definition bash_case.cpp:9