Class: AdLint::Cc1::Statement
- Inherits:
-
SyntaxNode
- Object
- SyntaxNode
- AdLint::Cc1::Statement
- Defined in:
- lib/adlint/cc1/syntax.rb
Direct Known Subclasses
CompoundStatement, ErrorStatement, ExpressionStatement, IterationStatement, JumpStatement, LabeledStatement, SelectionStatement
Instance Attribute Summary collapse
-
#executed ⇒ Object
writeonly
Sets the attribute executed.
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
- #executed? ⇒ Boolean
-
#initialize ⇒ Statement
constructor
A new instance of Statement.
Methods inherited from SyntaxNode
#head_location, #inspect, #location, #short_class_name, #tail_location
Methods included from LocationHolder
Methods included from Visitable
Constructor Details
#initialize ⇒ Statement
Returns a new instance of Statement.
3359 3360 3361 3362 |
# File 'lib/adlint/cc1/syntax.rb', line 3359 def initialize super @executed = false end |
Instance Attribute Details
#executed=(value) ⇒ Object (writeonly)
Sets the attribute executed
3364 3365 3366 |
# File 'lib/adlint/cc1/syntax.rb', line 3364 def executed=(value) @executed = value end |
Instance Method Details
#executed? ⇒ Boolean
3366 3367 3368 |
# File 'lib/adlint/cc1/syntax.rb', line 3366 def executed? @executed end |