class AdLint::Cpp::SubstPhase
Public Class Methods
new(phase_ctxt)
click to toggle source
Calls superclass method
AdLint::Cpp::CppPhase::new
# File lib/adlint/cpp/phase.rb, line 131 def initialize(phase_ctxt) super(phase_ctxt, "sub") end
Private Instance Methods
do_execute(phase_ctxt, *)
click to toggle source
# File lib/adlint/cpp/phase.rb, line 136 def do_execute(phase_ctxt, *) phase_ctxt[:cc1_source].substitute_code_blocks(traits) end