Skip to main content

Module case

Module case 

Source

Macrosยง

eval_case ๐Ÿ”’
eval_constant_lookup ๐Ÿ”’
eval_fallback_lookup ๐Ÿ”’
eval_row_case ๐Ÿ”’
lookup ๐Ÿ”’

Structsยง

CaseExpression ๐Ÿ”’
ConstantLookupExpression ๐Ÿ”’
With large scale of simple form match arms in case-when expression, we could optimize the CaseExpression to ConstantLookupExpression, which could significantly facilitate the evaluation of case-when.
WhenClause ๐Ÿ”’

Staticsยง

_LINKME_ELEMENT_case_variadic_any ๐Ÿ”’
_LINKME_ELEMENT_constant_lookup_variadic_any ๐Ÿ”’

Functionsยง

build_case_expr ๐Ÿ”’
build_constant_lookup_expr ๐Ÿ”’
case_variadic_any ๐Ÿ”’
constant_lookup_variadic_any ๐Ÿ”’