From d94e8e9409da73cf776c0febea4fd85ca7ac0367 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Sun, 25 Oct 2015 18:14:16 +0300 Subject: [PATCH] hcl: add package comments --- ast/ast.go | 2 ++ parser/parser.go | 2 ++ printer/printer.go | 1 + token/token.go | 2 ++ 4 files changed, 7 insertions(+) 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 (