public interface IUnitCompiler
IUnitCompiler
s for any that are interested in the current
node type (via getRelevantTypes()
) and routes that AST segment to
the unit compiler. Unit compilers need not be thread safe as they
are instaniated for each compiler, which should only be used by a single
thread.Modifier and Type | Method and Description |
---|---|
void |
compile(org.antlr.runtime.tree.CommonTree node,
java.util.Collection<java.lang.Exception> info,
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() |
java.util.Collection<java.lang.Integer> getRelevantTypes()
void compile(org.antlr.runtime.tree.CommonTree node, java.util.Collection<java.lang.Exception> info, java.util.Collection<java.lang.Exception> warnings, java.util.Collection<java.lang.Exception> errors)
node
- warnings
- errors
- void preCompile()
void postCompile()