Ejemplo n.º 1
0
 public static void Reset()
 {
     Context = new ExecutionContext();
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
 static Repl()
 {
     Context = new ExecutionContext();
 }