GRAILS-1019: Allowing expressions to be used with the 'disabled' attribute for g...
[grails.git] / src / web / org / codehaus / groovy / grails / web / pages / Tokens.java
blob8da53ae99a598b1b1f90ef610d1b9a57975520f3
1 package org.codehaus.groovy.grails.web.pages;
3 /**
4 * NOTE: Based on work done by on the GSP standalone project (https://gsp.dev.java.net/)
6 * Interface defining an enumeration of tokens for the different scriptlet types
8 * @author Troy Heninger
9 * @author Graeme Rocher
11 * Date: Jan 10, 2004
14 interface Tokens {
15 static final int EOF = -1;
16 static final int HTML = 0;
17 static final int JEXPR = 1; // <%= ... %>
18 static final int JSCRIPT = 2; // <% .... %>
19 static final int JDIRECT = 3; // <%@ ... %>
20 static final int JDECLAR = 4; // <%! ... %>
21 static final int GEXPR = 11; // ${ ... }
22 static final int GSCRIPT = 12; // %{ ... }%
23 static final int GDIRECT = 13; // @{ ... }
24 static final int GDECLAR = 14; // !{ ... }!
25 static final int GSTART_TAG = 15; // <g:..>
26 static final int GEND_TAG = 16; // </g:..>
27 static final int GTAG_EXPR = 17; // ${..}