function isAllowedAsNonBacktick(node){var parent=node.parent;switch(parent.type){// Directive Prologues.
case"ExpressionStatement":return isPartOfDirectivePrologue(node);// LiteralPropertyName.
case"Property":case"MethodDefinition":return parent.key===node&&!parent.computed;// ModuleSpecifier.
case"ImportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return parent.source===node;// Others don't allow.
default:return false;}}
Checks whether or not a given node is allowed as non backtick.
@param {ASTNode} node - A node to check.
@returns {boolean} Whether or not the node is allowed as non backtick.
@private