| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | declaration.h | 104 explicit Decl(util::StringView name) : name_(name) {} in DECLARATION_KINDS() 105 explicit Decl(util::StringView name, ir::AstNode *declNode) : name_(name), node_(declNode) {} in DECLARATION_KINDS() 116 explicit MultiDecl(ArenaAllocator *allocator, util::StringView name) in MultiDecl() 121 explicit MultiDecl(ArenaAllocator *allocator, util::StringView name, ir::AstNode *declNode) in MultiDecl() 142 explicit EnumLiteralDecl(util::StringView name, bool isConst) : Decl(name), isConst_(isConst) {} in EnumLiteralDecl() 143 explicit EnumLiteralDecl(util::StringView name, ir::AstNode *declNode, bool isConst) in EnumLiteralDecl() 175 …explicit InterfaceDecl(ArenaAllocator *allocator, util::StringView name) : MultiDecl(allocator, na… in InterfaceDecl() 176 explicit InterfaceDecl(ArenaAllocator *allocator, util::StringView name, ir::AstNode *declNode) in InterfaceDecl() 189 explicit ClassDecl(util::StringView name) : Decl(name) {} in ClassDecl() 190 explicit ClassDecl(util::StringView name, ir::AstNode *node) : Decl(name, node) {} in ClassDecl() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | inferred_type.ts.json | 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| D | optional_library_types.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 144 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 164 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| D | sendable_explicit_field_type.ts.json | 224 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 314 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 404 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 494 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 544 … "rule": "Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)", 554 … "rule": "Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)", 564 … "rule": "Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)", 574 … "rule": "Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)", 584 … "rule": "Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)", 594 … "rule": "Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)", [all …]
|
| D | arkui_decorators.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| D | array_literals.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 114 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 124 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
|
| D | function_spread_arg.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule8_3.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
|
| D | rule8_6.ts.json | 24 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 34 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 44 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 54 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 64 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 74 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 84 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 94 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 104 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)",
|
| D | rule149.ts.json | 142 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 152 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 162 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 172 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 182 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 192 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 202 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 212 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 222 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", 232 "rule": "Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)", [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | sourceLocation.h | 35 explicit SourcePosition() noexcept = default; 36 explicit SourcePosition(size_t i, size_t l) noexcept : index(i), line(l) {} in SourcePosition() 47 explicit SourceRange() noexcept = default; 59 explicit SourceLocation() noexcept = default; 60 explicit SourceLocation(size_t l, size_t c) noexcept : line(l), col(c) {} in SourceLocation() 71 explicit Range(size_t bS) noexcept : byteSize(bS) {} in Range() 83 explicit OffsetEntry(size_t l) : lineStart(l), offset_(l) {}; in OffsetEntry() 100 explicit LineIndex(const util::StringView &source) noexcept; 101 explicit LineIndex() noexcept = default;
|
| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | typed.h | 60 explicit Typed(AstNodeType const type) : T(type) {} in Typed() 61 explicit Typed(AstNodeType const type, ModifierFlags const flags) : T(type, flags) {} in Typed() 79 explicit TypedAstNode(AstNodeType const type) : Typed<AstNode>(type) {} in TypedAstNode() 80 …explicit TypedAstNode(AstNodeType const type, ModifierFlags const flags) : Typed<AstNode>(type, fl… in TypedAstNode() 94 explicit AnnotatedAstNode(AstNodeType const type, TypeNode *const typeAnnotation) in AnnotatedAstNode() 98 explicit AnnotatedAstNode(AstNodeType const type) : Annotated<AstNode>(type) {} in AnnotatedAstNode() 99 …explicit AnnotatedAstNode(AstNodeType const type, ModifierFlags const flags) : Annotated<AstNode>(… in AnnotatedAstNode() 115 explicit TypedStatement(AstNodeType type) : Typed<Statement>(type) {}; in TypedStatement() 116 … explicit TypedStatement(AstNodeType type, ModifierFlags flags) : Typed<Statement>(type, flags) {}; in TypedStatement() 132 …explicit AnnotatedStatement(AstNodeType type, TypeNode *typeAnnotation) : Annotated<Statement>(typ… in AnnotatedStatement() [all …]
|
| D | expression.h | 102 explicit Expression(AstNodeType const type) : TypedAstNode(type) {} in Expression() 103 …explicit Expression(AstNodeType const type, ModifierFlags const flags) : TypedAstNode(type, flags)… in Expression() 128 explicit AnnotatedExpression(AstNodeType const type, TypeNode *const typeAnnotation) in AnnotatedExpression() 132 explicit AnnotatedExpression(AstNodeType const type) : Annotated<Expression>(type) {} in AnnotatedExpression() 134 explicit AnnotatedExpression(AnnotatedExpression const &other, ArenaAllocator *allocator); 156 …explicit MaybeOptionalExpression(AstNodeType type, bool optional) : Expression(type), optional_(op… in MaybeOptionalExpression() 157 explicit MaybeOptionalExpression(AstNodeType type, ModifierFlags flags, bool optional) in MaybeOptionalExpression()
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | declaration.h | 135 explicit Decl(util::StringView name) : name_(name) {} in DECLARATION_KINDS() 146 explicit MultiDecl(ArenaAllocator *allocator, util::StringView name) in MultiDecl() 167 …explicit EnumLiteralDecl(ArenaAllocator *allocator, util::StringView name, bool isExport, bool isC… in EnumLiteralDecl() 203 …explicit InterfaceDecl(ArenaAllocator *allocator, util::StringView name) : MultiDecl(allocator, na… in InterfaceDecl() 213 explicit TypeParameterDecl(util::StringView name, const ir::AstNode *node); 223 explicit PropertyDecl(util::StringView name) : Decl(name) {} in PropertyDecl() 233 explicit MethodDecl(util::StringView name) : Decl(name) {} in MethodDecl() 243 explicit EnumDecl(util::StringView name) : Decl(name) {} in EnumDecl() 253 explicit TypeAliasDecl(util::StringView name) : Decl(name) {} in TypeAliasDecl() 263 explicit NamespaceDecl(ArenaAllocator *allocator, util::StringView name) in NamespaceDecl() [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_returns.h | 38 explicit DebuggerEnableReturns(UniqueDebuggerId id, std::vector<std::string> list) in DebuggerEnableReturns() 55 explicit EnableReturns(std::vector<std::string> list) : protocols_(list) {} in EnableReturns() 70 …explicit SetBreakpointByUrlReturns(const std::string &id, std::vector<std::unique_ptr<Location>> l… in SetBreakpointByUrlReturns() 88 …explicit GetPossibleAndSetBreakpointByUrlReturns(std::vector<std::shared_ptr<BreakpointReturnInfo>… in GetPossibleAndSetBreakpointByUrlReturns() 105 explicit EvaluateOnCallFrameReturns(std::unique_ptr<RemoteObject> result, 123 explicit GetPossibleBreakpointsReturns(std::vector<std::unique_ptr<BreakLocation>> locations) in GetPossibleBreakpointsReturns() 140 …explicit GetScriptSourceReturns(const std::string &scriptSource, std::optional<std::string> byteco… 158 explicit RestartFrameReturns(std::vector<std::unique_ptr<CallFrame>> callFrames) in RestartFrameReturns() 174 …explicit SearchInContentReturns(std::vector<std::unique_ptr<SearchMatch>> result) : result_(std::m… in SearchInContentReturns() 189 explicit SetBreakpointReturns(const std::string &id, std::unique_ptr<Location> location) in SetBreakpointReturns() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | regScope.h | 33 explicit RegScope(CodeGen *cg); 52 explicit LocalRegScope(PandaGen *pg, varbinder::Scope *scope); 53 explicit LocalRegScope(CodeGen *cg, varbinder::Scope *scope); 54 explicit LocalRegScope(PandaGen *pg); 68 explicit LoopRegScope(PandaGen *pg, varbinder::LoopScope *scope); 82 explicit FunctionRegScope(CodeGen *cg); 83 explicit FunctionRegScope(PandaGen *pg);
|
| D | dynamicContext.h | 78 explicit DynamicContext(CodeGen *cg, LabelTarget target); 98 explicit LabelContext(CodeGen *cg, LabelTarget target) : DynamicContext(cg, target) {} in LabelContext() 99 explicit LabelContext(CodeGen *cg, const ir::LabelledStatement *labelledStmt); 116 explicit LexEnvContext(LoopEnvScope *envScope, PandaGen *pg, LabelTarget target); 140 explicit IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target); 187 explicit CatchContext(CodeGen *cg) : DynamicContext(cg, {}) in CatchContext() 199 explicit TryContext(CodeGen *cg, const ir::TryStatement *tryStmt, bool hasFinalizer = true) 206 explicit TryContext(CodeGen *cg) : CatchContext(cg) {} in TryContext() 259 explicit ETSCatchContext(CodeGen *cg, ArenaAllocator *allocator) in ETSCatchContext() 270 explicit ETSTryContext(CodeGen *cg, ArenaAllocator *allocator, const ir::TryStatement *tryStmt, [all …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.h | 29 explicit SourcePosition() noexcept = default; 30 explicit SourcePosition(size_t i, size_t l) noexcept : index(i), line(l) {} in SourcePosition() 43 explicit SourceRange() noexcept = default; 57 explicit SourceLocation() noexcept = default; 58 explicit SourceLocation(size_t l, size_t c) noexcept : line(l), col(c) {} in SourceLocation() 71 explicit Range(size_t bS) noexcept : byteSize(bS) {} in Range() 85 explicit OffsetEntry(size_t l) : lineStart(l), offset_(l) {}; in OffsetEntry() 104 explicit LineIndex(const util::StringView &source) noexcept;
|
| /arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/ |
| D | lattice_element.h | 51 explicit LatticeElement(LatticeType type); 113 explicit ConstantElement(bool val); 114 explicit ConstantElement(int32_t val); 115 explicit ConstantElement(int64_t val); 116 explicit ConstantElement(double val); 117 explicit ConstantElement(std::string val); 118 explicit ConstantElement(const ConstantValue &val);
|
| D | constant_value.h | 32 explicit ConstantValue() in ConstantValue() 39 explicit ConstantValue(bool val) in ConstantValue() 42 explicit ConstantValue(int32_t val) in ConstantValue() 45 explicit ConstantValue(int64_t val) in ConstantValue() 48 explicit ConstantValue(double val) in ConstantValue() 51 explicit ConstantValue(std::string val) in ConstantValue()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | scoped_tmp_reg.h | 31 explicit ScopedTmpRegImpl(Encoder *encoder) : ScopedTmpRegImpl(encoder, false) {} in ScopedTmpRegImpl() 85 // NOLINTNEXTLINE(*-explicit-constructor) 153 explicit ScopedTmpRegU16(Encoder *encoder) : ScopedTmpReg(encoder, INT16_TYPE) {} in ScopedTmpRegU16() 157 explicit ScopedTmpRegU32(Encoder *encoder) : ScopedTmpReg(encoder, INT32_TYPE) {} in ScopedTmpRegU32() 161 explicit ScopedTmpRegU64(Encoder *encoder) : ScopedTmpReg(encoder, INT64_TYPE) {} in ScopedTmpRegU64() 165 explicit ScopedTmpRegF32(Encoder *encoder) : ScopedTmpReg(encoder, FLOAT32_TYPE) {} in ScopedTmpRegF32() 169 explicit ScopedTmpRegF64(Encoder *encoder) : ScopedTmpReg(encoder, FLOAT64_TYPE) {} in ScopedTmpRegF64() 173 explicit ScopedTmpRegRef(Encoder *encoder) : ScopedTmpReg(encoder, encoder->GetRefType()) {} in ScopedTmpRegRef() 178 explicit ScopedLiveTmpReg(Encoder *encoder) : ScopedTmpReg(encoder) in ScopedLiveTmpReg()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | parserStatusContext.h | 26 explicit SavedStatusContext(ParserContext *ctx) in SavedStatusContext() 51 explicit SwitchContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in SwitchContext() 59 explicit IterationContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in IterationContext() 68 explicit FunctionParameterContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in FunctionParameterContext() 78 …explicit SavedParserContext(ParserImpl *parser, Args &&...args) : parser_(parser), prev_(parser->c… in SavedParserContext() 98 …explicit SavedClassPrivateContext(ParserImpl *parser) : parser_(parser), prev_(parser->classPrivat… in SavedClassPrivateContext() 118 …explicit FunctionContext(ParserImpl *parser, ParserStatus newStatus) : SavedParserContext(parser, … in FunctionContext() 158 explicit ArrowFunctionContext(ParserImpl *parser, bool isAsync) in ArrowFunctionContext()
|
| /arkcompiler/ets_frontend/ets2panda/checker/typeChecker/ |
| D | TypeChecker.h | 39 explicit TypeChecker(Checker *checker) : checker_(checker) {} in TypeChecker() 52 explicit ETSTypeChecker(Checker *checker) : TypeChecker(checker) {} in ETSTypeChecker() 60 explicit JSTypeChecker(Checker *checker) : TypeChecker(checker) {} in JSTypeChecker() 65 explicit TSTypeChecker(Checker *checker) : TypeChecker(checker) {} in TSTypeChecker() 70 explicit ASTypeChecker(Checker *checker) : TypeChecker(checker) {} in ASTypeChecker()
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | optional_ref.h | 35 // NOLINTNEXTLINE(google-explicit-constructor) 37 // NOLINTNEXTLINE(google-explicit-constructor) 39 // NOLINTNEXTLINE(google-explicit-constructor) 41 explicit OptionalConstRef(const T *ptr) : value_ {const_cast<T *>(ptr)} {} in OptionalConstRef() 85 explicit OptionalConstRef(T *ptr) : value_ {ptr} {} in OptionalConstRef() 105 // NOLINTNEXTLINE(google-explicit-constructor) 107 // NOLINTNEXTLINE(google-explicit-constructor)
|
| /arkcompiler/ets_frontend/ets2panda/compiler/base/ |
| D | literals.h | 57 explicit Literal() = default; 59 … explicit Literal(LiteralTag tag, const util::StringView &str) : tag_(tag), value_(str.Mutf8()) {} in Literal() 60 explicit Literal(const util::StringView &str) : tag_(LiteralTag::STRING), value_(str.Mutf8()) {} in Literal() 61 explicit Literal(uint32_t number) : tag_(LiteralTag::INTEGER), value_(number) {} in Literal() 62 explicit Literal(double number) : tag_(LiteralTag::DOUBLE), value_(number) {} in Literal() 63 …explicit Literal(bool boolean) : tag_(LiteralTag::BOOLEAN), value_(static_cast<uint32_t>(boolean))… in Literal() 128 explicit Literal(LiteralTag tag) : tag_(tag) {} in Literal()
|