org.opencores.JLex
Class CInput

java.lang.Object
  |
  +--org.opencores.JLex.CInput

class CInput
extends java.lang.Object

Class: CInput Description:


Field Summary
(package private) static boolean EOF
          Constants
(package private)  boolean m_eof_reached
           
private  java.io.BufferedReader m_input
          Member Variables
(package private)  char[] m_line
           
(package private)  int m_line_index
           
(package private)  int m_line_number
           
(package private)  int m_line_read
           
(package private)  boolean m_pushback_line
           
(package private) static boolean NOT_EOF
           
 
Constructor Summary
(package private) CInput(java.io.Reader input)
          Function: CInput Description:
 
Method Summary
(package private)  boolean getLine()
          Function: getLine Description: Returns true on EOF, false otherwise.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

m_input

private java.io.BufferedReader m_input
Member Variables

m_eof_reached

boolean m_eof_reached

m_pushback_line

boolean m_pushback_line

m_line

char[] m_line

m_line_read

int m_line_read

m_line_index

int m_line_index

m_line_number

int m_line_number

EOF

static final boolean EOF
Constants

NOT_EOF

static final boolean NOT_EOF
Constructor Detail

CInput

CInput(java.io.Reader input)
Function: CInput Description:
Method Detail

getLine

boolean getLine()
          throws java.io.IOException
Function: getLine Description: Returns true on EOF, false otherwise. Guarantees not to return a blank line, or a line of zero length.