Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.54 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.54 KB

Tokenizer Component

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.