pub fn migrate<T, N>(root: N) -> Result<T, MigrateError>where
N: ExternalCstNode,
T: Migrate<N>,Expand description
Migrates a typed syntax target from a parser-specific CST root.
ยงErrors
Returns MigrateError when the root cannot migrate T.