| /ark/runtime_core/libpandabase/trace/ |
| D | trace.cpp | 18 class Initializer { class 20 Initializer() in Initializer() function in Initializer 25 virtual ~Initializer() = default; 27 NO_COPY_SEMANTIC(Initializer); 28 NO_MOVE_SEMANTIC(Initializer); 31 static Initializer s_initializer; // NOLINT(fuchsia-statically-constructed-objects)
|
| /ark/runtime_core/verification/util/ |
| D | obj_pool.h | 124 …ObjPool(InitializerType initializer, CleanerType cleaner) : Initializer {initializer}, Cleaner {cl… in ObjPool() argument 125 … ObjPool(InitializerType initializer) : Initializer {initializer}, Cleaner {[](T &) { return; }} {} in ObjPool() argument 126 ObjPool() : Initializer {[](T &, std::size_t) { return; }}, Cleaner {[](T &) { return; }} {} in ObjPool() 142 Initializer(Storage[idx], idx); in New() 183 InitializerType Initializer; variable
|
| /ark/ts2abc/ts2panda/src/ |
| D | typeChecker.ts | 105 public getDeclNodeForInitializer(initializer: ts.Node) { 106 switch (initializer.kind) { 108 return this.getTypeDeclForIdentifier(initializer); 110 let initializerExpression = <ts.NewExpression>initializer; 117 return initializer; 119 return initializer; 227 public getOrCreateRecordForDeclNode(initializer: ts.Node | undefined, variableNode?: ts.Node) { 228 if (!initializer) { 232 let declNode = this.getDeclNodeForInitializer(initializer); 233 typeIndex = this.getTypeFromDecl(declNode, initializer.kind == ts.SyntaxKind.NewExpression); [all …]
|
| D | compilerUtils.ts | 115 } else if (isDeclaration && (<ts.BindingElement>element).initializer) { 116 init = (<ts.BindingElement>element).initializer; 309 if (bindingElement.initializer) { 311 init = bindingElement.initializer; 317 let targetExpr = element.initializer;
|
| D | syntaxChecker.ts | 416 if (!node.initializer) { 427 … (node.parent.parent.kind !== ts.SyntaxKind.VariableStatement || !node.type || node.initializer)) { 428 if (node.initializer) { 699 let leftExpr = stmt.initializer; 716 if (declarations[0].initializer) { 741 let variableDeclarationList = <ts.VariableDeclarationList>iterationStatement.initializer; 753 if (ts.isVariableDeclarationList(node.initializer)) { 756 let varExpr = node.initializer; 823 if (ts.isVariableDeclarationList(node.initializer)) { 826 let varExpr = node.initializer; [all …]
|
| D | syntaxCheckerForStrcitMode.ts | 155 if (param.initializer || param.dotDotDotToken) {
|
| D | compiler.ts | 388 if (param.initializer) { 397 this.compileExpression(param.initializer); 565 if (decl.initializer) { 566 this.compileExpression(decl.initializer);
|
| /ark/ts2abc/ts2panda/src/statement/ |
| D | loopStatement.ts | 130 if (stmt.initializer && ts.isVariableDeclarationList(stmt.initializer)) { 146 …if (stmt.initializer && ts.isVariableDeclarationList(stmt.initializer) && createEnvAtBegining && n… 150 let declList = <ts.VariableDeclarationList>stmt.initializer; 202 if (stmt.initializer) { 203 if (ts.isVariableDeclarationList(stmt.initializer)) { 204 let declList = <ts.VariableDeclarationList>stmt.initializer; 207 compiler.compileExpression(stmt.initializer); 287 let lref = LReference.generateLReference(compiler, stmt.initializer, false);
|
| D | classStatement.ts | 249 if (!decl.initializer) { 257 compiler.compileExpression(decl.initializer); 316 if (decl.initializer) { 317 compiler.compileExpression(decl.initializer); 549 let initializer = (<ts.PropertyDeclaration>member).initializer; 550 if (initializer) { 551 if (isConstantExpr(initializer)) { 552 …if (defineClassMember(memberName, initializer, PropertyKind.Constant, properties, namedPropertyMap… 556 …if (defineClassMember(memberName, initializer, PropertyKind.Variable, properties, namedPropertyMap… 561 initializer = ts.createIdentifier("undefined"); [all …]
|
| D | tryStatement.ts | 291 let lref = LReference.generateLReference(this.compiler, stmt.initializer, isDeclaration);
|
| /ark/runtime_core/tests/cts-generator/cts-template/ |
| D | initobj.short.yaml | 22 title: Create new object and call initializer 24 …Resolve class type from initializer method_id, allocate memory for an object, initialize its field… 25 …default values (i.e. 0 for primitives and null for objects), call specified initializer and put a … 26 the newly created object into accumulator. method_id should resolve to an initializer. 28 …ister slot values will be discarded and corresponding registers will not be passed to initializer). 335 … description: Check 'initobj.short' instruction with invalid initializer in PandaAssembly context. 469 …description: Check 'initobj.short' instruction with initializer called with incompatible arguments… 680 …description: Check 'initobj.short' instruction with initializer called with compatible primitive a… 733 …description: Check 'initobj.short' instruction with initializer called with compatible primitive a… 820 …description: Check 'initobj.short' instruction with initializer called with compatible object argu… [all …]
|
| D | initobj.yaml | 22 title: Create new object and call initializer 24 …Resolve class type from initializer method_id, allocate memory for an object, initialize its field… 25 …default values (i.e. 0 for primitives and null for objects), call specified initializer and put a … 26 the newly created object into accumulator. method_id should resolve to an initializer. 28 …ister slot values will be discarded and corresponding registers will not be passed to initializer). 361 description: Check 'initobj' instruction with invalid initializer in PandaAssembly context. 495 …description: Check 'initobj' instruction with initializer called with incompatible arguments in Pa… 706 …description: Check 'initobj' instruction with initializer called with compatible primitive argumen… 759 …description: Check 'initobj' instruction with initializer called with compatible primitive array a… 846 …description: Check 'initobj' instruction with initializer called with compatible object arguments … [all …]
|
| D | initobj.range.yaml | 22 title: Create new object and call initializer 24 …Resolve class type from initializer method_id, allocate memory for an object, initialize its field… 25 …default values (i.e. 0 for primitives and null for objects), call specified initializer and put a … 26 the newly created object into accumulator. method_id should resolve to an initializer. 351 … description: Check 'initobj.range' instruction with invalid initializer in PandaAssembly context. 593 …description: Check 'initobj.range' instruction with initializer called with incompatible arguments… 804 …description: Check 'initobj.range' instruction with initializer called with compatible primitive a… 857 …description: Check 'initobj.range' instruction with initializer called with compatible primitive a… 944 …description: Check 'initobj.range' instruction with initializer called with compatible object argu… 1051 …description: Check 'initobj.range' instruction with initializer called with compatible object arra… [all …]
|
| D | ldstatic.64.yaml | 283 …that ExceptionInInitializerError is thrown if an unexpected exception occurs in static initializer.
|
| D | ldstatic.obj.yaml | 307 …that ExceptionInInitializerError is thrown if an unexpected exception occurs in static initializer.
|
| D | ldstatic.yaml | 292 …that ExceptionInInitializerError is thrown if an unexpected exception occurs in static initializer.
|
| D | ststatic.obj.yaml | 372 …that ExceptionInInitializerError is thrown if an unexpected exception occurs in static initializer.
|
| D | ststatic.64.yaml | 418 …that ExceptionInInitializerError is thrown if an unexpected exception occurs in static initializer.
|
| /ark/ts2abc/ts2panda/src/base/ |
| D | properties.ts | 133 …defineProperty(propName, property.initializer, PropertyKind.Prototype, properties, namedPropertyMa… 141 if (isConstantExpr(property.initializer)) { 142 …defineProperty(propName, property.initializer, PropertyKind.Constant, properties, namedPropertyMap… 144 …defineProperty(propName, property.initializer, PropertyKind.Variable, properties, namedPropertyMap…
|
| D | util.ts | 264 if (parameter.initializer || isRestParameter(parameter)) {
|
| /ark/ts2abc/ts2panda/tests/statements/ |
| D | for.test.ts | 113 // initializer 153 // initializer 203 // initializer 274 // initializer
|
| D | functionDeclaration.test.ts | 113 it("Parameters with initializer", function () {
|
| /ark/ts2abc/ts2panda/scripts/ |
| D | diagnosticMessages.json | 14 "Parameter cannot have question mark and initializer.": { 62 "A rest parameter cannot have an initializer.": { 206 "A destructuring declaration must have an initializer.": { 222 "The variable declaration of a 'for...in' statement cannot have an initializer.": { 226 "The variable declaration of a 'for...of' statement cannot have an initializer.": {
|
| /ark/ts2abc/ts2panda/src/expression/ |
| D | objectLiteralExpression.ts | 208 compiler.compileExpression((<ts.PropertyAssignment>prop.getValue()).initializer); 209 … let nameSetting: boolean = needSettingName((<ts.PropertyAssignment>prop.getValue()).initializer);
|
| /ark/runtime_core/isa/ |
| D | isa.yaml | 169 …tecode throws ExceptionInInitializerError if unexpected exception occurred in a static initializer. 222 description: Method_id must resolve into initializer for a type other than array. 2433 - title: Create new object and call initializer 2435 …Resolve class type from initializer method_id, allocate memory for an object, initialize its field… 2436 …default values (i.e. 0 for primitives and null for objects), call specified initializer and put a … 2437 the newly created object into accumulator. method_id should resolve to an initializer. 2439 …gister slot values will be discarded and corresponding registers will not be passed to initializer.
|