comment

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	// contains filtered or unexported fields
}

func (Comment) IsEmpty

func (c Comment) IsEmpty() bool

func (Comment) Line

func (c Comment) Line() int

func (Comment) Value

func (c Comment) Value() string

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser(src []byte, filename string) (*Parser, error)

func (*Parser) ParseCommentsForNode

func (p *Parser) ParseCommentsForNode(rg hcl.Range) (startComment, leadComment Comment)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL