javascript

package
v0.0.0-...-396e674 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser implements a tree-sitter based JavaScript/TypeScript parser.

func NewJS

func NewJS() *Parser

func NewTS

func NewTS() *Parser

func (*Parser) Languages

func (p *Parser) Languages() []string

func (*Parser) Parse

func (p *Parser) Parse(input parser.FileInput) (*parser.ParseResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL