當前位置: 首頁>>代碼示例>>Java>>正文


Java GexpressionsPackage.GREFERENCE_EXPRESSION屬性代碼示例

本文整理匯總了Java中org.eclipse.gemoc.gexpressions.GexpressionsPackage.GREFERENCE_EXPRESSION屬性的典型用法代碼示例。如果您正苦於以下問題:Java GexpressionsPackage.GREFERENCE_EXPRESSION屬性的具體用法?Java GexpressionsPackage.GREFERENCE_EXPRESSION怎麽用?Java GexpressionsPackage.GREFERENCE_EXPRESSION使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在org.eclipse.gemoc.gexpressions.GexpressionsPackage的用法示例。


在下文中一共展示了GexpressionsPackage.GREFERENCE_EXPRESSION屬性的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: sequence

@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
	EPackage epackage = semanticObject.eClass().getEPackage();
	ParserRule rule = context.getParserRule();
	Action action = context.getAssignedAction();
	Set<Parameter> parameters = context.getEnabledBooleanParameters();
	if (epackage == GexpressionsPackage.eINSTANCE)
		switch (semanticObject.eClass().getClassifierID()) {
		case GexpressionsPackage.GADDITION_EXPRESSION:
			sequence_GAdditionExpression(context, (GAdditionExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GAND_EXPRESSION:
			sequence_GAndExpression(context, (GAndExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GBOOLEAN_EXPRESSION:
			sequence_GBooleanExpression(context, (GBooleanExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GBRACE_EXPRESSION:
			sequence_GBraceExpression(context, (GBraceExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GDOUBLE_EXPRESSION:
			sequence_GDoubleExpression(context, (GDoubleExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GENUM_LITERAL_EXPRESSION:
			sequence_GEnumLiteralExpression(context, (GEnumLiteralExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GEQUALITY_EXPRESSION:
			sequence_GEqualityExpression(context, (GEqualityExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GIF_EXPRESSION:
			sequence_GIfExpression(context, (GIfExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GIMPORT_STATEMENT:
			sequence_GImportStatement(context, (GImportStatement) semanticObject); 
			return; 
		case GexpressionsPackage.GINTEGER_EXPRESSION:
			sequence_GIntegerExpression(context, (GIntegerExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GMULTIPLICATION_EXPRESSION:
			sequence_GMultiplicationExpression(context, (GMultiplicationExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GNAVIGATION_EXPRESSION:
			sequence_GNavigationExpression(context, (GNavigationExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GNEGATION_EXPRESSION:
			sequence_GNegationExpression(context, (GNegationExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GOR_EXPRESSION:
			sequence_GOrExpression(context, (GOrExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GPROGRAM:
			sequence_GProgram(context, (GProgram) semanticObject); 
			return; 
		case GexpressionsPackage.GREFERENCE_EXPRESSION:
			sequence_GReferenceExpression(context, (GReferenceExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GRELATION_EXPRESSION:
			sequence_GRelationExpression(context, (GRelationExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GSTRING_EXPRESSION:
			sequence_GStringExpression(context, (GStringExpression) semanticObject); 
			return; 
		case GexpressionsPackage.GXOR_EXPRESSION:
			sequence_GXorExpression(context, (GXorExpression) semanticObject); 
			return; 
		}
	if (errorAcceptor != null)
		errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
 
開發者ID:eclipse,項目名稱:gemoc-studio,代碼行數:69,代碼來源:AbstractGExpressionsSemanticSequencer.java


注:本文中的org.eclipse.gemoc.gexpressions.GexpressionsPackage.GREFERENCE_EXPRESSION屬性示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。