Function ra_ap_syntax_bridge::parse_to_token_tree
source ยท pub fn parse_to_token_tree<Ctx>(
edition: Edition,
anchor: SpanAnchor,
ctx: Ctx,
text: &str,
) -> Option<Subtree<SpanData<Ctx>>>
Expand description
Convert a string to a TokenTree
. The spans of the subtree will be anchored to the provided
anchor with the given context.