org.eclipse.mtl.cst
Interface Macro

All Superinterfaces:
Block, CSTNode, org.eclipse.emf.ecore.EObject, ModuleElement, org.eclipse.emf.common.notify.Notifier, TemplateExpression
All Known Implementing Classes:
MacroImpl

public interface Macro
extends Block, ModuleElement

A representation of the model object 'Macro'.

The following features are supported:

See Also:
CstPackage.getMacro()

Method Summary
 org.eclipse.emf.common.util.EList<Variable> getParameter()
          Returns the value of the 'Parameter' containment reference list.
 java.lang.String getType()
          Returns the value of the 'Type' attribute.
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute.
 
Methods inherited from interface org.eclipse.mtl.cst.Block
getBody, getInit, setInit
 
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
 
Methods inherited from interface org.eclipse.mtl.cst.ModuleElement
getName, getVisibility, setName, setVisibility
 

Method Detail

getParameter

org.eclipse.emf.common.util.EList<Variable> getParameter()
Returns the value of the 'Parameter' containment reference list. The list contents are of type Variable.

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

Returns:
the value of the 'Parameter' containment reference list.
See Also:
CstPackage.getMacro_Parameter()

getType

java.lang.String getType()
Returns the value of the 'Type' attribute.

If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), CstPackage.getMacro_Type()

setType

void setType(java.lang.String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

Copyright 2008 Obeo
All Rights Reserved.