Class: AdLint::Language::C

Inherits:
Object
  • Object
show all
Extended by:
Cc1::Scanner
Includes:
Cc1::ScannerConstants
Defined in:
lib/adlint/lang.rb

Constant Summary

Constants included from Cc1::ScannerConstants

Cc1::ScannerConstants::KEYWORDS, Cc1::ScannerConstants::KEYWORD_VALUES, Cc1::ScannerConstants::PUNCTUATORS

Class Method Summary collapse

Methods included from Cc1::Scanner

scan_char_constant, scan_floating_constant, scan_identifier, scan_integer_constant, scan_keyword, scan_null_constant, scan_punctuator, scan_string_literal

Class Method Details

.check_phasesObject



87
88
89
90
91
92
93
94
95
# File 'lib/adlint/lang.rb', line 87

def check_phases
  [
    ::AdLint::Cpp::Prepare1Phase,
    ::AdLint::Cpp::EvalPhase,
    ::AdLint::Cpp::SubstPhase,
    ::AdLint::Cc1::Prepare1Phase,
    ::AdLint::Cc1::ParsePhase
  ].freeze
end

.single_module_phasesObject



69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/adlint/lang.rb', line 69

def single_module_phases
  [
    ::AdLint::Cpp::Prepare1Phase,
    ::AdLint::Cpp::Prepare2Phase,
    ::AdLint::Cpp::EvalPhase,
    ::AdLint::Cpp::SubstPhase,
    ::AdLint::Cc1::Prepare1Phase,
    ::AdLint::Cc1::ParsePhase,
    ::AdLint::Cc1::ResolvePhase,
    ::AdLint::Cc1::Prepare2Phase,
    ::AdLint::Cc1::InterpPhase,
    ::AdLint::Cpp::ReviewPhase,
    ::AdLint::Cc1::ReviewPhase,
    ::AdLint::Cpp::ExaminationPhase,
    ::AdLint::Cc1::ExaminationPhase
  ].freeze
end