Class: AdLint::Cpp::StringToPPTokensLexer
- Inherits:
-
StringLexer
- Object
- StringLexer
- AdLint::Cpp::StringToPPTokensLexer
- Defined in:
- lib/adlint/cpp/lexer.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(str, tab_width = 8) ⇒ StringToPPTokensLexer
constructor
A new instance of StringToPPTokensLexer.
Methods inherited from StringLexer
Constructor Details
#initialize(str, tab_width = 8) ⇒ StringToPPTokensLexer
Returns a new instance of StringToPPTokensLexer.
775 776 777 778 |
# File 'lib/adlint/cpp/lexer.rb', line 775 def initialize(str, tab_width = 8) super(str) @tab_width = tab_width end |