Crate codeprism_lang_js

Source
Expand description

JavaScript/TypeScript language support for codeprism

Structs§

Edge
An edge between nodes
JavaScriptLanguageParser
Adapter that implements codeprism’s LanguageParser trait
JavaScriptParser
JavaScript/TypeScript parser
Node
A node in the Universal AST
NodeId
Unique identifier for AST nodes
ParseContext
Parse context for JavaScript/TypeScript files
ParseResult
Parse result containing nodes and edges
Span
Source code location

Enums§

EdgeKind
Types of edges between nodes
Error
JavaScript/TypeScript parser error type
Language
Programming language
NodeKind
Types of nodes in the Universal AST

Traits§

ParseResultConverter

Functions§

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