Class: AdLint::Cc1::AddressExpression
Instance Attribute Summary
#operand, #operator
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary
collapse
#initialize, #inspect, #location, #to_s
Methods inherited from Expression
#constant?, #full=, #initialize, #object_specifiers, #to_s
Methods inherited from SyntaxNode
#head_location, #initialize, #inspect, #location, #short_class_name, #tail_location
#analysis_target?
Methods included from Visitable
#accept
Instance Method Details
#arithmetic? ⇒ Boolean
1400
1401
1402
|
# File 'lib/adlint/cc1/syntax.rb', line 1400
def arithmetic?
false
end
|
#bitwise? ⇒ Boolean
1404
1405
1406
|
# File 'lib/adlint/cc1/syntax.rb', line 1404
def bitwise?
false
end
|
#have_side_effect? ⇒ Boolean
1392
1393
1394
|
# File 'lib/adlint/cc1/syntax.rb', line 1392
def have_side_effect?
operand.have_side_effect?
end
|
#logical? ⇒ Boolean
1396
1397
1398
|
# File 'lib/adlint/cc1/syntax.rb', line 1396
def logical?
false
end
|
#to_complemental_logical ⇒ Object
1417
1418
1419
|
# File 'lib/adlint/cc1/syntax.rb', line 1417
def to_complemental_logical
self
end
|
#to_normalized_logical(parent_expr = nil) ⇒ Object
1408
1409
1410
1411
1412
1413
1414
1415
|
# File 'lib/adlint/cc1/syntax.rb', line 1408
def to_normalized_logical(parent_expr = nil)
case parent_expr
when nil, LogicalAndExpression, LogicalOrExpression
create_normalized_logical_of(self)
else
self
end
end
|