Class StringAnalyzer
- Namespace
- Dassie.CodeAnalysis
- Assembly
- dc.dll
Represents a code analyzer that analyzes a string of code.
public class StringAnalyzer : IAnalyzer<string>
- Inheritance
-
StringAnalyzer
- Implements
- Inherited Members
- Extension Methods
Properties
Name
Defines the name of the analyzer.
public string Name { get; }
Property Value
Methods
Analyze(string)
Performs the analysis.
public virtual List<ErrorInfo> Analyze(string source)
Parameters
sourcestringThe string to analyze.
Returns
- List<ErrorInfo>
The error messages generated by the analyzer.