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


Java SequenceFeeder.finish方法代碼示例

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


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

示例1: sequence_Card

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     Card returns Card
 *
 * Constraint:
 *     (count=INT name=NAMESTRING setNr=INT set=NAMESTRING)
 */
protected void sequence_Card(ISerializationContext context, Card semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, PkmntcgoPackage.Literals.CARD__COUNT) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PkmntcgoPackage.Literals.CARD__COUNT));
		if (transientValues.isValueTransient(semanticObject, PkmntcgoPackage.Literals.CARD__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PkmntcgoPackage.Literals.CARD__NAME));
		if (transientValues.isValueTransient(semanticObject, PkmntcgoPackage.Literals.CARD__SET_NR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PkmntcgoPackage.Literals.CARD__SET_NR));
		if (transientValues.isValueTransient(semanticObject, PkmntcgoPackage.Literals.CARD__SET) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PkmntcgoPackage.Literals.CARD__SET));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getCardAccess().getCountINTTerminalRuleCall_0_0(), semanticObject.getCount());
	feeder.accept(grammarAccess.getCardAccess().getNameNAMESTRINGParserRuleCall_1_0(), semanticObject.getName());
	feeder.accept(grammarAccess.getCardAccess().getSetNrINTTerminalRuleCall_2_0(), semanticObject.getSetNr());
	feeder.accept(grammarAccess.getCardAccess().getSetNAMESTRINGParserRuleCall_3_0(), semanticObject.getSet());
	feeder.finish();
}
 
開發者ID:rehne93,項目名稱:pokemon-tcgo-deck-generator,代碼行數:26,代碼來源:PkmntcgoSemanticSequencer.java

示例2: sequence_ValDef

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Constraint:
 *     (name=CAPITALIZED_ID value=ValueOperation)
 */
protected void sequence_ValDef(EObject context, ValDef semanticObject) {
	if(errorAcceptor != null) {
		if(transientValues.isValueTransient(semanticObject, KronusPackage.Literals.NAMED_ABSTRACT_DEF__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, KronusPackage.Literals.NAMED_ABSTRACT_DEF__NAME));
		if(transientValues.isValueTransient(semanticObject, KronusPackage.Literals.VAL_DEF__VALUE) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, KronusPackage.Literals.VAL_DEF__VALUE));
	}
	INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
	SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
	feeder.accept(grammarAccess.getValDefAccess().getNameCAPITALIZED_IDTerminalRuleCall_1_0(), semanticObject.getName());
	feeder.accept(grammarAccess.getValDefAccess().getValueValueOperationParserRuleCall_3_0(), semanticObject.getValue());
	feeder.finish();
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:KronusSemanticSequencer.java

示例3: sequence_ExistingPath

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     Path returns ExistingPath
 *     ExistingPath returns ExistingPath
 *
 * Constraint:
 *     name=StringWithVariables
 */
protected void sequence_ExistingPath(ISerializationContext context, ExistingPath semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, LcDslPackage.Literals.PATH__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, LcDslPackage.Literals.PATH__NAME));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getExistingPathAccess().getNameStringWithVariablesParserRuleCall_0(), semanticObject.getName());
	feeder.finish();
}
 
開發者ID:mduft,項目名稱:lcdsl,代碼行數:18,代碼來源:LcDslSemanticSequencer.java

示例4: sequence_WorkingDir

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     WorkingDir returns WorkingDir
 *
 * Constraint:
 *     workingDir=ExistingPath
 */
protected void sequence_WorkingDir(ISerializationContext context, WorkingDir semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, LcDslPackage.Literals.WORKING_DIR__WORKING_DIR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, LcDslPackage.Literals.WORKING_DIR__WORKING_DIR));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getWorkingDirAccess().getWorkingDirExistingPathParserRuleCall_1_0(), semanticObject.getWorkingDir());
	feeder.finish();
}
 
開發者ID:mduft,項目名稱:lcdsl,代碼行數:17,代碼來源:LcDslSemanticSequencer.java

示例5: sequence_UndefinedType

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     Type returns UndefinedType
 *     UndefinedType returns UndefinedType
 *
 * Constraint:
 *     name='undefined'
 */
protected void sequence_UndefinedType(ISerializationContext context, UndefinedType semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, TypesPackage.Literals.IDENTIFIABLE_ELEMENT__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TypesPackage.Literals.IDENTIFIABLE_ELEMENT__NAME));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getUndefinedTypeAccess().getNameUndefinedKeyword_1_0(), semanticObject.getName());
	feeder.finish();
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:18,代碼來源:TypesSemanticSequencer.java

示例6: sequence_MultiTextItem

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Constraint:
 *     title=EString
 */
protected void sequence_MultiTextItem(EObject context, MultiTextItem semanticObject) {
	if(errorAcceptor != null) {
		if(transientValues.isValueTransient(semanticObject, QueryITPackage.Literals.MULTI_TEXT_ITEM__TITLE) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, QueryITPackage.Literals.MULTI_TEXT_ITEM__TITLE));
	}
	INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
	SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
	feeder.accept(grammarAccess.getMultiTextItemAccess().getTitleEStringParserRuleCall_1_0(), semanticObject.getTitle());
	feeder.finish();
}
 
開發者ID:TodorovicNikola,項目名稱:SurveyDSL,代碼行數:15,代碼來源:AbstractQueryITSemanticSequencer.java

示例7: sequence_JSXSpreadAttribute

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     JSXAttribute returns JSXSpreadAttribute
 *     JSXSpreadAttribute returns JSXSpreadAttribute
 *
 * Constraint:
 *     expression=AssignmentExpression
 */
protected void sequence_JSXSpreadAttribute(ISerializationContext context, JSXSpreadAttribute semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, N4JSPackage.Literals.JSX_SPREAD_ATTRIBUTE__EXPRESSION) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, N4JSPackage.Literals.JSX_SPREAD_ATTRIBUTE__EXPRESSION));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getJSXSpreadAttributeAccess().getExpressionAssignmentExpressionParserRuleCall_2_0(), semanticObject.getExpression());
	feeder.finish();
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:18,代碼來源:N4JSSemanticSequencer.java

示例8: sequence_ExportHashtag

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Constraint:
 *     ref=[HashtagDef|QN]
 */
protected void sequence_ExportHashtag(EObject context, ExportHashtag semanticObject) {
	if(errorAcceptor != null) {
		if(transientValues.isValueTransient(semanticObject, KronusPackage.Literals.EXPORT_HASHTAG__REF) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, KronusPackage.Literals.EXPORT_HASHTAG__REF));
	}
	INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
	SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
	feeder.accept(grammarAccess.getExportHashtagAccess().getRefHashtagDefQNParserRuleCall_1_0_1(), semanticObject.getRef());
	feeder.finish();
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:15,代碼來源:KronusSemanticSequencer.java

示例9: sequence_GroupPostLaunchDelay

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     GroupPostLaunchAction returns GroupPostLaunchDelay
 *     GroupPostLaunchDelay returns GroupPostLaunchDelay
 *
 * Constraint:
 *     delay=INT
 */
protected void sequence_GroupPostLaunchDelay(ISerializationContext context, GroupPostLaunchDelay semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, LcDslPackage.Literals.GROUP_POST_LAUNCH_DELAY__DELAY) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, LcDslPackage.Literals.GROUP_POST_LAUNCH_DELAY__DELAY));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getGroupPostLaunchDelayAccess().getDelayINTTerminalRuleCall_1_0(), semanticObject.getDelay());
	feeder.finish();
}
 
開發者ID:mduft,項目名稱:lcdsl,代碼行數:18,代碼來源:LcDslSemanticSequencer.java

示例10: sequence_Precondition

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     Precondition returns Precondition
 *
 * Constraint:
 *     action=WebDriverActionCondition
 */
protected void sequence_Precondition(ISerializationContext context, Precondition semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, BromiumPackage.Literals.PRECONDITION__ACTION) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, BromiumPackage.Literals.PRECONDITION__ACTION));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getPreconditionAccess().getActionWebDriverActionConditionParserRuleCall_1_0(), semanticObject.getAction());
	feeder.finish();
}
 
開發者ID:hristo-vrigazov,項目名稱:bromium,代碼行數:17,代碼來源:BromiumSemanticSequencer.java

示例11: sequence_ExposedParameter

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     ExposedParameter returns ExposedParameter
 *
 * Constraint:
 *     name=ID
 */
protected void sequence_ExposedParameter(ISerializationContext context, ExposedParameter semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, BromiumPackage.Literals.EXPOSED_PARAMETER__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, BromiumPackage.Literals.EXPOSED_PARAMETER__NAME));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getExposedParameterAccess().getNameIDTerminalRuleCall_0(), semanticObject.getName());
	feeder.finish();
}
 
開發者ID:hristo-vrigazov,項目名稱:bromium,代碼行數:17,代碼來源:BromiumSemanticSequencer.java

示例12: sequence_TestedProject

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     TestedProject returns TestedProject
 *
 * Constraint:
 *     project=SimpleProjectDescription
 */
protected void sequence_TestedProject(ISerializationContext context, TestedProject semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, N4mfPackage.Literals.PROJECT_REFERENCE__PROJECT) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, N4mfPackage.Literals.PROJECT_REFERENCE__PROJECT));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getTestedProjectAccess().getProjectSimpleProjectDescriptionParserRuleCall_0(), semanticObject.getProject());
	feeder.finish();
}
 
開發者ID:eclipse,項目名稱:n4js,代碼行數:17,代碼來源:N4MFSemanticSequencer.java

示例13: sequence_GRelationExpression

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     GExpression returns GRelationExpression
 *     GOrExpression returns GRelationExpression
 *     GOrExpression.GOrExpression_1_0 returns GRelationExpression
 *     GXorExpression returns GRelationExpression
 *     GXorExpression.GXorExpression_1_0 returns GRelationExpression
 *     GAndExpression returns GRelationExpression
 *     GAndExpression.GAndExpression_1_0 returns GRelationExpression
 *     GEqualityExpression returns GRelationExpression
 *     GEqualityExpression.GEqualityExpression_1_0 returns GRelationExpression
 *     GRelationExpression returns GRelationExpression
 *     GRelationExpression.GRelationExpression_1_0 returns GRelationExpression
 *
 * Constraint:
 *     (leftOperand=GRelationExpression_GRelationExpression_1_0 operator=GRelationOperator rightOperand=GAdditionExpression)
 */
protected void sequence_GRelationExpression(ISerializationContext context, GRelationExpression semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND));
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GRELATION_EXPRESSION__OPERATOR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GRELATION_EXPRESSION__OPERATOR));
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getGRelationExpressionAccess().getGRelationExpressionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
	feeder.accept(grammarAccess.getGRelationExpressionAccess().getOperatorGRelationOperatorEnumRuleCall_1_1_0(), semanticObject.getOperator());
	feeder.accept(grammarAccess.getGRelationExpressionAccess().getRightOperandGAdditionExpressionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
	feeder.finish();
}
 
開發者ID:eclipse,項目名稱:gemoc-studio,代碼行數:33,代碼來源:AbstractGExpressionsSemanticSequencer.java

示例14: sequence_GMultiplicationExpression

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     GExpression returns GMultiplicationExpression
 *     GOrExpression returns GMultiplicationExpression
 *     GOrExpression.GOrExpression_1_0 returns GMultiplicationExpression
 *     GXorExpression returns GMultiplicationExpression
 *     GXorExpression.GXorExpression_1_0 returns GMultiplicationExpression
 *     GAndExpression returns GMultiplicationExpression
 *     GAndExpression.GAndExpression_1_0 returns GMultiplicationExpression
 *     GEqualityExpression returns GMultiplicationExpression
 *     GEqualityExpression.GEqualityExpression_1_0 returns GMultiplicationExpression
 *     GRelationExpression returns GMultiplicationExpression
 *     GRelationExpression.GRelationExpression_1_0 returns GMultiplicationExpression
 *     GAdditionExpression returns GMultiplicationExpression
 *     GAdditionExpression.GAdditionExpression_1_0 returns GMultiplicationExpression
 *     GMultiplicationExpression returns GMultiplicationExpression
 *     GMultiplicationExpression.GMultiplicationExpression_1_0 returns GMultiplicationExpression
 *
 * Constraint:
 *     (leftOperand=GMultiplicationExpression_GMultiplicationExpression_1_0 operator=GMultiplicationOperator rightOperand=GNegationExpression)
 */
protected void sequence_GMultiplicationExpression(ISerializationContext context, GMultiplicationExpression semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND));
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GMULTIPLICATION_EXPRESSION__OPERATOR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GMULTIPLICATION_EXPRESSION__OPERATOR));
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getGMultiplicationExpressionAccess().getGMultiplicationExpressionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
	feeder.accept(grammarAccess.getGMultiplicationExpressionAccess().getOperatorGMultiplicationOperatorEnumRuleCall_1_1_0(), semanticObject.getOperator());
	feeder.accept(grammarAccess.getGMultiplicationExpressionAccess().getRightOperandGNegationExpressionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
	feeder.finish();
}
 
開發者ID:eclipse,項目名稱:gemoc-studio,代碼行數:37,代碼來源:AbstractGExpressionsSemanticSequencer.java

示例15: sequence_GAdditionExpression

import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; //導入方法依賴的package包/類
/**
 * Contexts:
 *     GExpression returns GAdditionExpression
 *     GOrExpression returns GAdditionExpression
 *     GOrExpression.GOrExpression_1_0 returns GAdditionExpression
 *     GXorExpression returns GAdditionExpression
 *     GXorExpression.GXorExpression_1_0 returns GAdditionExpression
 *     GAndExpression returns GAdditionExpression
 *     GAndExpression.GAndExpression_1_0 returns GAdditionExpression
 *     GEqualityExpression returns GAdditionExpression
 *     GEqualityExpression.GEqualityExpression_1_0 returns GAdditionExpression
 *     GRelationExpression returns GAdditionExpression
 *     GRelationExpression.GRelationExpression_1_0 returns GAdditionExpression
 *     GAdditionExpression returns GAdditionExpression
 *     GAdditionExpression.GAdditionExpression_1_0 returns GAdditionExpression
 *
 * Constraint:
 *     (leftOperand=GAdditionExpression_GAdditionExpression_1_0 operator=GAdditionOperator rightOperand=GMultiplicationExpression)
 */
protected void sequence_GAdditionExpression(ISerializationContext context, GAdditionExpression semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__LEFT_OPERAND));
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GADDITION_EXPRESSION__OPERATOR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GADDITION_EXPRESSION__OPERATOR));
		if (transientValues.isValueTransient(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GBINARY_OPERATOR_EXPRESSION__RIGHT_OPERAND));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getGAdditionExpressionAccess().getGAdditionExpressionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
	feeder.accept(grammarAccess.getGAdditionExpressionAccess().getOperatorGAdditionOperatorEnumRuleCall_1_1_0(), semanticObject.getOperator());
	feeder.accept(grammarAccess.getGAdditionExpressionAccess().getRightOperandGMultiplicationExpressionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
	feeder.finish();
}
 
開發者ID:eclipse,項目名稱:gemoc-studio,代碼行數:35,代碼來源:AbstractGExpressionsSemanticSequencer.java


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