Collects a chain of method calls.
Example:
self.field.set(a, b); ^^^^^^^^^^ ^^^^^^^^^ self calls[0]
The return format is the following: expr.method1().method2(), where expr might be a function call, e.g.:
expr.method1().method2()
expr
beginCell().loadRef(c).endCell(); ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ self calls[0] calls[1]
An array of expressions representing the method call chain and the first receiver that might be an expression creating a callable object, or undefined if it's not a method call chain.
Collects a chain of method calls.
Example:
self.field.set(a, b); ^^^^^^^^^^ ^^^^^^^^^ self calls[0]
The return format is the following:
expr.method1().method2()
, whereexpr
might be a function call, e.g.:beginCell().loadRef(c).endCell(); ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ self calls[0] calls[1]