io.github.mmm.code.api.block.CodeBlockFor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-code-api Show documentation
Show all versions of mmm-code-api Show documentation
The API to parse, analyze, transform and generate code.
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.code.api.block;
import io.github.mmm.code.api.copy.CodeNodeItemCopyable;
import io.github.mmm.code.api.expression.CodeForExpression;
/**
* {@link CodeBlock} for an {@code for} block.
* Syntax:
* for («{@link #getExpression() expression}») {
* «{@link #getStatements() statements}»
* }
*
* @author hohwille
* @since 1.0.0
*/
public interface CodeBlockFor extends CodeBlockStatement, CodeNodeItemCopyable {
/**
* @return the {@link CodeForExpression}. May not be {@code null}.
*/
CodeForExpression getExpression();
@Override
CodeBlockFor copy();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy