Class: Kanocc::AnonymousNonterminal

Inherits:
Nonterminal show all
Defined in:
lib/kanocc/nonterminal.rb

Constant Summary

Constants inherited from Nonterminal

Nonterminal::Left, Nonterminal::Right

Instance Attribute Summary collapse

Method Summary

Methods inherited from Nonterminal

add_rule, derives_right, generate_method_name, #inspect, is_a_grammarsymbol?, is_a_kanocc_grammarsymbol?, new_list_class, om, precedence, rule, rules, show_all_rules, show_method_names, show_rules, zm, zo

Instance Attribute Details

#elementsObject (readonly)

Returns the value of attribute elements.



167
168
169
# File 'lib/kanocc/nonterminal.rb', line 167

def elements
  @elements
end