Class: Metanorma::Standoc::Block::SourcecodeMarkup

Inherits:
Struct
  • Object
show all
Defined in:
lib/metanorma/cleanup/block.rb

Overview

State threaded through … }} sourcecode-markup processing. open: inside a span; inline: that span opened in the current text node (so its content is convertible, not merely delimiter-stripped); buf: the open span’s content so far; out: the rebuilt node content.

Instance Attribute Summary collapse

Instance Attribute Details

#bufObject

Returns the value of attribute buf

Returns:

  • (Object)

    the current value of buf



173
174
175
# File 'lib/metanorma/cleanup/block.rb', line 173

def buf
  @buf
end

#inlineObject

Returns the value of attribute inline

Returns:

  • (Object)

    the current value of inline



173
174
175
# File 'lib/metanorma/cleanup/block.rb', line 173

def inline
  @inline
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



173
174
175
# File 'lib/metanorma/cleanup/block.rb', line 173

def node
  @node
end

#openObject

Returns the value of attribute open

Returns:

  • (Object)

    the current value of open



173
174
175
# File 'lib/metanorma/cleanup/block.rb', line 173

def open
  @open
end

#outObject

Returns the value of attribute out

Returns:

  • (Object)

    the current value of out



173
174
175
# File 'lib/metanorma/cleanup/block.rb', line 173

def out
  @out
end