com.JLex
Class CMakeNfa

java.lang.Object
  extended by com.JLex.CMakeNfa

 class CMakeNfa
extends java.lang.Object

Class: CMakeNfa


Field Summary
private  CInput m_input
           
private  CLexGen m_lexGen
           
private  CSpec m_spec
          Member Variables
 
Constructor Summary
CMakeNfa()
          Function: CMakeNfa Description: Constructor.
 
Method Summary
private  void cat_expr(CNfaPair pair)
          Function: cat_expr Description: Recursive descent regular expression parser.
private  void discardCNfa(CNfa nfa)
          Function: discardCNfa Description:
private  void dodash(CSet set)
          Function: dodash Description: Recursive descent regular expression parser.
private  void expr(CNfaPair pair)
          Function: expr Description: Recursive descent regular expression parser.
private  void factor(CNfaPair pair)
          Function: factor Description: Recursive descent regular expression parser.
private  boolean first_in_cat(int token)
          Function: first_in_cat Description: Recursive descent regular expression parser.
private  CNfa machine()
          Function: machine Description: Recursive descent regular expression parser.
private  void processStates(JavaLexBitSet states, CNfa current)
          Function: processStates Description:
private  void reset()
          Function: reset Description: Resets CMakeNfa member variables.
private  CNfa rule()
          Function: rule Description: Recursive descent regular expression parser.
private  void set(CLexGen lexGen, CSpec spec, CInput input)
          Function: set Description: Sets CMakeNfa member variables.
private  void term(CNfaPair pair)
          Function: term Description: Recursive descent regular expression parser.
(package private)  void thompson(CLexGen lexGen, CSpec spec, CInput input)
          Function: thompson Description: High level access function to module.
 
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_lexGen

private CLexGen m_lexGen

m_input

private CInput m_input
Constructor Detail

CMakeNfa

CMakeNfa()
Function: CMakeNfa Description: Constructor.

Method Detail

reset

private void reset()
Function: reset Description: Resets CMakeNfa member variables.


set

private void set(CLexGen lexGen,
                 CSpec spec,
                 CInput input)
Function: set Description: Sets CMakeNfa member variables.


thompson

void thompson(CLexGen lexGen,
              CSpec spec,
              CInput input)
        throws java.io.IOException
Function: thompson Description: High level access function to module. Deposits result in input CSpec.

Throws:
java.io.IOException

discardCNfa

private void discardCNfa(CNfa nfa)
Function: discardCNfa Description:


processStates

private void processStates(JavaLexBitSet states,
                           CNfa current)
Function: processStates Description:


machine

private CNfa machine()
              throws java.io.IOException
Function: machine Description: Recursive descent regular expression parser.

Throws:
java.io.IOException

rule

private CNfa rule()
           throws java.io.IOException
Function: rule Description: Recursive descent regular expression parser.

Throws:
java.io.IOException

expr

private void expr(CNfaPair pair)
           throws java.io.IOException
Function: expr Description: Recursive descent regular expression parser.

Throws:
java.io.IOException

cat_expr

private void cat_expr(CNfaPair pair)
               throws java.io.IOException
Function: cat_expr Description: Recursive descent regular expression parser.

Throws:
java.io.IOException

first_in_cat

private boolean first_in_cat(int token)
Function: first_in_cat Description: Recursive descent regular expression parser.


factor

private void factor(CNfaPair pair)
             throws java.io.IOException
Function: factor Description: Recursive descent regular expression parser.

Throws:
java.io.IOException

term

private void term(CNfaPair pair)
           throws java.io.IOException
Function: term Description: Recursive descent regular expression parser.

Throws:
java.io.IOException

dodash

private void dodash(CSet set)
             throws java.io.IOException
Function: dodash Description: Recursive descent regular expression parser.

Throws:
java.io.IOException