Class: AdLint::Cpp::UserIncludeLine
- Inherits:
-
IncludeLine
- Object
- SyntaxNode
- GroupPart
- ControlLine
- IncludeLine
- AdLint::Cpp::UserIncludeLine
- Defined in:
- lib/adlint/cpp/syntax.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from IncludeLine
#fpath, #header_name, #include_depth
Attributes inherited from ControlLine
Instance Method Summary collapse
-
#initialize(keyword, usr_header_name, include_depth) ⇒ UserIncludeLine
constructor
A new instance of UserIncludeLine.
- #inspect(indent = 0) ⇒ Object
Methods inherited from ControlLine
Methods inherited from SyntaxNode
Methods included from LocationHolder
Methods included from Visitable
Constructor Details
#initialize(keyword, usr_header_name, include_depth) ⇒ UserIncludeLine
Returns a new instance of UserIncludeLine.
329 330 331 |
# File 'lib/adlint/cpp/syntax.rb', line 329 def initialize(keyword, usr_header_name, include_depth) super(keyword, usr_header_name, include_depth) end |
Instance Method Details
#inspect(indent = 0) ⇒ Object
333 334 335 |
# File 'lib/adlint/cpp/syntax.rb', line 333 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{header_name.inspect})" end |