Class: Musa::GenerativeGrammar::Implementation::ProxyNode

Inherits:
Node
  • Object
show all
Defined in:
lib/musa-dsl/generative/generative-grammar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#[], #limit, #next, #options, #or, #repeat, #size, #to_serie

Instance Attribute Details

#nodeObject

Returns the value of attribute node.



136
137
138
# File 'lib/musa-dsl/generative/generative-grammar.rb', line 136

def node
  @node
end

Instance Method Details

#_options(parent: nil, &condition) ⇒ Object



138
139
140
# File 'lib/musa-dsl/generative/generative-grammar.rb', line 138

def _options(parent: nil, &condition)
  @node._options parent: parent, &condition
end