示例#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();
 }