views:

69

answers:

2

I was going through the spark view engine documentation and found a lot of literals showing up in code for which I couldn’t find any references. For e.g.

! , #, $ , !$ , ...

What are these for? What do the combinations mean? When do they come into use? Am I missing any more literals that precede or comes after {

+1  A: 

Also ?{ for conditional output.

R0MANARMY
http://www.codinginstinct.com/2008/09/sparks-of-brilliance.html
Quintin Par
@Quintin Par: very cool, nice work.
R0MANARMY
A: 

Found one:

The syntax $!{expression} can also be used if you want to ensure any null values and NullReferenceException that result from the expression will produce no output at all.

Quintin Par
@R0MANARMY I am just writing this as a blog entry and hopefully the most useful ones will get voted up(as opposed to everything in a single post). Points are not a concern to me. If you want the points write up relevant answers. I’ll raise a bounty and give you an extra hundred.
Quintin Par
@R0MANARMY http://meta.stackoverflow.com/questions/2706/moving-a-personal-technical-blog-to-stackoverflow-serverfault/2729#2729
Quintin Par
@Quintin Par: I stand corrected.
R0MANARMY