Class CoolTokenLexer

java.lang.Object
  extended byCoolTokenLexer
All Implemented Interfaces:
java_cup.runtime.Scanner

class CoolTokenLexer
extends java.lang.Object
implements java_cup.runtime.Scanner


Field Summary
(package private)  java.lang.StringBuffer buf
           
(package private)  int line
           
(package private)  int prevstate
           
 
Constructor Summary
(package private) CoolTokenLexer(java.io.InputStream instream)
           
(package private) CoolTokenLexer(java.io.Reader reader)
           
 
Method Summary
(package private)  AbstractSymbol curr_filename()
           
(package private)  int curr_lineno()
           
 java_cup.runtime.Symbol next_token()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prevstate

int prevstate

line

int line

buf

java.lang.StringBuffer buf
Constructor Detail

CoolTokenLexer

CoolTokenLexer(java.io.Reader reader)

CoolTokenLexer

CoolTokenLexer(java.io.InputStream instream)
Method Detail

curr_lineno

int curr_lineno()

curr_filename

AbstractSymbol curr_filename()

next_token

public java_cup.runtime.Symbol next_token()
                                   throws java.io.IOException
Specified by:
next_token in interface java_cup.runtime.Scanner
Throws:
java.io.IOException