Class: AdLint::Cpp::TextLineToPPTokensLexer

Inherits:
StringToPPTokensLexer show all
Defined in:
lib/adlint/cpp/lexer.rb

Instance Method Summary collapse

Methods inherited from StringLexer

#execute

Constructor Details

#initialize(text_line, tab_width) ⇒ TextLineToPPTokensLexer

Returns a new instance of TextLineToPPTokensLexer.



927
928
929
930
# File 'lib/adlint/cpp/lexer.rb', line 927

def initialize(text_line, tab_width)
  super(text_line.token.value, tab_width)
  @text_line = text_line
end