class Paru::PandocFilter::EmptyInline

An EmptyInline node, has no content

Public Class Methods

new(_) click to toggle source

Create an EmptyInline node

Calls superclass method
# File lib/paru/filter/empty_inline.rb, line 27
def initialize _
    super []
end

Public Instance Methods

has_inline?() click to toggle source

Has this empty inline contents?

@return [Boolean] false

# File lib/paru/filter/empty_inline.rb, line 34
def has_inline?
    false
end
to_ast() click to toggle source

Create an AST representation of this EmptyInline

# File lib/paru/filter/empty_inline.rb, line 39
def to_ast
    {
        "t" => ast_type
    }
end