Module: Rattler::BackEnd::ParserGenerator::TopLevel

Instance Method Summary collapse

Instance Method Details

#expr(type = :inline) ⇒ Object

:nodoc:



7
8
9
# File 'lib/rattler/back_end/parser_generator/top_level.rb', line 7

def expr(type=:inline)
  yield
end

#nested?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/rattler/back_end/parser_generator/top_level.rb', line 11

def nested?
  false
end