Mercury library  1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
ParserResult.cs
Go to the documentation of this file.
1 using Mercury.Nucleus.Trees;
2 using Mercury.Scanning;
3 using System.Collections.Generic;
4 
5 namespace Mercury.Syntax
6 {
7 //=============================================================================
8 // ParserResult
9 //=============================================================================
10 
14  public class ParserResult
15  {
16  //--[ Properties ]---------------------------------------------------
17 
19  public bool Accepted { get; internal set; }
20 
22  public IReadOnlyList<Token> InputTokens { get; internal set; }
23 
25  public IReadOnlyList<Edge> Chart { get; internal set; }
26 
28  public IReadOnlyList<Tree<Symbol>> Trees { get; internal set; }
29  }
30 }
Represents the result returned by the parser.
Definition: ParserResult.cs:14