Name expressions
Syntax
NameExpression :
IDENTIFIER
A name expression resolves to a local variable.
Example:
contract Foo {
pub fn baz(foo: u256) {
// name expression resolving to the value of `foo`
foo
}
}
Syntax
NameExpression :
IDENTIFIER
A name expression resolves to a local variable.
Example:
contract Foo {
pub fn baz(foo: u256) {
// name expression resolving to the value of `foo`
foo
}
}