test
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from os import stat
|
||||
from interpreter.interpret_source import Function_scope
|
||||
from typing import Dict, List, Optional
|
||||
from PySimpleGUI import one_line_progress_meter
|
||||
# from PySimpleGUI import one_line_progress_meter
|
||||
import logging
|
||||
from enum import IntEnum
|
||||
import os.path
|
||||
@@ -29,7 +29,7 @@ class NassiShneidermanDiagram:
|
||||
logLevel = logging.INFO
|
||||
if debug:
|
||||
logLevel = logging.DEBUG
|
||||
|
||||
|
||||
logging.basicConfig(force=True, level=logLevel)
|
||||
|
||||
@staticmethod
|
||||
|
||||
@@ -289,7 +289,7 @@ class JavaInterpreter:
|
||||
brace_offset = self._get_scope_start_offset(idx)
|
||||
return self._get_instructions_in_scope(idx+brace_offset)[0]
|
||||
|
||||
def _get_function_scope(self, match: re.Match[str]):
|
||||
def _get_function_scope(self, match: Match[str]):
|
||||
span = match.span()
|
||||
header = self.src[span[0]:span[1]].replace('\n', '')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user