Class: SexpInterpreter
- Inherits:
-
SexpProcessor
- Object
- SexpProcessor
- SexpInterpreter
- Defined in:
- lib/sexp_processor.rb
Overview
A simple subclass of SexpProcessor that defines a pattern I commonly use: non-mutative and strict process that return assorted values; AKA, an interpreter.
Constant Summary
Constants inherited from SexpProcessor
Instance Attribute Summary
Attributes inherited from SexpProcessor
#auto_shift_type, #context, #debug, #default_method, #env, #expected, #require_empty, #strict, #unsupported, #warn_on_default
Instance Method Summary collapse
-
#initialize ⇒ SexpInterpreter
constructor
A new instance of SexpInterpreter.
Methods inherited from SexpProcessor
#assert_empty, #assert_type, #error_handler, expand_dirs_to_files, #in_context, #on_error_in, #process, #process_dummy, processors, #rewrite, rewriters, #scope
Constructor Details
#initialize ⇒ SexpInterpreter
Returns a new instance of SexpInterpreter.
431 432 433 434 435 436 437 |
# File 'lib/sexp_processor.rb', line 431 def initialize super self.expected = Object self.require_empty = false self.strict = true end |