本文整理匯總了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}