tipc
A TIP to LLVM compiler
Public Member Functions | List of all members
ParserErrorListener Class Reference

Parse error listener for redirecting ANTLR4 errors to ParseError. More...

#include <FrontEnd.h>

Inheritance diagram for ParserErrorListener:
Inheritance graph
[legend]
Collaboration diagram for ParserErrorListener:
Collaboration graph
[legend]

Public Member Functions

 ParserErrorListener ()=default
 
virtual void syntaxError (antlr4::Recognizer *recognizer, antlr4::Token *offendingSymbol, size_t line, size_t charPositionInLine, const std::string &msg, std::exception_ptr e) override
 

Detailed Description

Parse error listener for redirecting ANTLR4 errors to ParseError.

Constructor & Destructor Documentation

◆ ParserErrorListener()

ParserErrorListener::ParserErrorListener ( )
default

Member Function Documentation

◆ syntaxError()

void ParserErrorListener::syntaxError ( antlr4::Recognizer *  recognizer,
antlr4::Token *  offendingSymbol,
size_t  line,
size_t  charPositionInLine,
const std::string &  msg,
std::exception_ptr  e 
)
overridevirtual

The documentation for this class was generated from the following files: