Exemple #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);
        }
    }
Exemple #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);
        }
    }
Exemple #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);
 }
Exemple #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);
 }
Exemple #5
0
 public override void Log(StringBuilder logger, string space)
 {
     base.Log(logger, space);
     expression.Log(logger, TAB + space);
 }
Exemple #6
0
 public override void Log(StringBuilder logger, string space)
 {
     base.Log(logger, space);
     check.Log(logger, TAB + space);
     statements.Log(logger, TAB + space);
 }