Allow serialisation of SCDocNode trees to Emacs Lisp
This commit is contained in:
parent
857fcf763c
commit
6c74020a10
1 changed files with 15 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue