![]() |
Elementa v8.0.0
Minimalistic library for any C++ application (C++11 and up)
|
Abstract class for observing the steps of the parser. More...
Abstract class for observing the steps of the parser.
This can be used for syntax-guiding parsing.
#include "parsing.h"

Public Member Functions | |
| virtual void | okStep (const StepInfo &i, Parser &p)=0 |
| A method to receive the result of a parsing step when it is ok. More... | |
| virtual void | errorStep (const ErrorInfo &e, Parser &p)=0 |
| A method to receive any error indication related to parsing. More... | |
|
pure virtual |
A method to receive the result of a parsing step when it is ok.
This method will be called after any parsing step is ok.
Implemented in elementa::parsing::ASTObserver.
|
pure virtual |
A method to receive any error indication related to parsing.
This will be called if an error of parsing is detected.
Implemented in elementa::parsing::ASTObserver.