PhpPeg\Token::__construct PHP Method

__construct() public method

public __construct ( $type, $value = NULL )
    function __construct($type, $value = NULL)
    {
        $this->type = $type;
        $this->value = $value;
    }