Crate rome_js_semantic
source ·Structs
- Provides access to all semantic data of a specific binding.
- Provides all information regarding a specific closure capture.
- Iterate all immediate children closures of a specific closure
- Provides all information regarding a specific closure.
- Iterate all descendents closures of a specific closure
- Provides all information regarding a specific function or method call.
- Provides all information regarding to a specific reference.
- Provides all information regarding a specific scope. Allows navigation to parent and children scope and binding information.
- Iterate all bindings that were bound in a given scope. It does not Returns bindings of parent scopes.
- Iterate all descendents scopes of the specified scope in breadth-first order.
- Extracts SemanticEvent from [SyntaxNode].
- The façade for all semantic information.
- Builds the SemanticModel consuming SemanticEvent and [SyntaxNode]. For a good example on how to use it see semantic_model.
- Extra options for the SemanticModel creation.
Enums
- All nodes that have an associated closure and can be used by the SemanticModel.
- Events emitted by the SemanticEventExtractor. These events are later made into the Semantic Model.
Traits
- Extension method to allow nodes that have declaration to easily get its binding.
- Marker trait that groups all “AstNode” that can be imported or exported
- Marker trait that groups all “AstNode” that have closure
- Marker trait that groups all “AstNode” that have declarations
- Marker trait that groups all “AstNode” that are bindings
- Extension method to allow any node that is a declaration to easily get all of its references.
Functions
- Extracts SemanticEvent from [SyntaxNode].
- Build the complete SemanticModel of a parsed file. For a push based model to build the SemanticModel, see SemanticModelBuilder.