protected LanguageTempCodeCompiler(IronyAst rootAst, LanguageCompilationLog compilationLog) { var textCodeUnit = new LanguageCodeText("", ""); CodeUnit = textCodeUnit; RootAst = rootAst; CompilationLog = compilationLog ?? new LanguageCompilationLog(textCodeUnit, Progress); TranslatorContext = null; }
public override void Visit(IronyAst dsl) { var gmacDsl = (GMacAst)dsl; foreach (var itam in gmacDsl.ChildNamespaces) { itam.AcceptVisitor(this); } }
public static ScopeRoot Create(IronyAst parentDsl, string scopeName) { return(new ScopeRoot(parentDsl, scopeName)); }
public static ScopeRoot Create(IronyAst parentDsl) { return(new ScopeRoot(parentDsl)); }
private ScopeRoot(IronyAst parentDsl, string scopeName) : base(null, scopeName) { RootAst = parentDsl; }
private ScopeRoot(IronyAst parentDsl) : base(null) { RootAst = parentDsl; }
protected LanguageTempCodeCompiler(IronyAst rootAst) : this(rootAst, null) { }
public abstract void Visit(IronyAst dsl);