function evaluateEnumMember({ node, typeChecker, evaluate, environment, statementTraversalStack }, parent) {
    const constantValue = typeChecker.getConstantValue(node);
    const propertyName = evaluate.nodeWithValue(node.name, environment, statementTraversalStack);
    // If it is a String enum, all keys will be initialized to strings
    if (typeof constantValue === "string") {
        parent[propertyName] = constantValue;
    }
    else {
        parent[(parent[propertyName] = constantValue)] = propertyName;
    }
}
/**
 * Evaluates, or attempts to evaluate, an EnumMember
 */
Evaluates, or attempts to evaluate, an EnumMember
Evaluates or attempts to evaluate an EnumMember
function evaluateEnumMember({ node, typeChecker, evaluate, environment, statementTraversalStack }, parent) {
    const constantValue = typeChecker.getConstantValue(node);
    const propertyName = evaluate.nodeWithValue(node.name, environment, statementTraversalStack);
    if (typeof constantValue === "string") {
        parent[propertyName] = constantValue;
    }
    else {
        parent[(parent[propertyName] = constantValue)] = propertyName;
    }
}
function evaluateEnumMember ( { node , typeChecker , evaluate , environment , statementTraversalStack } , parent ) { const constantValue = typeChecker . getConstantValue ( node ) ; const propertyName = evaluate . nodeWithValue ( node . name , environment , statementTraversalStack ) ; if ( typeof constantValue === "string" ) { parent [ propertyName ] = constantValue ; } else { parent [ ( parent [ propertyName ] = constantValue ) ] = propertyName ; } }
Evaluates, or attempts to evaluate, an EnumMember
Evaluates or attempts to evaluate an EnumMember
// If it is a String enum, all keys will be initialized to strings