Revision: | 1.1 |
Committed: | Mon Sep 30 00:42:06 2024 UTC (6 weeks, 4 days ago) by yakumo_izuru |
Branch: | MAIN |
CVS Tags: | HEAD |
Log Message: | Mirrored from https://git.chaotic.ninja/git/yakumo_izuru/aya |
# | Content |
---|---|
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 | } |