use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project mechanoid by robotoworks.
the class OpServiceModelSemanticSequencer method sequence_Model.
/**
* Constraint:
* (packageName=QualifiedName service=ServiceBlock)
*/
protected void sequence_Model(EObject context, Model semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, OpServiceModelPackage.Literals.MODEL__PACKAGE_NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OpServiceModelPackage.Literals.MODEL__PACKAGE_NAME));
if (transientValues.isValueTransient(semanticObject, OpServiceModelPackage.Literals.MODEL__SERVICE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OpServiceModelPackage.Literals.MODEL__SERVICE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getModelAccess().getPackageNameQualifiedNameParserRuleCall_1_0(), semanticObject.getPackageName());
feeder.accept(grammarAccess.getModelAccess().getServiceServiceBlockParserRuleCall_2_0(), semanticObject.getService());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project mechanoid by robotoworks.
the class OpServiceModelSemanticSequencer method sequence_OperationArg.
/**
* Constraint:
* (type=OpArgType name=ID)
*/
protected void sequence_OperationArg(EObject context, OperationArg semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, OpServiceModelPackage.Literals.OPERATION_ARG__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OpServiceModelPackage.Literals.OPERATION_ARG__TYPE));
if (transientValues.isValueTransient(semanticObject, OpServiceModelPackage.Literals.OPERATION_ARG__NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OpServiceModelPackage.Literals.OPERATION_ARG__NAME));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getOperationArgAccess().getTypeOpArgTypeEnumRuleCall_0_0(), semanticObject.getType());
feeder.accept(grammarAccess.getOperationArgAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project mechanoid by robotoworks.
the class SharedPreferencesModelSemanticSequencer method sequence_Literal.
/**
* Constraint:
* literal=BooleanValue
*/
protected void sequence_Literal(EObject context, BooleanLiteral semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, SharedPreferencesModelPackage.Literals.BOOLEAN_LITERAL__LITERAL) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SharedPreferencesModelPackage.Literals.BOOLEAN_LITERAL__LITERAL));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getLiteralAccess().getLiteralBooleanValueEnumRuleCall_0_1_0(), semanticObject.getLiteral());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project mechanoid by robotoworks.
the class SharedPreferencesModelSemanticSequencer method sequence_Literal.
/**
* Constraint:
* literal=STRING
*/
protected void sequence_Literal(EObject context, StringLiteral semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, SharedPreferencesModelPackage.Literals.STRING_LITERAL__LITERAL) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SharedPreferencesModelPackage.Literals.STRING_LITERAL__LITERAL));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getLiteralAccess().getLiteralSTRINGTerminalRuleCall_1_1_0(), semanticObject.getLiteral());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project mechanoid by robotoworks.
the class SharedPreferencesModelSemanticSequencer method sequence_Model.
/**
* Constraint:
* (packageName=FQN preferencesBlock=PreferencesBlock)
*/
protected void sequence_Model(EObject context, Model semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, SharedPreferencesModelPackage.Literals.MODEL__PACKAGE_NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SharedPreferencesModelPackage.Literals.MODEL__PACKAGE_NAME));
if (transientValues.isValueTransient(semanticObject, SharedPreferencesModelPackage.Literals.MODEL__PREFERENCES_BLOCK) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SharedPreferencesModelPackage.Literals.MODEL__PREFERENCES_BLOCK));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getModelAccess().getPackageNameFQNParserRuleCall_1_0(), semanticObject.getPackageName());
feeder.accept(grammarAccess.getModelAccess().getPreferencesBlockPreferencesBlockParserRuleCall_2_0(), semanticObject.getPreferencesBlock());
feeder.finish();
}
Aggregations