|
Lines 1-4
Link Here
|
| 1 |
/* The following code was generated by JFlex 1.2.2 on 5/9/06 8:02 PM */ |
1 |
/* The following code was generated by JFlex 1.2.2 on 5/29/06 10:16 PM */ |
| 2 |
|
2 |
|
| 3 |
/******************************************************************************* |
3 |
/******************************************************************************* |
| 4 |
* Copyright (c) 2004, 2006 IBM Corporation and others. |
4 |
* Copyright (c) 2004, 2006 IBM Corporation and others. |
|
Lines 37-43
Link Here
|
| 37 |
/** |
37 |
/** |
| 38 |
* This class is a scanner generated by |
38 |
* This class is a scanner generated by |
| 39 |
* <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2 |
39 |
* <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2 |
| 40 |
* on 5/9/06 8:02 PM from the specification file |
40 |
* on 5/29/06 10:16 PM from the specification file |
| 41 |
* <tt>file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex</tt> |
41 |
* <tt>file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex</tt> |
| 42 |
*/ |
42 |
*/ |
| 43 |
public class JSPTokenizer implements BlockTokenizer, DOMJSPRegionContexts { |
43 |
public class JSPTokenizer implements BlockTokenizer, DOMJSPRegionContexts { |
|
Lines 2239-2246
Link Here
|
| 2239 |
return PROXY_CONTEXT; |
2239 |
return PROXY_CONTEXT; |
| 2240 |
} |
2240 |
} |
| 2241 |
// finished sanity checks |
2241 |
// finished sanity checks |
| 2242 |
fStateStack.push(yystate()); |
2242 |
if(yystate()==YYINITIAL) { |
| 2243 |
if(fStateStack.peek()==YYINITIAL) { |
|
|
| 2244 |
// the simple case, just a regular scriptlet out in content |
2243 |
// the simple case, just a regular scriptlet out in content |
| 2245 |
if(Debug.debugTokenizer) |
2244 |
if(Debug.debugTokenizer) |
| 2246 |
dump("\nJSP comment start");//$NON-NLS-1$ |
2245 |
dump("\nJSP comment start");//$NON-NLS-1$ |
|
Lines 3601-3607
Link Here
|
| 3601 |
return BLOCK_TEXT; |
3600 |
return BLOCK_TEXT; |
| 3602 |
} |
3601 |
} |
| 3603 |
// required help for successive embedded regions |
3602 |
// required help for successive embedded regions |
| 3604 |
// required help for successive embedded regions, mark this one as white-space (it's a server-side comment) so it will be otherwise ignored |
|
|
| 3605 |
if(yystate() == ST_XML_TAG_NAME) { |
3603 |
if(yystate() == ST_XML_TAG_NAME) { |
| 3606 |
fEmbeddedHint = XML_TAG_NAME; |
3604 |
fEmbeddedHint = XML_TAG_NAME; |
| 3607 |
fEmbeddedPostState = ST_XML_ATTRIBUTE_NAME; |
3605 |
fEmbeddedPostState = ST_XML_ATTRIBUTE_NAME; |