|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.java.generator.ast.AbstractReferenceImplCaller
public abstract class AbstractReferenceImplCaller
This class is a base class for all generator classes that use a reference implementation.
| Field Summary | |
|---|---|
protected AST |
ast
The abstract syntax tree |
protected CompilationUnit |
unit
This is the compilation unit that is worked on |
| Constructor Summary | |
|---|---|
AbstractReferenceImplCaller()
|
|
| Method Summary | |
|---|---|
protected void |
addImports(ch.sahits.codegen.java.generator.ast.ReferenceAST ref)
Add the needed imports to the compilation unit. |
protected void |
addMethods(ch.sahits.codegen.java.generator.ast.ReferenceAST ref)
Add the methods that are defined in the reference implementation to the compilation unit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AST ast
protected CompilationUnit unit
| Constructor Detail |
|---|
public AbstractReferenceImplCaller()
| Method Detail |
|---|
protected final void addMethods(ch.sahits.codegen.java.generator.ast.ReferenceAST ref)
ReferenceAST.
ref - ReferenceASTprotected final void addImports(ch.sahits.codegen.java.generator.ast.ReferenceAST ref)
ReferenceAST.
ref - ReferenceAST
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||