com.adamcornett.cminus.errors
Class AnalyzerError

java.lang.Object
  extended by com.adamcornett.cminus.errors.AnalyzerError
Direct Known Subclasses:
NoSuchMethodError, TypeError, UnknownVariableError

public class AnalyzerError
extends Object

An error thrown during code analysis.

Author:
Adam Cornett

Field Summary
private  Errors error
           
protected  org.antlr.runtime.tree.CommonTree node
           
private static long serialVersionUID
           
 
Constructor Summary
AnalyzerError(Errors er, org.antlr.runtime.tree.CommonTree t)
           
AnalyzerError(ErrorTree tree)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

error

private final Errors error

node

protected org.antlr.runtime.tree.CommonTree node
Constructor Detail

AnalyzerError

public AnalyzerError(Errors er,
                     org.antlr.runtime.tree.CommonTree t)

AnalyzerError

public AnalyzerError(ErrorTree tree)
Method Detail

toString

public String toString()
Overrides:
toString in class Object