class PseudoHiki::BlockParser::ListTypeLeaf

Constants

WRAPPER

Public Instance Methods

push_self(stack) click to toggle source
# File lib/pseudohiki/blockparser.rb, line 259
def push_self(stack)
  push_block(stack) unless under_appropriate_block?(stack)
  stack.push WRAPPER[self.class].new
  BlockParser.assign_node_id(self[0], stack.current_node)
  stack.push_as_leaf self
end