class AdLint::Cc1::DeclarationSpecifiers
Attributes
function_specifier[RW]
storage_class_specifier[RW]
type_qualifiers[R]
type_specifiers[R]
Public Class Methods
new()
click to toggle source
Calls superclass method
AdLint::Cc1::SyntaxNode::new
# File lib/adlint/cc1/syntax.rb, line 2664 def initialize super @storage_class_specifier = nil @function_specifier = nil @type_qualifiers = [] @type_specifiers = [] end
Public Instance Methods
explicitly_typed?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2681 def explicitly_typed? !implicitly_typed? end
implicitly_typed?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2685 def implicitly_typed? @type_specifiers.empty? end
inspect(indent = 0)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2689 def inspect(indent = 0) " " * indent + short_class_name end
location()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 2677 def location head_location end