当前位置: 首页>>代码示例>>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;未经允许,请勿转载。