(
_ctx: CtxRef,
input: ParseStream,
)
| 1474 | } |
| 1475 | |
| 1476 | fn parse_def_source_column( |
| 1477 | _ctx: CtxRef, |
| 1478 | input: ParseStream, |
| 1479 | ) -> syn::Result<(String, SqlColumnType)> { |
| 1480 | input.parse::<syn::Token![-]>()?; |
| 1481 | let column_name = input.parse::<syn::Ident>()?.to_string(); |
| 1482 | input.parse::<syn::Token![:]>()?; |
| 1483 | let column_type = SqlColumnType::from_repr(&analyses::parse_column_type(input)?); |
| 1484 | Ok((column_name, column_type)) |
| 1485 | } |
| 1486 | |
| 1487 | syn::custom_keyword!(DefSource); |
| 1488 | syn::custom_keyword!(name); |
nothing calls this directly
no test coverage detected