Home
last modified time | relevance | path

Searched refs:defaultValue (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/src/
DcmdOptions.ts25 …{ name: 'commonjs', alias: 'c', type: Boolean, defaultValue: false, description: "compile as commo… constant
26 …{ name: 'modules', alias: 'm', type: Boolean, defaultValue: false, description: "compile as module… constant
27 …{ name: 'debug-log', alias: 'l', type: Boolean, defaultValue: false, description: "show info debug… constant
28 …{ name: 'dump-assembly', alias: 'a', type: Boolean, defaultValue: false, description: "dump assemb… constant
29 …{ name: 'debug', alias: 'd', type: Boolean, defaultValue: false, description: "compile with debug … constant
30 …{ name: 'debug-add-watch', alias: 'w', type: String, lazyMultiple: true, defaultValue: [], descrip… constant
31 …{ name: 'keep-persistent-watch', alias: 'k', type: String, lazyMultiple: true, defaultValue: [], d… constant
32 …{ name: 'show-statistics', alias: 's', type: String, lazyMultiple: true, defaultValue: "", descrip… constant
33 { name: 'output', alias: 'o', type: String, defaultValue: "", description: "set output file." }, constant
34 …{ name: 'timeout', alias: 't', type: Number, defaultValue: 0, description: "js to abc timeout thre… constant
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DobjectAssignLikeNonUnionResult.ts24 const defaultValue: Interface = { field: 1 }; constant
25 AssertType(defaultValue, "Interface");
34 const data1 = assign(defaultValue, Date.now() > 3 ? { field: 2 } : {});
36 AssertType(assign(defaultValue, Date.now() > 3 ? { field: 2 } : {}), "Interface & { field: number; …
38 AssertType(defaultValue, "Interface");
/arkcompiler/toolchain/tooling/base/
Dpt_json.h86 bool GetBool(bool defaultValue = false) const;
87 int32_t GetInt(int32_t defaultValue = 0) const;
88 int64_t GetInt64(int64_t defaultValue = 0) const;
89 uint32_t GetUInt(uint32_t defaultValue = 0) const;
90 double GetDouble(double defaultValue = 0.0) const;
Dpt_json.cpp287 bool PtJson::GetBool(bool defaultValue) const in GetBool()
290 return defaultValue; in GetBool()
296 int32_t PtJson::GetInt(int32_t defaultValue) const in GetInt()
299 return defaultValue; in GetInt()
305 int64_t PtJson::GetInt64(int64_t defaultValue) const in GetInt64()
308 return defaultValue; in GetInt64()
314 uint32_t PtJson::GetUInt(uint32_t defaultValue) const in GetUInt()
317 return defaultValue; in GetUInt()
323 double PtJson::GetDouble(double defaultValue) const in GetDouble()
326 return defaultValue; in GetDouble()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_hash_table.h350 JSTaggedValue defaultValue(JSTaggedValue::Hole()); in RemoveElement()
351 this->SetKey(thread, entry, defaultValue); in RemoveElement()
352 this->SetValue(thread, entry, defaultValue); in RemoveElement()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.cpp239 constexpr int defaultValue = 32; in Clz32() local
248 return GetTaggedInt(defaultValue); in Clz32()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.… field in t.Argument
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js1988 defaultValue: e.string, property