⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scanner.html

📁 实验软装置(基于表达式的计算器ExprEval) 很不错的 有帮助于学习提高
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<HR>

<A NAME="logical"><!-- --></A><H3>
logical</H3>
<PRE>
<A HREF="../scanner/ScannerTable.html" title="scanner 中的类">ScannerTable</A> <B>logical</B></PRE>
<DL>
<DD>table for logical
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="arith"><!-- --></A><H3>
arith</H3>
<PRE>
<A HREF="../scanner/ScannerTable.html" title="scanner 中的类">ScannerTable</A> <B>arith</B></PRE>
<DL>
<DD>table for arithmetic
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="number"><!-- --></A><H3>
number</H3>
<PRE>
<A HREF="../scanner/ScannerTable.html" title="scanner 中的类">ScannerTable</A> <B>number</B></PRE>
<DL>
<DD>table for number
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="bool"><!-- --></A><H3>
bool</H3>
<PRE>
<A HREF="../scanner/ScannerTable.html" title="scanner 中的类">ScannerTable</A> <B>bool</B></PRE>
<DL>
<DD>table for bool
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="tmpToken"><!-- --></A><H3>
tmpToken</H3>
<PRE>
<A HREF="../scanner/Token.html" title="scanner 中的类">Token</A> <B>tmpToken</B></PRE>
<DL>
<DD>tmp token
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="pos"><!-- --></A><H3>
pos</H3>
<PRE>
int <B>pos</B></PRE>
<DL>
<DD>ptr for input stream
<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>构造方法详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="Scanner(java.lang.String)"><!-- --></A><H3>
Scanner</H3>
<PRE>
public <B>Scanner</B>(java.lang.String&nbsp;Stream)
        throws java.io.IOException,
               exceptions.ExpressionException</PRE>
<DL>
<DD>constructor
<P>
<DL>
<DT><B>参数:</B><DD><CODE>Stream</CODE> - input string
<DT><B>抛出:</B>
<DD><CODE>java.io.IOException</CODE>
<DD><CODE>exceptions.ExpressionException</CODE></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>方法详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="preprocess()"><!-- --></A><H3>
preprocess</H3>
<PRE>
private void <B>preprocess</B>()
                 throws exceptions.ExpressionException</PRE>
<DL>
<DD>reprocess the input string
<P>
<DD><DL>

<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getNextChar()"><!-- --></A><H3>
getNextChar</H3>
<PRE>
private char <B>getNextChar</B>()
                  throws exceptions.ExpressionException</PRE>
<DL>
<DD>get next character
<P>
<DD><DL>

<DT><B>返回:</B><DD>next character(omitting blank)
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getId()"><!-- --></A><H3>
getId</H3>
<PRE>
private boolean <B>getId</B>()
               throws exceptions.ExpressionException</PRE>
<DL>
<DD>get Identifier
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if identifier got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getRelop()"><!-- --></A><H3>
getRelop</H3>
<PRE>
private boolean <B>getRelop</B>()
                  throws exceptions.ExpressionException</PRE>
<DL>
<DD>get relop
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if relop got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getLogic()"><!-- --></A><H3>
getLogic</H3>
<PRE>
private boolean <B>getLogic</B>()
                  throws exceptions.ExpressionException</PRE>
<DL>
<DD>get logical operator
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if logical operator got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getArith()"><!-- --></A><H3>
getArith</H3>
<PRE>
private boolean <B>getArith</B>()
                  throws exceptions.ExpressionException</PRE>
<DL>
<DD>get arithmetic operator
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if arithmetic operator got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getNumber()"><!-- --></A><H3>
getNumber</H3>
<PRE>
private boolean <B>getNumber</B>()
                   throws exceptions.ExpressionException</PRE>
<DL>
<DD>get number
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if number got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getBool()"><!-- --></A><H3>
getBool</H3>
<PRE>
private boolean <B>getBool</B>()
                 throws exceptions.ExpressionException</PRE>
<DL>
<DD>get boolean
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if boolean got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getNeg()"><!-- --></A><H3>
getNeg</H3>
<PRE>
private boolean <B>getNeg</B>()
                throws exceptions.ExpressionException</PRE>
<DL>
<DD>get negative
<P>
<DD><DL>

<DT><B>返回:</B><DD>true if negative got
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getNextToken()"><!-- --></A><H3>
getNextToken</H3>
<PRE>
public <A HREF="../scanner/Token.html" title="scanner 中的类">Token</A> <B>getNextToken</B>()
                   throws exceptions.ExpressionException</PRE>
<DL>
<DD>get next token
<P>
<DD><DL>

<DT><B>返回:</B><DD>next token
<DT><B>抛出:</B>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[]&nbsp;args)
                 throws java.io.IOException,
                        exceptions.ExpressionException</PRE>
<DL>
<DD><DL>

<DT><B>抛出:</B>
<DD><CODE>java.io.IOException</CODE>
<DD><CODE>exceptions.ExpressionException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="跳过导航链接"></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>概述</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>软件包</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>类</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>树</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>已过时</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>索引</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>帮助</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="../scanner/Number.html" title="scanner 中的类"><B>上一个类</B></A>&nbsp;
&nbsp;<A HREF="../scanner/ScannerTable.html" title="scanner 中的类"><B>下一个类</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../index.html?scanner/Scanner.html" target="_top"><B>框架</B></A>  &nbsp;
&nbsp;<A HREF="Scanner.html" target="_top"><B>无框架</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../allclasses-noframe.html"><B>所有类</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../allclasses-noframe.html"><B>所有类</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  摘要:&nbsp;嵌套&nbsp;|&nbsp;<A HREF="#field_summary">字段</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">构造方法</A>&nbsp;|&nbsp;<A HREF="#method_summary">方法</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
详细信息:&nbsp;<A HREF="#field_detail">字段</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">构造方法</A>&nbsp;|&nbsp;<A HREF="#method_detail">方法</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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