kotlin-node/karakum/src/jsMain/kotlin/node/karakum/nameResolvers/resolveInterfacePropertyPropertyItemName.kt [18:43]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ensure(isTypeReferenceNode(typeReference)) val typeName = typeReference.typeName ensure(isIdentifier(typeName)) ensure(typeName.text == "Array") val subProperty = ensureNotNull(typeScriptService.getParent(typeReference)) ensure(isPropertySignature(subProperty)) val subPropertyNameNode = subProperty.name ensure(isIdentifier(subPropertyNameNode)) val subPropertyName = subPropertyNameNode.text val typeLiteral = ensureNotNull(typeScriptService.getParent(subProperty)) ensure(isTypeLiteralNode(typeLiteral)) val property = ensureNotNull(typeScriptService.getParent(typeLiteral)) ensure(isPropertySignature(property)) val propertyNameNode = property.name ensure(isIdentifier(propertyNameNode)) val propertyName = propertyNameNode.text val interfaceNode = ensureNotNull(typeScriptService.getParent(property)) ensure(isInterfaceDeclaration(interfaceNode)) val parentName = interfaceNode.name.text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlin-node/karakum/src/jsMain/kotlin/node/karakum/nameResolvers/resolveInterfacePropertyPropertyItemPropertyItemName.kt [35:60]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ensure(isTypeReferenceNode(typeReference)) val typeName = typeReference.typeName ensure(isIdentifier(typeName)) ensure(typeName.text == "Array") val subProperty = ensureNotNull(typeScriptService.getParent(typeReference)) ensure(isPropertySignature(subProperty)) val subPropertyNameNode = subProperty.name ensure(isIdentifier(subPropertyNameNode)) val subPropertyName = subPropertyNameNode.text val typeLiteral = ensureNotNull(typeScriptService.getParent(subProperty)) ensure(isTypeLiteralNode(typeLiteral)) val property = ensureNotNull(typeScriptService.getParent(typeLiteral)) ensure(isPropertySignature(property)) val propertyNameNode = property.name ensure(isIdentifier(propertyNameNode)) val propertyName = propertyNameNode.text val interfaceNode = ensureNotNull(typeScriptService.getParent(property)) ensure(isInterfaceDeclaration(interfaceNode)) val parentName = interfaceNode.name.text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -