...

Package parser

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

Overview ▾

func Parse

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

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

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.