Module semantics

Module semantics 

Source
Expand description

See Semantics.

Modulesยง

child_by_source ๐Ÿ”’
When constructing hir, we start at some parent syntax node and recursively lower the children.
source_to_def ๐Ÿ”’
Maps syntax of various definitions to their semantic ids.

Macrosยง

to_def_impls ๐Ÿ”’

Structsยง

PathResolutionPerNs
RenameConflictsVisitor ๐Ÿ”’
Semantics
Primary API to get semantic information, like types, from syntax trees.
SemanticsImpl
SemanticsScope
SemanticsScope encapsulates the notion of a scope (the set of visible names) at a particular program point.
TypeInfo
VisibleTraits

Enumsยง

LintAttr
PathResolution

Constantsยง

CONTINUE_NO_BREAKS ๐Ÿ”’

Traitsยง

ToDef

Functionsยง

find_root ๐Ÿ”’
macro_call_to_macro_id ๐Ÿ”’