コード例 #1
0
        protected LanguageTempCodeCompiler(IronyAst rootAst, LanguageCompilationLog compilationLog)
        {
            var textCodeUnit = new LanguageCodeText("", "");

            CodeUnit          = textCodeUnit;
            RootAst           = rootAst;
            CompilationLog    = compilationLog ?? new LanguageCompilationLog(textCodeUnit, Progress);
            TranslatorContext = null;
        }
コード例 #2
0
        public override void Visit(IronyAst dsl)
        {
            var gmacDsl = (GMacAst)dsl;

            foreach (var itam in gmacDsl.ChildNamespaces)
            {
                itam.AcceptVisitor(this);
            }
        }
コード例 #3
0
ファイル: ScopeRoot.cs プロジェクト: phreed/GMac
 public static ScopeRoot Create(IronyAst parentDsl, string scopeName)
 {
     return(new ScopeRoot(parentDsl, scopeName));
 }
コード例 #4
0
ファイル: ScopeRoot.cs プロジェクト: phreed/GMac
 public static ScopeRoot Create(IronyAst parentDsl)
 {
     return(new ScopeRoot(parentDsl));
 }
コード例 #5
0
ファイル: ScopeRoot.cs プロジェクト: phreed/GMac
 private ScopeRoot(IronyAst parentDsl, string scopeName)
     : base(null, scopeName)
 {
     RootAst = parentDsl;
 }
コード例 #6
0
ファイル: ScopeRoot.cs プロジェクト: phreed/GMac
 private ScopeRoot(IronyAst parentDsl)
     : base(null)
 {
     RootAst = parentDsl;
 }
コード例 #7
0
 protected LanguageTempCodeCompiler(IronyAst rootAst)
     : this(rootAst, null)
 {
 }
コード例 #8
0
 public abstract void Visit(IronyAst dsl);