next up previous
Next: POINTCUT mode Up: Nested Lexical Scopes Previous: JAVA mode

ASPECT mode

Inside the program one can have a nested ASPECT scope which begins just after the keyword aspect and ends at the end of the aspect's body. Figure 1 shows one ASPECT scope corresponding to the body of the declaration of the aspect named "OrdinaryAspect''.

In ASPECT mode all symbols are exactly the same as in JAVA mode, except for the addition of keywords after, around, before, declare, issingleton, percflow, percflowbelow, pertarget, perthis, pointcut, proceed. Just like normal Java keywords, these additional keywords cannot be used as identifiers, inside of an ASPECT scope.



hendren 2004-09-02