(node: ast.Node)
| 190 | }) |
| 191 | |
| 192 | const parsePosition = (node: ast.Node): Effect.Effect<Domain.Position, never, Source> => { |
| 193 | return Effect.gen(function*() { |
| 194 | const source = yield* Source |
| 195 | const startPos = node.getStart() |
| 196 | const position = source.sourceFile.getLineAndColumnAtPos(startPos) |
| 197 | return position |
| 198 | }) |
| 199 | } |
| 200 | |
| 201 | const parseFunctionDeclaration = (fd: ast.FunctionDeclaration) => |
| 202 | Effect.gen(function*() { |
no outgoing calls
no test coverage detected