Slide 108
Slide 108 text
Plume::CreateTableStatement(
full_source = "create table users (id integer primary key autoincrement,
email string not null unique)",
create_kw = [:CREATE, 0, 6, :keyword],
table_kw = [:TABLE, 7, 12, :keyword],
columns_lp = [:LP, 19, 20, :punctuation],
columns_rp = [:RP, 93, 94, :punctuation],
table = Plume::TableName(
full_source = "...",
table_tk=[:ID, 13, 18, :identifier]
),
columns=[
Plume::ColumnDefinition(
full_source = "...",
trailing = [:COMMA, 59, 60, :punctuation],
name_tk = [:ID, 23, 25, :identifier],
type = Plume::ColumnType(
full_source = "...",
text_span = [[], 26, 33, :keyword]
),
constraints = [