Class | Parslet::Transform::Context |
In: |
lib/parslet/transform/context.rb
|
Parent: | BlankSlate |
Provides a context for tree transformations to run in. The context allows accessing each of the bindings in the bindings hash as local method.
Example:
ctx = Context.new(:a => :b) ctx.instance_eval do a # => :b end