quote_context

func quote_context(definition_site: SyntaxContext, expansion_scope: SyntaxScope) -> QuoteContext

Combines a macro definition's context with the fresh scope for one expansion.

View Source
pub func quote_context(definition_site: SyntaxContext, expansion_scope: SyntaxScope) -> QuoteContext {
	QuoteContext(definition_site: definition_site, expansion_scope: expansion_scope)
}