Sha256: ca9bf715f974ba9e157d1dae6c146a7d7bad36f2affdf23e03cd02d45887de2c
Contents?: true
Size: 874 Bytes
Versions: 36
Compression:
Stored size: 874 Bytes
Contents
module OrigenTesters module Decompiler class Pattern class Base attr_reader :context alias_method :decompiled_pattern, :context attr_reader :node alias_method :processor, :node def initialize(node:, context:, **options) @context = context @node = node end def [](node) node.find(node) end def platform_nodes node.platform_nodes end def method_missing(m, *args, &block) if platform_nodes.include?(m) || node.respond_to?(m) node.send(m) else super end end def execute! if node.execute? node.execute!(self) end end def pinlist decompiled_pattern.pinlist.pinlist end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems