diff --git a/ast/ast.go b/ast/ast.go index 25b42da..ad5ad5a 100644 --- a/ast/ast.go +++ b/ast/ast.go @@ -1,3 +1,5 @@ +// Package ast declares the types used to represent syntax trees for HCL +// (HashiCorp Configuration Language) package ast import "github.com/fatih/hcl/token" diff --git a/parser/parser.go b/parser/parser.go index 9aec5a0..4146077 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -1,3 +1,5 @@ +// Package parser implements a parser for HCL (HashiCorp Configuration +// Language) package parser import ( diff --git a/printer/printer.go b/printer/printer.go index 5bedca0..a34d160 100644 --- a/printer/printer.go +++ b/printer/printer.go @@ -1,3 +1,4 @@ +// Package printer implements printing of AST nodes to HCL format. package printer import ( diff --git a/token/token.go b/token/token.go index 7c51f69..3b7581a 100644 --- a/token/token.go +++ b/token/token.go @@ -1,3 +1,5 @@ +// Package token defines constants representing the lexical tokens for HCL +// (HashiCorp Configuration Language) package token import (