public void init(FoldOperation operation) {
this.operation = operation;
}
public void initFolds(FoldHierarchyTransaction transaction) {
FoldHierarchy hierarchy = operation.getHierarchy();
Document document = hierarchy.getComponent().getDocument();
TokenHierarchy<Document> hi = TokenHierarchy.get(document);
TokenSequence<CompilerTokenId> ts = (TokenSequence<CompilerTokenId>) hi.tokenSequence();
int actionStack = 0;
CompilerTokenId actionStart = null;