Calculator
in package
Table of Contents
- calculateForAbstractSyntaxTree() : ComplexityCollection
- calculateForSourceFile() : ComplexityCollection
- calculateForSourceString() : ComplexityCollection
- parser() : Parser
Methods
calculateForAbstractSyntaxTree()
public
calculateForAbstractSyntaxTree(array<string|int, Node> $nodes) : ComplexityCollection
Parameters
- $nodes : array<string|int, Node>
Tags
Return values
ComplexityCollection —calculateForSourceFile()
public
calculateForSourceFile(string $sourceFile) : ComplexityCollection
Parameters
- $sourceFile : string
Tags
Return values
ComplexityCollection —calculateForSourceString()
public
calculateForSourceString(string $source) : ComplexityCollection
Parameters
- $source : string
Tags
Return values
ComplexityCollection —parser()
private
parser() : Parser