Class: AdLint::Cpp::TextLineToPPTokensLexer
- Inherits:
-
StringToPPTokensLexer
- Object
- StringLexer
- StringToPPTokensLexer
- AdLint::Cpp::TextLineToPPTokensLexer
- Defined in:
- lib/adlint/cpp/lexer.rb
Instance Method Summary collapse
-
#initialize(text_line, tab_width) ⇒ TextLineToPPTokensLexer
constructor
A new instance of TextLineToPPTokensLexer.
Methods inherited from StringLexer
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 |