/PHP-Parser/test/PhpParser/Node/Scalar/ |
H A D | MagicConstTest.php | 9 public function testGetName(MagicConst $magicConst, $name): void { 15 [new MagicConst\Class_(), '__CLASS__'], 16 [new MagicConst\Dir(), '__DIR__'], 17 [new MagicConst\File(), '__FILE__'], 18 [new MagicConst\Function_(), '__FUNCTION__'], 19 [new MagicConst\Line(), '__LINE__'], 20 [new MagicConst\Method(), '__METHOD__'], 21 [new MagicConst\Namespace_(), '__NAMESPACE__'], 22 [new MagicConst\Trait_(), '__TRAIT__'],
|
/PHP-Parser/lib/PhpParser/Node/Scalar/MagicConst/ |
H A D | Method.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Method extends MagicConst {
|
H A D | Namespace_.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Namespace_ extends MagicConst {
|
H A D | Class_.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Class_ extends MagicConst {
|
H A D | Dir.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Dir extends MagicConst {
|
H A D | File.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class File extends MagicConst {
|
H A D | Function_.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Function_ extends MagicConst {
|
H A D | Line.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Line extends MagicConst {
|
H A D | Trait_.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Trait_ extends MagicConst {
|
H A D | Property.php | 3 namespace PhpParser\Node\Scalar\MagicConst; 5 use PhpParser\Node\Scalar\MagicConst; alias 7 class Property extends MagicConst {
|
/PHP-Parser/lib/PhpParser/Node/Scalar/ |
H A D | MagicConst.php | 7 abstract class MagicConst extends Scalar { class
|
/PHP-Parser/test/PhpParser/ |
H A D | ConstExprEvaluatorTest.php | 86 if ($expr instanceof Scalar\MagicConst\Line) { 93 new Scalar\MagicConst\Line()
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | ClassConstTest.php | 216 new Scalar\MagicConst\Dir(), 217 new Scalar\MagicConst\Dir()
|
H A D | PropertyTest.php | 226 new Scalar\MagicConst\Dir(), 227 new Scalar\MagicConst\Dir()
|
H A D | ParamTest.php | 81 new Scalar\MagicConst\Dir(), 82 new Scalar\MagicConst\Dir()
|
/PHP-Parser/grammar/ |
H A D | php.y | 1201 | T_LINE { $$ = Scalar\MagicConst\Line[]; } 1202 | T_FILE { $$ = Scalar\MagicConst\File[]; } 1203 | T_DIR { $$ = Scalar\MagicConst\Dir[]; } 1204 | T_CLASS_C { $$ = Scalar\MagicConst\Class_[]; } 1205 | T_TRAIT_C { $$ = Scalar\MagicConst\Trait_[]; } 1206 | T_METHOD_C { $$ = Scalar\MagicConst\Method[]; } 1207 | T_FUNC_C { $$ = Scalar\MagicConst\Function_[]; } 1208 | T_NS_C { $$ = Scalar\MagicConst\Namespace_[]; } 1209 | T_PROPERTY_C { $$ = Scalar\MagicConst\Property[]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 12 use PhpParser\Node\Scalar\MagicConst; alias 97 protected function pScalar_MagicConst_Class(MagicConst\Class_ $node): string { 101 protected function pScalar_MagicConst_Dir(MagicConst\Dir $node): string { 105 protected function pScalar_MagicConst_File(MagicConst\File $node): string { 109 protected function pScalar_MagicConst_Function(MagicConst\Function_ $node): string { 113 protected function pScalar_MagicConst_Line(MagicConst\Line $node): string { 117 protected function pScalar_MagicConst_Method(MagicConst\Method $node): string { 121 protected function pScalar_MagicConst_Namespace(MagicConst\Namespace_ $node): string { 125 protected function pScalar_MagicConst_Trait(MagicConst\Trait_ $node): string { 129 protected function pScalar_MagicConst_Property(MagicConst\Property $node): string {
|
/PHP-Parser/doc/component/ |
H A D | Constant_expression_evaluation.markdown | 69 * `Scalar\MagicConst\*`
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2529 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos… 2532 …$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos… 2535 …$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-… 2538 …$self->semValue = new Scalar\MagicConst\Class_($self->getAttributes($self->tokenStartStack[$stackP… 2541 …$self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackP… 2544 …$self->semValue = new Scalar\MagicConst\Method($self->getAttributes($self->tokenStartStack[$stackP… 2547 …$self->semValue = new Scalar\MagicConst\Function_($self->getAttributes($self->tokenStartStack[$sta… 2550 …$self->semValue = new Scalar\MagicConst\Namespace_($self->getAttributes($self->tokenStartStack[$st… 2553 …$self->semValue = new Scalar\MagicConst\Property($self->getAttributes($self->tokenStartStack[$stac…
|
H A D | Php8.php | 2531 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos… 2534 …$self->semValue = new Scalar\MagicConst\File($self->getAttributes($self->tokenStartStack[$stackPos… 2537 …$self->semValue = new Scalar\MagicConst\Dir($self->getAttributes($self->tokenStartStack[$stackPos-… 2540 …$self->semValue = new Scalar\MagicConst\Class_($self->getAttributes($self->tokenStartStack[$stackP… 2543 …$self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackP… 2546 …$self->semValue = new Scalar\MagicConst\Method($self->getAttributes($self->tokenStartStack[$stackP… 2549 …$self->semValue = new Scalar\MagicConst\Function_($self->getAttributes($self->tokenStartStack[$sta… 2552 …$self->semValue = new Scalar\MagicConst\Namespace_($self->getAttributes($self->tokenStartStack[$st… 2555 …$self->semValue = new Scalar\MagicConst\Property($self->getAttributes($self->tokenStartStack[$stac…
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 188 like `__FILE__` (`PhpParser\Node\Scalar\MagicConst\File`). All `PhpParser\Node\Scalar`s extend
|
/PHP-Parser/ |
H A D | CHANGELOG.md | 30 `Node\Scalar\MagicConst\Property` node.
|