12 lines
318 B
Python
12 lines
318 B
Python
from scanner.enums import CodeType
|
|
from scanner.utils import guess_code_type
|
|
|
|
|
|
class ScannerSearch:
|
|
def __init__(self, string_value: str):
|
|
self.string_value = string_value
|
|
self._code_type = guess_code_type(self.string_value)
|
|
|
|
def get_code_type(self) -> CodeType:
|
|
return self._code_type
|