com.adamcornett.cminus.tree
Class ErrorTree

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.tree.CommonTree
          extended by com.adamcornett.cminus.tree.CMTree
              extended by com.adamcornett.cminus.tree.ErrorTree
All Implemented Interfaces:
org.antlr.runtime.tree.Tree

public class ErrorTree
extends CMTree

An error node generated by the ANTLR parser

Author:
Adam Cornett

Field Summary
 org.antlr.runtime.IntStream input
           
 org.antlr.runtime.Token start
           
 org.antlr.runtime.Token stop
           
 org.antlr.runtime.RecognitionException trappedException
           
 
Fields inherited from class com.adamcornett.cminus.tree.CMTree
log
 
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, token
 
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
 
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
 
Constructor Summary
ErrorTree(org.antlr.runtime.TokenStream input, org.antlr.runtime.Token start, org.antlr.runtime.Token stop, org.antlr.runtime.RecognitionException e)
           
 
Method Summary
 
Methods inherited from class com.adamcornett.cminus.tree.CMTree
emitCode, emitLineInfo, getMaxTreeDepth, getNextLabelNumber, getRequiredStack
 
Methods inherited from class org.antlr.runtime.tree.CommonTree
dupNode, getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
 
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

input

public org.antlr.runtime.IntStream input

start

public org.antlr.runtime.Token start

stop

public org.antlr.runtime.Token stop

trappedException

public org.antlr.runtime.RecognitionException trappedException
Constructor Detail

ErrorTree

public ErrorTree(org.antlr.runtime.TokenStream input,
                 org.antlr.runtime.Token start,
                 org.antlr.runtime.Token stop,
                 org.antlr.runtime.RecognitionException e)