Structs§
- AllCalls
Iter - AllCaptures
Iter - Binding
- Provides access to all semantic data of a specific binding.
- Capture
- Provides all information regarding a specific closure capture.
- Children
Iter - Iterate all immediate children closures of a specific closure
- Closure
- Provides all information regarding a specific closure.
- Descendents
Iter - Iterate all descendents closures of a specific closure
- Function
Call - Provides all information regarding a specific function or method call.
- Global
Reference - Reference
- Provides all information regarding to a specific reference.
- Scope
- Provides all information regarding a specific scope. Allows navigation to parent and children scope and binding information.
- Scope
Bindings Iter - Iterate all bindings that were bound in a given scope. It does not Returns bindings of parent scopes.
- Scope
Descendents Iter - Iterate all descendents scopes of the specified scope in breadth-first order.
- Semantic
Event Extractor - Extracts SemanticEvent from [SyntaxNode].
- Semantic
Model - The façade for all semantic information.
- Semantic
Model Builder - Builds the SemanticModel consuming SemanticEvent and [SyntaxNode]. For a good example on how to use it see semantic_model.
- Semantic
Model Global Binding Data - Semantic
Model Global Reference Data - Semantic
Model Options - Extra options for the SemanticModel creation.
- Semantic
Model Unresolved Reference - Unresolved
Reference
Enums§
- AnyHas
Closure Node - All nodes that have an associated closure and can be used by the SemanticModel.
- Capture
Type - Scope
Hoisting - Semantic
Event - Events emitted by the SemanticEventExtractor. These events are later made into the Semantic Model.
Traits§
- Binding
Extensions - Extension method to allow nodes that have declaration to easily get its binding.
- Calls
Extensions - CanBe
Imported Exported - Marker trait that groups all “AstNode” that can be imported or exported
- Closure
Extensions - HasClosure
AstNode - Marker trait that groups all “AstNode” that have closure
- HasDeclaration
AstNode - Marker trait that groups all “AstNode” that have declarations
- IsBinding
AstNode - Marker trait that groups all “AstNode” that are bindings
- References
Extensions - Extension method to allow any node that is a declaration to easily get all of its references.
- Semantic
Scope Extensions - Extension method to allow AstNode to easily get its Scope.
Functions§
- is_
constant - semantic_
events - Extracts SemanticEvent from [SyntaxNode].
- semantic_
model - Build the complete SemanticModel of a parsed file. For a push based model to build the SemanticModel, see SemanticModelBuilder.