thruster/tokenizer

Thruster Tokenizer Component

1.0.0 2017-01-31 18:58 UTC

This package is auto-updated.

Last update: 2024-10-14 03:12:44 UTC


README

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Email

The Thruster Tokenizer Component.

Install

Via Composer

$ composer require thruster/tokenizer

Usage

use Thruster\Component\Tokenizer\Parser;

$parser = new Parser();

$parser->parse('<?php ... ?>'); // => Token[]
$parser->parseBlock('function fooBar(){...};'); // => Token[]
$parser->parseFile('/some/file.php'); // => Token[]

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

License

Please see License File for more information.