token.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 650 行 · 第 1/2 页
HTML
650 行
NULL</H3><PRE>public static final byte <B>NULL</B></PRE><DL><DD>Normal text token id. This should be used to mark normal text.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.NULL">Constant Field Values</A></DL></DL><HR><A NAME="COMMENT1"><!-- --></A><H3>COMMENT1</H3><PRE>public static final byte <B>COMMENT1</B></PRE><DL><DD>Comment 1 token id. This can be used to mark a comment.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.COMMENT1">Constant Field Values</A></DL></DL><HR><A NAME="COMMENT2"><!-- --></A><H3>COMMENT2</H3><PRE>public static final byte <B>COMMENT2</B></PRE><DL><DD>Comment 2 token id. This can be used to mark a comment.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.COMMENT2">Constant Field Values</A></DL></DL><HR><A NAME="LITERAL1"><!-- --></A><H3>LITERAL1</H3><PRE>public static final byte <B>LITERAL1</B></PRE><DL><DD>Literal 1 token id. This can be used to mark a string literal (eg, C mode uses this to mark "..." literals)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.LITERAL1">Constant Field Values</A></DL></DL><HR><A NAME="LITERAL2"><!-- --></A><H3>LITERAL2</H3><PRE>public static final byte <B>LITERAL2</B></PRE><DL><DD>Literal 2 token id. This can be used to mark an object literal (eg, Java mode uses this to mark true, false, etc)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.LITERAL2">Constant Field Values</A></DL></DL><HR><A NAME="LABEL"><!-- --></A><H3>LABEL</H3><PRE>public static final byte <B>LABEL</B></PRE><DL><DD>Label token id. This can be used to mark labels (eg, C mode uses this to mark ...: sequences)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.LABEL">Constant Field Values</A></DL></DL><HR><A NAME="KEYWORD1"><!-- --></A><H3>KEYWORD1</H3><PRE>public static final byte <B>KEYWORD1</B></PRE><DL><DD>Keyword 1 token id. This can be used to mark a keyword. This should be used for general language constructs.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.KEYWORD1">Constant Field Values</A></DL></DL><HR><A NAME="KEYWORD2"><!-- --></A><H3>KEYWORD2</H3><PRE>public static final byte <B>KEYWORD2</B></PRE><DL><DD>Keyword 2 token id. This can be used to mark a keyword. This should be used for preprocessor commands, or variables.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.KEYWORD2">Constant Field Values</A></DL></DL><HR><A NAME="KEYWORD3"><!-- --></A><H3>KEYWORD3</H3><PRE>public static final byte <B>KEYWORD3</B></PRE><DL><DD>Keyword 3 token id. This can be used to mark a keyword. This should be used for data types.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.KEYWORD3">Constant Field Values</A></DL></DL><HR><A NAME="OPERATOR"><!-- --></A><H3>OPERATOR</H3><PRE>public static final byte <B>OPERATOR</B></PRE><DL><DD>Operator token id. This can be used to mark an operator. (eg, SQL mode marks +, -, etc with this token type)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.OPERATOR">Constant Field Values</A></DL></DL><HR><A NAME="INVALID"><!-- --></A><H3>INVALID</H3><PRE>public static final byte <B>INVALID</B></PRE><DL><DD>Invalid token id. This can be used to mark invalid or incomplete tokens, so the user can easily spot syntax errors.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.INVALID">Constant Field Values</A></DL></DL><HR><A NAME="ID_COUNT"><!-- --></A><H3>ID_COUNT</H3><PRE>public static final byte <B>ID_COUNT</B></PRE><DL><DD>The total number of defined token ids.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.ID_COUNT">Constant Field Values</A></DL></DL><HR><A NAME="INTERNAL_FIRST"><!-- --></A><H3>INTERNAL_FIRST</H3><PRE>public static final byte <B>INTERNAL_FIRST</B></PRE><DL><DD>The first id that can be used for internal state in a token marker.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.INTERNAL_FIRST">Constant Field Values</A></DL></DL><HR><A NAME="INTERNAL_LAST"><!-- --></A><H3>INTERNAL_LAST</H3><PRE>public static final byte <B>INTERNAL_LAST</B></PRE><DL><DD>The last id that can be used for internal state in a token marker.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.INTERNAL_LAST">Constant Field Values</A></DL></DL><HR><A NAME="END"><!-- --></A><H3>END</H3><PRE>public static final byte <B>END</B></PRE><DL><DD>The token type, that along with a length of 0 marks the end of the token list.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.Token.END">Constant Field Values</A></DL></DL><HR><A NAME="length"><!-- --></A><H3>length</H3><PRE>public int <B>length</B></PRE><DL><DD>The length of this token.<P><DL></DL></DL><HR><A NAME="id"><!-- --></A><H3>id</H3><PRE>public byte <B>id</B></PRE><DL><DD>The id of this token.<P><DL></DL></DL><HR><A NAME="next"><!-- --></A><H3>next</H3><PRE>public <A HREF="../../../../../com/rapidminer/gui/tools/syntax/Token.html" title="class in com.rapidminer.gui.tools.syntax">Token</A> <B>next</B></PRE><DL><DD>The next token in the linked list.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Token(int, byte)"><!-- --></A><H3>Token</H3><PRE>public <B>Token</B>(int length, byte id)</PRE><DL><DD>Creates a new token.<P><DL><DT><B>Parameters:</B><DD><CODE>length</CODE> - The length of the token<DD><CODE>id</CODE> - The id of the token</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string representation of this token.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Token.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextUtilities.html" title="class in com.rapidminer.gui.tools.syntax"><B>PREV CLASS</B></A> <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html" title="class in com.rapidminer.gui.tools.syntax"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/rapidminer/gui/tools/syntax/Token.html" target="_top"><B>FRAMES</B></A> <A HREF="Token.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?