Counter
in package
Table of Contents
- countInAbstractSyntaxTree() : LinesOfCode
- countInSourceFile() : LinesOfCode
- countInSourceString() : LinesOfCode
- parser() : Parser
Methods
countInAbstractSyntaxTree()
public
countInAbstractSyntaxTree(int $linesOfCode, array<string|int, Node> $nodes) : LinesOfCode
Parameters
- $linesOfCode : int
- $nodes : array<string|int, Node>
Tags
Return values
LinesOfCode —countInSourceFile()
public
countInSourceFile(string $sourceFile) : LinesOfCode
Parameters
- $sourceFile : string
Tags
Return values
LinesOfCode —countInSourceString()
public
countInSourceString(string $source) : LinesOfCode
Parameters
- $source : string
Tags
Return values
LinesOfCode —parser()
private
parser() : Parser