PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
<?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"); } }
[+]
Builder
[-] NodeVisitorAbstract.php
[edit]
[+]
NodeVisitor
[-] ParserFactory.php
[edit]
[-] NodeVisitor.php
[edit]
[+]
Parser
[+]
Lexer
[-] NodeAbstract.php
[edit]
[+]
..
[-] BuilderHelpers.php
[edit]
[-] Modifiers.php
[edit]
[+]
PrettyPrinter
[+]
Internal
[-] Node.php
[edit]
[-] ErrorHandler.php
[edit]
[-] PrettyPrinter.php
[edit]
[-] Parser.php
[edit]
[-] Builder.php
[edit]
[-] ParserAbstract.php
[edit]
[-] Token.php
[edit]
[-] BuilderFactory.php
[edit]
[-] PrettyPrinterAbstract.php
[edit]
[-] PhpVersion.php
[edit]
[-] ConstExprEvaluator.php
[edit]
[-] Comment.php
[edit]
[-] ConstExprEvaluationException.php
[edit]
[-] JsonDecoder.php
[edit]
[-] NameContext.php
[edit]
[-] NodeFinder.php
[edit]
[-] compatibility_tokens.php
[edit]
[+]
ErrorHandler
[+]
Comment
[-] Lexer.php
[edit]
[-] NodeTraverserInterface.php
[edit]
[+]
Node
[-] NodeDumper.php
[edit]
[-] NodeTraverser.php
[edit]
[-] Error.php
[edit]