}
@Test
public void testReverse() {
String src = "@\n@{appliction.index()}";
JapidParser p = new JapidParser(src);
List<TokenPair> tokens = p.allTokens();
assertEquals(5, tokens.size());
assertEquals(Token.PLAIN, tokens.get(0).token);
assertEquals(Token.SCRIPT_LINE, tokens.get(1).token);
assertEquals(Token.PLAIN, tokens.get(2).token);
assertEquals(Token.ACTION, tokens.get(3).token);