(name string)
| 79 | } |
| 80 | |
| 81 | func (r *RootElem) GetAtom(name string) *Atom { |
| 82 | atom, ok := r.Atoms[name] |
| 83 | if !ok { |
| 84 | atom = &Atom{UsedBy: make(map[string]bool)} |
| 85 | r.Atoms[name] = atom |
| 86 | } |
| 87 | return atom |
| 88 | } |
| 89 | |
| 90 | func (r *RootElem) GetAtomVal(name string) any { |
| 91 | atom := r.GetAtom(name) |
no outgoing calls
no test coverage detected