1.1 --- a/moinformat/tree.py Fri May 05 17:39:31 2017 +0200
1.2 +++ b/moinformat/tree.py Fri May 05 22:38:31 2017 +0200
1.3 @@ -296,6 +296,22 @@
1.4 self._to_string(out)
1.5 out.end_table_attrs()
1.6
1.7 +class Table(Container):
1.8 +
1.9 + "A table."
1.10 +
1.11 + def __repr__(self):
1.12 + return "Table(%r)" % self.nodes
1.13 +
1.14 + def prettyprint(self, indent=""):
1.15 + l = ["%sTable:" % indent]
1.16 + return self._prettyprint(l, indent)
1.17 +
1.18 + def to_string(self, out):
1.19 + out.start_table()
1.20 + self._to_string(out)
1.21 + out.end_table()
1.22 +
1.23 class TableCell(Container):
1.24
1.25 "A table cell."