Пример #1
0
 public CodeObject VisitIfElse(Ast.IfElse ast)
 {
     return(new CodeConditionStatement(
                Visit(ast.Condition) as CodeExpression,
                RequiresStatementCollection(ast.TruePart, false),
                RequiresStatementCollection(ast.FalsePart, false)));
 }
Пример #2
0
 public virtual AstNode VisitIfElse(IfElse ast)
 {
     return(ast);
 }