All Downloads are FREE. Search and download functionalities are using the official Maven repository.

persistence.antlr.ExceptionHandler Maven / Gradle / Ivy

The newest version!
package persistence.antlr;

/* ANTLR Translator Generator
 * Project led by Terence Parr at http://www.jGuru.com
 * Software rights: http://www.antlr.org/license.html
 *
 * $Id: ExceptionHandler.java,v 1.1 2006/02/08 21:30:47 tware Exp $
 */

class ExceptionHandler {
    // Type of the ANTLR exception class to catch and the variable decl
    protected Token exceptionTypeAndName;
    // The action to be executed when the exception is caught
    protected Token action;


    public ExceptionHandler(Token exceptionTypeAndName_,
                            Token action_) {
        exceptionTypeAndName = exceptionTypeAndName_;
        action = action_;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy