PhpPeg\TokenLiteral::__construct PHP Method

__construct() public method

public __construct ( $value )
    function __construct($value)
    {
        parent::__construct('literal', "'" . substr($value, 1, -1) . "'");
    }