Home
last modified time | relevance | path

Searched refs:functions (Results 1 – 25 of 184) sorted by relevance

12345678

/arkcompiler/ets_frontend/es2panda/lexer/scripts/
Dkeywords.rb187 def collect_functions(functions, keys) argument
201 if functions.has_key?(func_name)
202 functions[func_name].add(key[offset + 1])
204 functions[func_name] = Set[key[offset + 1]]
218 functions = {}
220 collect_functions(functions, group.keys)
/arkcompiler/runtime_core/docs/diagrams/
Dstatic-analyzer-gc-func-list-gen.puactivity16 title Generation list of GC unsafe functions(can have GC happen during work)
20 :List of functions which can have GC inside;
27 ->Parse bodies of functions and get list of calling functions
28 and put them to list of all functions in project;
31 :List of all functions in project;
33 :Generate list of all functions which can call GC (GC FUNCTION LIST);
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dstatic-analyzer-gc-func-list-gen-activity.plantuml16 title Generation list of GC unsafe functions(can have GC happen during work)
20 :List of functions which can have GC inside;
27 ->Parse bodies of functions and get list of calling functions
28 and put them to list of all functions in project;
31 :List of all functions in project;
33 :Generate list of all functions which can call GC (GC FUNCTION LIST);
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe49.md1 # Use generic functions instead of generic arrow functions
7 ArkTS does not support generic arrow functions. Use normal generic functions
Drecipe140.md7 ArkTS does not allow using standard library functions ``Function.apply``,
11 style, and the usage of ``this`` in stand-alone functions is prohibited.
12 Thus these functions are excessive.
63 - Recipe 093: Using ``this`` inside stand-alone functions is not supported (``arkts-no-standalone-…
Drecipe46.md1 # Use arrow functions instead of function expressions
7 ArkTS does not support function expressions. Use arrow functions instead
Drecipe94.md1 # Generator functions are not supported
7 Currently, ArkTS does not support generator functions.
Drecipe92.md1 # Nested functions are not supported
7 ArkTS does not support nested functions. Use lambdas instead.
Drecipe93.md1 # Using ``this`` inside stand-alone functions is not supported
7 ArkTS does not support the usage of ``this`` inside stand-alone functions and
Drecipe139.md1 # Declaring properties on functions is not supported
7 ArkTS does not support declaring properties on functions because there is no
/arkcompiler/ets_frontend/ets2panda/linter-4.2/docs/rules/
Drecipe49.md1 # Use generic functions instead of generic arrow functions
7 ArkTS does not support generic arrow functions. Use normal generic functions
Drecipe140.md7 ArkTS does not allow using standard library functions ``Function.apply``,
11 style, and the usage of ``this`` in stand-alone functions is prohibited.
12 Thus these functions are excessive.
63 - Recipe 093: Using ``this`` inside stand-alone functions is not supported (``arkts-no-standalone-…
Drecipe46.md1 # Use arrow functions instead of function expressions
7 ArkTS does not support function expressions. Use arrow functions instead
Drecipe94.md1 # Generator functions are not supported
7 Currently, ArkTS does not support generator functions.
Drecipe92.md1 # Nested functions are not supported
7 ArkTS does not support nested functions. Use lambdas instead.
Drecipe93.md1 # Using ``this`` inside stand-alone functions is not supported
7 ArkTS does not support the usage of ``this`` inside stand-alone functions and
Drecipe139.md1 # Declaring properties on functions is not supported
7 ArkTS does not support declaring properties on functions because there is no
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dirtoc.rb195 functions = []
202 functions += irtoc.functions
210 llvm_functions += irtoc.functions
217 functions.reject(&:enable_builder).each do |function|
235 builder_functions = functions.select(&:enable_builder)
261 validation = Hash[functions.select(&:validation).map { |f| [f.name, f.validation] } ]
/arkcompiler/runtime_core/static_core/compiler/tools/
Dbenchmark_coverage.sh141 local functions=0
201 elif [ $compiled -ne $functions ]
208 local coverage=$(($compiled * 100 / $functions))
210 functions = $functions,
243 all_functions=$((all_functions+$functions))
271 local functions=0
352 elif [ $compiled -ne $functions ]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcompileQueue.cpp53 const auto &functions = context->VarBinder()->Functions(); in Schedule() local
54 jobs_ = new CompileJob[functions.size()](); in Schedule()
56 for (auto *function : functions) { in Schedule()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/05.statements/05.function_overloading/
Dfn_overloading_n.ets19 If two functions declared in the same declaration space
22 params: same-signature functions
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dnested_function-expected.txt1 SyntaxError: Nested functions are not allowed [nested_function.ets:18:5]
Dnested_function_1-expected.txt1 SyntaxError: Nested functions are not allowed [nested_function_1.ets:19:5]
Dnested_function_in_method-expected.txt1 SyntaxError: Nested functions are not allowed [nested_function_in_method.ets:20:9]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/extension_function_tests/
Dextension_function_not_in_toplevel-expected.txt1 SyntaxError: Nested functions are not allowed [extension_function_not_in_toplevel.ets:20:5]

12345678