Documentation

Counter
in package

FinalYes

Table of Contents

Methods

countInAbstractSyntaxTree()  : LinesOfCode
countInSourceFile()  : LinesOfCode
countInSourceString()  : LinesOfCode

Methods

countInAbstractSyntaxTree()

public countInAbstractSyntaxTree(int $linesOfCode, array<string|int, Node$nodes) : LinesOfCode
Parameters
$linesOfCode : int
$nodes : array<string|int, Node>
Tags
psalm-param

non-negative-int $linesOfCode

throws
RuntimeException
Return values
LinesOfCode

        
On this page

Search results