production.html

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

HTML
918
字号
public void <B>set_precedence_side</B>(int&nbsp;prec_side)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="rhs(int)"><!-- --></A><H3>rhs</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/production_part.html" title="class in weka.core.parser.java_cup">production_part</A> <B>rhs</B>(int&nbsp;indx)                    throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Access to the collection of parts for the right hand side.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DD></DL><HR><A NAME="rhs_length()"><!-- --></A><H3>rhs_length</H3><PRE>public int <B>rhs_length</B>()</PRE><DL><DD>How much of the right hand side array we are presently using.<P><DD><DL></DL></DD></DL><HR><A NAME="action()"><!-- --></A><H3>action</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/action_part.html" title="class in weka.core.parser.java_cup">action_part</A> <B>action</B>()</PRE><DL><DD>An action_part containing code for the action to be performed when we   reduce with this production.<P><DD><DL></DL></DD></DL><HR><A NAME="index()"><!-- --></A><H3>index</H3><PRE>public int <B>index</B>()</PRE><DL><DD>Index number of the production.<P><DD><DL></DL></DD></DL><HR><A NAME="num_reductions()"><!-- --></A><H3>num_reductions</H3><PRE>public int <B>num_reductions</B>()</PRE><DL><DD>Count of number of reductions using this production.<P><DD><DL></DL></DD></DL><HR><A NAME="note_reduction_use()"><!-- --></A><H3>note_reduction_use</H3><PRE>public void <B>note_reduction_use</B>()</PRE><DL><DD>Increment the count of reductions with this non-terminal<P><DD><DL></DL></DD></DL><HR><A NAME="nullable_known()"><!-- --></A><H3>nullable_known</H3><PRE>public boolean <B>nullable_known</B>()</PRE><DL><DD>Is the nullability of the production known or unknown?<P><DD><DL></DL></DD></DL><HR><A NAME="nullable()"><!-- --></A><H3>nullable</H3><PRE>public boolean <B>nullable</B>()</PRE><DL><DD>Nullability of the production (can it derive the empty string).<P><DD><DL></DL></DD></DL><HR><A NAME="first_set()"><!-- --></A><H3>first_set</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/terminal_set.html" title="class in weka.core.parser.java_cup">terminal_set</A> <B>first_set</B>()</PRE><DL><DD>First set of the production.  This is the set of terminals that   could appear at the front of some string derived from this production.<P><DD><DL></DL></DD></DL><HR><A NAME="check_nullable()"><!-- --></A><H3>check_nullable</H3><PRE>public boolean <B>check_nullable</B>()                       throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Check to see if the production (now) appears to be nullable.  A production is nullable if its RHS could derive the empty string.  This results when the RHS is empty or contains only non terminals  which themselves are nullable.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DD></DL><HR><A NAME="check_first_set()"><!-- --></A><H3>check_first_set</H3><PRE>public <A HREF="../../../../weka/core/parser/java_cup/terminal_set.html" title="class in weka.core.parser.java_cup">terminal_set</A> <B>check_first_set</B>()                             throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Update (and return) the first set based on current NT firsts.   This assumes that nullability has already been computed for all non   terminals and productions.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></DL></DD></DL><HR><A NAME="equals(weka.core.parser.java_cup.production)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../weka/core/parser/java_cup/production.html" title="class in weka.core.parser.java_cup">production</A>&nbsp;other)</PRE><DL><DD>Equality comparison.<P><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE><DL><DD>Generic equality comparison.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Produce a hash code.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Convert to a string.<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><HR><A NAME="to_simple_string()"><!-- --></A><H3>to_simple_string</H3><PRE>public java.lang.String <B>to_simple_string</B>()                                  throws <A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></PRE><DL><DD>Convert to a simpler string.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../weka/core/parser/java_cup/internal_error.html" title="class in weka.core.parser.java_cup">internal_error</A></CODE></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../weka/core/parser/java_cup/parser.html" title="class in weka.core.parser.java_cup"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/core/parser/java_cup/production_part.html" title="class in weka.core.parser.java_cup"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?weka/core/parser/java_cup/production.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="production.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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