Logo Search packages:      
Sourcecode: jlex version File versions  Download package

void JLex::CSet::map ( CSet  set,
int[]  mapping 
) [inline, package]

Map set using character classes [CSA]

Definition at line 4676 of file Main.java.

References JLex::SparseBitSet::clearAll(), JLex::SparseBitSet::elements(), and JLex::SparseBitSet::set().

    m_complement = set.m_complement;
    for (Enumeration e=set.m_set.elements(); e.hasMoreElements(); ) {
      int old_value =((Integer)e.nextElement()).intValue();
      if (old_value<mapping.length) // skip unmapped characters

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index