lexscan.html

来自「数据挖掘的最常用工具。由于开源」· HTML 代码 · 共 1,030 行 · 第 1/3 页

HTML
1,030
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enters a new lexical state</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yycharat(int)">yycharat</A></B>(int&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character at position <tt>pos</tt> from the  matched text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yyclose()">yyclose</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yylength()">yylength</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the length of the matched text region.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yymoreStreams()">yymoreStreams</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true iff there are still streams left  to read from on the stream stack.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yypopStream()">yypopStream</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the current input stream and continues to read from the one on top of the stream stack.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yypushback(int)">yypushback</A></B>(int&nbsp;number)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pushes the specified amount of characters back into the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yypushStream(java.io.Reader)">yypushStream</A></B>(java.io.Reader&nbsp;reader)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores the current input stream on a stack, and reads from a new stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yyreset(java.io.Reader)">yyreset</A></B>(java.io.Reader&nbsp;reader)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the scanner to read from a new input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yystate()">yystate</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current lexical state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../weka/core/parser/JFlex/LexScan.html#yytext()">yytext</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text matched by the current regular expression.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="YYEOF"><!-- --></A><H3>YYEOF</H3><PRE>public static final int <B>YYEOF</B></PRE><DL><DD>This character denotes the end of file<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.YYEOF">Constant Field Values</A></DL></DL><HR><A NAME="STRING_CONTENT"><!-- --></A><H3>STRING_CONTENT</H3><PRE>public static final int <B>STRING_CONTENT</B></PRE><DL><DD>lexical states<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.STRING_CONTENT">Constant Field Values</A></DL></DL><HR><A NAME="REGEXPSTART"><!-- --></A><H3>REGEXPSTART</H3><PRE>public static final int <B>REGEXPSTART</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.REGEXPSTART">Constant Field Values</A></DL></DL><HR><A NAME="MACROS"><!-- --></A><H3>MACROS</H3><PRE>public static final int <B>MACROS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.MACROS">Constant Field Values</A></DL></DL><HR><A NAME="STATELIST"><!-- --></A><H3>STATELIST</H3><PRE>public static final int <B>STATELIST</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.STATELIST">Constant Field Values</A></DL></DL><HR><A NAME="EATWSPNL"><!-- --></A><H3>EATWSPNL</H3><PRE>public static final int <B>EATWSPNL</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.EATWSPNL">Constant Field Values</A></DL></DL><HR><A NAME="CHARCLASS"><!-- --></A><H3>CHARCLASS</H3><PRE>public static final int <B>CHARCLASS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.CHARCLASS">Constant Field Values</A></DL></DL><HR><A NAME="JAVA_CODE"><!-- --></A><H3>JAVA_CODE</H3><PRE>public static final int <B>JAVA_CODE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.JAVA_CODE">Constant Field Values</A></DL></DL><HR><A NAME="REGEXP"><!-- --></A><H3>REGEXP</H3><PRE>public static final int <B>REGEXP</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.REGEXP">Constant Field Values</A></DL></DL><HR><A NAME="YYINITIAL"><!-- --></A><H3>YYINITIAL</H3><PRE>public static final int <B>YYINITIAL</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.YYINITIAL">Constant Field Values</A></DL></DL><HR><A NAME="REPEATEXP"><!-- --></A><H3>REPEATEXP</H3><PRE>public static final int <B>REPEATEXP</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.REPEATEXP">Constant Field Values</A></DL></DL><HR><A NAME="COMMENT"><!-- --></A><H3>COMMENT</H3><PRE>public static final int <B>COMMENT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.COMMENT">Constant Field Values</A></DL></DL><HR><A NAME="STATES"><!-- --></A><H3>STATES</H3><PRE>public static final int <B>STATES</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.STATES">Constant Field Values</A></DL></DL><HR><A NAME="COPY"><!-- --></A><H3>COPY</H3><PRE>public static final int <B>COPY</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#weka.core.parser.JFlex.LexScan.COPY">Constant Field Values</A></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="LexScan(java.io.Reader)"><!-- --></A><H3>LexScan</H3><PRE>public <B>LexScan</B>(java.io.Reader&nbsp;in)</PRE><DL><DD>Creates a new scanner There is also a java.io.InputStream version of this constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the java.io.Reader to read input from.</DL></DL><HR><A NAME="LexScan(java.io.InputStream)"><!-- --></A><H3>LexScan</H3><PRE>public <B>LexScan</B>(java.io.InputStream&nbsp;in)</PRE><DL><DD>Creates a new scanner. There is also java.io.Reader version of this constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - the java.io.Inputstream to read input from.</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="currentLine()"><!-- --></A><H3>currentLine</H3><PRE>public int <B>currentLine</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setFile(java.io.File)"><!-- --></A><H3>setFile</H3><PRE>public void <B>setFile</B>(java.io.File&nbsp;file)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="conc(java.lang.Object, java.lang.Object)"><!-- --></A><H3>conc</H3><PRE>public static java.lang.String <B>conc</B>(java.lang.Object&nbsp;a,                                    java.lang.Object&nbsp;b)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="concExc(java.lang.Object, java.lang.Object)"><!-- --></A><H3>concExc</H3><PRE>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?