function requiresExtraParens(node) {
            return node.parent && parenthesized[node.parent.type] &&
                    node === node.parent[parenthesized[node.parent.type]];
        }
function requiresExtraParens(node) {
            return node.parent && parenthesized[node.parent.type] &&
                    node === node.parent[parenthesized[node.parent.type]];
        }
function requiresExtraParens ( node ) { return node . parent && parenthesized [ node . parent . type ] && node === node . parent [ parenthesized [ node . parent . type ] ] ; }
Determines whether a node is required by the grammar to be wrapped in
parens, e.g. the test of an if statement.
@param {ASTNode} node - The AST node
@returns {boolean} True if parens around node belong to parent node.
Determines whether a node is required by the grammar to be wrapped in parens e . g . the test of an if statement .
Returns true if the node is not a child of the parent of the node