()
| 70 | } |
| 71 | |
| 72 | func MakeRoot() *RootElem { |
| 73 | return &RootElem{ |
| 74 | Root: nil, |
| 75 | CFuncs: make(map[string]any), |
| 76 | CompMap: make(map[string]*ComponentImpl), |
| 77 | Atoms: make(map[string]*Atom), |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | func (r *RootElem) GetAtom(name string) *Atom { |
| 82 | atom, ok := r.Atoms[name] |
no outgoing calls