class Shog::Yacc
Public Instance Methods
id()
click to toggle source
# File lib/rule/yacc.rb, line 5 def id :yacc end
rule()
click to toggle source
# File lib/rule/yacc.rb, line 9 def rule { "command" => "yacc -o $out $in", "description" => "Yacc $in", } end
target(params)
click to toggle source
# File lib/rule/yacc.rb, line 16 def target(params) input = PathSet.make(params[:input]) output = PathSet.make(Path.make(params[:output], :outoftree => true)) {:rule => "yacc", :input => input, :output => output, :variables => {}} end