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
TTreeThe 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
Methods
Analyze(List<IParseTree>)
Analyzes a list of parse trees.
public virtual List<MessageInfo> Analyze(List<IParseTree> trees)
Parameters
treesList<IParseTree>The trees to analyze.
Returns
- List<MessageInfo>
The error messages generated by the analyzer.