1 Reply Latest reply on Nov 24, 2004 12:37 PM by Juha Lindfors

    within vs. withincode

    Juha Lindfors Master

      Instead of:
      call(void System->println(..)) AND within(Foo))
      call(void System->println(..)) AND withincode(Foo->new(..)))
      call(void System->println(..)) AND withincode(* Foo->*(..)))

      We could have:
      call(void System->println(..)) AND within(Foo))
      call(void System->println(..)) AND within(Foo->new(..)))
      call(void System->println(..)) AND within(* Foo->*(..)))

      Within/withincode functionality depends on the content. These keywords appear redundant. The latter example has same semantics but requires the developer to learn one less keyword and its usage.