Sha256: e8ffd0467cf00a6520a194c4a03b52934e8be03d57a02521459f6928fe89f838
Contents?: true
Size: 482 Bytes
Versions: 8
Compression:
Stored size: 482 Bytes
Contents
module OrigenVerilog module Preprocessor class Node < OrigenVerilog::Node def process(file = nil, env = {}) file, env = nil, file if file.is_a?(Hash) ast = Processor.new.run(self, env) if file Writer.new.run(file, ast) else ast end end def to_s Writer.new.to_s(self) end def parse_verilog(options = {}) VerilogParser.new.run(self, options) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems