Added logic to handle lib & class declaration
This commit is contained in:
@@ -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": {
|
||||
|
@@ -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}'
|
||||
|
Reference in New Issue
Block a user