Allow serialisation of SCDocNode trees to Emacs Lisp

This commit is contained in:
Mario Lang 2019-12-15 08:02:03 +01:00
parent 857fcf763c
commit 6c74020a10

View file

@ -116,4 +116,18 @@
} }
} }
// EOF + SCDocNode {
storeLispOn { arg stream;
stream.put($();
id.storeLispOn(stream);
stream.space;
text.storeLispOn(stream);
children.do {|child|
stream.space;
child.storeLispOn(stream);
};
stream.put($));
}
}
// EOF