|
spudplate
Template scaffolding compiler for spudlang .spud files
|
Exception thrown when the parser encounters invalid spudlang syntax. More...
#include <parser.h>
Public Member Functions | |
| ParseError (const std::string &message, int line, int column) | |
| Construct an error tagged with the offending source position. | |
| int | line () const |
| 1-based line number where the error occurred. | |
| int | column () const |
| 1-based column number where the error occurred. | |
Exception thrown when the parser encounters invalid spudlang syntax.
Carries the source location (line and column) alongside the error message so callers can produce precise diagnostics.