Beispiel #1
0
        private CsvNode ParseSTRING()
        {
            CsvNode node = new CsvNode(CsvNodeType.STRING, this._token.Value);

            this._token = this._tokenizer.Tokenize(this._reader);
            return(node);
        }
Beispiel #2
0
        private CsvNode ParseNEWLINE()
        {
            CsvNode node = new CsvNode(CsvNodeType.NEWLINE, this._token.Value);

            this._token = this._tokenizer.Tokenize(this._reader);
            return(node);
        }
Beispiel #3
0
        private CsvNode ParseINTEGER()
        {
            CsvNode node = new CsvNode(CsvNodeType.INTEGER, this._token.Value);

            this._token = this._tokenizer.Tokenize(this._reader);
            return(node);
        }
Beispiel #4
0
        private CsvNode ParseFLOAT()
        {
            CsvNode node = new CsvNode(CsvNodeType.FLOAT, this._token.Value);

            this._token = this._tokenizer.Tokenize(this._reader);
            return(node);
        }
Beispiel #5
0
        private CsvNode ParseBOOLEAN()
        {
            CsvNode node = new CsvNode(CsvNodeType.BOOLEAN, this._token.Value);

            this._token = this._tokenizer.Tokenize(this._reader);
            return(node);
        }
Beispiel #6
0
 public CsvParser(CsvTextReader reader)
 {
     this._reader = reader;
     this._token  = this._tokenizer.Tokenize(this._reader);
 }