Created
May 31, 2016 09:57
-
-
Save Vorlent/6fef2a40cabc3a43e5833d941f0ad3e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function($2hs){var editor$=this; | |
| return ($2ht=(editor$.editNode($2hs)?$2hs.copy(editor$.transformSwitchClause($2hs.clause), | |
| $2hs.caseExpressions.collect(m$1.$JsCallable(m$1.JsCallable(editor$, | |
| editor$.transformCaseExpression), | |
| [{nm:'that', | |
| mt:'prm', | |
| $t:{t:CaseExpression}}], | |
| {Arguments$Callable:m$1.mtt$([{t:CaseExpression}]), | |
| Return$Callable:{t:CaseExpression}}), | |
| {Result$collect:{t:CaseExpression}}), | |
| nullsafeInvoke($2hs.elseExpression, | |
| m$1.$JsCallable(m$1.JsCallable(editor$, editor$.$5x9kyj$27j), [{nm:'that', mt:'prm', $t:{t:'u', l:[DisjoiningExpression(), | |
| {t:IfElseExpression}, | |
| {t:LetExpression}]}}], | |
| {Arguments$Callable:m$1.mtt$([m$1.mut$([ | |
| {t:Primary}, | |
| {t:PrefixOperation}, | |
| {t:PostfixOperation},{t:ExponentiationOperation}, | |
| {t:UnaryArithmeticOperation}, | |
| {t:IntersectionOperation}, | |
| {t:UnionOperation}, | |
| {t:ComplementOperation}, | |
| {t:ProductOperation}, | |
| {t:QuotientOperation}, | |
| {t:RemainderOperation}, | |
| {t:ScaleOperation}, | |
| {t:SumOperation}, | |
| {t:DifferenceOperation}, | |
| {t:SpanOperation}, | |
| {t:MeasureOperation}, | |
| {t:EntryOperation}, | |
| {t:ExistsOperation}, | |
| {t:NonemptyOperation}, | |
| {t:IsOperation}, | |
| {t:OfOperation}, | |
| {t:InOperation}, | |
| {t:ComparisonOperation}, | |
| {t:CompareOperation}, | |
| {t:WithinOperation}, | |
| {t:EqualityOperation}, | |
| {t:NotOperation}, | |
| {t:AndOperation}, | |
| {t:OrOperation}, | |
| {t:IfElseExpression}, | |
| {t:LetExpression}])]), | |
| Return$Callable:m$1.mut$([{t:Primary}, | |
| {t:PrefixOperation}, | |
| {t:PostfixOperation}, | |
| {t:ExponentiationOperation}, | |
| {t:UnaryArithmeticOperation}, | |
| {t:IntersectionOperation}, | |
| {t:UnionOperation}, | |
| {t:ComplementOperation}, | |
| {t:ProductOperation}, | |
| {t:QuotientOperation}, | |
| {t:RemainderOperation}, | |
| {t:ScaleOperation}, | |
| {t:SumOperation}, | |
| {t:DifferenceOperation}, | |
| {t:SpanOperation}, | |
| {t:MeasureOperation}, | |
| {t:EntryOperation}, | |
| {t:ExistsOperation}, | |
| {t:NonemptyOperation}, | |
| {t:IsOperation}, | |
| {t:OfOperation}, | |
| {t:InOperation}, | |
| {t:ComparisonOperation}, | |
| {t:CompareOperation}, | |
| {t:WithinOperation}, | |
| {t:EqualityOperation}, | |
| {t:NotOperation}, | |
| {t:AndOperation}, | |
| {t:OrOperation}, | |
| {t:IfElseExpression}, | |
| {t:LetExpression}])}), | |
| {Return$nullsafeInvoke:m$1.mut$([{t:Primary}, | |
| {t:PrefixOperation}, | |
| {t:PostfixOperation}, | |
| {t:ExponentiationOperation}, | |
| {t:UnaryArithmeticOperation}, | |
| {t:IntersectionOperation}, | |
| {t:UnionOperation}, | |
| {t:ComplementOperation}, | |
| {t:ProductOperation}, | |
| {t:QuotientOperation}, | |
| {t:RemainderOperation}, | |
| {t:ScaleOperation}, | |
| {t:SumOperation}, | |
| {t:DifferenceOperation}, | |
| {t:SpanOperation}, | |
| {t:MeasureOperation}, | |
| {t:EntryOperation}, | |
| {t:ExistsOperation}, | |
| {t:NonemptyOperation}, | |
| {t:IsOperation}, | |
| {t:OfOperation}, | |
| {t:InOperation}, | |
| {t:ComparisonOperation}, | |
| {t:CompareOperation}, | |
| {t:WithinOperation}, | |
| {t:EqualityOperation}, | |
| {t:NotOperation}, | |
| {t:AndOperation}, | |
| {t:OrOperation}, | |
| {t:IfElseExpression}, | |
| {t:LetExpression}]), | |
| Argument$nullsafeInvoke:m$1.mut$([{t:Primary}, | |
| {t:PrefixOperation}, | |
| {t:PostfixOperation}, | |
| {t:ExponentiationOperation}, | |
| {t:UnaryArithmeticOperation}, | |
| {t:IntersectionOperation}, | |
| {t:UnionOperation}, | |
| {t:ComplementOperation}, | |
| {t:ProductOperation}, | |
| {t:QuotientOperation}, | |
| {t:RemainderOperation}, | |
| {t:ScaleOperation}, | |
| {t:SumOperation}, | |
| {t:DifferenceOperation}, | |
| {t:SpanOperation}, | |
| {t:MeasureOperation}, | |
| {t:EntryOperation}, | |
| {t:ExistsOperation}, | |
| {t:NonemptyOperation}, | |
| {t:IsOperation}, | |
| {t:OfOperation}, | |
| {t:InOperation}, | |
| {t:ComparisonOperation}, | |
| {t:CompareOperation}, | |
| {t:WithinOperation}, | |
| {t:EqualityOperation}, | |
| {t:NotOperation}, | |
| {t:AndOperation}, | |
| {t:OrOperation}, | |
| {t:IfElseExpression}, | |
| {t:LetExpression}])})):null), | |
| m$1.nn$($2ht)?$2ht:$2hs);}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment