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