
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@67 cec141ff-132a-4243-88a5-ce187bd62f94
16 lines
342 B
Go
16 lines
342 B
Go
package gcss
|
|
|
|
// context represents a context of the parsing process.
|
|
type context struct {
|
|
vars map[string]*variable
|
|
mixins map[string]*mixinDeclaration
|
|
}
|
|
|
|
// newContext creates and returns a context.
|
|
func newContext() *context {
|
|
return &context{
|
|
vars: make(map[string]*variable),
|
|
mixins: make(map[string]*mixinDeclaration),
|
|
}
|
|
}
|