Lines Matching refs:node
59 function getAPINote(node) { argument
60 const apiLength = node.getText().length;
61 const apiFullLength = node.getFullText().length;
62 return node.getFullText().substring(0, apiFullLength - apiLength);
66 function hasAPINote(node) { argument
67 if (!node) {
70 const apiNote = getAPINote(node).replace(/[\s]/g, '');
223 function getApiInfo(node) { argument
224 const notesStr = getAPINote(node);
274 function getApiVersion(node) { argument
275 if (getApiInfo(node).humpVersion) {
276 return getApiInfo(node).humpVersion;
277 } else if (node.parent && !ts.isSourceFile(node.parent)) {
278 return getApiVersion(node.parent);
285 function parseJsDoc(node) { argument
286 if (!hasAPINote(node)) {
289 return cm.parse(getAPINote(node));
455 function checkVersionNeedCheck(node) { argument
456 const apiVersion = getApiVersion(node);