UNPKG

react-docgen

Version:

A library to extract information from React components for documentation generation.

17 lines (16 loc) 530 B
export function ignore(path) { path.skip(); } export const shallowIgnoreVisitors = { FunctionDeclaration: { enter: ignore }, FunctionExpression: { enter: ignore }, Class: { enter: ignore }, IfStatement: { enter: ignore }, WithStatement: { enter: ignore }, SwitchStatement: { enter: ignore }, CatchClause: { enter: ignore }, Loop: { enter: ignore }, ExportNamedDeclaration: { enter: ignore }, ExportDefaultDeclaration: { enter: ignore }, ConditionalExpression: { enter: ignore }, };