Searched refs:classNode (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/ets_frontend/arkguard/src/utils/ |
D | OhsUtil.ts | 176 export function isViewPUBasedClass(classNode: ClassDeclaration): boolean { 177 if (!classNode) { 181 if (!isClassDeclaration(classNode)) { 185 const heritageClause = classNode.heritageClauses; 262 export function getClassProperties(classNode: ClassDeclaration | ClassExpression | StructDeclaratio… 263 if (!classNode || !classNode.members) { 267 classNode.members.forEach((member) => {
|
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/ |
D | RenamePropertiesTransformer.ts | 249 …function getViewPUClassProperties(classNode: ClassDeclaration | ClassExpression | StructDeclaratio… 250 if (!classNode || !classNode.members) { 254 classNode.members.forEach((member) => {
|
/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | classStatement.ts | 166 export function AddCtor2Class(recorder: Recorder, classNode: ts.ClassLikeDeclaration, scope: Scope)… 168 if (jshelpers.getClassExtendsHeritageElement(classNode)) { 175 ctorNode = jshelpers.setParent(ctorNode, classNode)!; 176 ctorNode = ts.setTextRange(ctorNode, classNode); 180 body = ts.setTextRange(body, classNode)!; 183 ctorNode = jshelpers.setParent(ctorNode, classNode)!; 184 ctorNode = ts.setTextRange(ctorNode, classNode); 186 let parentScope = <LocalScope>recorder.getScopeOfNode(classNode); 199 recorder.setCtorOfClass(classNode, ctorNode); 498 export function getClassNameForConstructor(classNode: ts.ClassLikeDeclaration): string { [all …]
|
D | returnStatement.ts | 137 let classNode = <ts.ClassLikeDeclaration>funcNode.parent; 138 if (classNode.heritageClauses) {
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | addVariable2Scope.ts | 164 let classNode = decl.node; 165 if (ts.isClassDeclaration(classNode)) { 168 let classScope = <Scope>recorder.getScopeOfNode(classNode);
|
D | ts2panda.ts | 343 let classNode = functionNode.parent; variable 344 if (ts.isClassLike(classNode)) { 346 typeIdx = typeRecorder.tryGetTypeIndex(ts.getOriginalNode(classNode));
|
D | compilerDriver.ts | 406 let classNode = node.parent; 407 return this.getInternalNameForCtor(classNode, node);
|
D | recorder.ts | 663 let classNode = node.parent; 664 name = getClassNameForConstructor(classNode);
|
D | compiler.ts | 360 let classNode = <ts.ClassLikeDeclaration>decl.parent; 361 … if (jshelpers.getClassExtendsHeritageElement(classNode) && !extractCtorOfClass(classNode)) {
|
/arkcompiler/ets_frontend/ts2panda/src/base/ |
D | typeSystem.ts | 288 …constructor(classNode: ts.ClassDeclaration | ts.ClassExpression, builtinTypeIdx: number = undefine… 296 this.addCurrentType(classNode, this.shiftedTypeIndex); 297 this.fillInModifiers(classNode); 298 this.fillInHeritages(classNode); 299 this.fillInFieldsAndMethods(classNode); 306 …his.method_with_body_num > 0 || this.field_with_init_num > 0) && !hasAbstractModifier(classNode)) {
|