Method: Crokus::Parser#function_body
- Defined in:
- lib/crokus/parser.rb
#function_body ⇒ Object
242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'lib/crokus/parser.rb', line 242 def function_body indent "function_body" body=Body.new expect :lbrace while showNext.kind!=:rbrace s=statement() body << s if s end expect :rbrace dedent return body end |