(annotated: AST.Annotated | undefined)
| 404 | } |
| 405 | |
| 406 | function getRawDefault(annotated: AST.Annotated | undefined): Option.Option<unknown> { |
| 407 | if (annotated !== undefined) return AST.getDefaultAnnotation(annotated) |
| 408 | return Option.none() |
| 409 | } |
| 410 | |
| 411 | function encodeDefault(ast: AST.AST, def: unknown): Option.Option<unknown> { |
| 412 | const getOption = ParseResult.getOption(ast, false) |
no outgoing calls
no test coverage detected
searching dependent graphs…