emit.html

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

HTML
808
字号
<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="prefix"><!-- --></A><H3>prefix</H3><PRE>public static java.lang.String <B>prefix</B></PRE><DL><DD>The prefix placed on names that pollute someone else's name space.<P><DL></DL></DL><HR><A NAME="package_name"><!-- --></A><H3>package_name</H3><PRE>public static java.lang.String <B>package_name</B></PRE><DL><DD>Package that the resulting code goes into (null is used for unnamed).<P><DL></DL></DL><HR><A NAME="symbol_const_class_name"><!-- --></A><H3>symbol_const_class_name</H3><PRE>public static java.lang.String <B>symbol_const_class_name</B></PRE><DL><DD>Name of the generated class for symbol constants.<P><DL></DL></DL><HR><A NAME="parser_class_name"><!-- --></A><H3>parser_class_name</H3><PRE>public static java.lang.String <B>parser_class_name</B></PRE><DL><DD>Name of the generated parser class.<P><DL></DL></DL><HR><A NAME="class_type_argument"><!-- --></A><H3>class_type_argument</H3><PRE>public static java.lang.String <B>class_type_argument</B></PRE><DL><DD>TUM changes; proposed by Henning Niss 20050628: Type arguments for class declaration<P><DL></DL></DL><HR><A NAME="action_code"><!-- --></A><H3>action_code</H3><PRE>public static java.lang.String <B>action_code</B></PRE><DL><DD>User declarations for direct inclusion in user action class.<P><DL></DL></DL><HR><A NAME="parser_code"><!-- --></A><H3>parser_code</H3><PRE>public static java.lang.String <B>parser_code</B></PRE><DL><DD>User declarations for direct inclusion in parser class.<P><DL></DL></DL><HR><A NAME="init_code"><!-- --></A><H3>init_code</H3><PRE>public static java.lang.String <B>init_code</B></PRE><DL><DD>User code for user_init() which is called during parser initialization.<P><DL></DL></DL><HR><A NAME="scan_code"><!-- --></A><H3>scan_code</H3><PRE>public static java.lang.String <B>scan_code</B></PRE><DL><DD>User code for scan() which is called to get the next Symbol.<P><DL></DL></DL><HR><A NAME="start_production"><!-- --></A><H3>start_production</H3><PRE>public static <A HREF="../../../../weka/core/parser/java_cup/production.html" title="class in weka.core.parser.java_cup">production</A> <B>start_production</B></PRE><DL><DD>The start production of the grammar.<P><DL></DL></DL><HR><A NAME="import_list"><!-- --></A><H3>import_list</H3><PRE>public static java.util.Stack <B>import_list</B></PRE><DL><DD>List of imports (Strings containing class names) to go with actions.<P><DL></DL></DL><HR><A NAME="num_conflicts"><!-- --></A><H3>num_conflicts</H3><PRE>public static int <B>num_conflicts</B></PRE><DL><DD>Number of conflict found while building tables.<P><DL></DL></DL><HR><A NAME="nowarn"><!-- --></A><H3>nowarn</H3><PRE>public static boolean <B>nowarn</B></PRE><DL><DD>Do we skip warnings?<P><DL></DL></DL><HR><A NAME="not_reduced"><!-- --></A><H3>not_reduced</H3><PRE>public static int <B>not_reduced</B></PRE><DL><DD>Count of the number on non-reduced productions found.<P><DL></DL></DL><HR><A NAME="unused_term"><!-- --></A><H3>unused_term</H3><PRE>public static int <B>unused_term</B></PRE><DL><DD>Count of unused terminals.<P><DL></DL></DL><HR><A NAME="unused_non_term"><!-- --></A><H3>unused_non_term</H3><PRE>public static int <B>unused_non_term</B></PRE><DL><DD>Count of unused non terminals.<P><DL></DL></DL><HR><A NAME="symbols_time"><!-- --></A><H3>symbols_time</H3><PRE>public static long <B>symbols_time</B></PRE><DL><DD>Time to produce symbol constant class.<P><DL></DL></DL><HR><A NAME="parser_time"><!-- --></A><H3>parser_time</H3><PRE>public static long <B>parser_time</B></PRE><DL><DD>Time to produce parser class.<P><DL></DL></DL><HR><A NAME="action_code_time"><!-- --></A><H3>action_code_time</H3><PRE>public static long <B>action_code_time</B></PRE><DL><DD>Time to produce action code class.<P><DL></DL></DL><HR><A NAME="production_table_time"><!-- --></A><H3>production_table_time</H3><PRE>public static long <B>production_table_time</B></PRE><DL><DD>Time to produce the production table.<P><DL></DL></DL><HR><A NAME="action_table_time"><!-- --></A><H3>action_table_time</H3><PRE>public static long <B>action_table_time</B></PRE><DL><DD>Time to produce the action table.<P><DL></DL></DL><HR><A NAME="goto_table_time"><!-- --></A><H3>goto_table_time</H3><PRE>public static long <B>goto_table_time</B></PRE><DL><DD>Time to produce the reduce-goto table.<P><DL></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="lr_values()"><!-- --></A><H3>lr_values</H3><PRE>public static boolean <B>lr_values</B>()</PRE><DL><DD>whether or not to emit code for left and right values<P><DD><DL></DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public static void <B>clear</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="symbols(java.io.PrintWriter, boolean, boolean)"><!-- --></A><H3>symbols</H3><PRE>public static void <B>symbols</B>(java.io.PrintWriter&nbsp;out,                           boolean&nbsp;emit_non_terms,                           boolean&nbsp;sym_interface)</PRE><DL><DD>Emit code for the symbol constant class, optionally including non terms,  if they have been requested.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - stream to produce output on.<DD><CODE>emit_non_terms</CODE> - do we emit constants for non terminals?<DD><CODE>sym_interface</CODE> - should we emit an interface, rather than a class?</DL></DD></DL><HR><A NAME="parser(java.io.PrintWriter, weka.core.parser.java_cup.parse_action_table, weka.core.parser.java_cup.parse_reduce_table, int, weka.core.parser.java_cup.production, boolean, boolean)"><!-- --></A><H3>parser</H3><PRE>public static void <B>parser</B>(java.io.PrintWriter&nbsp;out,                          <A HREF="../../../../weka/core/parser/java_cup/parse_action_table.html" title="class in weka.core.parser.java_cup">parse_action_table</A>&nbsp;action_table,                          <A HREF="../../../../weka/core/parser/java_cup/parse_reduce_table.html" title="class in weka.core.parser.java_cup">parse_reduce_table</A>&nbsp;reduce_table,                          int&nbsp;start_st,                          <A HREF="../../../../weka/core/parser/java_cup/production.html" title="class in weka.core.parser.java_cup">production</A>&nbsp;start_prod,                          boolean&nbsp;compact_reduces,                          boolean&nbsp;suppress_scanner)                   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>Emit the parser subclass with embedded tables.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>out</CODE> - stream to produce output on.<DD><CODE>action_table</CODE> - internal representation of the action table.<DD><CODE>reduce_table</CODE> - internal representation of the reduce-goto table.<DD><CODE>start_st</CODE> - start state of the parse machine.<DD><CODE>start_prod</CODE> - start production of the grammar.<DD><CODE>compact_reduces</CODE> - do we use most frequent reduce as default?<DD><CODE>suppress_scanner</CODE> - should scanner be suppressed for compatibility?<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/assoc.html" title="class in weka.core.parser.java_cup"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../weka/core/parser/java_cup/ErrorManager.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/emit.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="emit.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&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 + -
显示快捷键?