org.anarres.cpp
Class FileLexerSource

java.lang.Object
  extended by org.anarres.cpp.Source
      extended by org.anarres.cpp.LexerSource
          extended by org.anarres.cpp.FileLexerSource

public class FileLexerSource
extends LexerSource

A Source which lexes a file. The input is buffered.

See Also:
Source

Constructor Summary
FileLexerSource(File file)
          Creates a new Source for lexing the given File.
 
Method Summary
 String toString()
           
 
Methods inherited from class org.anarres.cpp.LexerSource
token
 
Methods inherited from class org.anarres.cpp.Source
error, skipline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileLexerSource

public FileLexerSource(File file)
                throws IOException
Creates a new Source for lexing the given File. Preprocessor directives are honoured within the file.

Throws:
IOException
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007 Shevek, Anarres. All Rights Reserved.