Table of Contents

Class ParseTreeAnalyzer<TTree>

Namespace
Dassie.CodeAnalysis
Assembly
dc.dll

Represents a code analyzer that analyzes a specific kind of parse tree.

public class ParseTreeAnalyzer<TTree> : IAnalyzer<IParseTree> where TTree : IParseTree

Type Parameters

TTree

The type of tree to analyze.

Inheritance
ParseTreeAnalyzer<TTree>
Implements
IAnalyzer<IParseTree>
Inherited Members
Extension Methods

Properties

Name

Defines the name of the analyzer.

public virtual string Name { get; }

Property Value

string

Methods

Analyze(List<IParseTree>)

Analyzes a list of parse trees.

public virtual List<MessageInfo> Analyze(List<IParseTree> trees)

Parameters

trees List<IParseTree>

The trees to analyze.

Returns

List<MessageInfo>

The error messages generated by the analyzer.