|
BashSpark
|
Defines class bs::shell_tokenizer.
More...


Go to the source code of this file.
Classes | |
| struct | bs::shell_token |
| Represents a token generated during command parsing. More... | |
| class | bs::shell_tokenizer |
Namespaces | |
| namespace | bs |
| BashSpark main namespace. | |
Enumerations | |
| enum class | bs::shell_token_type { bs::TK_SPACE , bs::TK_WORD , bs::TK_UNICODE , bs::TK_ESCAPED , bs::TK_QUOTE_SIMPLE , bs::TK_QUOTE_DOUBLE , bs::TK_QUOTE_BACK , bs::TK_DOLLAR , bs::TK_DOLLAR_SPECIAL , bs::TK_EXCLAMATION , bs::TK_CMD_SEPARATOR , bs::TK_OPEN_PARENTHESIS , bs::TK_CLOSE_PARENTHESIS , bs::TK_OPEN_BRACKETS , bs::TK_CLOSE_BRACKETS , bs::TK_OPEN_SQR_BRACKETS , bs::TK_CLOSE_SQR_BRACKETS , bs::TK_PIPE , bs::TK_OR , bs::TK_BACKGROUND , bs::TK_AND , bs::TK_OPERATOR , bs::TK_EOF } |
| Enumeration of types of tokens that can be parsed from shell commands. More... | |
Defines class bs::shell_tokenizer.
This file contains the definition of the bs::shell_tokenizer class, which provides helper methods for class bs::shell.
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/.