Class: AdLint::Cc1::ErrorStatement
- Inherits:
-
Statement
- Object
- SyntaxNode
- Statement
- AdLint::Cc1::ErrorStatement
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary
Attributes inherited from Statement
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
-
#initialize(err_tok) ⇒ ErrorStatement
constructor
A new instance of ErrorStatement.
- #inspect(indent = 0) ⇒ Object
- #location ⇒ Object
Methods inherited from Statement
Methods inherited from SyntaxNode
#head_location, #short_class_name, #tail_location
Methods included from LocationHolder
Methods included from Visitable
Constructor Details
#initialize(err_tok) ⇒ ErrorStatement
Returns a new instance of ErrorStatement.
3391 3392 3393 3394 |
# File 'lib/adlint/cc1/syntax.rb', line 3391 def initialize(err_tok) super() @error_token = err_tok end |