Class: AdLint::Cpp::StringToPPTokensLexer

Inherits:
StringLexer
  • Object
show all
Defined in:
lib/adlint/cpp/lexer.rb

Direct Known Subclasses

TextLineToPPTokensLexer

Instance Method Summary collapse

Methods inherited from StringLexer

#execute

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