PageRenderTime 118ms CodeModel.GetById 64ms app.highlight 48ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/syntax/Token.html

#
HTML | 814 lines | 707 code | 93 blank | 14 comment | 0 complexity | 5eced82dc3f17c0bbc9cc413b681d3f9 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:13 GMT-08:00 2008 -->
  6<TITLE>
  7Token (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.syntax.Token class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Token.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/SyntaxUtilities.html" title="class in org.gjt.sp.jedit.syntax"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenHandler.html" title="interface in org.gjt.sp.jedit.syntax"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/syntax/Token.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="Token.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.syntax</FONT>
 78<BR>
 79Class Token</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.syntax.Token</B>
 83</PRE>
 84<DL>
 85<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A></DD>
 86</DL>
 87<HR>
 88<DL>
 89<DT><PRE>public class <B>Token</B><DT>extends java.lang.Object</DL>
 90</PRE>
 91
 92<P>
 93A linked list of syntax tokens.
 94<P>
 95
 96<P>
 97<HR>
 98
 99<P>
100<!-- =========== FIELD SUMMARY =========== -->
101
102<A NAME="field_summary"><!-- --></A>
103<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
104<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
105<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
106<B>Field Summary</B></FONT></TH>
107</TR>
108<TR BGCOLOR="white" CLASS="TableRowColor">
109<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
110<CODE>static&nbsp;byte</CODE></FONT></TD>
111<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#COMMENT1">COMMENT1</A></B></CODE>
112
113<BR>
114&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
115</TR>
116<TR BGCOLOR="white" CLASS="TableRowColor">
117<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
118<CODE>static&nbsp;byte</CODE></FONT></TD>
119<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#COMMENT2">COMMENT2</A></B></CODE>
120
121<BR>
122&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126<CODE>static&nbsp;byte</CODE></FONT></TD>
127<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#COMMENT3">COMMENT3</A></B></CODE>
128
129<BR>
130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>static&nbsp;byte</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#COMMENT4">COMMENT4</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>static&nbsp;byte</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#DIGIT">DIGIT</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>static&nbsp;byte</CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#END">END</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>static&nbsp;byte</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#FUNCTION">FUNCTION</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>&nbsp;byte</CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#id">id</A></B></CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The id of this token.</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>static&nbsp;byte</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#ID_COUNT">ID_COUNT</A></B></CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>static&nbsp;byte</CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#INVALID">INVALID</A></B></CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>static&nbsp;byte</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#KEYWORD1">KEYWORD1</A></B></CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198<CODE>static&nbsp;byte</CODE></FONT></TD>
199<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#KEYWORD2">KEYWORD2</A></B></CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>static&nbsp;byte</CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#KEYWORD3">KEYWORD3</A></B></CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
211</TR>
212<TR BGCOLOR="white" CLASS="TableRowColor">
213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214<CODE>static&nbsp;byte</CODE></FONT></TD>
215<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#KEYWORD4">KEYWORD4</A></B></CODE>
216
217<BR>
218&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222<CODE>static&nbsp;byte</CODE></FONT></TD>
223<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#LABEL">LABEL</A></B></CODE>
224
225<BR>
226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
227</TR>
228<TR BGCOLOR="white" CLASS="TableRowColor">
229<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230<CODE>&nbsp;int</CODE></FONT></TD>
231<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#length">length</A></B></CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The length of this token.</TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238<CODE>static&nbsp;byte</CODE></FONT></TD>
239<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#LITERAL1">LITERAL1</A></B></CODE>
240
241<BR>
242&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246<CODE>static&nbsp;byte</CODE></FONT></TD>
247<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#LITERAL2">LITERAL2</A></B></CODE>
248
249<BR>
250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
251</TR>
252<TR BGCOLOR="white" CLASS="TableRowColor">
253<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
254<CODE>static&nbsp;byte</CODE></FONT></TD>
255<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#LITERAL3">LITERAL3</A></B></CODE>
256
257<BR>
258&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
259</TR>
260<TR BGCOLOR="white" CLASS="TableRowColor">
261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262<CODE>static&nbsp;byte</CODE></FONT></TD>
263<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#LITERAL4">LITERAL4</A></B></CODE>
264
265<BR>
266&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
267</TR>
268<TR BGCOLOR="white" CLASS="TableRowColor">
269<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270<CODE>static&nbsp;byte</CODE></FONT></TD>
271<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#MARKUP">MARKUP</A></B></CODE>
272
273<BR>
274&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html" title="class in org.gjt.sp.jedit.syntax">Token</A></CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#next">next</A></B></CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The next token in the linked list.</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>static&nbsp;byte</CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#NULL">NULL</A></B></CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>&nbsp;int</CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#offset">offset</A></B></CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The start offset of this token.</TD>
299</TR>
300<TR BGCOLOR="white" CLASS="TableRowColor">
301<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302<CODE>static&nbsp;byte</CODE></FONT></TD>
303<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#OPERATOR">OPERATOR</A></B></CODE>
304
305<BR>
306&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
307</TR>
308<TR BGCOLOR="white" CLASS="TableRowColor">
309<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A></CODE></FONT></TD>
311<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#rules">rules</A></B></CODE>
312
313<BR>
314&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The rule set of this token.</TD>
315</TR>
316<TR BGCOLOR="white" CLASS="TableRowColor">
317<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
319<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#TOKEN_TYPES">TOKEN_TYPES</A></B></CODE>
320
321<BR>
322&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
323</TR>
324</TABLE>
325&nbsp;
326<!-- ======== CONSTRUCTOR SUMMARY ======== -->
327
328<A NAME="constructor_summary"><!-- --></A>
329<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
330<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
331<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
332<B>Constructor Summary</B></FONT></TH>
333</TR>
334<TR BGCOLOR="white" CLASS="TableRowColor">
335<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#Token(byte, int, int, org.gjt.sp.jedit.syntax.ParserRuleSet)">Token</A></B>(byte&nbsp;id,
336      int&nbsp;offset,
337      int&nbsp;length,
338      <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A>&nbsp;rules)</CODE>
339
340<BR>
341&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new token.</TD>
342</TR>
343</TABLE>
344&nbsp;
345<!-- ========== METHOD SUMMARY =========== -->
346
347<A NAME="method_summary"><!-- --></A>
348<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
349<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
350<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
351<B>Method Summary</B></FONT></TH>
352</TR>
353<TR BGCOLOR="white" CLASS="TableRowColor">
354<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
355<CODE>static&nbsp;byte</CODE></FONT></TD>
356<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#stringToToken(java.lang.String)">stringToToken</A></B>(java.lang.String&nbsp;value)</CODE>
357
358<BR>
359&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a token type string to a token type constant.</TD>
360</TR>
361<TR BGCOLOR="white" CLASS="TableRowColor">
362<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
363<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
364<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#tokenToString(byte)">tokenToString</A></B>(byte&nbsp;token)</CODE>
365
366<BR>
367&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a token type constant to a token type string.</TD>
368</TR>
369<TR BGCOLOR="white" CLASS="TableRowColor">
370<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
371<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
372<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html#toString()">toString</A></B>()</CODE>
373
374<BR>
375&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this token.</TD>
376</TR>
377</TABLE>
378&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
379<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
380<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
381<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
382</TR>
383<TR BGCOLOR="white" CLASS="TableRowColor">
384<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
385</TR>
386</TABLE>
387&nbsp;
388<P>
389
390<!-- ============ FIELD DETAIL =========== -->
391
392<A NAME="field_detail"><!-- --></A>
393<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
394<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
395<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
396<B>Field Detail</B></FONT></TH>
397</TR>
398</TABLE>
399
400<A NAME="TOKEN_TYPES"><!-- --></A><H3>
401TOKEN_TYPES</H3>
402<PRE>
403public static final java.lang.String[] <B>TOKEN_TYPES</B></PRE>
404<DL>
405<DL>
406</DL>
407</DL>
408<HR>
409
410<A NAME="NULL"><!-- --></A><H3>
411NULL</H3>
412<PRE>
413public static final byte <B>NULL</B></PRE>
414<DL>
415<DL>
416<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.NULL">Constant Field Values</A></DL>
417</DL>
418<HR>
419
420<A NAME="COMMENT1"><!-- --></A><H3>
421COMMENT1</H3>
422<PRE>
423public static final byte <B>COMMENT1</B></PRE>
424<DL>
425<DL>
426<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.COMMENT1">Constant Field Values</A></DL>
427</DL>
428<HR>
429
430<A NAME="COMMENT2"><!-- --></A><H3>
431COMMENT2</H3>
432<PRE>
433public static final byte <B>COMMENT2</B></PRE>
434<DL>
435<DL>
436<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.COMMENT2">Constant Field Values</A></DL>
437</DL>
438<HR>
439
440<A NAME="COMMENT3"><!-- --></A><H3>
441COMMENT3</H3>
442<PRE>
443public static final byte <B>COMMENT3</B></PRE>
444<DL>
445<DL>
446<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.COMMENT3">Constant Field Values</A></DL>
447</DL>
448<HR>
449
450<A NAME="COMMENT4"><!-- --></A><H3>
451COMMENT4</H3>
452<PRE>
453public static final byte <B>COMMENT4</B></PRE>
454<DL>
455<DL>
456<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.COMMENT4">Constant Field Values</A></DL>
457</DL>
458<HR>
459
460<A NAME="DIGIT"><!-- --></A><H3>
461DIGIT</H3>
462<PRE>
463public static final byte <B>DIGIT</B></PRE>
464<DL>
465<DL>
466<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.DIGIT">Constant Field Values</A></DL>
467</DL>
468<HR>
469
470<A NAME="FUNCTION"><!-- --></A><H3>
471FUNCTION</H3>
472<PRE>
473public static final byte <B>FUNCTION</B></PRE>
474<DL>
475<DL>
476<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.FUNCTION">Constant Field Values</A></DL>
477</DL>
478<HR>
479
480<A NAME="INVALID"><!-- --></A><H3>
481INVALID</H3>
482<PRE>
483public static final byte <B>INVALID</B></PRE>
484<DL>
485<DL>
486<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.INVALID">Constant Field Values</A></DL>
487</DL>
488<HR>
489
490<A NAME="KEYWORD1"><!-- --></A><H3>
491KEYWORD1</H3>
492<PRE>
493public static final byte <B>KEYWORD1</B></PRE>
494<DL>
495<DL>
496<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.KEYWORD1">Constant Field Values</A></DL>
497</DL>
498<HR>
499
500<A NAME="KEYWORD2"><!-- --></A><H3>
501KEYWORD2</H3>
502<PRE>
503public static final byte <B>KEYWORD2</B></PRE>
504<DL>
505<DL>
506<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.KEYWORD2">Constant Field Values</A></DL>
507</DL>
508<HR>
509
510<A NAME="KEYWORD3"><!-- --></A><H3>
511KEYWORD3</H3>
512<PRE>
513public static final byte <B>KEYWORD3</B></PRE>
514<DL>
515<DL>
516<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.KEYWORD3">Constant Field Values</A></DL>
517</DL>
518<HR>
519
520<A NAME="KEYWORD4"><!-- --></A><H3>
521KEYWORD4</H3>
522<PRE>
523public static final byte <B>KEYWORD4</B></PRE>
524<DL>
525<DL>
526<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.KEYWORD4">Constant Field Values</A></DL>
527</DL>
528<HR>
529
530<A NAME="LABEL"><!-- --></A><H3>
531LABEL</H3>
532<PRE>
533public static final byte <B>LABEL</B></PRE>
534<DL>
535<DL>
536<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.LABEL">Constant Field Values</A></DL>
537</DL>
538<HR>
539
540<A NAME="LITERAL1"><!-- --></A><H3>
541LITERAL1</H3>
542<PRE>
543public static final byte <B>LITERAL1</B></PRE>
544<DL>
545<DL>
546<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.LITERAL1">Constant Field Values</A></DL>
547</DL>
548<HR>
549
550<A NAME="LITERAL2"><!-- --></A><H3>
551LITERAL2</H3>
552<PRE>
553public static final byte <B>LITERAL2</B></PRE>
554<DL>
555<DL>
556<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.LITERAL2">Constant Field Values</A></DL>
557</DL>
558<HR>
559
560<A NAME="LITERAL3"><!-- --></A><H3>
561LITERAL3</H3>
562<PRE>
563public static final byte <B>LITERAL3</B></PRE>
564<DL>
565<DL>
566<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.LITERAL3">Constant Field Values</A></DL>
567</DL>
568<HR>
569
570<A NAME="LITERAL4"><!-- --></A><H3>
571LITERAL4</H3>
572<PRE>
573public static final byte <B>LITERAL4</B></PRE>
574<DL>
575<DL>
576<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.LITERAL4">Constant Field Values</A></DL>
577</DL>
578<HR>
579
580<A NAME="MARKUP"><!-- --></A><H3>
581MARKUP</H3>
582<PRE>
583public static final byte <B>MARKUP</B></PRE>
584<DL>
585<DL>
586<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.MARKUP">Constant Field Values</A></DL>
587</DL>
588<HR>
589
590<A NAME="OPERATOR"><!-- --></A><H3>
591OPERATOR</H3>
592<PRE>
593public static final byte <B>OPERATOR</B></PRE>
594<DL>
595<DL>
596<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.OPERATOR">Constant Field Values</A></DL>
597</DL>
598<HR>
599
600<A NAME="ID_COUNT"><!-- --></A><H3>
601ID_COUNT</H3>
602<PRE>
603public static final byte <B>ID_COUNT</B></PRE>
604<DL>
605<DL>
606<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.ID_COUNT">Constant Field Values</A></DL>
607</DL>
608<HR>
609
610<A NAME="END"><!-- --></A><H3>
611END</H3>
612<PRE>
613public static final byte <B>END</B></PRE>
614<DL>
615<DL>
616<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.Token.END">Constant Field Values</A></DL>
617</DL>
618<HR>
619
620<A NAME="id"><!-- --></A><H3>
621id</H3>
622<PRE>
623public byte <B>id</B></PRE>
624<DL>
625<DD>The id of this token.
626<P>
627<DL>
628</DL>
629</DL>
630<HR>
631
632<A NAME="offset"><!-- --></A><H3>
633offset</H3>
634<PRE>
635public int <B>offset</B></PRE>
636<DL>
637<DD>The start offset of this token.
638<P>
639<DL>
640</DL>
641</DL>
642<HR>
643
644<A NAME="length"><!-- --></A><H3>
645length</H3>
646<PRE>
647public int <B>length</B></PRE>
648<DL>
649<DD>The length of this token.
650<P>
651<DL>
652</DL>
653</DL>
654<HR>
655
656<A NAME="rules"><!-- --></A><H3>
657rules</H3>
658<PRE>
659public <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A> <B>rules</B></PRE>
660<DL>
661<DD>The rule set of this token.
662<P>
663<DL>
664</DL>
665</DL>
666<HR>
667
668<A NAME="next"><!-- --></A><H3>
669next</H3>
670<PRE>
671public <A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html" title="class in org.gjt.sp.jedit.syntax">Token</A> <B>next</B></PRE>
672<DL>
673<DD>The next token in the linked list.
674<P>
675<DL>
676</DL>
677</DL>
678
679<!-- ========= CONSTRUCTOR DETAIL ======== -->
680
681<A NAME="constructor_detail"><!-- --></A>
682<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
683<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
684<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
685<B>Constructor Detail</B></FONT></TH>
686</TR>
687</TABLE>
688
689<A NAME="Token(byte, int, int, org.gjt.sp.jedit.syntax.ParserRuleSet)"><!-- --></A><H3>
690Token</H3>
691<PRE>
692public <B>Token</B>(byte&nbsp;id,
693             int&nbsp;offset,
694             int&nbsp;length,
695             <A HREF="../../../../../org/gjt/sp/jedit/syntax/ParserRuleSet.html" title="class in org.gjt.sp.jedit.syntax">ParserRuleSet</A>&nbsp;rules)</PRE>
696<DL>
697<DD>Creates a new token.
698<P>
699<DL>
700<DT><B>Parameters:</B><DD><CODE>id</CODE> - The id of the token<DD><CODE>offset</CODE> - The start offset of the token<DD><CODE>length</CODE> - The length of the token<DD><CODE>rules</CODE> - The parser rule set that generated this token</DL>
701</DL>
702
703<!-- ============ METHOD DETAIL ========== -->
704
705<A NAME="method_detail"><!-- --></A>
706<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
707<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
708<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
709<B>Method Detail</B></FONT></TH>
710</TR>
711</TABLE>
712
713<A NAME="stringToToken(java.lang.String)"><!-- --></A><H3>
714stringToToken</H3>
715<PRE>
716public static byte <B>stringToToken</B>(java.lang.String&nbsp;value)</PRE>
717<DL>
718<DD>Converts a token type string to a token type constant.
719<P>
720<DD><DL>
721<DT><B>Parameters:</B><DD><CODE>value</CODE> - The token type<DT><B>Since:</B></DT>
722  <DD>jEdit 4.1pre1</DD>
723</DL>
724</DD>
725</DL>
726<HR>
727
728<A NAME="tokenToString(byte)"><!-- --></A><H3>
729tokenToString</H3>
730<PRE>
731public static java.lang.String <B>tokenToString</B>(byte&nbsp;token)</PRE>
732<DL>
733<DD>Converts a token type constant to a token type string.
734<P>
735<DD><DL>
736<DT><B>Since:</B></DT>
737  <DD>jEdit 4.2pre1</DD>
738</DL>
739</DD>
740</DL>
741<HR>
742
743<A NAME="toString()"><!-- --></A><H3>
744toString</H3>
745<PRE>
746public java.lang.String <B>toString</B>()</PRE>
747<DL>
748<DD>Returns a string representation of this token.
749<P>
750<DD><DL>
751<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
752</DD>
753<DD><DL>
754</DL>
755</DD>
756</DL>
757<!-- ========= END OF CLASS DATA ========= -->
758<HR>
759
760
761<!-- ======= START OF BOTTOM NAVBAR ====== -->
762<A NAME="navbar_bottom"><!-- --></A>
763<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
764<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
765<TR>
766<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
767<A NAME="navbar_bottom_firstrow"><!-- --></A>
768<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
769  <TR ALIGN="center" VALIGN="top">
770  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
771  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
772  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
773  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Token.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
774  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
775  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
776  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
777  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
778  </TR>
779</TABLE>
780</TD>
781<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
782</EM>
783</TD>
784</TR>
785
786<TR>
787<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
788&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/SyntaxUtilities.html" title="class in org.gjt.sp.jedit.syntax"><B>PREV CLASS</B></A>&nbsp;
789&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenHandler.html" title="interface in org.gjt.sp.jedit.syntax"><B>NEXT CLASS</B></A></FONT></TD>
790<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
791  <A HREF="../../../../../index.html?org/gjt/sp/jedit/syntax/Token.html" target="_top"><B>FRAMES</B></A>  &nbsp;
792&nbsp;<A HREF="Token.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
793&nbsp;
794<NOSCRIPT>
795  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
796</NOSCRIPT>
797
798
799</FONT></TD>
800</TR>
801<TR>
802<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
803  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
804<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
805DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
806</TR>
807</TABLE>
808<A NAME="skip-navbar_bottom"></A>
809<!-- ======== END OF BOTTOM NAVBAR ======= -->
810
811<HR>
812
813</BODY>
814</HTML>