Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLanguage ¶
----------------------------------------------------------------------------- GetLanguage - Returns the language configuration for the specified language. -----------------------------------------------------------------------------
Parameters:
- language (string): The name of the programming language.
Returns:
- (*sitter.Language): The language configuration object or nil if unsupported.
-----------------------------------------------------------------------------
func ParseContent ¶
----------------------------------------------------------------------------- ParseContent - Parses the given content based on the specified programming language. -----------------------------------------------------------------------------
Parameters:
- content ([]byte): The content to be parsed.
- language (string): The programming language of the content.
Returns:
- (*sitter.Tree): The parsed syntax tree of the content.
-----------------------------------------------------------------------------
Types ¶
This section is empty.