in src/langs/common/combinator.js [61:76]
resolveNotes(nodes) {
let notes = {};
nodes.filter(node => node instanceof PropItem).map(prop => {
if (prop.notes.length > 0) {
prop.notes.forEach(note => {
note.belong = prop.index;
note.prop = prop.name;
if (typeof notes[note.key] === 'undefined') {
notes[note.key] = [];
}
notes[note.key].push(note);
});
}
});
return notes;
}