/arkcompiler/toolchain/tooling/base/ |
D | pt_params.h | 57 std::optional<double> maxScriptsCacheSize_ {}; 83 std::optional<std::string> objectGroup_ {}; 84 std::optional<bool> includeCommandLineAPI_ {}; 85 std::optional<bool> silent_ {}; 86 std::optional<bool> returnByValue_ {}; 87 std::optional<bool> generatePreview_ {}; 88 std::optional<bool> throwOnSideEffect_ {}; 131 std::optional<std::unique_ptr<Location>> end_ {}; 132 std::optional<bool> restrictToFunction_ {}; 194 std::optional<bool> terminateOnResume_ {}; [all …]
|
D | pt_events.h | 201 std::optional<std::unique_ptr<RemoteObject>> data_ {}; 202 std::optional<std::vector<BreakpointId>> hitBreakpoints_ {}; 280 std::optional<bool> isStepInto_ {}; 527 std::optional<Local<ObjectRef>> execContextAuxData_ {}; 528 std::optional<std::string> sourceMapUrl_ {}; 529 std::optional<bool> hasSourceUrl_ {}; 530 std::optional<bool> isModule_ {}; 531 std::optional<int32_t> length_ {}; 532 std::optional<int32_t> codeOffset_ {}; 533 std::optional<std::string> scriptLanguage_ {}; [all …]
|
D | pt_returns.h | 89 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails = std::nullopt) 101 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails_ {}; 123 …explicit GetScriptSourceReturns(const std::string &scriptSource, std::optional<std::string> byteco… 136 std::optional<std::string> bytecode_ {}; 203 …explicit SetScriptSourceReturns(std::optional<std::vector<std::unique_ptr<CallFrame>>> callFrames … 204 std::optional<bool> stackChanged = std::nullopt, 205 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails = std::nullopt) 218 std::optional<std::vector<std::unique_ptr<CallFrame>>> callFrames_ {}; 219 std::optional<bool> stackChanged_ {}; 220 std::optional<std::unique_ptr<ExceptionDetails>> exceptionDetails_ {}; [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | optionalProperties01.ts | 24 optional?: string; 34 const foo2 = { required1: "hello", optional: "bar" } as Foo; 36 AssertType({ required1: "hello", optional: "bar" } as Foo, "Foo"); 37 AssertType({ required1: "hello", optional: "bar" }, "{ required1: string; optional: string; }"); 40 AssertType(optional, "string");
|
D | mergedInheritedClassInterface.ts | 23 optional?: number; 57 child.optional; 58 AssertType(child.optional, "number"); 83 grandchild.optional; 84 AssertType(grandchild.optional, "number");
|
/arkcompiler/runtime_core/assembler/tests/ |
D | ecmascript_meta_test.cpp | 39 std::optional<pandasm::Metadata::Error> result1 = rmd.SetAttribute("ecmascript.extends"); 44 std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttribute("ecmascript.annotation"); 47 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.extends", "val… 50 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "… 55 std::optional<pandasm::Metadata::Error> result5 = rmd.SetAttributeValue("attribute", "bool"); 59 std::optional<pandasm::Metadata::Error> result6 = rmd.SetAttribute("ecmascript.annotation"); 63 std::optional<pandasm::Metadata::Error> result7 = rmd.ValidateData(); 116 std::optional<pandasm::Metadata::Error> result1 = rmd.SetAttribute("ecmascript.annotation"); 119 …std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttributeValue("ecmascript.extends", "val… 122 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.annotation", "… [all …]
|
/arkcompiler/runtime_core/assembler/ |
D | meta.h | 72 std::optional<Error> SetAttribute(std::string_view attribute) in SetAttribute() 96 std::optional<Error> SetAttributeValue(std::string_view attribute, std::string_view value) in SetAttributeValue() 118 std::optional<std::string> GetAttributeValue(const std::string &attribute) const in GetAttributeValue() 138 virtual std::optional<Error> ValidateData() in ValidateData() 148 virtual std::optional<Error> Validate(std::string_view attribute) const = 0; 150 …virtual std::optional<Error> Validate(std::string_view attribute, std::string_view value) const = … 152 virtual std::optional<Error> StoreValue(std::string_view attribute, std::string_view value) in StoreValue() 165 virtual std::optional<Error> Store(std::string_view attribute) in Store() 186 std::optional<Error> ValidateSize(std::string_view value) const; 216 std::optional<Error> ValidateData() override; [all …]
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | interfacePropertyReferenceContainingInterface-expected.txt | 12 "optional": false, 69 "optional": false, 169 "optional": false, 416 "optional": false, 443 "optional": false, 470 "optional": false, 497 "optional": false, 524 "optional": false, 551 "optional": false, 619 "optional": false, [all …]
|
D | objectLiteralAssignability19-expected.txt | 18 "optional": false, 61 "optional": false, 83 "optional": false, 126 "optional": false, 192 "optional": false, 214 "optional": false, 257 "optional": false, 382 "optional": false, 453 "optional": false, 475 "optional": false, [all …]
|
D | memberExpTests-expected.txt | 180 "optional": false, 236 "optional": false, 279 "optional": false, 365 "optional": false, 408 "optional": false, 451 "optional": false, 721 "optional": false, 805 "optional": false, 889 "optional": false, 932 "optional": false, [all …]
|
D | interfacePropertyReferenceContainingInterface1-expected.txt | 12 "optional": false, 69 "optional": false, 169 "optional": false, 416 "optional": false, 443 "optional": false, 470 "optional": false, 497 "optional": false, 524 "optional": false, 551 "optional": false,
|
D | memberExpTest_3-expected.txt | 12 "optional": false, 39 "optional": false, 97 "optional": false, 229 "optional": false, 342 "optional": false, 549 "optional": false, 576 "optional": false, 603 "optional": false, 630 "optional": false, 657 "optional": false,
|
D | test-type-literal-expected.txt | 100 "optional": false, 143 "optional": true, 245 "optional": true, 344 "optional": false, 387 "optional": false, 430 "optional": true, 532 "optional": false, 868 "optional": false, 911 "optional": false, 970 "optional": true, [all …]
|
/arkcompiler/ets_frontend/es2panda/test/parser/js/ |
D | test-member-expression-expected.txt | 37 "optional": false, 93 "optional": false, 153 "optional": false, 180 "optional": false, 207 "optional": false, 265 "optional": false, 292 "optional": false, 383 "optional": false, 407 "optional": false, 435 "optional": false, [all …]
|
D | test-call-expression-expected.txt | 59 "optional": false, 115 "optional": false, 143 "optional": false, 211 "optional": false, 253 "optional": false, 337 "optional": false, 394 "optional": false, 479 "optional": false, 536 "optional": false,
|
D | test-incomplete-hex-unicode-escape-expected.txt | 40 "optional": false, 68 "optional": false, 127 "optional": false, 155 "optional": false,
|
/arkcompiler/runtime_core/plugins/ecmascript/tests/ |
D | ecmascript_meta_test.cpp | 28 std::optional<pandasm::Metadata::Error> result1 = rmd.SetAttribute("ecmascript.extends"); 33 std::optional<pandasm::Metadata::Error> result2 = rmd.SetAttribute("ecmascript.annotation"); 36 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.extends", "val… 39 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "… 44 std::optional<pandasm::Metadata::Error> result5 = rmd.SetAttributeValue("attribute", "bool"); 48 std::optional<pandasm::Metadata::Error> result6 = rmd.SetAttribute("ecmascript.annotation");
|
/arkcompiler/runtime_core/assembler/extensions/ |
D | ecmascript_meta.cpp | 20 std::optional<Metadata::Error> RecordMetadata::Validate(std::string_view attribute) const in Validate() 38 std::optional<Metadata::Error> RecordMetadata::Validate(std::string_view attribute, std::string_vie… in Validate() 56 std::optional<Metadata::Error> FieldMetadata::Validate(std::string_view attribute) const in Validate() 61 std::optional<Metadata::Error> FieldMetadata::Validate(std::string_view attribute, std::string_view… in Validate() 66 std::optional<Metadata::Error> FunctionMetadata::Validate(std::string_view attribute) const in Validate() 71 std::optional<Metadata::Error> FunctionMetadata::Validate(std::string_view attribute, std::string_v… in Validate() 76 std::optional<Metadata::Error> ParamMetadata::Validate(std::string_view attribute) const in Validate() 81 std::optional<Metadata::Error> ParamMetadata::Validate(std::string_view attribute, std::string_view… in Validate()
|
D | ecmascript_meta.h | 81 std::optional<Error> Validate(std::string_view attribute) const override; 83 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override; 126 std::optional<Error> Validate(std::string_view attribute) const override; 128 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override; 171 std::optional<Error> Validate(std::string_view attribute) const override; 173 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override; 216 std::optional<Error> Validate(std::string_view attribute) const override; 218 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
D | test-class-definition-expected.txt | 41 "optional": false, 121 "optional": false, 215 "optional": false, 294 "optional": false, 327 "optional": false, 360 "optional": false, 393 "optional": false, 426 "optional": false, 459 "optional": false, 553 "optional": false, [all …]
|
D | test-class-method-overload-expected.txt | 41 "optional": false, 134 "optional": false, 198 "optional": false, 262 "optional": false, 370 "optional": false, 450 "optional": false, 496 "optional": false, 541 "optional": false, 605 "optional": false, 632 "optional": true, [all …]
|
D | test-class-constructor-expected.txt | 41 "optional": false, 68 "optional": true, 96 "optional": true, 147 "optional": false, 258 "optional": false, 368 "optional": false, 381 "optional": false, 471 "optional": false, 517 "optional": false, 562 "optional": false, [all …]
|
D | test-class-super-1-expected.txt | 41 "optional": false, 135 "optional": false, 167 "optional": false, 302 "optional": false, 390 "optional": false, 507 "optional": false, 522 "optional": false, 584 "optional": false, 597 "optional": false, 612 "optional": false,
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
D | mem.cpp | 68 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot) in MakeMemWithProtFlag() 77 std::optional<Error> MakeMemReadExec(void *mem, size_t size) in MakeMemReadExec() 83 std::optional<Error> MakeMemReadWrite(void *mem, size_t size) in MakeMemReadWrite() 89 std::optional<Error> MakeMemReadOnly(void *mem, size_t size) in MakeMemReadOnly() 94 std::optional<Error> MakeMemProtected(void *mem, size_t size) in MakeMemProtected() 159 std::optional<Error> PartiallyUnmapRaw(void *mem, size_t size) in PartiallyUnmapRaw() 221 std::optional<Error> UnmapRaw(void *mem, size_t size) in UnmapRaw() 244 std::optional<Error> TagAnonymousMemory([[maybe_unused]] const void *mem, [[maybe_unused]] size_t s… in TagAnonymousMemory()
|
/arkcompiler/runtime_core/libpandabase/os/ |
D | mem.h | 50 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot); 58 std::optional<Error> MakeMemReadExec(void *mem, size_t size); 66 std::optional<Error> MakeMemReadWrite(void *mem, size_t size); 74 std::optional<Error> MakeMemReadOnly(void *mem, size_t size); 82 std::optional<Error> MakeMemProtected(void *mem, size_t size); 365 std::optional<Error> UnmapRaw(void *mem, size_t size); 374 std::optional<Error> PartiallyUnmapRaw(void *mem, size_t size); 408 std::optional<Error> TagAnonymousMemory(const void *mem, size_t size, const char *tag);
|