lexical_scope

func lexical_scope(file_id: Int, node_id: Int) -> SyntaxScope

Creates a lexical hygiene scope for a source node.

View Source
pub func lexical_scope(file_id: Int, node_id: Int) -> SyntaxScope {
	SyntaxScope(kind: .lexical, namespace: file_id, ordinal: node_id)
}