The class for concrete syntaxes.
See Also: Inherited members from object.
|
BracketedLinearize
(Expr)Get the bracketed (structured) linearization of an expression. |
|
|
Linearize
(Expr)Linearize expression, i.e. produce a string in the concrete grammar from an expression in the abstract grammar. |
|
|
LinearizeAll
(Expr)Get all possible linearization for an expression (see .(Expression)). |
|
|
Parse
(string, Type, Nullable<double>, Action, Action)Parse given input string in the concrete grammar. |
|
override
|
ToString
()Documentation for this section has not yet been entered. |
Get the bracketed (structured) linearization of an expression.Syntax
Parameters
- e
Returns
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0
Linearize expression, i.e. produce a string in the concrete grammar from an expression in the abstract grammar.Syntax
Parameters
- e
Returns
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0
Get all possible linearization for an expression (see .(Expression)).Syntax
public IEnumerable<string> LinearizeAll (Expr e)Parameters
- e
Returns
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0
Name of the grammar.Syntax
public string Name { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0
Parse given input string in the concrete grammar.Syntax
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(PGFSharp.Concr/<Parse>d__13))]
public IEnumerable<Tuple<Expr, float>> Parse (string str, Type cat, Nullable<double> heuristics, Action Callback1, Action Callback2)Parameters
- str
- Input string to be parsed.
- cat
- Category (Type) to parse.
- heuristics
- Heuristic (see the GF C runtime docs).
- Callback1
- Callback function.
- Callback2
- Callback function.
Returns
Enumerates pairs of (abstract grammar) expressions and corresponding probability.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0
Abstract grammar for this language.Syntax
public PGF PGF { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0
Documentation for this section has not yet been entered.Syntax
public override string ToString ()Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: PGFSharp
Assembly: PGFSharp (in PGFSharp.dll)
Assembly Versions: 3.8.0.0