javascript

package
v0.0.0-...-938b0e3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JavaScriptParser

type JavaScriptParser struct{}

JavaScriptParser extracts knowledge graph nodes and edges from JavaScript source files.

func NewParser

func NewParser() *JavaScriptParser

NewParser creates a new JavaScript parser.

func (*JavaScriptParser) Extensions

func (p *JavaScriptParser) Extensions() []string

func (*JavaScriptParser) Language

func (p *JavaScriptParser) Language() parser.Language

func (*JavaScriptParser) ParseFile

func (p *JavaScriptParser) ParseFile(filePath string, content []byte) (*parser.ParseResult, error)

Jump to

Keyboard shortcuts

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