Class INTValueConverter

    • Constructor Detail

      • INTValueConverter

        public INTValueConverter()
    • Method Detail

      • toValue

        public java.lang.Integer toValue​(java.lang.String string,
                                         INode node)
        Description copied from interface: IValueConverter

        Creates a value from the given input. The input is conformant to a data type or terminal rule.

        The given string or node may be null but not both of them.

        Parameters:
        string - the string that was inferred from the node. Usually the node's text but may be reduced to the parts of the node that are not hidden.
        node - the parsed node including hidden parts.
        Returns:
        the new value or null.