module lang::csv::ast::CSV
rascal-0.40.16
Usage
import lang::csv::ast::CSV;
Dependencies
import String;
data Table
data Table (loc src=|unknown:///|)
= table(list[Record] records)
;
data Record
data Record (loc src=|unknown:///|)
= record(list[Field] fields)
;
data Field
data Field (loc src=|unknown:///|)
= unquoted(str text)
| quoted(str text)
;
function unquote
Table unquote(Table tbl)