'Declaration Public Function Analyze( _ Optional ByVal analysisOptions As GrammarAnalysisOptions _ ) As GrammarAnalysisResult
public GrammarAnalysisResult Analyze( GrammarAnalysisOptions analysisOptions )
Exception | Description |
---|---|
System.InvalidOperationException | Occurs when the StartSymbol of the Grammar is not set. |
System.InvalidOperationException | Occurs when a LexerState does not have any enter symbols defined. |
System.InvalidOperationException | Occurs when a NonTerminalSymbol in the grammar doesn't have a Rule defined or it owns a rule which is not initialized correctly. |
System.InvalidOperationException | Occurs when the start symbol never directly or indirectly references a terminal symbol. |
Note: the Grammar symbols and rules should be fully initialized before analysis because the Grammar will be immutable after it is analyzed.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2