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
:nodoc:.
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
:nodoc:
467 468 469 470 471 472 473 |
# File 'lib/sexp_processor.rb', line 467 def initialize #:nodoc: super self.expected = Object self.require_empty = false self.strict = true end |