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

void fr::ove::openmath::jome::model::processor::WidthProcessor::buildWidthList ( FormulaTreeStructure  fts  )  [inline, private]

Builds the list of widths of the formula.

Definition at line 255 of file WidthProcessor.java.

References addNewWidth(), fr::ove::openmath::jome::model::Node::getChild(), and fr::ove::openmath::jome::model::Node::getNbChildren().

Referenced by doProcess(), and getWidthList().

                                                          {
        int width = fts.getNbChildren();
        
        if (width > 1)
            addNewWidth(width);
            
        for (int i = 0; i < width; i++)
            buildWidthList((FormulaTreeStructure) fts.getChild(i));
    }


Generated by  Doxygen 1.6.0   Back to index