Skip to content

Commit e0f519b

Browse files
committed
Add (parser) node types
1 parent eb5f43f commit e0f519b

File tree

6 files changed

+357
-282
lines changed

6 files changed

+357
-282
lines changed

scss.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
include_once __DIR__ . '/src/Formatter/Expanded.php';
1818
include_once __DIR__ . '/src/Formatter/Nested.php';
1919
include_once __DIR__ . '/src/Formatter/OutputBlock.php';
20+
include_once __DIR__ . '/src/Node.php';
2021
include_once __DIR__ . '/src/Parser.php';
22+
include_once __DIR__ . '/src/Type.php';
2123
include_once __DIR__ . '/src/Util.php';
2224
include_once __DIR__ . '/src/Version.php';
2325
include_once __DIR__ . '/src/Server.php';

src/Block.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,6 @@
1818
*/
1919
class Block
2020
{
21-
const T_MEDIA = 'media';
22-
const T_MIXIN = 'mixin';
23-
const T_INCLUDE = 'include';
24-
const T_FUNCTION = 'function';
25-
const T_EACH = 'each';
26-
const T_WHILE = 'while';
27-
const T_FOR = 'for';
28-
const T_IF = 'if';
29-
const T_ELSE = 'else';
30-
const T_ELSEIF = 'elseif';
31-
const T_DIRECTIVE = 'directive';
32-
const T_NESTED_PROPERTY = 'nestedprop';
33-
const T_BLOCK = 'block';
34-
const T_ROOT = 'root';
35-
const T_NULL = null;
36-
const T_COMMENT = 'comment';
37-
3821
/**
3922
* @var string
4023
*/

0 commit comments

Comments
 (0)