From 05be0678a7866abef561cdde3f054e899b961876 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 22 Aug 2015 10:06:30 +0530 Subject: [PATCH] Document some methods from path/context.js --- packages/babel/src/traversal/path/context.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/babel/src/traversal/path/context.js b/packages/babel/src/traversal/path/context.js index 66af435037..151b6c7e3c 100644 --- a/packages/babel/src/traversal/path/context.js +++ b/packages/babel/src/traversal/path/context.js @@ -48,7 +48,8 @@ export function isBlacklisted(): boolean { } /** - * [Please add a description.] + * Visits a node and calls appropriate enter and exit callbacks + * as required. */ export function visit(): boolean { @@ -81,7 +82,7 @@ export function visit(): boolean { } /** - * [Please add a description.] + * Sets shouldSkip flag true so that this node will be skipped while visiting. */ export function skip() { @@ -89,7 +90,7 @@ export function skip() { } /** - * [Please add a description.] + * Adds given key to the list of keys to be skipped. */ export function skipKey(key) {