Пример #1
0
 public virtual Statement visit(LabelledStatement statement)
 {
     writeIndent();
     statement.identifier.visitExpression(this);
     write(": ");
     statement.statement.visitStatement(this);
     return(statement);
 }
Пример #2
0
        public virtual Statement visit(LabelledStatement statement)
        {
            write("label (line = " + statement.getLineNumber() + ")");

            return(statement);
        }