Class: AdLint::Cc1::IndirectionExpression
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
1431
1432
1433
|
# File 'lib/adlint/cc1/syntax.rb', line 1431
def arithmetic?
false
end
|
#bitwise? ⇒ Boolean
1435
1436
1437
|
# File 'lib/adlint/cc1/syntax.rb', line 1435
def bitwise?
false
end
|
#have_side_effect? ⇒ Boolean
1423
1424
1425
|
# File 'lib/adlint/cc1/syntax.rb', line 1423
def have_side_effect?
operand.have_side_effect?
end
|
#logical? ⇒ Boolean
1427
1428
1429
|
# File 'lib/adlint/cc1/syntax.rb', line 1427
def logical?
false
end
|
#to_complemental_logical ⇒ Object
1448
1449
1450
|
# File 'lib/adlint/cc1/syntax.rb', line 1448
def to_complemental_logical
self
end
|
#to_normalized_logical(parent_expr = nil) ⇒ Object
1439
1440
1441
1442
1443
1444
1445
1446
|
# File 'lib/adlint/cc1/syntax.rb', line 1439
def to_normalized_logical(parent_expr = nil)
case parent_expr
when nil, LogicalAndExpression, LogicalOrExpression
create_normalized_logical_of(self)
else
self
end
end
|