function evaluatePropertyName({ environment, node, evaluate, typescript, statementTraversalStack }) {
    var _a;
    return (typescript.isComputedPropertyName(node)
        ? evaluate.expression(node.expression, environment, statementTraversalStack)
        : typescript.isIdentifier(node) || ((_a = typescript.isPrivateIdentifier) === null || _a === void 0 ? void 0 : _a.call(typescript, node))
            ? node.text
            : evaluate.expression(node, environment, statementTraversalStack));
}
/**
 * Evaluates, or attempts to evaluate, a PropertyName
 */
Evaluates, or attempts to evaluate, a PropertyName
Evaluates or attempts to evaluate a PropertyName
function evaluatePropertyName({ environment, node, evaluate, typescript, statementTraversalStack }) {
    var _a;
    return (typescript.isComputedPropertyName(node)
        ? evaluate.expression(node.expression, environment, statementTraversalStack)
        : typescript.isIdentifier(node) || ((_a = typescript.isPrivateIdentifier) === null || _a === void 0 ? void 0 : _a.call(typescript, node))
            ? node.text
            : evaluate.expression(node, environment, statementTraversalStack));
}
function evaluatePropertyName ( { environment , node , evaluate , typescript , statementTraversalStack } ) { var _a ; return ( typescript . isComputedPropertyName ( node ) ? evaluate . expression ( node . expression , environment , statementTraversalStack ) : typescript . isIdentifier ( node ) || ( ( _a = typescript . isPrivateIdentifier ) === null || _a === void 0 ? void 0 : _a . call ( typescript , node ) ) ? node . text : evaluate . expression ( node , environment , statementTraversalStack ) ) ; }
Evaluates, or attempts to evaluate, a PropertyName
Evaluates or attempts to evaluate a PropertyName