classParsedFile
final class ParsedFile
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
One source file, parsed and with every name resolved to its fully qualified form.
Properties§
public string $pathpublic list<Stmt> $statementsMethods§
public function __construct(public string $path, public list<Stmt> $statements)Parameters
$path | string | The file the statements came from |
$statements | list<Stmt> | The top level statements |
Test cases 39§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 38
CatalogCommandTestcallsCallEvaluatorTestcallsConstantReaderTestcallsCalleeReturnsTestcallsCallerIndexTestcallsCallersTestcallsDeriverTestcallsEntryBinderTestcallsFreeNamesTestcallsModifiedNamesTestcallsCallbackEffectsTestcallsObjectEffectsTestcallsPropertyWritesTestcallsAssignmentStepsTestcallsBackwardSlicerTestcallsBranchArmsTestcallsLoopPassesTestcallsSliceExecutorTestcallsSourceTreeTestcallsReferenceEffectsTestcallsWriteEffectsTestcallsExpressionEvaluatorTestcallsInterpreterTestcallsModelQueriesTestcallsReferenceEvaluatorTestcallsSinkFinderTestcallsSinkMatcherTestcallsDeclaredGlobalsTestcallsProgramIndexBuilderTestcallsProgramIndexTestcallsSourceParserTestcallsBuilderQueriesTestcallsCallbackModelTestcallsCallModelTestcallsModelMetadataTestcallsAnalyzerTest::testParseAnswersWithTheProblemThatStoppedItcallsJsonReporterTestcallsTextReporterTestcalls
Relations§
Instantiated in 1
Type checks 1
Type declarations 4
- type SqlCatalog\Core\Analysis\SinkFinder packages/sql-catalog/src/Core/Analysis/SinkFinder.php:43
- type SqlCatalog\Core\Analysis\SinkFinder packages/sql-catalog/src/Core/Analysis/SinkFinder.php:57
- type SqlCatalog\Core\Php\SourceParser packages/sql-catalog/src/Core/Php/SourceParser.php:45
- type SqlCatalog\Facade\Analyzer packages/sql-catalog/src/Facade/Analyzer.php:140