Matcher/Condition.php
public function match($input)
    {
        if ($this->token instanceof Token) {
            if ($this->token->matches($input)) {
                return true;
            }
            return false;
        }
        
        if ($this->token === $input) {
            return true;
        }
        return false;
    }
public function match($input)
    {
        if ($this->token instanceof Token) {
            if ($this->token->matches($input)) {
                return true;
            }
            return false;
        }
        
        if ($this->token === $input) {
            return true;
        }
        return false;
    }
public function match ( $ input ) { if ( $ this -> token instanceof Token ) { if ( $ this -> token -> matches ( $ input ) ) { return true ; } return false ; } if ( $ this -> token === $ input ) { return true ; } return false ; }
Returns true is the given token matches the Condition's token

@param any|Token $input
@return boolean
Returns true is the given token matches the Condition s token