|
Bash++
Bash++ compiler internal documentation
|
A compiler warning that is not fatal to compilation This type should never be thrown. Instead, it should be constructed and displayed via the print() method. Throwing it would halt compilation, which is not desired for warnings. This class likewise can be constructed from any listener that satisfies the ErrorReportableListener concept, along with an AST node or token that satisfies the ASTNodePtrORToken concept. More...
#include <SyntaxError.h>


Public Member Functions | |
| Warning ()=delete | |
| Warning (const std::string &msg)=delete | |
| template<bpp::detail::ErrorReportableListener Listener, bpp::detail::ASTNodePtrORToken T> | |
| Warning (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 |
A compiler warning that is not fatal to compilation This type should never be thrown. Instead, it should be constructed and displayed via the print() method. Throwing it would halt compilation, which is not desired for warnings. This class likewise can be constructed from any listener that satisfies the ErrorReportableListener concept, along with an AST node or token that satisfies the ASTNodePtrORToken concept.
|
delete |
|
explicitdelete |
|
inline |