Interface ForLoopInitializerNode

All Superinterfaces:
All Known Subinterfaces:
AlignOfNode, ArrayLambdaNode, ArrowNode, CastNode, CharacterConstantNode, CompoundLiteralNode, ConstantNode, DeclarationListNode, DerivativeExpressionNode, DotNode, EnumerationConstantNode, ExpressionNode, ExtendedQuantifiedExpressionNode, FloatingConstantNode, FunctionCallNode, GenericSelectionNode, HereOrRootNode, IdentifierExpressionNode, IntegerConstantNode, LambdaNode, MPIContractAbsentEventNode, MPIContractAbsentNode, MPIContractConstantNode, MPIContractExpressionNode, NothingNode, ObjectOrRegionOfNode, OperatorNode, ProcnullNode, QuantifiedExpressionNode, RegularRangeNode, RemoteOnExpressionNode, ResultNode, ScopeOfNode, SelfNode, SizeofNode, SpawnNode, StatementExpressionNode, StatenullNode, StringLiteralNode, ValueAtNode, WildcardNode

public interface ForLoopInitializerNode extends ASTNode

A marker interface indicating this construct can be used as the first clause in a for loop. This clause can be either an expression or a declaration list.

From C11 Sec. "The declaration part of a for statement shall only declare identifiers for objects having storage class auto or register."

See Also:
  • Method Details

    • copy

      Description copied from interface: ASTNode
      Returns a deep copy of this AST node. The node and all of its descendants will be cloned. The cloning does not copy analysis or attribute information.
      Specified by:
      copy in interface ASTNode
      deep copy of this node