Exemplo n.º 1
0
        protected LanguageTempCodeCompiler(IronyAst rootAst, LanguageCompilationLog compilationLog)
        {
            var textCodeUnit = new LanguageCodeText("", "");

            CodeUnit          = textCodeUnit;
            RootAst           = rootAst;
            CompilationLog    = compilationLog ?? new LanguageCompilationLog(textCodeUnit, Progress);
            TranslatorContext = null;
        }
Exemplo n.º 2
0
        public override void Visit(IronyAst dsl)
        {
            var gmacDsl = (GMacAst)dsl;

            foreach (var itam in gmacDsl.ChildNamespaces)
            {
                itam.AcceptVisitor(this);
            }
        }
Exemplo n.º 3
0
 public static ScopeRoot Create(IronyAst parentDsl, string scopeName)
 {
     return(new ScopeRoot(parentDsl, scopeName));
 }
Exemplo n.º 4
0
 public static ScopeRoot Create(IronyAst parentDsl)
 {
     return(new ScopeRoot(parentDsl));
 }
Exemplo n.º 5
0
 private ScopeRoot(IronyAst parentDsl, string scopeName)
     : base(null, scopeName)
 {
     RootAst = parentDsl;
 }
Exemplo n.º 6
0
 private ScopeRoot(IronyAst parentDsl)
     : base(null)
 {
     RootAst = parentDsl;
 }
Exemplo n.º 7
0
 protected LanguageTempCodeCompiler(IronyAst rootAst)
     : this(rootAst, null)
 {
 }
Exemplo n.º 8
0
 public abstract void Visit(IronyAst dsl);