Mercurial > yakumo_izuru > aya
comparison vendor/github.com/yosssi/gcss/context.go @ 66:787b5ee0289d draft
Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Sun, 23 Jul 2023 13:18:53 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
65:6d985efa0f7a | 66:787b5ee0289d |
---|---|
1 package gcss | |
2 | |
3 // context represents a context of the parsing process. | |
4 type context struct { | |
5 vars map[string]*variable | |
6 mixins map[string]*mixinDeclaration | |
7 } | |
8 | |
9 // newContext creates and returns a context. | |
10 func newContext() *context { | |
11 return &context{ | |
12 vars: make(map[string]*variable), | |
13 mixins: make(map[string]*mixinDeclaration), | |
14 } | |
15 } |