Exemplo n.º 1
0
 public SyntaxErrorsModule(SyntaxErrorsHandler handler)
 {
     Post["/syntaxerrors"] = x =>
     {
         var req = this.Bind <Request>();
         var res = handler.FindSyntaxErrors(req);
         return(Response.AsJson(res));
     };
 }
Exemplo n.º 2
0
 public SyntaxErrorsModule(SyntaxErrorsHandler handler)
 {
     Post["/syntaxerrors"] = x =>
         {
             var req = this.Bind<Request>();
             var res = handler.FindSyntaxErrors(req);
             return Response.AsJson(res);
         };
 }
Exemplo n.º 3
0
 public CodeCheckHandler(SyntaxErrorsHandler syntaxErrorsHandler, CodeIssuesHandler codeIssuesHandler, SemanticErrorsHandler semanticErrorsHandler)
 {
     _semanticErrorsHandler = semanticErrorsHandler;
     _codeIssuesHandler     = codeIssuesHandler;
     _syntaxErrorsHandler   = syntaxErrorsHandler;
 }
Exemplo n.º 4
0
 public CodeCheckHandler(SyntaxErrorsHandler syntaxErrorsHandler, CodeIssuesHandler codeIssuesHandler, SemanticErrorsHandler semanticErrorsHandler)
 {
     _semanticErrorsHandler = semanticErrorsHandler;
     _codeIssuesHandler = codeIssuesHandler;
     _syntaxErrorsHandler = syntaxErrorsHandler;
 }