pub(super) fn get_callee_head_size(callee: &Expr<'_>) -> usize
Expand description
Calculates the size the callee’s “head,” excluding its arguments.
§Examples
myFunction(..)
: 8 (length ofmyFunction
)uint256(..)
: 7 (length ofuint256
)abi.encode(..)
: 10 (length ofabi.encode
)foo(..).bar(..)
: 3 (length offoo
)