Searched refs:methodEntity (Results 1 – 6 of 6) sorted by relevance
31 const methodEntity = staticMethod.methodEntity; constant33 methodBody += `${methodEntity.functionName.name}: function(...args) {`;35 …methodBody += `${firstCharacterToUppercase(staticMethod.className)}.${methodEntity.functionName.na…38 methodBody += getWarnConsole(rootName, methodEntity.functionName.name);39 if (methodEntity.functionName.name === 'Symbol.iterator') {40 methodBody += generateSymbolIterator(methodEntity);45 const args = methodEntity.args;51 if (methodEntity.returnType.returnKind !== SyntaxKind.VoidKeyword) {52 methodBody += getReturnStatement(methodEntity.returnType, sourceFile);
32 const methodEntity = methodArray[0]; constant33 if (methodEntity.functionName.name === 'Symbol.iterator') {34 methodBody += `this[${methodEntity.functionName.name}] = function(...args) {`;35 methodBody += getWarnConsole(rootName, methodEntity.functionName.name);36 methodBody += generateSymbolIterator(methodEntity);40 methodBody += `this.${methodEntity.functionName.name} = function(...args) {`;41 methodBody += getWarnConsole(rootName, methodEntity.functionName.name);45 const args = methodEntity.args;50 if (methodEntity.returnType.returnKind !== SyntaxKind.VoidKeyword) {51 if (methodEntity.functionName.name === 'getApplicationContext') {[all …]
29 const methodEntity = methodSignatureArray[0]; constant30 methodSignatureBody += `${methodEntity.functionName}: function(...args) {`;31 methodSignatureBody += getWarnConsole(rootName, methodEntity.functionName);33 const args = methodEntity.args;38 if (methodEntity.returnType.returnKind !== SyntaxKind.VoidKeyword) {39 if (rootName === 'Context' && methodEntity.returnType.returnKindName === 'Context') {42 methodSignatureBody += getReturnStatement(methodEntity.returnType, sourceFile);
306 export function generateSymbolIterator(methodEntity: MethodEntity): string {308 if (methodEntity.returnType.returnKindName.includes('<[')) {
56 const methodEntity = getMethodDeclaration(value, sourceFile); constant57 if (methodEntity.modifiers.includes(SyntaxKind.StaticKeyword)) {58 staticMethods.push({ className: className, methodEntity: methodEntity });60 if (classMethod.get(methodEntity.functionName.name) !== undefined) {61 classMethod.get(methodEntity.functionName.name)?.push(methodEntity);64 methodArray.push(methodEntity);65 classMethod.set(methodEntity.functionName.name, methodArray);
65 methodEntity: MethodEntity property