Class: CodeTools::Compiler::EvalParser

Inherits:
StringParser show all
Defined in:
lib/rubinius/code/compiler/stages.rb

Instance Attribute Summary

Attributes inherited from Parser

#transforms

Attributes inherited from Stage

#next_stage, #printer

Instance Method Summary collapse

Methods inherited from StringParser

#input, #parse

Methods inherited from Parser

#add_magic_comment, #create, #default_transforms, #enable_category, #enable_transform, #initialize, #print, #root, #run

Methods inherited from Stage

#create_next_stage, #initialize, #input, #insert, next_stage, next_stage_class, #processor, #run_next, stage, stage_name

Constructor Details

This class inherits a constructor from CodeTools::Compiler::Parser

Instance Method Details

#should_cache?Boolean

Returns:

  • (Boolean)


249
250
251
# File 'lib/rubinius/code/compiler/stages.rb', line 249

def should_cache?
  @output.should_cache?
end