package parser

import "github.com/hashicorp/hcl/json/parser"

Index

Functions

func Parse

func Parse(src []byte) (*ast.File, error)

Parse returns the fully parsed source and returns the abstract syntax tree.

Types

type Parser

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

func (*Parser) Parse

func (p *Parser) Parse() (*ast.File, error)

Parse returns the fully parsed source and returns the abstract syntax tree.

Source Files

flatten.go parser.go

Version
v1.0.1-vault-6
Published
Oct 30, 2024
Platform
darwin/amd64
Imports
6 packages
Last checked
3 hours ago

Tools for package owners.