Module: Treetop::Compiler::Metagrammar::Primary3
- Defined in:
- lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
- #compile(address, builder, parent_expression = nil) ⇒ Object
- #inline_module_name ⇒ Object
- #inline_modules ⇒ Object
- #node_class_name ⇒ Object
- #optional_expression ⇒ Object
Instance Method Details
#compile(address, builder, parent_expression = nil) ⇒ Object
979 980 981 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 979 def compile(address, builder, parent_expression=nil) suffix.compile(address, builder, self) end |
#inline_module_name ⇒ Object
995 996 997 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 995 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
991 992 993 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 991 def inline_modules atomic.inline_modules + node_class_declarations.inline_modules end |
#node_class_name ⇒ Object
987 988 989 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 987 def node_class_name node_class_declarations.node_class_name end |
#optional_expression ⇒ Object
983 984 985 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 983 def optional_expression atomic end |