Expand description
Configurable yet non-changing constants for the compiler.
Constantsยง
- ALLOW_
ATTRIBUTE_ NAME - The valid attribute strings related to allow.
- ALLOW_
DEAD_ CODE_ NAME - ALLOW_
DEPRECATED_ NAME - CFG_
ATTRIBUTE_ NAME - The valid attribute strings related to conditional compilation.
- CFG_
PROGRAM_ TYPE_ ARG_ NAME - CFG_
TARGET_ ARG_ NAME - CONTRACT_
CALL_ ASSET_ ID_ PARAMETER_ DEFAULT_ VALUE - CONTRACT_
CALL_ ASSET_ ID_ PARAMETER_ NAME - CONTRACT_
CALL_ COINS_ PARAMETER_ DEFAULT_ VALUE - CONTRACT_
CALL_ COINS_ PARAMETER_ NAME - CONTRACT_
CALL_ GAS_ PARAMETER_ NAME - CONTRACT_
ID - CORE
- DEFAULT_
ENTRY_ POINT_ FN_ NAME - The default entry point for scripts and predicates.
- DEFAULT_
FILE_ EXTENSION - The default extension of LANGUAGE_NAME files, e.g.
main.sw
. - DEPRECATED_
ATTRIBUTE_ NAME - DOC_
ATTRIBUTE_ NAME - The valid attribute strings related to documentation control.
- DOC_
COMMENT_ ATTRIBUTE_ NAME - The valid attribute strings related to documentation comments.
- FALLBACK_
ATTRIBUTE_ NAME - INLINE_
ALWAYS_ NAME - INLINE_
ATTRIBUTE_ NAME - The valid attribute strings related to inline.
- INLINE_
NEVER_ NAME - LANGUAGE_
NAME - After a large language name change PR, we decided to make this configurable. :)
- PAYABLE_
ATTRIBUTE_ NAME - The valid attribute string used for payable functions.
- PRELUDE
- STD
- STORAGE_
PURITY_ ATTRIBUTE_ NAME - The valid attribute strings related to storage and purity.
- STORAGE_
PURITY_ READ_ NAME - STORAGE_
PURITY_ WRITE_ NAME - TEST_
ATTRIBUTE_ NAME - The attribute used for Sway in-language unit tests.
- VALID_
ATTRIBUTE_ NAMES - The list of valid attributes.
- VM_
WORD_ SIZE - The size, in bytes, of a single word in the FuelVM.