class AdLint::Cc1::MemberAccessByPointerExpression
Attributes
expression[R]
identifier[R]
Public Class Methods
new(expr, id, arrow)
click to toggle source
Calls superclass method
AdLint::Cc1::PostfixExpression::new
# File lib/adlint/cc1/syntax.rb, line 1015 def initialize(expr, id, arrow) super(arrow) @expression = expr @identifier = id end
Public Instance Methods
arithmetic?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1032 def arithmetic? false end
bitwise?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1036 def bitwise? false end
have_side_effect?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1024 def have_side_effect? @expression.have_side_effect? end
inspect(indent = 0)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1057 def inspect(indent = 0) " " * indent + "#{short_class_name} (#{location.inspect}) " + "#{@expression.inspect}->#{@identifier.value}" end
logical?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1028 def logical? false end
to_complemental_logical()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1049 def to_complemental_logical self end
to_normalized_logical(parent_expr = nil)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1040 def to_normalized_logical(parent_expr = nil) case parent_expr when nil, LogicalAndExpression, LogicalOrExpression create_normalized_logical_of(self) else self end end
to_s()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 1053 def to_s "#{@expression.to_s}->#{@identifier.value}" end