Closed GoogleCodeExporter closed 9 years ago
Grammar at http://www.sable.mcgill.ca/~hendren/AspectJ.html
Original comment by mikesamuel@gmail.com
on 23 Apr 2008 at 5:46
Thanks a lot to incorporate that!!!
Original comment by marcello.sales
on 23 Apr 2008 at 8:04
According to the grammar at http://abc.comlab.ox.ac.uk/documents/scanparse.pdf
the
extra keywords are:
adviceexecution, after, args, around, aspect, before, call, cflow, cflowbelow,
declare, error, execution, get, handler, if, initialization, issingleton,
parents,
percflow, percflowbelow, pertarget, perthis, pointcut, precedence,
preinitialization,
privileged, proceed, returning, set, soft, staticinitialization, target,
warning,
within, withincode
Of those, the reserved keywords are
⟨aspectj reserved identifier ⟩ ::= ’aspect’ | ’privileged’
| ’adviceexecution’ | ’args’ | ’call’ | ’cflow’ | ’cflowbelow’ | ’error’
| ’execution’ | ’get’ | ’handler’ | ’initialization’ | ’parents’
| ’precedence’ | ’preinitialization’ | ’returning’ | ’set’
| ’soft’ | ’staticinitialization’ | ’target’ | ’throwing’
| ’warning’ | ’withincode’
Both the full set and the reserved set contain words like (call, error, get,
handler,
set, target, warning) that are likely to be used in C/java programs as
identifiers.
So I think it would be a bad idea to add these to the C-like language keywords
set
which is what code-highlighting in wiki content uses since there is no way for
code
sections in wiki pages to specify the language.
Original comment by mikesamuel@gmail.com
on 7 Jan 2009 at 5:11
Original issue reported on code.google.com by
marcello.sales
on 28 Feb 2008 at 3:53