Added logic to handle lib & class declaration

This commit is contained in:
2021-10-27 18:30:22 +02:00
parent 793ca62ddd
commit 2b02341336
23 changed files with 292 additions and 33 deletions

View File

@@ -16,7 +16,8 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"sh_cpl==2021.4.0.post2"
"sh_cpl-core==2021.10.0.post1",
"sh_cpl-query==2021.10.0.post1"
],
"PythonVersion": ">=3.9.2",
"PythonPath": {

View File

@@ -19,5 +19,8 @@ class Token:
def value(self, value: str):
self._value = value
def __repr__(self) -> str:
return f'Token <Type: {self._type}> <Value: {self._value}>'
def __str__(self) -> str:
return f'Token: Type: {self._type}, Value: {self._value}'