• Home
  • Raw
  • Download

Lines Matching full:input

75 static std::vector<std::string> GetStringItems(std::string &input, const std::string &delimiter)  in GetStringItems()  argument
80 while ((pos = input.find(delimiter)) != std::string::npos) { in GetStringItems()
81 token = input.substr(0, pos); in GetStringItems()
85 input.erase(0, pos + delimiter.length()); in GetStringItems()
87 if (!input.empty()) { in GetStringItems()
88 items.push_back(input); in GetStringItems()
94 bool Options::CollectInputFilesFromFileList(const std::string &input, const std::string &inputExten… in CollectInputFilesFromFileList() argument
98 ifs.open(panda::os::file::File::GetExtendedFilePath(input)); in CollectInputFilesFromFileList()
100 std::cerr << "Failed to open source list: " << input << std::endl; in CollectInputFilesFromFileList()
110 std::cerr << "Failed to parse input file" << std::endl; in CollectInputFilesFromFileList()
139 bool Options::CollectInputFilesFromFileDirectory(const std::string &input, const std::string &exten… in CollectInputFilesFromFileDirectory() argument
142 if (!proto::MergeProgram::GetProtoFiles(input, extension, files)) { in CollectInputFilesFromFileDirectory()
147 es2panda::SourceFile src(f, RemoveExtension(f.substr(input.length() + 1)), in CollectInputFilesFromFileDirectory()
193 … "Parse the input as the given extension (options: js | ts | as)"); in Parse()
194 panda::PandArg<bool> opModule("module", false, "Parse the input as module"); in Parse()
195 panda::PandArg<bool> opCommonjs("commonjs", false, "Parse the input as commonjs"); in Parse()
196 panda::PandArg<bool> opParseOnly("parse-only", false, "Parse the input only"); in Parse()
221 panda::PandArg<std::string> base64Input("base64Input", "", "base64 input of js content"); in Parse()
233 …panda::PandArg<std::string> opInputSymbolTable("input-symbol-table", "", "input symbol table file"… in Parse()
244 panda::PandArg<std::string> inputFile("input", "", "input file"); in Parse()
305 << " [OPTIONS] [input file] -- [arguments]" << std::endl; in Parse()
319 errorMsg_ = "--input and --base64Input can not be used simultaneously"; in Parse()
363 std::string input = isInputFileList ? rawInput.substr(1) : rawInput; in Parse() local
364 sourceFile_ = input; in Parse()
402 // input content is base64 string in Parse()
405 errorMsg_ = "The input string is not a valid base64 data"; in Parse()