|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.visit.PrettyPrinter polyglot.visit.Translator polyglot.visit.HeaderTranslator
public class HeaderTranslator
A HeaderTranslator acts exactly like a Translator object, but translate() functions which are recipients of this object know that they're supposed to be generating a .h file instead of a .cpp file (this is only used for the c++ backend)
Field Summary |
---|
Fields inherited from class polyglot.visit.Translator |
---|
context, job, nf, outerClass, tf, ts |
Fields inherited from class polyglot.visit.PrettyPrinter |
---|
appendSemicolon, printType |
Constructor Summary | |
---|---|
HeaderTranslator(Job job,
TypeSystem ts,
NodeFactory nf,
TargetFactory tf)
|
|
HeaderTranslator(Translator t)
|
Method Summary |
---|
Methods inherited from class polyglot.visit.Translator |
---|
context, context, copy, cScope, exports, getFileNames, headerContext, job, macroEscape, nodeFactory, outerClass, print, setOuterClass, targetFactory, toString, translate, translateSource, typeSystem, writeFooter, writeHeader, writeHFileFooter, writeHFileHeader |
Methods inherited from class polyglot.visit.PrettyPrinter |
---|
appendSemicolon, appendSemicolon, printAst, printType, printType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HeaderTranslator(Job job, TypeSystem ts, NodeFactory nf, TargetFactory tf)
public HeaderTranslator(Translator t)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |