class Dataframe::CSVLexer

Defined in:

parser/csv_lexer.cr

Constant Summary

DEFAULT_QUOTE_CHAR = '"'
DEFAULT_SEPARATOR = ','

Constructors

Instance Method Summary

Constructor Detail

def self.new(string : String, separator : Char = DEFAULT_SEPARATOR, quote_char : Char = DEFAULT_QUOTE_CHAR) #

[View source]
def self.new(io : IO, separator : Char = DEFAULT_SEPARATOR, quote_char : Char = DEFAULT_QUOTE_CHAR) #

[View source]

Instance Method Detail

def next_token : CSVLexer::Token #

Returns the next Token in this CSV.


[View source]
def token : Token #

Returns the current Token.


[View source]