parser

package
v0.8.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFileASTJson

func ParseFileASTJson(filename string, src interface{}) (result string, err error)

ParseFileASTJson parses the source code from the specified file or Reader and returns the JSON representation of the Abstract Syntax Tree (AST). The source code can be provided directly as a string or []byte, or indirectly via a filename or an io.Reader. If src is nil, the function reads the content from the provided filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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