Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
scratchpad [2009/10/19 21:04] aspectscript |
scratchpad [2010/05/11 23:08] (current) aspectscript |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scratchpad ====== | ====== Scratchpad ====== | ||
- | In this page you can interactively try AspectScript. | + | In this page you can interactively try AspectScript. |
======= Type your code in this text area... ======= | ======= Type your code in this text area... ======= | ||
Line 7: | Line 7: | ||
| | ||
<form action="/ | <form action="/ | ||
- | < | + | < |
var pc = function(){ | var pc = function(){ | ||
| | ||
Line 17: | Line 17: | ||
AspectScript.before(pc, | AspectScript.before(pc, | ||
- | //all the following | + | //all the jps generated from here are seen by the aspect |
pc(); | pc(); | ||
var x = 0; | var x = 0; | ||
Line 24: | Line 24: | ||
</ | </ | ||
- | < | + | < |
- | <body> | + | <b>Sequences matched:</b> |
- | <b>This is the list of join points seen by the aspect:</b> | + | |
<div id=" | <div id=" | ||
- | </ | ||
</ | </ | ||