Interface IRule

    • Method Detail

      • evaluate

        IToken evaluate​(ICharacterScanner scanner)
        Evaluates the rule by examining the characters available from the provided character scanner. The token returned by this rule returns true when calling isUndefined, if the text that the rule investigated does not match the rule's requirements
        Parameters:
        scanner - the character scanner to be used by this rule
        Returns:
        the token computed by the rule