struct CSV::Token

Overview

A token in a CSV. It consists of a Kind and a value. The value only makes sense when the kind is Cell.

Defined in:

csv/token.cr

Instance Method Summary

Instance Method Detail

def kind : KindSource

The Kind.

def kind=(kind : Kind)Source

The Kind.

def value : StringSource

The string value. Only makes sense for a Cell.

def value=(value : String)Source

The string value. Only makes sense for a Cell.

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/CSV/Token.html