code: function createNode( type, details ) {
  
            const node = new ast.Node( type, location() );
            if ( details === null ) return node;
  
            util.extend( node, details );
            return util.enforceFastProperties( node );
  
        }
docs: Helper to construct a new AST Node