Documentation
¶
Overview ¶
Package systems implements lightweight regex-based parsers for systems languages: Rust and C#. No tree-sitter dependency — pure Go regex extraction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
Dependency represents a use/extern/import statement.
type Entity ¶
type Entity struct {
Name string
Type string
Kind string
Signature string
StartLine int
EndLine int
Parent string
}
Entity represents a named code element.
type ParseResult ¶
type ParseResult struct {
FilePath string
Entities []*Entity
Dependencies []*Dependency
}
ParseResult is the output of a systems language parse.
func ParseCSharp ¶
func ParseCSharp(filePath string, content string) *ParseResult
ParseCSharp extracts classes, interfaces, structs, enums, records, methods, properties, and using statements.
func ParseRust ¶
func ParseRust(filePath string, content string) *ParseResult
ParseRust extracts structs, enums, traits, impls, fns, mods, and use statements.
Click to show internal directories.
Click to hide internal directories.