|
BashSpark
|
Implements command bs::command_test.
More...
#include "BashSpark/command/command_test.h"#include <map>#include <regex>#include "BashSpark/tools/shell_def.h"
Classes | |
| struct | bs::test_error |
| Exception representing a test-related error during expression evaluation. More... | |
| struct | bs::test_parser |
Structure to help class command_test parse it's parameters. More... | |
| struct | bs::test_parser::depth_guard |
| Manages depth of a test_parser instance during its lifetime. More... | |
Namespaces | |
| namespace | bs |
| BashSpark main namespace. | |
Enumerations | |
| enum class | bs::test_operator { bs::TO_NONE , bs::TO_EOF , bs::TO_EQUALS , bs::TO_MATCHES , bs::TO_GREATER_THAN , bs::TO_LESS_THAN , bs::TO_GREATER_THAN_OR_EQUALS , bs::TO_LESS_THAN_OR_EQUALS , bs::TO_NOT_EQUALS , bs::TO_EMPTY , bs::TO_NON_EMPTY , bs::TO_OR , bs::TO_AND , bs::TO_PARENTHESIS_OPEN , bs::TO_PARENTHESIS_CLOSE } |
| An enumeration representing various comparison and logical operators. More... | |
Implements command bs::command_test.
This file is part of BashSpark. Copyright (C) 2025 Dante Doménech Martínez
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.