Documentation ¶
Index ¶
Constants ¶
View Source
const BOOL = 57346
View Source
const COMMA = 57349
View Source
const COMMAEND = 57350
View Source
const EMINUS = 57362
View Source
const EPLUS = 57361
View Source
const EQUAL = 57352
View Source
const FLOAT = 57347
View Source
const IDENTIFIER = 57351
View Source
const LEFTBRACE = 57356
View Source
const LEFTBRACKET = 57358
View Source
const MINUS = 57355
View Source
const NEWLINE = 57353
View Source
const NUMBER = 57348
View Source
const PERIOD = 57360
View Source
const RIGHTBRACE = 57357
View Source
const RIGHTBRACKET = 57359
View Source
const STRING = 57354
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
Object represents any element of HCL: an object itself, a list, a literal, etc.
func (*Object) Get ¶
Get gets all the objects that match the given key.
It returns the resulting objects as a single Object structure with the linked list populated.
type ObjectList ¶
type ObjectList []*Object
ObjectList is a list of objects.
func (ObjectList) Flat ¶
func (l ObjectList) Flat() []*Object
Flat returns a flattened list structure of the objects.
Click to show internal directories.
Click to hide internal directories.