| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/InfResearch/EmmyLuaCodeStyle/master/CodeFormat/src/LuaCheck.cpp | [Back] [Original] |
#include "LuaCheck.h"
#include "nlohmann/json.hpp"
#include
#include
#include
#include
#include
#include
#include
bool LuaCheck::Check(const FormatContext &context) {
switch (context.GetWorkMode()) {
case WorkMode::File:
case WorkMode::Stdin: {
auto inputPath = context.GetInputPath();
if (CheckSingleFile(context, inputPath, std::move(context.GetInputText()), context.GetStyle(inputPath))) {
std::cerr
| Web Proxy Viewer | New URL | Original Page |