org.opencores.JLex
Class CMakeNfa

java.lang.Object
  |
  +--org.opencores.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
(package private) CMakeNfa()
          Function: CMakeNfa Description: Constructor.
 
Method Summary
(package private)  void allocate_BOL_EOF(CSpec spec)
          Function: allocate_BOL_EOF Description: Expands character class to include special BOL and EOF characters.
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(SparseBitSet 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, registerNatives, 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.

allocate_BOL_EOF

void allocate_BOL_EOF(CSpec spec)
Function: allocate_BOL_EOF Description: Expands character class to include special BOL and EOF characters. Puts numeric index of these characters in input CSpec.

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.

discardCNfa

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

processStates

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

machine

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

rule

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

expr

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

cat_expr

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

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.

term

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

dodash

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