<?php

/**
 * SCSSPHP
 *
 * @copyright 2012-2020 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://scssphp.github.io/scssphp
 */

namespace Tangible\ScssPhp\Ast;

use Tangible\ScssPhp\SourceSpan\FileSpan;

/**
 * A node in an abstract syntax tree.
 *
 * @internal
 */
interface AstNode
{
    public function getSpan(): FileSpan;

    public function __toString(): string;
}
