Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

JLex
Class CEmit  view CEmit download CEmit.java

java.lang.Object
  extended byJLex.CEmit

class CEmit
extends java.lang.Object

Class: CEmit


Field Summary
private  boolean EDBG
          Constants
private  int END
           
private  java.io.PrintWriter m_outstream
           
private  CSpec m_spec
          Member Variables
private  int NONE
           
private  boolean NOT_EDBG
           
private  int START
          Constants: Anchor Types
 
Constructor Summary
(package private) CEmit()
          Function: CEmit Description: Constructor.
 
Method Summary
private  void emit_actions(java.lang.String tabs)
          Function: emit_actions Description:
private  void emit_construct()
          Function: emit_construct Description: Emits constructor, member variables, and constants.
private  void emit_driver()
          Function: emit_driver Description:
private  void emit_footer()
          Function: emit_footer Description:
private  void emit_header()
          Function: emit_header Description: Emits class header.
private  void emit_helpers()
          Function: emit_helpers Description: Emits helper functions, particularly error handling and input buffering.
private  void emit_states()
          Function: emit_states Description: Emits constants that serve as lexical states, including YYINITIAL.
private  void emit_table_as_string(int[][] ia)
          Function: emit_driver Description: Output an integer table as a string.
private  void emit_table()
          Function: emit_table Description: Emits transition table.
(package private)  void emit(CSpec spec, java.io.PrintWriter outstream)
          Function: emit Description: High-level access function to module.
private  void print_details()
          Function: print_details Description: Debugging output.
private  void reset()
          Function: reset Description: Clears member variables.
private  void set(CSpec spec, java.io.PrintWriter outstream)
          Function: set Description: Initializes member variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_spec

private CSpec m_spec
Member Variables


m_outstream

private java.io.PrintWriter m_outstream

START

private final int START
Constants: Anchor Types

See Also:
Constant Field Values

END

private final int END
See Also:
Constant Field Values

NONE

private final int NONE
See Also:
Constant Field Values

EDBG

private final boolean EDBG
Constants

See Also:
Constant Field Values

NOT_EDBG

private final boolean NOT_EDBG
See Also:
Constant Field Values
Constructor Detail

CEmit

CEmit()
Function: CEmit Description: Constructor.

Method Detail

reset

private void reset()
Function: reset Description: Clears member variables.


set

private void set(CSpec spec,
                 java.io.PrintWriter outstream)
Function: set Description: Initializes member variables.


print_details

private void print_details()
Function: print_details Description: Debugging output.


emit

void emit(CSpec spec,
          java.io.PrintWriter outstream)
    throws java.io.IOException
Function: emit Description: High-level access function to module.


emit_construct

private void emit_construct()
                     throws java.io.IOException
Function: emit_construct Description: Emits constructor, member variables, and constants.


emit_states

private void emit_states()
                  throws java.io.IOException
Function: emit_states Description: Emits constants that serve as lexical states, including YYINITIAL.


emit_helpers

private void emit_helpers()
                   throws java.io.IOException
Function: emit_helpers Description: Emits helper functions, particularly error handling and input buffering.


emit_header

private void emit_header()
                  throws java.io.IOException
Function: emit_header Description: Emits class header.


emit_table

private void emit_table()
                 throws java.io.IOException
Function: emit_table Description: Emits transition table.


emit_table_as_string

private void emit_table_as_string(int[][] ia)
Function: emit_driver Description: Output an integer table as a string. Written by Raimondas Lencevicius 6/24/98; reorganized by CSA 9-Aug-1999. From his original comments: yy_nxt[][] values are coded into a string by printing integers and representing integer sequences as "value:length" pairs.


emit_driver

private void emit_driver()
                  throws java.io.IOException
Function: emit_driver Description:


emit_actions

private void emit_actions(java.lang.String tabs)
                   throws java.io.IOException
Function: emit_actions Description:


emit_footer

private void emit_footer()
                  throws java.io.IOException
Function: emit_footer Description: