Class CoolLexer
java.lang.Object
  
CoolLexer
- All Implemented Interfaces: 
 - java_cup.runtime.Scanner
 
 class CoolLexer
- extends java.lang.Object
- implements java_cup.runtime.Scanner
  
 
| 
Constructor Summary | 
private  | 
CoolLexer()
 
            | 
(package private) | 
CoolLexer(java.io.InputStream instream)
 
            | 
(package private) | 
CoolLexer(java.io.Reader reader)
 
            | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
YY_BUFFER_SIZE
private final int YY_BUFFER_SIZE
- See Also:
 - Constant Field Values
 
YY_F
private final int YY_F
- See Also:
 - Constant Field Values
 
YY_NO_STATE
private final int YY_NO_STATE
- See Also:
 - Constant Field Values
 
YY_NOT_ACCEPT
private final int YY_NOT_ACCEPT
- See Also:
 - Constant Field Values
 
YY_START
private final int YY_START
- See Also:
 - Constant Field Values
 
YY_END
private final int YY_END
- See Also:
 - Constant Field Values
 
YY_NO_ANCHOR
private final int YY_NO_ANCHOR
- See Also:
 - Constant Field Values
 
YY_BOL
private final int YY_BOL
- See Also:
 - Constant Field Values
 
YY_EOF
private final int YY_EOF
- See Also:
 - Constant Field Values
 
MAX_STR_CONST
static int MAX_STR_CONST
comment_nesting
int comment_nesting
string_buf
java.lang.StringBuffer string_buf
curr_lineno
private int curr_lineno
filename
private AbstractSymbol filename
yy_reader
private java.io.BufferedReader yy_reader
yy_buffer_index
private int yy_buffer_index
yy_buffer_read
private int yy_buffer_read
yy_buffer_start
private int yy_buffer_start
yy_buffer_end
private int yy_buffer_end
yy_buffer
private char[] yy_buffer
yy_at_bol
private boolean yy_at_bol
yy_lexical_state
private int yy_lexical_state
yy_eof_done
private boolean yy_eof_done
STRING
private final int STRING
- See Also:
 - Constant Field Values
 
STRING_RECOVER
private final int STRING_RECOVER
- See Also:
 - Constant Field Values
 
LINE_COMMENT
private final int LINE_COMMENT
- See Also:
 - Constant Field Values
 
YYINITIAL
private final int YYINITIAL
- See Also:
 - Constant Field Values
 
COMMENT
private final int COMMENT
- See Also:
 - Constant Field Values
 
yy_state_dtrans
private final int[] yy_state_dtrans
yy_last_was_cr
private boolean yy_last_was_cr
YY_E_INTERNAL
private final int YY_E_INTERNAL
- See Also:
 - Constant Field Values
 
YY_E_MATCH
private final int YY_E_MATCH
- See Also:
 - Constant Field Values
 
yy_error_string
private java.lang.String[] yy_error_string
yy_acpt
private int[] yy_acpt
yy_cmap
private int[] yy_cmap
yy_rmap
private int[] yy_rmap
yy_nxt
private int[][] yy_nxt
CoolLexer
CoolLexer(java.io.Reader reader)
CoolLexer
CoolLexer(java.io.InputStream instream)
CoolLexer
private CoolLexer()
check_string_overflow
java_cup.runtime.Symbol check_string_overflow()
 
 
get_curr_lineno
int get_curr_lineno()
 
 
set_filename
void set_filename(java.lang.String fname)
 
 
curr_filename
AbstractSymbol curr_filename()
 
 
yybegin
private void yybegin(int state)
 
 
yy_advance
private int yy_advance()
                throws java.io.IOException
 
- Throws:
 java.io.IOException
 
yy_move_end
private void yy_move_end()
 
 
yy_mark_start
private void yy_mark_start()
 
 
yy_mark_end
private void yy_mark_end()
 
 
yy_to_mark
private void yy_to_mark()
 
 
yytext
private java.lang.String yytext()
 
 
yylength
private int yylength()
 
 
yy_double
private char[] yy_double(char[] buf)
 
 
yy_error
private void yy_error(int code,
                      boolean fatal)
 
 
unpackFromString
private int[][] unpackFromString(int size1,
                                 int size2,
                                 java.lang.String st)
 
 
next_token
public java_cup.runtime.Symbol next_token()
                                   throws java.io.IOException
- Specified by:
 next_token in interface java_cup.runtime.Scanner
 
- Throws:
 java.io.IOException