se.chalmers.cs.gf.CFG
Class Yylex

java.lang.Object
  extended by se.chalmers.cs.gf.CFG.Yylex
All Implemented Interfaces:
java_cup.runtime.Scanner

public class Yylex
extends java.lang.Object
implements java_cup.runtime.Scanner


Constructor Summary
Yylex(java.io.InputStream instream)
           
Yylex(java.io.Reader reader)
           
 
Method Summary
 java.lang.String buff()
           
 int line_num()
           
 java_cup.runtime.Symbol next_token()
          Return the next token, or null on end-of-file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Yylex

public Yylex(java.io.Reader reader)

Yylex

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

line_num

public int line_num()

buff

public java.lang.String buff()

next_token

public java_cup.runtime.Symbol next_token()
                                   throws java.io.IOException
Description copied from interface: java_cup.runtime.Scanner
Return the next token, or null on end-of-file.

Specified by:
next_token in interface java_cup.runtime.Scanner
Throws:
java.io.IOException