예제 #1
0
파일: Home.xs.cs 프로젝트: tylike/Excess
 public Home(ICodeTranspiler ___transpiler, IGraphTranspiler ___graphTranspiler)
 {
     _transpiler      = ___transpiler;
     _graphTranspiler = ___graphTranspiler;
 }
예제 #2
0
 public static string compile(string code, __Scope __scope)
 {
     ICodeTranspiler _transpiler = __scope.get<ICodeTranspiler>("_transpiler");
     return _transpiler.Transpile(code);
 }
예제 #3
0
파일: Home.xs.cs 프로젝트: tylike/Excess
        static public string Transpile(string text, __Scope __scope)
        {
            ICodeTranspiler _transpiler = __scope.get <ICodeTranspiler>("_transpiler");

            return(_transpiler.Transpile(text));
        }