Back to godoc.org

Package parser

v0.0.0-...-33d7af3
Latest Go to latest

The highest tagged major version is .

Published: Dec 15, 2017 | License: MPL-2.0 | Module: github.com/carlsverre/hcl

Index

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier