当前位置: 首页>>代码示例>>Java>>正文


Java ValueTransient类代码示例

本文整理汇总了Java中org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient的典型用法代码示例。如果您正苦于以下问题:Java ValueTransient类的具体用法?Java ValueTransient怎么用?Java ValueTransient使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ValueTransient类属于org.eclipse.xtext.serializer.sequencer.ITransientValueService包,在下文中一共展示了ValueTransient类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: sequence_Card

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的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_GAndExpression

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     GExpression returns GAndExpression
 *     GOrExpression returns GAndExpression
 *     GOrExpression.GOrExpression_1_0 returns GAndExpression
 *     GXorExpression returns GAndExpression
 *     GXorExpression.GXorExpression_1_0 returns GAndExpression
 *     GAndExpression returns GAndExpression
 *     GAndExpression.GAndExpression_1_0 returns GAndExpression
 *
 * Constraint:
 *     (leftOperand=GAndExpression_GAndExpression_1_0 operator=GAndOperator rightOperand=GEqualityExpression)
 */
protected void sequence_GAndExpression(ISerializationContext context, GAndExpression 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.GAND_EXPRESSION__OPERATOR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GAND_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.getGAndExpressionAccess().getGAndExpressionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
	feeder.accept(grammarAccess.getGAndExpressionAccess().getOperatorGAndOperatorEnumRuleCall_1_1_0(), semanticObject.getOperator());
	feeder.accept(grammarAccess.getGAndExpressionAccess().getRightOperandGEqualityExpressionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:29,代码来源:AbstractGExpressionsSemanticSequencer.java

示例3: sequence_Button

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     Button returns Button
 *
 * Constraint:
 *     (name=ID title=Description href=STRING)
 */
protected void sequence_Button(ISerializationContext context, Button semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.BUTTON__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.BUTTON__NAME));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.BUTTON__TITLE) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.BUTTON__TITLE));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.BUTTON__HREF) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.BUTTON__HREF));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getButtonAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
	feeder.accept(grammarAccess.getButtonAccess().getTitleDescriptionParserRuleCall_3_0(), semanticObject.getTitle());
	feeder.accept(grammarAccess.getButtonAccess().getHrefSTRINGTerminalRuleCall_5_0(), semanticObject.getHref());
	feeder.finish();
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:23,代码来源:MyDslSemanticSequencer.java

示例4: sequence_Link

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     Link returns Link
 *
 * Constraint:
 *     (name=ID description=Description url=STRING)
 */
protected void sequence_Link(ISerializationContext context, Link semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.LINK__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.LINK__NAME));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.LINK__DESCRIPTION) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.LINK__DESCRIPTION));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.LINK__URL) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.LINK__URL));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getLinkAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
	feeder.accept(grammarAccess.getLinkAccess().getDescriptionDescriptionParserRuleCall_3_0(), semanticObject.getDescription());
	feeder.accept(grammarAccess.getLinkAccess().getUrlSTRINGTerminalRuleCall_5_0(), semanticObject.getUrl());
	feeder.finish();
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:23,代码来源:MyDslSemanticSequencer.java

示例5: sequence_Menu

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     Menu returns Menu
 *
 * Constraint:
 *     (name=ID meal=STRING description=Description price=STRING image=STRING)
 */
protected void sequence_Menu(ISerializationContext context, Menu semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.MENU__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.MENU__NAME));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.MENU__MEAL) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.MENU__MEAL));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.MENU__DESCRIPTION) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.MENU__DESCRIPTION));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.MENU__PRICE) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.MENU__PRICE));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.MENU__IMAGE) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.MENU__IMAGE));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getMenuAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
	feeder.accept(grammarAccess.getMenuAccess().getMealSTRINGTerminalRuleCall_4_0(), semanticObject.getMeal());
	feeder.accept(grammarAccess.getMenuAccess().getDescriptionDescriptionParserRuleCall_5_0(), semanticObject.getDescription());
	feeder.accept(grammarAccess.getMenuAccess().getPriceSTRINGTerminalRuleCall_7_0(), semanticObject.getPrice());
	feeder.accept(grammarAccess.getMenuAccess().getImageSTRINGTerminalRuleCall_9_0(), semanticObject.getImage());
	feeder.finish();
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:29,代码来源:MyDslSemanticSequencer.java

示例6: sequence_NAV

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     NAV returns NAV
 *
 * Constraint:
 *     (name=ID description=Description href=STRING)
 */
protected void sequence_NAV(ISerializationContext context, NAV semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.NAV__NAME) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.NAV__NAME));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.NAV__DESCRIPTION) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.NAV__DESCRIPTION));
		if (transientValues.isValueTransient(semanticObject, MyDslPackage.Literals.NAV__HREF) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, MyDslPackage.Literals.NAV__HREF));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getNAVAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
	feeder.accept(grammarAccess.getNAVAccess().getDescriptionDescriptionParserRuleCall_3_0(), semanticObject.getDescription());
	feeder.accept(grammarAccess.getNAVAccess().getHrefSTRINGTerminalRuleCall_5_0(), semanticObject.getHref());
	feeder.finish();
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:23,代码来源:MyDslSemanticSequencer.java

示例7: sequence_ThreeDottedVersion

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     ThreeDottedVersion returns ThreeDottedVersion
 *
 * Constraint:
 *     (big=INT medium=INT small=INT)
 */
protected void sequence_ThreeDottedVersion(ISerializationContext context, ThreeDottedVersion semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, BromiumPackage.Literals.THREE_DOTTED_VERSION__BIG) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, BromiumPackage.Literals.THREE_DOTTED_VERSION__BIG));
		if (transientValues.isValueTransient(semanticObject, BromiumPackage.Literals.THREE_DOTTED_VERSION__MEDIUM) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, BromiumPackage.Literals.THREE_DOTTED_VERSION__MEDIUM));
		if (transientValues.isValueTransient(semanticObject, BromiumPackage.Literals.THREE_DOTTED_VERSION__SMALL) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, BromiumPackage.Literals.THREE_DOTTED_VERSION__SMALL));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getThreeDottedVersionAccess().getBigINTTerminalRuleCall_0_0(), semanticObject.getBig());
	feeder.accept(grammarAccess.getThreeDottedVersionAccess().getMediumINTTerminalRuleCall_2_0(), semanticObject.getMedium());
	feeder.accept(grammarAccess.getThreeDottedVersionAccess().getSmallINTTerminalRuleCall_4_0(), semanticObject.getSmall());
	feeder.finish();
}
 
开发者ID:hristo-vrigazov,项目名称:bromium,代码行数:23,代码来源:BromiumSemanticSequencer.java

示例8: sequence_GEqualityExpression

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     GExpression returns GEqualityExpression
 *     GOrExpression returns GEqualityExpression
 *     GOrExpression.GOrExpression_1_0 returns GEqualityExpression
 *     GXorExpression returns GEqualityExpression
 *     GXorExpression.GXorExpression_1_0 returns GEqualityExpression
 *     GAndExpression returns GEqualityExpression
 *     GAndExpression.GAndExpression_1_0 returns GEqualityExpression
 *     GEqualityExpression returns GEqualityExpression
 *     GEqualityExpression.GEqualityExpression_1_0 returns GEqualityExpression
 *
 * Constraint:
 *     (leftOperand=GEqualityExpression_GEqualityExpression_1_0 operator=GEqualityOperator rightOperand=GRelationExpression)
 */
protected void sequence_GEqualityExpression(ISerializationContext context, GEqualityExpression 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.GEQUALITY_EXPRESSION__OPERATOR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GEQUALITY_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.getGEqualityExpressionAccess().getGEqualityExpressionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
	feeder.accept(grammarAccess.getGEqualityExpressionAccess().getOperatorGEqualityOperatorEnumRuleCall_1_1_0(), semanticObject.getOperator());
	feeder.accept(grammarAccess.getGEqualityExpressionAccess().getRightOperandGRelationExpressionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:31,代码来源:AbstractGExpressionsSemanticSequencer.java

示例9: sequence_GOrExpression

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     GExpression returns GOrExpression
 *     GOrExpression returns GOrExpression
 *     GOrExpression.GOrExpression_1_0 returns GOrExpression
 *
 * Constraint:
 *     (leftOperand=GOrExpression_GOrExpression_1_0 operator=GOrOperator rightOperand=GXorExpression)
 */
protected void sequence_GOrExpression(ISerializationContext context, GOrExpression 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.GOR_EXPRESSION__OPERATOR) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, GexpressionsPackage.Literals.GOR_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.getGOrExpressionAccess().getGOrExpressionLeftOperandAction_1_0(), semanticObject.getLeftOperand());
	feeder.accept(grammarAccess.getGOrExpressionAccess().getOperatorGOrOperatorEnumRuleCall_1_1_0(), semanticObject.getOperator());
	feeder.accept(grammarAccess.getGOrExpressionAccess().getRightOperandGXorExpressionParserRuleCall_1_2_0(), semanticObject.getRightOperand());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:25,代码来源:AbstractGExpressionsSemanticSequencer.java

示例10: sequence_AnyType

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     Type returns AnyType
 *     AnyType returns AnyType
 *
 * Constraint:
 *     name='any'
 */
protected void sequence_AnyType(ISerializationContext context, AnyType 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.getAnyTypeAccess().getNameAnyKeyword_1_0(), semanticObject.getName());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:18,代码来源:TypesSemanticSequencer.java

示例11: sequence_NullType

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     Type returns NullType
 *     NullType returns NullType
 *
 * Constraint:
 *     name='null'
 */
protected void sequence_NullType(ISerializationContext context, NullType 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.getNullTypeAccess().getNameNullKeyword_1_0(), semanticObject.getName());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:18,代码来源:TypesSemanticSequencer.java

示例12: sequence_TAnnotationStringArgument

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     TAnnotationArgument returns TAnnotationStringArgument
 *     TAnnotationStringArgument returns TAnnotationStringArgument
 *
 * Constraint:
 *     value=STRING
 */
protected void sequence_TAnnotationStringArgument(ISerializationContext context, TAnnotationStringArgument semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, TypesPackage.Literals.TANNOTATION_STRING_ARGUMENT__VALUE) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TypesPackage.Literals.TANNOTATION_STRING_ARGUMENT__VALUE));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getTAnnotationStringArgumentAccess().getValueSTRINGTerminalRuleCall_0(), semanticObject.getValue());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:18,代码来源:TypesSemanticSequencer.java

示例13: sequence_TAnnotationTypeRefArgument

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     TAnnotationArgument returns TAnnotationTypeRefArgument
 *     TAnnotationTypeRefArgument returns TAnnotationTypeRefArgument
 *
 * Constraint:
 *     typeRef=TypeRef
 */
protected void sequence_TAnnotationTypeRefArgument(ISerializationContext context, TAnnotationTypeRefArgument semanticObject) {
	if (errorAcceptor != null) {
		if (transientValues.isValueTransient(semanticObject, TypesPackage.Literals.TTYPED_ELEMENT__TYPE_REF) == ValueTransient.YES)
			errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TypesPackage.Literals.TTYPED_ELEMENT__TYPE_REF));
	}
	SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
	feeder.accept(grammarAccess.getTAnnotationTypeRefArgumentAccess().getTypeRefTypeRefParserRuleCall_0(), semanticObject.getTypeRef());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:18,代码来源:TypesSemanticSequencer.java

示例14: sequence_TEnumLiteral

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的package包/类
/**
 * Contexts:
 *     TEnumLiteral returns TEnumLiteral
 *
 * Constraint:
 *     name=IDENTIFIER
 */
protected void sequence_TEnumLiteral(ISerializationContext context, TEnumLiteral 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.getTEnumLiteralAccess().getNameIDENTIFIERTerminalRuleCall_0(), semanticObject.getName());
	feeder.finish();
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:17,代码来源:TypesSemanticSequencer.java

示例15: sequence_UndefinedType

import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; //导入依赖的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


注:本文中的org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。