function evaluateNodeWithValue(options) {
    options.logger.logNode(options.node, options.typescript, "nodeWithValue");
    const { node } = options, rest = tslib.__rest(options, ["node"]);
    // Until #37135 is resolved, isPropertyName will return false for PrivateIdentifiers (even though they are actually PropertyNames)
    if (options.typescript.isPropertyName(node) || options.typescript.isPrivateIdentifier(node)) {
        return evaluatePropertyName(Object.assign({ node }, rest));
    }
    throw new UnexpectedNodeError({ node, typescript: options.typescript });
}
/**
 * Evaluates a given node with the provided argument
 */
Evaluates a given node with the provided argument
Evaluates a given node with the provided argument
function evaluateNodeWithValue(options) {
    options.logger.logNode(options.node, options.typescript, "nodeWithValue");
    const { node } = options, rest = tslib.__rest(options, ["node"]);
    if (options.typescript.isPropertyName(node) || options.typescript.isPrivateIdentifier(node)) {
        return evaluatePropertyName(Object.assign({ node }, rest));
    }
    throw new UnexpectedNodeError({ node, typescript: options.typescript });
}
function evaluateNodeWithValue ( options ) { options . logger . logNode ( options . node , options . typescript , "nodeWithValue" ) ; const { node } = options , rest = tslib . __rest ( options , [ "node" ] ) ; if ( options . typescript . isPropertyName ( node ) || options . typescript . isPrivateIdentifier ( node ) ) { return evaluatePropertyName ( Object . assign ( { node } , rest ) ) ; } throw new UnexpectedNodeError ( { node , typescript : options . typescript } ) ; }
Evaluates a given node with the provided argument
Evaluates a given node with the provided argument
// Until #37135 is resolved, isPropertyName will return false for PrivateIdentifiers (even though they are actually PropertyNames)