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
        scanner - the character scanner to be used by this rule
        the token computed by the rule