Interface ForLoop

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LawNode, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ForLoopImpl

public interface ForLoop
extends LawNode
A representation of the model object 'For Loop'.

The following features are supported:

See Also:
BlangDslPackage.getForLoop()
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.xtext.xbase.XExpression getIteratorRange()
    Returns the value of the 'Iterator Range' containment reference.
    org.eclipse.xtext.common.types.JvmTypeReference getIteratorType()
    Returns the value of the 'Iterator Type' containment reference.
    org.eclipse.emf.common.util.EList<LawNode> getLoopBody()
    Returns the value of the 'Loop Body' containment reference list.
    VariableName getName()
    Returns the value of the 'Name' containment reference.
    void setIteratorRange​(org.eclipse.xtext.xbase.XExpression value)
    Sets the value of the 'Iterator Range' containment reference.
    void setIteratorType​(org.eclipse.xtext.common.types.JvmTypeReference value)
    Sets the value of the 'Iterator Type' containment reference.
    void setName​(VariableName value)
    Sets the value of the 'Name' containment reference.

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • getIteratorType

      org.eclipse.xtext.common.types.JvmTypeReference getIteratorType()
      Returns the value of the 'Iterator Type' containment reference.
      Returns:
      the value of the 'Iterator Type' containment reference.
      See Also:
      setIteratorType(JvmTypeReference), BlangDslPackage.getForLoop_IteratorType()
    • setIteratorType

      void setIteratorType​(org.eclipse.xtext.common.types.JvmTypeReference value)
      Sets the value of the 'Iterator Type' containment reference.
      Parameters:
      value - the new value of the 'Iterator Type' containment reference.
      See Also:
      getIteratorType()
    • getName

      VariableName getName()
      Returns the value of the 'Name' containment reference.
      Returns:
      the value of the 'Name' containment reference.
      See Also:
      setName(VariableName), BlangDslPackage.getForLoop_Name()
    • setName

      void setName​(VariableName value)
      Sets the value of the 'Name' containment reference.
      Parameters:
      value - the new value of the 'Name' containment reference.
      See Also:
      getName()
    • getIteratorRange

      org.eclipse.xtext.xbase.XExpression getIteratorRange()
      Returns the value of the 'Iterator Range' containment reference.
      Returns:
      the value of the 'Iterator Range' containment reference.
      See Also:
      setIteratorRange(XExpression), BlangDslPackage.getForLoop_IteratorRange()
    • setIteratorRange

      void setIteratorRange​(org.eclipse.xtext.xbase.XExpression value)
      Sets the value of the 'Iterator Range' containment reference.
      Parameters:
      value - the new value of the 'Iterator Range' containment reference.
      See Also:
      getIteratorRange()
    • getLoopBody

      org.eclipse.emf.common.util.EList<LawNode> getLoopBody()
      Returns the value of the 'Loop Body' containment reference list. The list contents are of type LawNode.
      Returns:
      the value of the 'Loop Body' containment reference list.
      See Also:
      BlangDslPackage.getForLoop_LoopBody()