|
spudplate
Template scaffolding compiler for spudlang .spud files
|
Exception thrown when the semantic validator finds a rule violation. More...
#include <validator.h>
Public Member Functions | |
| SemanticError (const std::string &message, int line, int column) | |
| Construct an error tagged with the offending source position. | |
| int | line () const |
| 1-based line number of the offending statement or expression. | |
| int | column () const |
| 1-based column number of the offending statement or expression. | |
Exception thrown when the semantic validator finds a rule violation.
Mirrors ParseError in shape: carries the source line and column of the offending node alongside a bare message string.