StructsΒ§
- Integer
Literal π
EnumsΒ§
- ArgMatch π
- Function
Candidates π
StaticsΒ§
FunctionsΒ§
- array_
sizes_ πmatch - Returns true if two array sizes are equivalent for overload resolution.
- bool_
expr_ πmatches_ type - Returns whether a known boolean expression can match the expected type.
- call_
return_ πtype - Returns the single return type for a statically resolved call expression.
- call_
returns_ πdynamic_ data - Returns true if a call resolves to functions that return dynamic data.
- call_
with_ πgas_ returns_ dynamic_ data - Returns true for gas-limited calls that return dynamic data.
- callee_
is_ πaddress_ returning_ builtin - common_
expr_ πtype - Returns the common type for a ternary expression when one branch type can accept the other.
- const_
array_ πsize - const_
array_ πsize_ binary_ op - const_
array_ πsize_ inner - contract_
type_ πmatches - Returns true if an actual contract type can be used where the expected contract type is needed.
- elementary_
type_ πmatches - Returns true if an elementary value can be used for an expected elementary type.
- enclosing_
contract π - Returns the contract containing an expression span.
- expr_
contract_ πid - Returns the contract id for expressions known to be contract-typed.
- expr_
is_ πaddress - Returns true if an expression is known to have an address type.
- expr_
is_ πbool - expr_
matches_ πtype - Returns whether an expression can match the expected type, if known.
- expr_
type π - Returns the type of simple expressions needed by this lint.
- fixed_
array_ πsizes_ match - function_
arg_ πmatch - Returns how well call arguments match a candidate function signature.
- function_
candidates_ πfor_ member - Returns function candidates with the given member name on a contract.
- function_
pointer_ πcandidates_ for_ callee - Returns an external function pointer callee if its arguments can match.
- function_
returns_ πdynamic_ data - Returns true if a function has any dynamically encoded return value.
- function_
type_ πreturns_ for_ args - Returns external function-type return variables when the arguments can match.
- functions_
return_ πdynamic_ data - Returns true if a gas-limited call can return dynamic data.
- integer_
literal π - Returns an integer literalβs sign and precision, including unary negation.
- integer_
literal_ πmatches_ type - Returns whether an integer literal fits in an expected integer type.
- is_
address_ πtype - Returns true if the type is an address type
- is_
bool_ πtype - is_
dynamic_ πtype - Returns true if the type contains dynamically encoded ABI data.
- is_
externally_ πcallable - Returns true if a function can be called through
this.foo()orcontract.foo(). - is_this π
- lit_
matches_ πtype - Returns true if a literal can be used for a value of the given type.
- low_
level_ πcall_ with_ gas_ consumes_ unbounded_ return_ data - Returns true for gas-limited low-level calls that copy unbounded returndata.
- matching_
functions_ πfor_ callee - Returns the function overloads that can match a callee and its arguments.
- member_
is_ πbuiltin_ address - params_
arg_ πmatch - Returns how well call arguments match the expected parameter types.
- params_
match_ πargs - Returns how well positional arguments match their expected parameter types.
- res_
function_ πid - returns_
dynamic_ πdata - Returns true if any return variable has a dynamically encoded return type.
- select_
functions_ πfor_ args - Selects the candidate functions that best match the call arguments.
- single_
function π - Returns exactly one function id from an iterator.
- single_
return_ πtype - Returns exactly one return type.
- type_
contract_ πid - Returns the contract id for contract-typed values.
- types_
match π - Returns true if two types are equivalent for overload resolution.
Type AliasesΒ§
- Const
Array πSize