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.



3378
3379
3380
3381
# File 'lib/adlint/cc1/syntax.rb', line 3378

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.



3383
3384
3385
# File 'lib/adlint/cc1/syntax.rb', line 3383

def executed=(value)
  @executed = value
end

Instance Method Details

#executed?Boolean

Returns:

  • (Boolean)


3385
3386
3387
# File 'lib/adlint/cc1/syntax.rb', line 3385

def executed?
  @executed
end