Home
last modified time | relevance | path

Searched full:notation (Results 1 – 25 of 104) sorted by relevance

12345

/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dthis_type.ets.json24 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
34 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
44 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
54 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
64 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
74 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
84 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
Dindexable_type_string_element_access.ets22 // This notation implies a call: x = x.$_get ("index string")
24 // This notation implies a call: x.$_set ("index string", x)
Dinterface_import_2.ets.json44 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
74 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
Dinterface_import_2.ets.migrate.json54 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
94 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
Dinterface_import_1.ets.migrate.json54 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
94 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
Dextend_decorator_2.ets.json114 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
124 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
Dinterface_import_2.ets.arkts2.json74 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
114 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DIntlNumberFormatResolvedOptionsTest.ets43 assertEQ(options.notation, "standard");
67 assertEQ(getOptions.notation, 'standard');
83 assertEQ(getOptions.notation, 'standard');
102 assertEQ(getOptions.notation, 'standard');
118 assertEQ(getOptions.notation, 'standard');
136 notation: "standard",
154 notation: "compact",
175 assertEQ(x.notation, "compact");
197 assertEQ(getOptions.notation, "standard");
213 assertEQ(getOptions.notation, "standard");
[all …]
DIntlNumberFormatReadOptionsTest.ets35 assertEQ(x.notation, undefined);
51 notation: "compact",
67 assertEQ(x.notation, "compact");
DIntlNumberFormatInvokeTest.ets58 arktest.assertEQ(getOptions.notation, "standard", "Error. Got: " + s);
74 arktest.assertEQ(getOptions.notation, "standard", "Error. Got: " + s);
98 addValue(options.notation, "notation");
DIntlNumberFormatRangeOptionsTest.ets49 addFormatResult(i = 17, "zh", { notation: "standard" }, FORMAT_EXPECTED[i])
50 addFormatResult(i = 18, "zh", { notation: "scientific" }, FORMAT_EXPECTED[i])
51 addFormatResult(i = 19, "zh", { notation: "engineering" }, FORMAT_EXPECTED[i])
52 …addFormatResult(i = 20, "en", { notation: "compact", compactDisplay: "short" }, FORMAT_EXPECTED[i])
53 … addFormatResult(i = 21, "en", { notation: "compact", compactDisplay: "long" }, FORMAT_EXPECTED[i])
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/core/
DIntlNumberFormatters.cpp58 if (options.notation == NOTATION_COMPACT) { in ConfigurePrecision()
82 if (options.notation == NOTATION_STANDARD) { in ConfigureNotation()
83 fmt = fmt.notation(icu::number::Notation::simple()); in ConfigureNotation()
84 } else if (options.notation == NOTATION_SCIENTIFIC) { in ConfigureNotation()
85 fmt = fmt.notation(icu::number::Notation::scientific()); in ConfigureNotation()
86 } else if (options.notation == NOTATION_ENGINEERING) { in ConfigureNotation()
87 fmt = fmt.notation(icu::number::Notation::engineering()); in ConfigureNotation()
88 } else if (options.notation == NOTATION_COMPACT) { in ConfigureNotation()
90 fmt = fmt.notation(icu::number::Notation::compactShort()); in ConfigureNotation()
92 fmt = fmt.notation(icu::number::Notation::compactLong()); in ConfigureNotation()
[all …]
DIntlNumberFormatters.h92 std::string notation; member
113 str.append(", notation: " + notation); in ToString()
136 tag.append(IsUndefinedStr(notation)); in TagString()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/language/arguments-object/
Dtest-key-named-bound-value-expected.txt1 scientific notation
2 scientific notation
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe21.md1 # Type notation using ``this`` is not supported
7 ArkTS does not support type notation using the ``this`` keyword (for example,
Drecipe3.md17 * Such notation for private fields is not supported in ArkTS:
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule21.ets.json24 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
34 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
Drule21_3.ets.json24 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
34 "rule": "Type notation using \"this\" is not supported (arkts-no-typing-with-this)",
/arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_dynamic/define/
Ddefinefieldruntime_dynamic.js22 print(map['key3']); // eslint-disable-line dot-notation
25 print(arr['key3']); // eslint-disable-line dot-notation
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/
Dinterfaces.rst66 A property field is just a shortcut notation of a getter/setter pair. The
80 A class that implements an interface can also use a short or a long notation:
92 The short notation implicitly defines a private field, a getter, and a setter:
/arkcompiler/ets_runtime/ecmascript/
Djs_number_format.cpp168 JSHandle<JSTaggedValue> OptionToEcmaString(JSThread *thread, NotationOption notation) in OptionToEcmaString() argument
172 switch (notation) { in OptionToEcmaString()
625 // 19. Let notation be ? GetOption( in InitializeNumberFormat()
626 …// options, "notation", "string", « "standard", "scientific", "engineering", "compact" », "standa… in InitializeNumberFormat()
628 auto notation = JSLocale::GetOptionOfString<NotationOption>( in InitializeNumberFormat() local
633 numberFormat->SetNotation(notation); in InitializeNumberFormat()
635 …. Perform ? SetNumberFormatDigitOptions(numberFormat, options, mnfdDefault, mxfdDefault, notation). in InitializeNumberFormat()
637 mnfdDefault, mxfdDefault, notation); in InitializeNumberFormat()
650 if (notation == NotationOption::COMPACT) { in InitializeNumberFormat()
653 … icuNumberFormatter = icuNumberFormatter.notation(icu::number::Notation::compactShort()); in InitializeNumberFormat()
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/js/language/arguments-object/
Dtest-class-func-named-scientific-notation-expected.txt1 SyntaxError: Unexpected token [test-class-func-named-scientific-notation.js:21:4]
Dtest-func-named-scientific-notation-expected.txt1 … token, expected identifier after 'function' keyword [test-func-named-scientific-notation.js:17:10]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D1_intro.rst181 .. _Lexical and Syntactic Notation:
183 Lexical and Syntactic Notation
186 This section introduces the notation known as *context-free grammar*. It is
195 The |LANG| lexical notation defines a set of productions (rules) that specify
203 lexical notation
219 notation. Syntactic notation defines a set of productions starting from the
228 syntactic notation
460 -- a syntactically invariable token (i.e., a syntactic notation defined
586 a qualified name notation (qualification is the name of a class).
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/
D@ohos.util.json.ets44 * Converts an object to a JavaScript Object Notation (JSON) string.
67 * Converts a JavaScript Object Notation (JSON) string to an Object.

12345