class AdLint::Cc1::Prepare1Phase

Public Class Methods

new(phase_ctxt) click to toggle source
Calls superclass method AdLint::Cc1::CPhase::new
# File lib/adlint/cc1/phase.rb, line 50
def initialize(phase_ctxt)
  super(phase_ctxt, "pr3")
end

Private Instance Methods

do_execute(phase_ctxt, *) click to toggle source
# File lib/adlint/cc1/phase.rb, line 55
def do_execute(phase_ctxt, *)
  phase_ctxt[:cc1_ast_traversal] = SyntaxTreeMulticastVisitor.new
  phase_ctxt[:cc1_parser]  = Parser.new(phase_ctxt)
end