Crate codeprism_lang_python

Source
Expand description

Python language support for codeprism

Structs§

Edge
An edge between nodes
Node
A node in the Universal AST
NodeId
Unique identifier for AST nodes
ParseContext
Parse context for Python files
ParseResult
Parse result containing nodes and edges
PythonAnalyzer
Python-specific analyzer
PythonLanguageParser
Adapter that implements codeprism’s LanguageParser trait
PythonParser
Python parser
Span
Source code location

Enums§

EdgeKind
Types of edges between nodes
Error
Error type for Python parser
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 for Python parser