Exemple #1
0
 public override StatementBuilder VisitIf(PapSyntaxTreeNodeIf node)
 {
     return(new IfStatementBuilder(PapEvalCodeParser.ConvertToExpression(node.Condition),
                                   Visit(node.ThenStatements),
                                   node.ElseStatements != null ? Visit(node.ElseStatements) : null));
 }
Exemple #2
0
 public abstract TResult VisitIf(PapSyntaxTreeNodeIf node);