Class MayChangeArguments

java.lang.Object
org.ek9lang.compiler.support.sharing.MayChangeArguments
All Implemented Interfaces:
Predicate<ISymbol>

final class MayChangeArguments extends Object implements Predicate<ISymbol>
May a callee change the objects it is given as arguments? Not when it is pure, nor when it is a concrete built-in method or function that runs no code of the program's. Anything else may - code written in EK9, an abstract member a program may implement, a call through a delegate (the code it runs is the program's), a built-in given a function that is not pure to run (opt.whenPresent(acceptor): the acceptor is the program's code, D66), or a callee nothing was recorded for.
  • Constructor Details

    • MayChangeArguments

      MayChangeArguments()
  • Method Details