mirror of
https://github.com/strongdm/comply
synced 2024-11-05 15:35:25 +00:00
18 lines
375 B
Go
18 lines
375 B
Go
|
package ace
|
||
|
|
||
|
// result represents a result of the parsing process.
|
||
|
type result struct {
|
||
|
base []element
|
||
|
inner []element
|
||
|
includes map[string][]element
|
||
|
}
|
||
|
|
||
|
// newResult creates and returns a result.
|
||
|
func newResult(base []element, inner []element, includes map[string][]element) *result {
|
||
|
return &result{
|
||
|
base: base,
|
||
|
inner: inner,
|
||
|
includes: includes,
|
||
|
}
|
||
|
}
|