X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser
opt
/
cpanel
/
ea-wappspector
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
??
..
??
Builder
??
Builder.php
(202 B)
??
BuilderFactory.php
(10.3 KB)
??
BuilderHelpers.php
(9.73 KB)
??
Comment
??
Comment.php
(6.75 KB)
??
ConstExprEvaluationException.php
(112 B)
??
ConstExprEvaluator.php
(9.33 KB)
??
Error.php
(4.84 KB)
??
ErrorHandler
??
ErrorHandler.php
(300 B)
??
Internal
??
JsonDecoder.php
(3.44 KB)
??
Lexer
??
Lexer.php
(4.26 KB)
??
Modifiers.php
(2.71 KB)
??
NameContext.php
(9.82 KB)
??
Node
??
Node.php
(4.03 KB)
??
NodeAbstract.php
(5.24 KB)
??
NodeDumper.php
(10.24 KB)
??
NodeFinder.php
(2.55 KB)
??
NodeTraverser.php
(10.09 KB)
??
NodeTraverserInterface.php
(598 B)
??
NodeVisitor
??
NodeVisitor.php
(4.08 KB)
??
NodeVisitorAbstract.php
(447 B)
??
Parser
??
Parser.php
(765 B)
??
ParserAbstract.php
(51.59 KB)
??
ParserFactory.php
(1.41 KB)
??
PhpVersion.php
(4.73 KB)
??
PrettyPrinter
??
PrettyPrinter.php
(1.66 KB)
??
PrettyPrinterAbstract.php
(71.24 KB)
??
Token.php
(487 B)
??
compatibility_tokens.php
(2.46 KB)
Editing: Token.php
<?php declare(strict_types=1); namespace PhpParser; /** * A PHP token. On PHP 8.0 this extends from PhpToken. */ class Token extends Internal\TokenPolyfill { /** Get (exclusive) zero-based end position of the token. */ public function getEndPos(): int { return $this->pos + \strlen($this->text); } /** Get 1-based end line number of the token. */ public function getEndLine(): int { return $this->line + \substr_count($this->text, "\n"); } }
Upload File
Create Folder