Comments (3)
Grammar at http://www.sable.mcgill.ca/~hendren/AspectJ.html
Original comment by [email protected]
on 23 Apr 2008 at 5:46
- Changed state: Accepted
from google-code-prettify.
Thanks a lot to incorporate that!!!
Original comment by marcello.sales
on 23 Apr 2008 at 8:04
from google-code-prettify.
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 [email protected]
on 7 Jan 2009 at 5:11
- Changed state: WillNotFix
from google-code-prettify.
Related Issues (20)
- Highlighting Support for the Spin Language HOT 5
- Add support for R/S language HOT 10
- Support for BUGS, JAGS, and Stan languages HOT 5
- How do I add a copy to clipboard button? HOT 1
- Patch for /trunk/src/prettify.css HOT 1
- Patch to add support for R documentation (Rd) files HOT 1
- Add Nemerle keywords HOT 2
- You cannot use Prettify with Dynamic Themes HOT 3
- Portugol HOT 1
- Patch for /trunk/src/lang-lua.js HOT 1
- Patch for /trunk/src/lang-lua.js HOT 2
- ~/ and =/ appear to initiate a block of green text
- Autodetection fails on apache config file
- In http://foo it looks like // is being treated as a comment start
- The first segment of paths is blue
- Autodetection doesn't recognize commands HOT 1
- Patch for /trunk/styles/desert.css HOT 2
- Tab indent size HOT 1
- Scheme language detection fail HOT 1
- Easier install over CDN HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-code-prettify.