This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy at the same URL with .md appended. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

LanguageDeclarationConfigDefaults Pennington.TreeSitter.Resolution

Built-in LanguageDeclarationConfig definitions seeded into TreeSitterOptions.

Methods

CreateDefaults

#
public static Dictionary<string, LanguageDeclarationConfig> CreateDefaults()

Creates the default fence-language to declaration-config map, keyed case-insensitively and including common aliases (e.g. cs, py, ts, rs).

Returns

Dictionary<string, LanguageDeclarationConfig>

Pennington.TreeSitter.Resolution.LanguageDeclarationConfigDefaults

namespace Pennington.TreeSitter.Resolution;

/// Built-in LanguageDeclarationConfig definitions seeded into TreeSitterOptions.
public class LanguageDeclarationConfigDefaults
{
    /// Creates the default fence-language to declaration-config map, keyed case-insensitively and including common aliases (e.g. cs, py, ts, rs).
    
public static Dictionary<string, LanguageDeclarationConfig> CreateDefaults()
; }