Dustin Wilson
3 years ago
16 changed files with 32 additions and 30 deletions
@ -0,0 +1,17 @@ |
|||
<?php |
|||
/** @license MIT |
|||
* Copyright 2021 Dustin Wilson et al. |
|||
* See LICENSE and AUTHORS files for details */ |
|||
|
|||
declare(strict_types=1); |
|||
namespace dW\Lit; |
|||
|
|||
class Highlight { |
|||
public static function withFile(string $filename): string { |
|||
$data = Grammar\Data::withFile($filename); |
|||
} |
|||
|
|||
public static function withString(string $string): string { |
|||
$data = Grammar\Data::withString($string); |
|||
} |
|||
} |
@ -1,14 +0,0 @@ |
|||
<?php |
|||
/** @license MIT |
|||
* Copyright 2021 Dustin Wilson et al. |
|||
* See LICENSE and AUTHORS files for details */ |
|||
|
|||
declare(strict_types=1); |
|||
namespace dW\Fukkus; |
|||
|
|||
class Highlighter { |
|||
public static function highlightString(string $string): string { |
|||
$data = Grammar\Data::fromString($string); |
|||
|
|||
} |
|||
} |
Loading…
Reference in new issue