- Type Hierarchy:
java.lang.Object
beaver.Scanner
AST.PicoJavaScanner
Nested classes/interfaces inherited from beaver.Scanner
beaver.Scanner.Exception
|
|||||||
| FRAMES NO FRAMES | |||||||
public PicoJavaScanner(java.io.Reader in)
in - the java.io.Reader to read input from.public PicoJavaScanner(java.io.InputStream in)
in - the java.io.Inputstream to read input from.public final void yyclose() throws java.io.IOException
java.io.IOExceptionpublic final void yyreset(java.io.Reader reader)
reader - the new input streampublic final int yystate()
public final void yybegin(int newState)
newState - the new lexical statepublic final java.lang.String yytext()
public final char yycharat(int pos)
pos - the position of the character to fetch.
A value from 0 to yylength()-1.
public final int yylength()
public void yypushback(int number)
number - the number of characters to be read again.
This number must not be greater than yylength()!public beaver.Symbol nextToken() throws java.io.IOException, beaver.Scanner.Exception
nextToken in class beaver.Scannerjava.io.IOException - if any I/O-Error occurs
beaver.Scanner.Exceptionpublic static final int YYEOF
public static final int YYINITIAL
|
|||||||
| FRAMES NO FRAMES | |||||||