|
Mercury library
1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
|
Thread-safe wrapper for ChartParserInternal class. More...
Public Member Functions | |
| ChartParser (Grammar grammar) | |
| Chart Parser constructor More... | |
| ParserResult | Parse (IList< Token > tokens) |
| Creates a trees (in Mercury.Syntax.ParserResult) from the tokens More... | |
| ParserResult | Parse (IList< Token > tokens, IList< Rule > scanresult) |
| Creates a trees (in Mercury.Syntax.ParserResult) from the tokens with the support of Mercury.Syntax.IScanner generated rules. More... | |
Properties | |
| Grammar | Grammar [get, set] |
| Grammar that this parser recognizes. More... | |
Properties inherited from Mercury.Syntax.IParser | |
| Grammar | Grammar [get] |
| The Grammar used to build the tree. More... | |
| Mercury.Syntax.ChartParser.ChartParser | ( | Grammar | grammar | ) |
| ParserResult Mercury.Syntax.ChartParser.Parse | ( | IList< Token > | tokens | ) |
Creates a trees (in Mercury.Syntax.ParserResult) from the tokens
| tokens | The tokens. |
Implements Mercury.Syntax.IParser.
| ParserResult Mercury.Syntax.ChartParser.Parse | ( | IList< Token > | tokens, |
| IList< Rule > | scanresult | ||
| ) |
Creates a trees (in Mercury.Syntax.ParserResult) from the tokens with the support of Mercury.Syntax.IScanner generated rules.
| tokens | The tokens. |
| scanresult | The rules from scanner |
Implements Mercury.Syntax.IParser.
|
getset |
1.8.7