Class: AdLint::Cpp::LexerState
- Inherits:
-
Object
- Object
- AdLint::Cpp::LexerState
- Defined in:
- lib/adlint/cpp/lexer.rb
Direct Known Subclasses
InDefineDirective, InElseDirective, InIfDirective, InIfdefDirective, InIncludeDirective, Initial
Instance Method Summary collapse
-
#initialize(lexer) ⇒ LexerState
constructor
A new instance of LexerState.
- #next_token ⇒ Object
Constructor Details
#initialize(lexer) ⇒ LexerState
Returns a new instance of LexerState.
213 214 215 |
# File 'lib/adlint/cpp/lexer.rb', line 213 def initialize(lexer) @lexer = lexer end |
Instance Method Details
#next_token ⇒ Object
217 218 219 |
# File 'lib/adlint/cpp/lexer.rb', line 217 def next_token subclass_responsibility end |