Documentation
¶
Overview ¶
Package parser provides in-memory Tree-sitter parsing for the merge pipeline. It is a thin wrapper around astkit's parser engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectLanguage ¶
func DetectLanguage(path, content string) core.LanguageKey
DetectLanguage returns the language key for path.
func IsAST ¶
func IsAST(lang core.LanguageKey) bool
IsAST reports whether the language is parsed via tree-sitter.
func IsConfig ¶
func IsConfig(lang core.LanguageKey) bool
IsConfig reports whether the language is a config/data format handled by the deep-merge strategy.
func Supported ¶
func Supported(lang core.LanguageKey) bool
Supported reports whether Fuse can merge files of this language at all.
Types ¶
Click to show internal directories.
Click to hide internal directories.