use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_Variable.
/**
* Constraint:
* parameterReference=[Parameter|ID]
*/
protected void sequence_Variable(EObject context, Variable semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.VARIABLE__PARAMETER_REFERENCE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.VARIABLE__PARAMETER_REFERENCE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getVariableAccess().getParameterReferenceParameterIDTerminalRuleCall_1_0_1(), semanticObject.getParameterReference());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_LoopVariable.
/**
* Constraint:
* name=ID
*/
protected void sequence_LoopVariable(EObject context, LoopVariable semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.REFERRABLE_ELEMENT__NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.REFERRABLE_ELEMENT__NAME));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getLoopVariableAccess().getNameIDTerminalRuleCall_0(), semanticObject.getName());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_DataSourceBodySpecification.
/**
* Constraint:
* bodycontents=[Parameter|ID]
*/
protected void sequence_DataSourceBodySpecification(EObject context, DataSourceBodySpecification semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.DATA_SOURCE_BODY_SPECIFICATION__BODYCONTENTS) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.DATA_SOURCE_BODY_SPECIFICATION__BODYCONTENTS));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getDataSourceBodySpecificationAccess().getBodycontentsParameterIDTerminalRuleCall_0_1(), semanticObject.getBodycontents());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_TypeMapping.
/**
* Constraint:
* (type=[DataType|ID] simpleName=ID)
*/
protected void sequence_TypeMapping(EObject context, TypeMapping semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.TYPE_MAPPING__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.TYPE_MAPPING__TYPE));
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.TYPE_MAPPING__SIMPLE_NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.TYPE_MAPPING__SIMPLE_NAME));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getTypeMappingAccess().getTypeDataTypeIDTerminalRuleCall_1_0_1(), semanticObject.getType());
feeder.accept(grammarAccess.getTypeMappingAccess().getSimpleNameIDTerminalRuleCall_3_0(), semanticObject.getSimpleName());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_AttributeReference.
/**
* Constraint:
* value=[Attribute|ID]
*/
protected void sequence_AttributeReference(EObject context, AttributeReference semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.ATTRIBUTE_REFERENCE__VALUE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.ATTRIBUTE_REFERENCE__VALUE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getAttributeReferenceAccess().getValueAttributeIDTerminalRuleCall_0_1(), semanticObject.getValue());
feeder.finish();
}
Aggregations