@@ -127,12 +127,6 @@ function Element:create_constructor(tag, fn, accessors)
127127 return constr
128128end
129129
130−--- Calls the constructor, creating a new element.
131−-- @local
132−function Element.__call(t, ...)
133− return t:new(...)
134−end
135−
136130------------------------------------------------------------------------
137131--- Pandoc Document
138132-- @section document
@@ -229,6 +223,7 @@ end
229223-- @section Block
230224
231225--- Block elements
226+-- @type Block
232227M.Block = Element:make_subtype{}
233228M.Block.__call = function (t, ...)
234229 return t:new(...)
@@ -403,6 +398,7 @@ M.Table = M.Block:create_constructor(
403398-- @section Inline
404399
405400--- Inline element class
401+-- @type Inline
406402M.Inline = Element:make_subtype{}
407403M.Inline.__call = function (t, ...)
408404 return t:new(...)