Esempio n. 1
0
 [Rule] public IExpr Literal([NT] LitExpr e) => e;
Esempio n. 2
0
 /// <summary> A named parameter with a default value. </summary>
 [Rule] public FuncAssign.Param DefaultParameter(
     [T(Tk.Id)]     string name,
     [T(Tk.Assign)] Tk a,
     [NT]           LitExpr dflt)
 =>
 new FuncAssign.Param(name, dflt);