diff --git a/grammar/tables.grammar b/grammar/tables.grammar
index cd5e681eb..fbafbb293 100644
--- a/grammar/tables.grammar
+++ b/grammar/tables.grammar
@@ -32,6 +32,7 @@ abstractTableParser
compile() {
return `
`
}
+
rowParser
catchAllCellType stringCell
javascript
@@ -53,6 +54,7 @@ rowParser
}
return str
}
+
tableParser
description A table with a custom delimiter.
extends abstractTableParser
@@ -61,18 +63,22 @@ tableParser
get delimiter() {
return this.content ?? ""
}
+
commaTableParser
description Comma separated values table.
extends abstractTableParser
string delimiter ,
+
pipeTableParser
description Pipe separated values table.
extends abstractTableParser
string delimiter |
+
spaceTableParser
description Space separated values table. Last column is a catch all.
extends abstractTableParser
string delimiter
+
tabTableParser
description Tab separated values table.
extends abstractTableParser
diff --git a/grammar/treeTable.grammar b/grammar/treeTable.grammar
index 3576766f8..eb672cea8 100644
--- a/grammar/treeTable.grammar
+++ b/grammar/treeTable.grammar
@@ -2,11 +2,13 @@ treeRowContentParser
description Any blob content in a cell.
cells stringCell
catchAllCellType stringCell
+
treeRowColumnParser
catchAllParser treeRowContentParser
description A columnName value pair, or just a columnName if the value is a text blob.
cells idCell
catchAllCellType stringCell
+
treeRowParser
cells idCell
description The root node of a row.
@@ -31,6 +33,7 @@ treeRowParser
})
return str
}
+
treeTableParser
description A table of data written in Tree Notation form. Useful when a column contains a text blob.
extends abstractTableParser