AnalyzerResult class

Analyzer result. Contains variables and template references.

Constructors

AnalyzerResult(string[], string[])

Creates a new instance of the AnalyzerResult class.

Properties

TemplateReferences

template references that this template contains.

Variables

Variables that this template contains.

Methods

union(AnalyzerResult)

Combine two analyzer results.

Constructor Details

AnalyzerResult(string[], string[])

Creates a new instance of the AnalyzerResult class.

new AnalyzerResult(variables: string[], templateRefNames: string[])

Parameters

variables

string[]

Init varibales.

templateRefNames

string[]

Init template references.

Property Details

TemplateReferences

template references that this template contains.

TemplateReferences: string[]

Property Value

string[]

Variables

Variables that this template contains.

Variables: string[]

Property Value

string[]

Method Details

union(AnalyzerResult)

Combine two analyzer results.

function union(outputItem: AnalyzerResult): this

Parameters

outputItem
AnalyzerResult

Another analyzer result.

Returns

this

Combined analyzer result.