org.eclipse.mtl.cst
Interface Block

All Superinterfaces:
CSTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, TemplateExpression
All Known Subinterfaces:
FileBlock, ForBlock, IfBlock, LetBlock, Macro, ProtectedAreaBlock, Template, TraceBlock
All Known Implementing Classes:
BlockImpl, FileBlockImpl, ForBlockImpl, IfBlockImpl, LetBlockImpl, MacroImpl, ProtectedAreaBlockImpl, TemplateImpl, TraceBlockImpl

public interface Block
extends TemplateExpression

A representation of the model object 'Block'.

The following features are supported:

See Also:
CstPackage.getBlock()

Method Summary
 org.eclipse.emf.common.util.EList<TemplateExpression> getBody()
          Returns the value of the 'Body' containment reference list.
 InitSection getInit()
          Returns the value of the 'Init' containment reference.
 void setInit(InitSection value)
          Sets the value of the 'Init' containment reference
 
Methods inherited from interface org.eclipse.mtl.cst.CSTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getInit

InitSection getInit()
Returns the value of the 'Init' containment reference.

If the meaning of the 'Init' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Init' containment reference.
See Also:
setInit(InitSection), CstPackage.getBlock_Init()

setInit

void setInit(InitSection value)
Sets the value of the 'Init' containment reference.

Parameters:
value - the new value of the 'Init' containment reference.
See Also:
getInit()

getBody

org.eclipse.emf.common.util.EList<TemplateExpression> getBody()
Returns the value of the 'Body' containment reference list. The list contents are of type TemplateExpression.

If the meaning of the 'Body' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body' containment reference list.
See Also:
CstPackage.getBlock_Body()

Copyright 2008 Obeo
All Rights Reserved.