GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Comment cleanup · Jatz/PeopleCodeTools@5ad47ee

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ExtractCallStack.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ExtractCallStack.py‎

Copy file name to clipboardExpand all lines: ExtractCallStack.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def run(self, edit):
207207
reendResults = {}
208208
endResults = {}
209209

210-
# Find resume and reend statements and store the line numbers in a dict along with the results
210+
# Find resume, reend and end statements and store the line numbers in a dict along with the results
211211
for lineNo, line in results.items():
212212
match = re.search(r'(resume|reend|end)\s.*?((?:\w+\.?)+((?:\s(?:\w+\.?)+)?))', line)
213213
if match:
@@ -259,18 +259,18 @@ def run(self, edit):
259259
# Rename eligible call methods to call constructors
260260
sessionSpecificString = re.sub(r'(?m)(?m)call\smethod\s+(\w+)(\s.*\1.OnExecute)', r'call constructor \1\2', sessionSpecificString)
261261

262-
# # Rename to call function those start-ext calls that do not have getters, setters or constructors appended
262+
# Rename to call function those start-ext calls that do not have getters, setters or constructors appended
263263
sessionSpecificString = re.sub(r'(?m)start-ext\s(\w+)\s(\w+\.\w+\.\w+)$', r'call function \1 \2', sessionSpecificString)
264264

265-
# # Replace any remaining start-ext with calls based on the last word in the line
266-
# # e.g. start-ext isSaveWarning PT_NAV2.NavOptions.OnExecute getter
267-
# # becomes call getter isSaveWarning PT_NAV2.NavOptions.OnExecute
265+
# Replace any remaining start-ext with calls based on the last word in the line
266+
# e.g. start-ext isSaveWarning PT_NAV2.NavOptions.OnExecute getter
267+
# becomes call getter isSaveWarning PT_NAV2.NavOptions.OnExecute
268268
sessionSpecificString = re.sub('start-ext\s(\w+)\s(.*)\s(constructor|method|getter|setter)', r'call \3 \1 \2', sessionSpecificString)
269269

270270
# Finally rename CI functions
271271
sessionSpecificString = re.sub(r'(?m)start-ext\s(\w+)\s(\w+\.\w+)$', r'call function \1 \2', sessionSpecificString)
272272

273-
# # Replace any colons with dots
273+
# Replace any colons with dots
274274
sessionSpecificString = re.sub(':', r'.', sessionSpecificString)
275275

276276
# We now have the complete callstack for the session

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.