org.jactr.io.compiler
Class ClassVerifyingUnitCompiler

java.lang.Object
  extended by org.jactr.io.compiler.ClassVerifyingUnitCompiler
All Implemented Interfaces:
IUnitCompiler

public class ClassVerifyingUnitCompiler
extends java.lang.Object
implements IUnitCompiler

verifies that all class_spec references are valid. specifically MODULE, EXTENSION, PROXY_ACTION, PROXY_CONDITION

Author:
developer

Constructor Summary
ClassVerifyingUnitCompiler()
           
 
Method Summary
 void compile(org.antlr.runtime.tree.CommonTree node, java.util.Collection<java.lang.Exception> warnings, java.util.Collection<java.lang.Exception> errors)
           
 java.util.Collection<java.lang.Integer> getRelevantTypes()
          return a collection of JACTRBuilder.
 void postCompile()
           
 void preCompile()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassVerifyingUnitCompiler

public ClassVerifyingUnitCompiler()
Method Detail

compile

public void compile(org.antlr.runtime.tree.CommonTree node,
                    java.util.Collection<java.lang.Exception> warnings,
                    java.util.Collection<java.lang.Exception> errors)
Specified by:
compile in interface IUnitCompiler
See Also:
IUnitCompiler.compile(org.antlr.runtime.tree.CommonTree, java.util.Collection, java.util.Collection)

getRelevantTypes

public java.util.Collection<java.lang.Integer> getRelevantTypes()
Description copied from interface: IUnitCompiler
return a collection of JACTRBuilder. types that this unit compiler is interested in

Specified by:
getRelevantTypes in interface IUnitCompiler
Returns:
See Also:
IUnitCompiler.getRelevantTypes()

postCompile

public void postCompile()
Specified by:
postCompile in interface IUnitCompiler
See Also:
IUnitCompiler.postCompile()

preCompile

public void preCompile()
Specified by:
preCompile in interface IUnitCompiler
See Also:
IUnitCompiler.preCompile()