Class TokenOperandClassTransformer


  • public class TokenOperandClassTransformer
    extends Object
    Refer to OperandClassTransformer
    Since:
    5.4.0
    Author:
    jumperchen
    • Constructor Detail

      • TokenOperandClassTransformer

        public TokenOperandClassTransformer​(FormulaType formulaType,
                                            List<Ptg> ptgs)
    • Method Detail

      • transformFormula

        public void transformFormula()
        Traverses the supplied formula parse tree, calling Ptg.setClass() for each non-base token to set its operand class.