for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of Railt package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Railt\SDL\Compiler\Ast\Invocation;
use Railt\Parser\Ast\Rule;
use Railt\Reflection\Contracts\Invocation\TypeInvocation;
use Railt\Reflection\Invocation\Dependent\ArgumentInvocation;
use Railt\Reflection\Invocation\DirectiveInvocation;
use Railt\SDL\Compiler\Ast\Value\BaseValueNode;
use Railt\SDL\Compiler\Ast\Value\ValueNode;
use Railt\SDL\Compiler\Builder\Value\BaseValue;
* Class DirectiveArgumentNode
class DirectiveArgumentNode extends Rule
{
* @return string
public function getArgumentName(): string
return $this->first('T_NAME', 1)->getValue();
getValue()
Railt\Parser\Ast\NodeInterface
getValues()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
}
* @return BaseValueNode
public function getArgumentValue(): BaseValueNode
return $this->first('Value', 1);
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.