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
Published
Oct 15, 2020
Platform
js/wasm
Imports
6 packages
Last checked
3 hours ago

Tools for package owners.