com.dragome.compiler.parser.ParseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-bytecode-js-compiler Show documentation
Show all versions of dragome-bytecode-js-compiler Show documentation
Dragome SDK module: bytecode to javascript compiler
package com.dragome.compiler.parser;
import com.dragome.compiler.ast.ASTNode;
public class ParseException extends RuntimeException
{
private ASTNode astNode;
public ParseException(String msg, ASTNode node)
{
super(msg);
astNode= node;
}
public ParseException(Throwable cause, ASTNode node)
{
super(cause);
astNode= node;
}
public ASTNode getAstNode()
{
return astNode;
}
}