Sweet.apex

  • Docs
  • Tutorials
Docs Menu
  • Sweet.apex Core
    • Transpilation
    • Grammar
    • Command
    • Config
  • Features
    • Action
    • Apex Doc
    • Array Creation
    • Aspect
    • Cast
    • Default Value
    • Enum
    • File
    • Function
    • Identity
    • Injection
    • Lambda
    • Log
    • Mod
    • Not Null
    • Operator
    • Optional
    • Reflection
    • Rethrow
    • Switch
    • Template String
    • Template
    • Script
    • Tagged String
    • Annotation
    • Nullable
    • Var
    • Val
    • Map Access
    • Constructor
    • Transaction
    • Destructure
    • Import Static
    • Pipeline
    • Varargs
    • Patch
    • Import As
  • Plugin Development
    • Feature
    • Test Case

Features Guide

Features

Sweet.apex Features

Here is the reference of all features supported in Sweet.apex.

You can specify the feature list either in the config file or by the command line.

Feature Orders

When there are multiple features, the order matters.

During transpilation, features are applied to the source files one after another, and the order is specified in the feature list.

Adjust the feature order carefully and make sure you understand the consequences.

Contribute on Github! Edit this section.