mirror of
https://github.com/strongdm/comply
synced 2024-08-27 09:46:47 +00:00
18 lines
324 B
Go
18 lines
324 B
Go
|
package ace
|
||
|
|
||
|
// source represents source for the parsing process.
|
||
|
type source struct {
|
||
|
base *File
|
||
|
inner *File
|
||
|
includes []*File
|
||
|
}
|
||
|
|
||
|
// NewSource creates and returns source.
|
||
|
func NewSource(base, inner *File, includes []*File) *source {
|
||
|
return &source{
|
||
|
base: base,
|
||
|
inner: inner,
|
||
|
includes: includes,
|
||
|
}
|
||
|
}
|