Class: AdLint::Funcall

Inherits:
CodeStructure show all
Defined in:
lib/adlint/code.rb

Overview

DESCRIPTION

Function call information.

Instance Method Summary collapse

Methods inherited from CodeStructure

#print_as_csv, #to_s

Constructor Details

#initialize(loc, caller_fun, callee_fun) ⇒ Funcall

DESCRIPTION

Constructs the function call informatin.

PARAMETER

loc

Location – Location where the function call appears.

caller_fun

FunctionId – Calling function identifier.

callee_fun

FunctionId – Called function identifier.



361
362
363
364
365
# File 'lib/adlint/code.rb', line 361

def initialize(loc, caller_fun, callee_fun)
  @loc        = loc
  @caller_fun = caller_fun
  @callee_fun = callee_fun
end