Exemplo n.º 1
0
 public virtual Statement visit(LabelledStatement statement)
 {
     writeIndent();
     statement.identifier.visitExpression(this);
     write(": ");
     statement.statement.visitStatement(this);
     return(statement);
 }
Exemplo n.º 2
0
        public virtual Statement visit(LabelledStatement statement)
        {
            write("label (line = " + statement.getLineNumber() + ")");

            return(statement);
        }