OSDN Git Service

packages.configを使用しない形に変更した
[fooeditengine/FooEditEngine.git] / Core / IFoldingStrategy.cs
1 /*
2  * Copyright (C) 2013 FooProject
3  * * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
5
6  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 
7  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
8
9 You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
10  */
11 using System;
12 using System.Collections.Generic;
13
14 namespace FooEditEngine
15 {
16     /// <summary>
17     /// フォールティング作成の方法を表す
18     /// </summary>
19     public interface IFoldingStrategy
20     {
21         /// <summary>
22         /// ドキュメントを解析する
23         /// </summary>
24         /// <param name="doc">ドキュメント</param>
25         /// <param name="start">開始インデックス</param>
26         /// <param name="end">終了インデックス</param>
27         /// <returns>作成したフォールディングを表すイテレーター</returns>
28         IEnumerable<FoldingItem> AnalyzeDocument(Document doc,int start,int end);
29     }
30 }