Skip to content
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

Model the caller of a function #181

Open
oxisto opened this issue Apr 21, 2021 · 1 comment
Open

Model the caller of a function #181

oxisto opened this issue Apr 21, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request mark Concerns MARK files in Codyze

Comments

@oxisto
Copy link
Member

oxisto commented Apr 21, 2021

Is it possible to model in MARK the caller of a function/operation, i.e. to restrict that a certain function should only be called by a specific other function or better just with a certain class?

@fwendland
Copy link
Collaborator

An example:

class B {
  fun myFunc() {
    obj.call()
  }
}

Is it possible to restrict calling obj.call() only from within B.myFunc()?

@fwendland fwendland self-assigned this Apr 23, 2021
@fwendland fwendland added enhancement New feature or request mark Concerns MARK files in Codyze labels Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mark Concerns MARK files in Codyze
Projects
None yet
Development

No branches or pull requests

2 participants