summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/misc/oktavia/src/csvparser.jsx
blob: 64ed6ac85cb846c342a3c5ccd2d75b5c7ae79e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import "oktavia.jsx";
import "stemmer/stemmer.jsx";


class CSVParser
{
    var oktavia : Oktavia;
    var root : string;
    var stemmer : Nullable.<Stemmer>;

    function constructor (root : string, stemmer : Stemmer)
    {
        this.oktavia = new Oktavia();
        this.root = root;
        this.stemmer = stemmer;
    }

    function parse (filepath : string) : void
    {
        log (filepath);
    }
}