class AdLint::Cc1::FunctionCallExpression
Attributes
argument_expressions[R]
expression[R]
Public Class Methods
new(expr, arg_exprs, left_paren)
click to toggle source
Calls superclass method
AdLint::Cc1::PostfixExpression::new
# File lib/adlint/cc1/syntax.rb, line 915 def initialize(expr, arg_exprs, left_paren) super(left_paren) @expression = expr @argument_expressions = arg_exprs end
Public Instance Methods
arithmetic?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 932 def arithmetic? false end
bitwise?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 936 def bitwise? false end
have_side_effect?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 924 def have_side_effect? true end
inspect(indent = 0)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 958 def inspect(indent = 0) ([" " * indent + "#{short_class_name} (#{location.inspect})"] + [@expression.inspect(indent + 1)] + @argument_expressions.map { |a| a.inspect(indent + 1) }).join("\n") end
logical?()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 928 def logical? false end
to_complemental_logical()
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 949 def to_complemental_logical self end
to_normalized_logical(parent_expr = nil)
click to toggle source
# File lib/adlint/cc1/syntax.rb, line 940 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 953 def to_s "#{@expression.to_s}(" + @argument_expressions.map { |expr| expr.to_s }.join(",") + ")" end