use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_UIComponentMemberDeclaration.
/**
* Constraint:
* (type=[UIComponentOrDataType|ID] name=ID)
*/
protected void sequence_UIComponentMemberDeclaration(EObject context, UIComponentMemberDeclaration semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_DECLARATION__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_DECLARATION__TYPE));
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_DECLARATION__NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_DECLARATION__NAME));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getUIComponentMemberDeclarationAccess().getTypeUIComponentOrDataTypeIDTerminalRuleCall_0_0_1(), semanticObject.getType());
feeder.accept(grammarAccess.getUIComponentMemberDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_Parameter.
/**
* Constraint:
* (type=[Type|ID] name=KeywordedID)
*/
protected void sequence_Parameter(EObject context, Parameter 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));
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.PARAMETER__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.PARAMETER__TYPE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getParameterAccess().getTypeTypeIDTerminalRuleCall_0_0_1(), semanticObject.getType());
feeder.accept(grammarAccess.getParameterAccess().getNameKeywordedIDParserRuleCall_1_0(), semanticObject.getName());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_UIComponentMemberConfiguration.
/**
* Constraint:
* (type=UIComponentMemberCall value=Expression)
*/
protected void sequence_UIComponentMemberConfiguration(EObject context, UIComponentMemberConfiguration semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_CONFIGURATION__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_CONFIGURATION__TYPE));
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_CONFIGURATION__VALUE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.UI_COMPONENT_MEMBER_CONFIGURATION__VALUE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getUIComponentMemberConfigurationAccess().getTypeUIComponentMemberCallParserRuleCall_0_0(), semanticObject.getType());
feeder.accept(grammarAccess.getUIComponentMemberConfigurationAccess().getValueExpressionParserRuleCall_2_0(), semanticObject.getValue());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_StringLiteral.
/**
* Constraint:
* value=STRING
*/
protected void sequence_StringLiteral(EObject context, StringLiteral semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.STRING_LITERAL__VALUE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.STRING_LITERAL__VALUE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_0(), semanticObject.getValue());
feeder.finish();
}
use of org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider in project applause by applause.
the class ApplauseDslSemanticSequencer method sequence_UrlPathFragment.
/**
* Constraint:
* name=QualifiedName
*/
protected void sequence_UrlPathFragment(EObject context, UrlPathFragment semanticObject) {
if (errorAcceptor != null) {
if (transientValues.isValueTransient(semanticObject, ApplauseDslPackage.Literals.URL_PATH_FRAGMENT__NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplauseDslPackage.Literals.URL_PATH_FRAGMENT__NAME));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getUrlPathFragmentAccess().getNameQualifiedNameParserRuleCall_0(), semanticObject.getName());
feeder.finish();
}
Aggregations