1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
ton/crypto/func
Aleksandr Kirsanov 7b8268d99f
[FunC] Deprecate method_id specifier, introduce get keyword
`get` keyword behaves exactly like `method_id` (auto-calc hash),
but it's placed on the left, similar to Tact: `get T name()`.

`method_id(n)` is still valid, considering it can't be invoked by name,
since a client will compute another hash.
It's supposed it will be still used in tests and in low-level code
(not to be called externally, but to be called after replacing c3).

`get(hash)` is invalid, this keyword does not accept anything.
2024-06-14 15:22:59 +03:00
..
auto-tests [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
test [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
abscode.cpp [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
analyzer.cpp [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
asmops.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
builtins.cpp [FunC] Add builtin keyword to be used in stdlib later on 2024-06-14 15:22:58 +03:00
codegen.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
func-main.cpp [FunC] Use td::OptionParser in func-main.cpp 2024-06-14 15:22:58 +03:00
func.cpp [FunC] Deprecate pragma compute-asm-ltr 2024-06-14 15:22:58 +03:00
func.h [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
gen-abscode.cpp [FunC] Refactor allow-post-modification, stop producing disabled Op::_Let 2024-06-14 15:22:58 +03:00
keywords.cpp [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
optimize.cpp FunC: enable asserts and fix try/catch stack corruption (#699) 2023-05-15 15:31:42 +03:00
parse-func.cpp [FunC] Deprecate method_id specifier, introduce get keyword 2024-06-14 15:22:59 +03:00
stack-transform.cpp FunC: enable asserts and fix try/catch stack corruption (#699) 2023-05-15 15:31:42 +03:00
unify-types.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00