You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//for methods: we keep the opening parenthesis in the matched word so we can separate the method from the variable and then we add the closing parenthesis
65
-
//because in the symbolTable it is stored as a method call, for example this.accountRepo.getById()
//for methods: we keep the opening parenthesis in the matched word so we can separate the method from the variable and then we add the closing parenthesis
66
+
//because in the symbolTable it is stored as a method call, for example this.accountRepo.getById()
67
+
elseallMatches.push(match);
68
+
}catch(e){}
67
69
}
68
70
for(leti=0;i<allMatches.length;i++){
69
-
letmyLength=allMatches[i].length;
70
-
if(allMatches[i].includes('.')){
71
-
myLength-=allMatches[i-1].length;
72
-
}//if the word contains a dot, we subtract the length of the previous word from the length of the current word, as we keep the dot member in the previous word
}//if the word contains a dot, we subtract the length of the previous word from the length of the current word, as we keep the dot member in the previous word
0 commit comments