Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DCodeTestAbstract.php31 $modes = [];
35 $modes[$kv[0]] = $kv[1];
37 $modes[$kv[0]] = true;
40 return $modes;
H A DCodeParsingTest.php13 $modes = $this->parseModeLine($modeLine);
14 $parser = $this->createParser($modes['version'] ?? null);
15 list($stmts, $output) = $this->getParseOutput($parser, $code, $modes);
29 public function getParseOutput(Parser $parser, $code, array $modes) { argument
30 $dumpPositions = isset($modes['positions']);
31 $dumpOtherAttributes = isset($modes['attributes']);
/PHP-Parser/test/
H A DupdateTests.php22 $modes = $codeParsingTest->parseModeLine($modeLine); variable
23 $parser = $codeParsingTest->createParser($modes['version'] ?? null);
24 list(, $output) = $codeParsingTest->getParseOutput($parser, $input, $modes);

Completed in 4 milliseconds