Package org.eclipse.xtext.xbase
Interface XTryCatchFinallyExpression
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,XExpression
- All Known Implementing Classes:
XTryCatchFinallyExpressionImpl
public interface XTryCatchFinallyExpression extends XExpression
A representation of the model object 'XTry Catch Finally Expression'.- Since:
- 2.7
- See Also:
XbasePackage.getXTryCatchFinallyExpression()- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
The following features are supported:
- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<XCatchClause>getCatchClauses()Returns the value of the 'Catch Clauses' containment reference list.XExpressiongetExpression()Returns the value of the 'Expression' containment reference.XExpressiongetFinallyExpression()Returns the value of the 'Finally Expression' containment reference.org.eclipse.emf.common.util.EList<XVariableDeclaration>getResources()Returns the value of the 'Resources' containment reference list.voidsetExpression(XExpression value)Sets the value of the 'Expression' containment reference.voidsetFinallyExpression(XExpression value)Sets the value of the 'Finally Expression' containment reference.
-
-
-
Method Detail
-
getExpression
XExpression getExpression()
Returns the value of the 'Expression' containment reference.- Returns:
- the value of the 'Expression' containment reference.
- See Also:
setExpression(XExpression),XbasePackage.getXTryCatchFinallyExpression_Expression()- Model:
- containment="true"
- Generated:
-
setExpression
void setExpression(XExpression value)
Sets the value of the 'Expression' containment reference.- Parameters:
value- the new value of the 'Expression' containment reference.- See Also:
getExpression()- Generated:
-
getFinallyExpression
XExpression getFinallyExpression()
Returns the value of the 'Finally Expression' containment reference.- Returns:
- the value of the 'Finally Expression' containment reference.
- See Also:
setFinallyExpression(XExpression),XbasePackage.getXTryCatchFinallyExpression_FinallyExpression()- Model:
- containment="true"
- Generated:
-
setFinallyExpression
void setFinallyExpression(XExpression value)
Sets the value of the 'Finally Expression' containment reference.- Parameters:
value- the new value of the 'Finally Expression' containment reference.- See Also:
getFinallyExpression()- Generated:
-
getCatchClauses
org.eclipse.emf.common.util.EList<XCatchClause> getCatchClauses()
Returns the value of the 'Catch Clauses' containment reference list. The list contents are of typeXCatchClause.- Returns:
- the value of the 'Catch Clauses' containment reference list.
- See Also:
XbasePackage.getXTryCatchFinallyExpression_CatchClauses()- Model:
- containment="true"
- Generated:
-
getResources
org.eclipse.emf.common.util.EList<XVariableDeclaration> getResources()
Returns the value of the 'Resources' containment reference list. The list contents are of typeXVariableDeclaration.- Returns:
- the value of the 'Resources' containment reference list.
- Since:
- 2.18
- See Also:
XbasePackage.getXTryCatchFinallyExpression_Resources()- Model:
- containment="true"
- Generated:
-
-