mirror of
https://github.com/strongdm/comply
synced 2024-11-14 11:54:53 +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,
|
||
|
}
|
||
|
}
|