lexer
Class SolutionCoolLexer

java.lang.Object
  extended by lexer.SolutionCoolLexer
All Implemented Interfaces:
java_cup.runtime.Scanner, MyLexer

public class SolutionCoolLexer
extends java.lang.Object
implements java_cup.runtime.Scanner, MyLexer


Constructor Summary
SolutionCoolLexer(java.io.InputStream instream)
           
SolutionCoolLexer(java.io.Reader reader)
           
 
Method Summary
 AbstractSymbol curr_filename()
           
 int curr_lineno()
           
 java_cup.runtime.Symbol next_token()
           
 void set_filename(java.lang.String fname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolutionCoolLexer

public SolutionCoolLexer(java.io.Reader reader)

SolutionCoolLexer

public SolutionCoolLexer(java.io.InputStream instream)
Method Detail

curr_lineno

public int curr_lineno()
Specified by:
curr_lineno in interface MyLexer

set_filename

public void set_filename(java.lang.String fname)
Specified by:
set_filename in interface MyLexer

curr_filename

public 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
Specified by:
next_token in interface MyLexer
Throws:
java.io.IOException