Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
261 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var utils = require('../utils');
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Return a clone of the given `expr`.
|
---|
| 5 | *
|
---|
| 6 | * @param {Expression} expr
|
---|
| 7 | * @return {Node}
|
---|
| 8 | * @api public
|
---|
| 9 | */
|
---|
| 10 |
|
---|
| 11 | (module.exports = function clone(expr){
|
---|
| 12 | utils.assertPresent(expr, 'expr');
|
---|
| 13 | return expr.clone();
|
---|
| 14 | }).raw = true;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.