com.jeffpalm.cop5555.parse
Class Scanner

java.lang.Object
  extended by com.jeffpalm.cop5555.parse.Scanner

public class Scanner
extends java.lang.Object


Constructor Summary
Scanner(java.io.Reader reader)
           
Scanner(java.lang.String file)
           
 
Method Summary
 void dump()
           
 boolean eof()
           
 void error()
           
 int getCol()
           
 java.lang.String getCurrentLine()
           
 java.lang.String getFile()
           
 int getLine()
           
 java.lang.String getLine(int i)
           
 Pos getPos()
           
 java.util.Vector getText()
           
static void main(java.lang.String[] args)
           
 Token next_token()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scanner

public Scanner(java.io.Reader reader)
        throws java.io.IOException
Throws:
java.io.IOException

Scanner

public Scanner(java.lang.String file)
        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

next_token

public Token next_token()
                 throws java.io.IOException
Throws:
java.io.IOException

eof

public boolean eof()

error

public void error()

dump

public void dump()
          throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

getLine

public int getLine()

getCol

public int getCol()

getPos

public Pos getPos()

getCurrentLine

public java.lang.String getCurrentLine()

getLine

public java.lang.String getLine(int i)

getFile

public java.lang.String getFile()

getText

public java.util.Vector getText()