예제 #1
0
    public override void Log(StringBuilder logger, string space)
    {
        logger.AppendLine(space + GetType().Name + ": " + varName);
        expression.Log(logger, TAB + space);

        foreach (var indexer in indexers)
        {
            indexer.Log(logger, TAB + space);
        }
    }
예제 #2
0
    public override void Log(StringBuilder logger, string space)
    {
        base.Log(logger, space);
        check.Log(logger, TAB + space);
        statements.Log(logger, TAB + space);

        foreach (var stmnt in elseifs)
        {
            stmnt.Log(logger, TAB + space);
        }

        if (elseStatements != null)
        {
            elseStatements.Log(logger, TAB + space);
        }
    }
예제 #3
0
 public override void Log(StringBuilder logger, string space)
 {
     logger.AppendLine(space + GetType().Name + ": " + op);
     left.Log(logger, TAB + space);
     right.Log(logger, TAB + space);
 }
예제 #4
0
 public override void Log(StringBuilder logger, string space)
 {
     logger.AppendLine(space + GetType().Name + ": ");
     baseExpr.Log(logger, TAB + space);
     indexExpr.Log(logger, TAB + space);
 }
예제 #5
0
 public override void Log(StringBuilder logger, string space)
 {
     base.Log(logger, space);
     expression.Log(logger, TAB + space);
 }
예제 #6
0
 public override void Log(StringBuilder logger, string space)
 {
     base.Log(logger, space);
     check.Log(logger, TAB + space);
     statements.Log(logger, TAB + space);
 }