aboutsummaryrefslogtreecommitdiff
path: root/test/opml-reader.native
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2018-01-06 23:25:08 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2018-01-06 23:25:08 +0100
commitb70079fbfa73dff4a3d94de1aa3d8b804fc9520b (patch)
treeca0fbdf2083f670c673ea2c42eea700fb14716d3 /test/opml-reader.native
parenta2e327f0db6be6999d575a3562007202b72153cf (diff)
downloadpandoc-b70079fbfa73dff4a3d94de1aa3d8b804fc9520b.tar.gz
data/pandoc.lua: split type and behavior tables
Clearly distinguish between a type and the behavioral properties of an instance of that type. The behavior of a type (and all its subtypes) can now be amended by adding methods to that types `behavior` object, without exposing the type objects internals. E.g.: pandoc.Inline.behavior.frob = function () print'42' end local str = pandoc.Str'hello' str.frob() -- outputs '42'
Diffstat (limited to 'test/opml-reader.native')
0 files changed, 0 insertions, 0 deletions