-
Notifications
You must be signed in to change notification settings - Fork 38
Implement the feature CANCEL ALL
#748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
tsh-hashimoto
wants to merge
21
commits into
opensourcecobol:develop
Choose a base branch
from
tsh-hashimoto:feat/cancel-all
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ce2bbe1
feat: implement CANCEL ALL (experimental)
tsh-hashimoto 91fbce4
test: enable skipped test for CANCEL ALL
tsh-hashimoto ac8e206
fix the format
tsh-hashimoto 883332f
test: add the test for CANCEL ALL implemented in GnuCOBOL
tsh-hashimoto 3564cbf
Merge branch 'develop' into feat/cancel-all
tsh-hashimoto 5d4952f
temp: CANCEL ALL
tsh-hashimoto 2eca7b7
reset the change for codegen.c
tsh-hashimoto e4633c4
feat: CANCEL ALL
tsh-hashimoto dc35b69
fix: add javadoc to CobolCallStackList.java
tsh-hashimoto 95bc4a7
fix: add Javadoc
tsh-hashimoto a761114
Merge branch 'develop' into feat/cancel-all
tsh-hashimoto 5e9df85
fix: change pop order
tsh-hashimoto f1712bb
fix: CobolCallStackList.java
tsh-hashimoto fdf5cf6
fix: CobolResolve.java
tsh-hashimoto 7081790
fix Javadoc
tsh-hashimoto 591152b
fix: CobolResolve.java
tsh-hashimoto 31a4068
apply Copilot review
tsh-hashimoto 9910d29
fix CobolResolve.java
tsh-hashimoto 915dde7
fix CobolResolve.java
tsh-hashimoto a7f96a8
test: add test for CANCEL ALL
tsh-hashimoto a193860
Merge branch 'develop' into feat/cancel-all
tsh-hashimoto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
libcobj/app/src/main/java/jp/osscons/opensourcecobol/libcobj/call/CobolCallStackList.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| package jp.osscons.opensourcecobol.libcobj.call; | ||
|
|
||
| /** CALLしたプログラムを階層構造で管理するためのクラス */ | ||
| public class CobolCallStackList { | ||
| private CobolCallStackList parent; | ||
| private CobolCallStackList children; | ||
| private CobolCallStackList sister; | ||
| private String name; | ||
|
|
||
| /** コンストラクタ */ | ||
| protected CobolCallStackList() { | ||
| this.parent = null; | ||
| this.children = null; | ||
| this.sister = null; | ||
| this.name = null; | ||
| } | ||
|
|
||
| /** | ||
| * コンストラクタ | ||
| * | ||
| * @param name プログラム名 | ||
| */ | ||
| protected CobolCallStackList(String name) { | ||
| this.parent = null; | ||
| this.children = null; | ||
| this.sister = null; | ||
| this.name = name; | ||
| } | ||
|
|
||
| /** | ||
| * 親ノードを取得する | ||
| * | ||
| * @return parent 親ノード | ||
| */ | ||
| protected CobolCallStackList getParent() { | ||
| return parent; | ||
| } | ||
|
|
||
| /** | ||
| * 親ノードを設定する | ||
| * | ||
| * @param parent 親ノード | ||
| */ | ||
| protected void setParent(CobolCallStackList parent) { | ||
| this.parent = parent; | ||
| } | ||
|
|
||
| /** | ||
| * 子ノードを取得する | ||
| * | ||
| * @return children 子ノード | ||
| */ | ||
| protected CobolCallStackList getChildren() { | ||
| return children; | ||
| } | ||
|
|
||
| /** | ||
| * 子ノードを設定する | ||
| * | ||
| * @param children 子ノード | ||
| */ | ||
| protected void setChildren(CobolCallStackList children) { | ||
| this.children = children; | ||
| } | ||
|
|
||
| /** | ||
| * 兄弟ノードを取得する | ||
| * | ||
| * @return sister 兄弟ノード | ||
| */ | ||
| protected CobolCallStackList getSister() { | ||
| return sister; | ||
| } | ||
|
|
||
| /** | ||
| * 兄弟ノードを設定する | ||
| * | ||
| * @param sister 兄弟ノード | ||
| */ | ||
| protected void setSister(CobolCallStackList sister) { | ||
| this.sister = sister; | ||
| } | ||
|
|
||
| /** | ||
| * プログラム名を取得する | ||
| * | ||
| * @return name プログラム名 | ||
| */ | ||
| protected String getName() { | ||
| return name; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.