Home
last modified time | relevance | path

Searched refs:Line (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/test/code/formatPreservation/
H A DarrayInsertionWithComments.test60 $node->setAttribute('comments', [new Comment("// Line comment")]);
69 // Line comment
80 $node->setAttribute('comments', [new Comment("// Line comment")]);
88 // Line comment
97 $node->setAttribute('comments', [new Comment("// Line comment")]);
104 // Line comment
/PHP-Parser/lib/PhpParser/Node/Scalar/MagicConst/
H A DLine.php7 class Line extends MagicConst { class
/PHP-Parser/test/PhpParser/Node/Scalar/
H A DMagicConstTest.php19 [new MagicConst\Line(), '__LINE__'],
/PHP-Parser/test/PhpParser/
H A DConstExprEvaluatorTest.php86 if ($expr instanceof Scalar\MagicConst\Line) {
93 new Scalar\MagicConst\Line()
/PHP-Parser/doc/component/
H A DLexer.markdown67 * `startLine`: Line in which the node starts. Used by `$node->getStartLine()`.
68 * `endLine`: Line in which the node ends. Used by `$node->getEndLine()`.
/PHP-Parser/grammar/
H A Dphp.y1201 | T_LINE { $$ = Scalar\MagicConst\Line[]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php113 protected function pScalar_MagicConst_Line(MagicConst\Line $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2529 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos…
H A DPhp8.php2531 …$self->semValue = new Scalar\MagicConst\Line($self->getAttributes($self->tokenStartStack[$stackPos…

Completed in 38 milliseconds