net.sourceforge.czt.print.z
Class NewlineScanner

java.lang.Object
  extended by net.sourceforge.czt.print.z.NewlineScanner
All Implemented Interfaces:
net.sourceforge.czt.java_cup.runtime.Scanner

public class NewlineScanner
extends java.lang.Object
implements net.sourceforge.czt.java_cup.runtime.Scanner

This scanner gets token from another scanner and provides them to the parser, but removes some of the NL tokens.

Author:
Petra Malik

Constructor Summary
NewlineScanner(net.sourceforge.czt.java_cup.runtime.Scanner scanner)
           
 
Method Summary
 net.sourceforge.czt.java_cup.runtime.Symbol next_token()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewlineScanner

public NewlineScanner(net.sourceforge.czt.java_cup.runtime.Scanner scanner)
Method Detail

next_token

public net.sourceforge.czt.java_cup.runtime.Symbol next_token()
                                                       throws java.lang.Exception
Specified by:
next_token in interface net.sourceforge.czt.java_cup.runtime.Scanner
Throws:
java.lang.Exception


Copyright © 2003-2007 Community Z Tools Project. All Rights Reserved.