(id: ast.InterfaceDeclaration)
| 119 | } |
| 120 | |
| 121 | const parseInterfaceDeclaration = (id: ast.InterfaceDeclaration) => |
| 122 | Effect.gen(function*() { |
| 123 | const doc = parseDoc(getJSDocText(id.getJsDocs())) |
| 124 | if (shouldIgnore(doc)) { |
| 125 | return [] |
| 126 | } |
| 127 | const name = id.getName() |
| 128 | const signature = id.getText() |
| 129 | const position = yield* parsePosition(id) |
| 130 | return [ |
| 131 | new Domain.Interface( |
| 132 | name, |
| 133 | doc, |
| 134 | signature, |
| 135 | position |
| 136 | ) |
| 137 | ] |
| 138 | }) |
| 139 | |
| 140 | const parseInterfaceDeclarations = (interfaces: ReadonlyArray<ast.InterfaceDeclaration>) => { |
| 141 | const exportedInterfaces = Array.filter( |
nothing calls this directly
no test coverage detected