1.1 --- a/moinformat/tree/moin.py Thu Aug 16 17:51:57 2018 +0200
1.2 +++ b/moinformat/tree/moin.py Wed Sep 26 23:34:05 2018 +0200
1.3 @@ -806,4 +806,20 @@
1.4 def to_string(self, out):
1.5 out.text(self.s)
1.6
1.7 +class Verbatim(Node):
1.8 +
1.9 + "Verbatim text."
1.10 +
1.11 + def __init__(self, text):
1.12 + self.text = text
1.13 +
1.14 + def __repr__(self):
1.15 + return "Verbatim(%r)" % self.text
1.16 +
1.17 + def prettyprint(self, indent=""):
1.18 + return "%sVerbatim: text=%r" % (indent, self.text)
1.19 +
1.20 + def to_string(self, out):
1.21 + out.verbatim(self.text)
1.22 +
1.23 # vim: tabstop=4 expandtab shiftwidth=4