Crate codeprism_lang_js

Source
Expand description

JavaScript/TypeScript language support for codeprism

Structs§

ContextInfo
Context usage information
DatabasePatternInfo
Database pattern information
Edge
An edge between nodes
FrameworkInfo
Framework analysis information
HookInfo
React hook information
JavaScriptAnalyzer
JavaScript/TypeScript-specific analyzer
JavaScriptLanguageParser
Adapter that implements codeprism’s LanguageParser trait
JavaScriptParser
JavaScript/TypeScript parser
ModernJsFeatureInfo
Modern JavaScript feature information
Node
A node in the Universal AST
NodeId
Unique identifier for AST nodes
NodeJsPatternInfo
Node.js pattern information
ParseContext
Parse context for JavaScript/TypeScript files
ParseResult
Parse result containing nodes and edges
PropsInfo
Props analysis information
ReactComponentInfo
React component information
RouteInfo
Route information
Span
Source code location
StateManagementInfo
State management information

Enums§

ComponentType
Component type classification
EdgeKind
Types of edges between nodes
Error
JavaScript/TypeScript parser error type
Language
Programming language
ModernFeatureType
Modern JavaScript feature types
NodeKind
Types of nodes in the Universal AST
NodePatternType
Node.js pattern types

Traits§

ParseResultConverter

Functions§

create_analyzer
create_parser
parse_file
Parse a file and return the result in our internal types

Type Aliases§

Result
Result type alias for JavaScript parser operations