Home
last modified time | relevance | path

Searched refs:start (Results 1 – 11 of 11) sorted by relevance

/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/
H A DKeywordEmulator.php38 private function getPreviousNonSpaceToken(array $tokens, int $start): ?Token { argument
39 for ($i = $start - 1; $i >= 0; --$i) {
H A DAsymmetricVisibilityTokenEmulator.php82 private function getPreviousNonSpaceToken(array $tokens, int $start): ?Token { argument
83 for ($i = $start - 1; $i >= 0; --$i) {
/PHP-Parser/lib/PhpParser/
H A DNodeDumper.php275 $start = $node->getStartLine();
280 $start .= ':' . $this->toColumn($this->code, $node->getStartFilePos());
283 return "[$start - $end]";
H A DParserAbstract.php780 $start = $newlineAtStart ? '(?:(?<=\n)|\A)' : '(?<=\n)';
782 $regex = '/' . $start . '([ \t]*)(' . $end . ')?/';
/PHP-Parser/doc/component/
H A DError_handling.markdown7 …formation is available depends on the origin of the error. At a minimum the start line of the error
H A DLexer.markdown74 Note that `start`/`end` here are closed rather than half-open ranges. This means that a node consis…
/PHP-Parser/
H A DCHANGELOG.md402 elements at the start of a list.
726 * Added support for inserting at the start of list nodes in formatting-preserving pretty printer.
738 * Added start token offsets to comments.
1108 * Added start file offset information to `Comment` nodes.
1139 * A shebang line like `#!/usr/bin/env php` is now allowed at the start of a namespaced file.
H A DUPGRADE-5.0.md495 Responsibility for determining start and end attributes for nodes has been moved from the lexer to …
531 …* The deprecated `Error` constructor taking a start line has been removed. Pass `['startLine' => $…
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown403 We start off with the following base code:
450 Now lets start with the main code, the `NamespaceConverter`. One thing it needs to do
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php1112 $start = $atStart ? '(?:^|[\r\n])[ \t]*' : '[\r\n][ \t]*';
1114 && preg_match('/' . $start . $label . '(?:$|[^_A-Za-z0-9\x80-\xff])/', $string);
/PHP-Parser/grammar/
H A Dphp.y130 start:

Completed in 29 milliseconds