Class: AdLint::Cc1::Statement

Inherits:
SyntaxNode show all
Defined in:
lib/adlint/cc1/syntax.rb

Instance Attribute Summary collapse

Attributes inherited from SyntaxNode

#head_token, #subsequent_sequence_point, #tail_token

Instance Method Summary collapse

Methods inherited from SyntaxNode

#head_location, #inspect, #location, #short_class_name, #tail_location

Methods included from LocationHolder

#analysis_target?

Methods included from Visitable

#accept

Constructor Details

#initializeStatement

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

Parameters:

  • value

    the value to set the attribute executed to.



3364
3365
3366
# File 'lib/adlint/cc1/syntax.rb', line 3364

def executed=(value)
  @executed = value
end

Instance Method Details

#executed?Boolean

Returns:

  • (Boolean)


3366
3367
3368
# File 'lib/adlint/cc1/syntax.rb', line 3366

def executed?
  @executed
end