예제 #1
0
파일: Repl.cs 프로젝트: paradise/test
 public static void Reset()
 {
     Context = new ExecutionContext();
 }
예제 #2
0
        public static string Build(ExecutionContext executionContext, string typeDeclaration, string statement, string returnStatement, string memberDeclaration, string usingStatement)
        {
            context = executionContext;

            return UsingStatements +
                   CustomUsingStatements() +
                   usingStatement +
                   TypeDeclarations() +
                   typeDeclaration +
                   ClassPrefix +
                       MemberDeclarations() +
                       memberDeclaration +
                       InteropDeclarations +
                       FuncPrefix +
                       CallStack() +
                       statement +
                       (returnStatement ?? DefaultReturnStatement) +
                   FuncSuffix;
        }
예제 #3
0
파일: Repl.cs 프로젝트: paradise/test
 static Repl()
 {
     Context = new ExecutionContext();
 }