(node)
| 248 | } |
| 249 | |
| 250 | function isRequirePath (node) { |
| 251 | return node.type === 'Identifier' && node.name === 'require' |
| 252 | && node.parent.type === 'CallExpression' |
| 253 | && node.parent.arguments[0] |
| 254 | && node.parent.arguments[0].type === 'Literal' |
| 255 | && node.parent.arguments[0].value === 'path' |
| 256 | && node.parent.parent.type === 'VariableDeclarator' |
| 257 | } |
| 258 | |
| 259 | function isRequireGlslify (node, dir) { |
| 260 | return node.type === 'Identifier' && node.name === 'require' |
no outgoing calls
no test coverage detected
searching dependent graphs…