minor #16211 [ExpressionLanguage] marked node classes as being internal (fabpot)
This PR was merged into the 2.8 branch.
Discussion
----------
[ExpressionLanguage] marked node classes as being internal
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Adds `@internal` on some classes, would it make sense to also make them final?
Commits
-------
7d6bc48
[ExpressionLanguage] marked node classes as being internal
This commit is contained in:
commit
e0e38ba8e3
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class ArgumentsNode extends ArrayNode
|
class ArgumentsNode extends ArrayNode
|
||||||
{
|
{
|
||||||
public function compile(Compiler $compiler)
|
public function compile(Compiler $compiler)
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class ArrayNode extends Node
|
class ArrayNode extends Node
|
||||||
{
|
{
|
||||||
protected $index;
|
protected $index;
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class BinaryNode extends Node
|
class BinaryNode extends Node
|
||||||
{
|
{
|
||||||
private static $operators = array(
|
private static $operators = array(
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class ConditionalNode extends Node
|
class ConditionalNode extends Node
|
||||||
{
|
{
|
||||||
public function __construct(Node $expr1, Node $expr2, Node $expr3)
|
public function __construct(Node $expr1, Node $expr2, Node $expr3)
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class ConstantNode extends Node
|
class ConstantNode extends Node
|
||||||
{
|
{
|
||||||
public function __construct($value)
|
public function __construct($value)
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class FunctionNode extends Node
|
class FunctionNode extends Node
|
||||||
{
|
{
|
||||||
public function __construct($name, Node $arguments)
|
public function __construct($name, Node $arguments)
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class GetAttrNode extends Node
|
class GetAttrNode extends Node
|
||||||
{
|
{
|
||||||
const PROPERTY_CALL = 1;
|
const PROPERTY_CALL = 1;
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class NameNode extends Node
|
class NameNode extends Node
|
||||||
{
|
{
|
||||||
public function __construct($name)
|
public function __construct($name)
|
||||||
|
@ -13,6 +13,11 @@ namespace Symfony\Component\ExpressionLanguage\Node;
|
|||||||
|
|
||||||
use Symfony\Component\ExpressionLanguage\Compiler;
|
use Symfony\Component\ExpressionLanguage\Compiler;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
class UnaryNode extends Node
|
class UnaryNode extends Node
|
||||||
{
|
{
|
||||||
private static $operators = array(
|
private static $operators = array(
|
||||||
|
Reference in New Issue
Block a user