|
Bash++
Bash++ compiler internal documentation
|
An exception thrown when a syntax error is encountered This exception can be constructed from any listener that satisfies the ErrorReportableListener concept, along with an AST node or token that satisfies the ASTNodePtrORToken concept. When thrown, the exception can be caught and printed to display a formatted syntax error message. More...
#include <SyntaxError.h>


Public Member Functions | |
| SyntaxError ()=delete | |
| SyntaxError (const std::string &msg)=delete | |
| template<bpp::detail::ErrorReportableListener Listener, bpp::detail::ASTNodePtrORToken T> | |
| SyntaxError (Listener *listener, const T &error_ctx, const std::string &msg) | |
Public Member Functions inherited from bpp::ErrorHandling::ErrorOrWarning | |
| ErrorOrWarning ()=delete | |
| ErrorOrWarning (const std::string &msg)=delete | |
| template<bpp::detail::ErrorReportableListener Listener, bpp::detail::ASTNodePtrORToken T> | |
| ErrorOrWarning (Listener *listener, const T &error_ctx, const std::string &msg) | |
| void | print () const |
Additional Inherited Members | |
Protected Member Functions inherited from bpp::ErrorHandling::ErrorOrWarning | |
| template<bpp::detail::ErrorReportableListener Listener, bpp::detail::ASTNodePtrORToken T> | |
| void | set_from_listener (Listener *listener, T error_ctx) |
Protected Attributes inherited from bpp::ErrorHandling::ErrorOrWarning | |
| std::string | source_file |
| uint32_t | line |
| uint32_t | column |
| uint32_t | text_length |
| std::vector< std::string > | include_chain |
| std::shared_ptr< bpp::bpp_program > | program |
| bool | lsp_mode |
| bool | is_warning |
An exception thrown when a syntax error is encountered This exception can be constructed from any listener that satisfies the ErrorReportableListener concept, along with an AST node or token that satisfies the ASTNodePtrORToken concept. When thrown, the exception can be caught and printed to display a formatted syntax error message.
|
delete |
|
explicitdelete |
|
inline |