view src/main/csharp/jp.ac.u-ryukyu.ie.cr/jungle-main/JungleTreeEditor.cs @ 17:01a08cf4b2d9

Liq Files
author Kazuma
date Mon, 07 Nov 2016 01:05:24 +0900
parents abe0c247f5a5
children
line wrap: on
line source


public interface JungleTreeEditor {
	Either<Error,JungleTreeEditor> addNewChildAt(NodePath path,int pos);
	Either<Error,JungleTreeEditor> deleteChildAt(NodePath path,int pos);
	Either<Error,JungleTreeEditor> putAttribute(NodePath path,string key, byte[] value);
	Either<Error,JungleTreeEditor> deleteAttribute(NodePath path,string key);
	Either<Error, JungleTreeEditor> replaceNewRootNode();
	Either<Error,JungleTreeEditor> edit(NodePath path,NodeEditor editor);
	Either<Error,JungleTreeEditor> success();
	Either<Error,JungleTreeEditor> flushSuccess();

}