Method | Description | |
---|---|---|
Parse ( LNode>.IEnumerable |
Given Rules paired with LNodes produced by StageOneParser, this method translates each LNode into a Pred and updates Rule.Pred to point to the new Pred.
|
|
StageTwoParser ( IPGCodeGenHelper helper, IMessageSink sink ) : System |
Method | Description | |
---|---|---|
ArgsToSeq ( LNode expr, Context ctx ) : Pred | ||
AutoNodeToPred ( LNode expr, Context ctx ) : object | ||
BranchToPred ( LNode expr, BranchMode &mode, Context ctx ) : Pred | ||
NodeToPred ( LNode expr, Context ctx = Context.Rule ) : Pred | ||
NodeToPredCore ( LNode expr, Context ctx = Context.Rule ) : Pred | ||
RemoveBraces ( LNode expr ) : LNode | ||
Remove_any_in_Labels ( ) : void | ||
TranslateLabeledExpr ( LNode expr, Context ctx ) : Pred | ||
TranslateLoopExpr ( LNode expr, Context ctx ) : Pred | ||
Translate_any_in_Expr ( LNode expr, Context ctx ) : Pred | ||
TryGetRule ( LNode expr ) : |
Tries to interpret expr as a reference to an existing rule.
|
public Parse ( LNode>.IEnumerable |
||
rules | LNode>.IEnumerable | |
return | void |
public StageTwoParser ( IPGCodeGenHelper helper, IMessageSink sink ) : System | ||
helper | IPGCodeGenHelper | |
sink | IMessageSink | |
return | System |