public abstract class NativeTranslatorToCAst extends NativeBridge implements TranslatorToCAst
TranslatorToCAst making use of native codeTranslatorToCAst.BreakContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.DelegatingContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.DoLoopTranslator, TranslatorToCAst.Error, TranslatorToCAst.FunctionContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.LoopContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.RootContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.TryCatchContext<C extends TranslatorToCAst.WalkContext<C,T>,T>, TranslatorToCAst.WalkContext<C extends TranslatorToCAst.WalkContext<C,T>,T>| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
sourceFileName |
protected java.net.URL |
sourceURL |
Ast| Modifier | Constructor and Description |
|---|---|
protected |
NativeTranslatorToCAst(CAst Ast,
java.net.URL sourceURL,
java.lang.String sourceFileName) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getFile() |
protected java.lang.String |
getLocalFile() |
protected CAstSourcePositionMap.Position |
makeLocation(int fl,
int fc,
int ll,
int lc) |
abstract CAstEntity |
translateToCAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRewriter, pushSourcePositionprotected final java.net.URL sourceURL
protected final java.lang.String sourceFileName
protected NativeTranslatorToCAst(CAst Ast, java.net.URL sourceURL, java.lang.String sourceFileName)
protected java.lang.String getLocalFile()
protected java.lang.String getFile()
protected CAstSourcePositionMap.Position makeLocation(int fl, int fc, int ll, int lc)
public abstract CAstEntity translateToCAst()
translateToCAst in interface TranslatorToCAst