/developtools/global_resource_tool/src/ |
H A D | cmd_parser.cpp | 449 handles_.emplace(Option::INPUTPATH, bind(&PackageParser::AddInput, this, _1)); in InitCommand() 450 handles_.emplace(Option::PACKAGENAME, bind(&PackageParser::AddPackageName, this, _1)); in InitCommand() 451 handles_.emplace(Option::OUTPUTPATH, bind(&PackageParser::AddOutput, this, _1)); in InitCommand() 452 handles_.emplace(Option::RESHEADER, bind(&PackageParser::AddResourceHeader, this, _1)); in InitCommand() 453 handles_.emplace(Option::FORCEWRITE, [this](const string &) -> uint32_t { return ForceWrite(); }); in InitCommand() 454 handles_.emplace(Option::VERSION, [this](const string &) -> uint32_t { return PrintVersion(); }); in InitCommand() 455 handles_.emplace(Option::MODULES, bind(&PackageParser::AddMoudleNames, this, _1)); in InitCommand() 456 handles_.emplace(Option::JSON, bind(&PackageParser::AddConfig, this, _1)); in InitCommand() 457 handles_.emplace(Option::STARTID, bind(&PackageParser::AddStartId, this, _1)); in InitCommand() 458 handles_ in InitCommand() [all...] |
H A D | json_compiler.cpp | 91 handles_.emplace(ResType::STRING, bind(&JsonCompiler::HandleString, this, _1, _2)); in InitParser() 92 handles_.emplace(ResType::INTEGER, bind(&JsonCompiler::HandleInteger, this, _1, _2)); in InitParser() 93 handles_.emplace(ResType::BOOLEAN, bind(&JsonCompiler::HandleBoolean, this, _1, _2)); in InitParser() 94 handles_.emplace(ResType::COLOR, bind(&JsonCompiler::HandleColor, this, _1, _2)); in InitParser() 95 handles_.emplace(ResType::FLOAT, bind(&JsonCompiler::HandleFloat, this, _1, _2)); in InitParser() 96 handles_.emplace(ResType::STRARRAY, bind(&JsonCompiler::HandleStringArray, this, _1, _2)); in InitParser() 97 handles_.emplace(ResType::INTARRAY, bind(&JsonCompiler::HandleIntegerArray, this, _1, _2)); in InitParser() 98 handles_.emplace(ResType::THEME, bind(&JsonCompiler::HandleTheme, this, _1, _2)); in InitParser() 99 handles_.emplace(ResType::PATTERN, bind(&JsonCompiler::HandlePattern, this, _1, _2)); in InitParser() 100 handles_ in InitParser() [all...] |
H A D | id_defined_parser.cpp | 128 handles_.emplace("type", bind(&IdDefinedParser::ParseType, this, _1, _2));
in InitParser() 129 handles_.emplace("name", bind(&IdDefinedParser::ParseName, this, _1, _2));
in InitParser() 130 handles_.emplace("id", bind(&IdDefinedParser::ParseId, this, _1, _2));
in InitParser() 131 handles_.emplace("order", bind(&IdDefinedParser::ParseOrder, this, _1, _2));
in InitParser() 146 for (const auto &handle : handles_) {
in IdDefinedToResourceIds()
|
/developtools/global_resource_tool/include/ |
H A D | id_defined_parser.h | 55 std::map<std::string, ParseFunction> handles_;
member in OHOS::Global::Restool::IdDefinedParser
|
H A D | json_compiler.h | 64 std::map<ResType, HandleResource> handles_; member in OHOS::Global::Restool::JsonCompiler
|
H A D | cmd_parser.h | 94 std::map<int32_t, HandleArgValue> handles_;
|