2955 |
2955 |
2956 @return programming language (string) |
2956 @return programming language (string) |
2957 """ |
2957 """ |
2958 return self.pdata["PROGLANGUAGE"][0] |
2958 return self.pdata["PROGLANGUAGE"][0] |
2959 |
2959 |
|
2960 def isPythonProject(self): |
|
2961 """ |
|
2962 Public method to check, if this project is a Python2 or Python3 |
|
2963 project. |
|
2964 |
|
2965 @return flag indicating a Python project (boolean) |
|
2966 """ |
|
2967 return self.pdata["PROGLANGUAGE"][0] in ["Python", "Python2", |
|
2968 "Python3"] |
|
2969 |
2960 def isPy3Project(self): |
2970 def isPy3Project(self): |
2961 """ |
2971 """ |
2962 Public method to check, if this project is a Python3 project. |
2972 Public method to check, if this project is a Python3 project. |
2963 |
2973 |
2964 @return flag indicating a Python3 project (boolean) |
2974 @return flag indicating a Python3 project (boolean) |
2978 Public method to check, if this project is a Ruby project. |
2988 Public method to check, if this project is a Ruby project. |
2979 |
2989 |
2980 @return flag indicating a Ruby project (boolean) |
2990 @return flag indicating a Ruby project (boolean) |
2981 """ |
2991 """ |
2982 return self.pdata["PROGLANGUAGE"][0] == "Ruby" |
2992 return self.pdata["PROGLANGUAGE"][0] == "Ruby" |
|
2993 |
|
2994 def isJavaScriptProject(self): |
|
2995 """ |
|
2996 Public method to check, if this project is a JavaScript project. |
|
2997 |
|
2998 @return flag indicating a JavaScript project (boolean) |
|
2999 """ |
|
3000 return self.pdata["PROGLANGUAGE"][0] == "JavaScript" |
2983 |
3001 |
2984 def getProjectSpellLanguage(self): |
3002 def getProjectSpellLanguage(self): |
2985 """ |
3003 """ |
2986 Public method to get the project's programming language. |
3004 Public method to get the project's programming language. |
2987 |
3005 |