Class: Koara::Ast::LineBreak

Inherits:
Node
  • Object
show all
Defined in:
lib/koara/ast/linebreak.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #parent, #value

Instance Method Summary collapse

Methods inherited from Node

#add, #children_accept

Instance Attribute Details

#explicitObject

Returns the value of attribute explicit.



7
8
9
# File 'lib/koara/ast/linebreak.rb', line 7

def explicit
  @explicit
end

Instance Method Details

#accept(renderer) ⇒ Object



9
10
11
# File 'lib/koara/ast/linebreak.rb', line 9

def accept(renderer)
  renderer.visit_linebreak(self)
end