Lines Matching refs:node
55 function getAPINote(node) { argument
56 const apiLength = node.getText().length;
57 const apiFullLength = node.getFullText().length;
58 return node.getFullText().substring(0, apiFullLength - apiLength);
62 function hasAPINote(node) { argument
63 if (!node) {
66 const apiNote = getAPINote(node).replace(/[\s]/g, '');
219 function getApiInfo(node) { argument
220 const notesStr = getAPINote(node);
270 function getApiVersion(node) { argument
271 if (getApiInfo(node).humpVersion) {
272 return getApiInfo(node).humpVersion;
273 } else if (node.parent) {
274 return getApiVersion(node.parent);
281 function parseJsDoc(node) { argument
282 if (!hasAPINote(node)) {
285 return cm.parse(getAPINote(node));
450 function checkVersionNeedCheck(node) { argument
451 const apiVersion = getApiVersion(node);