{ NonNumericUnaryExpression.addChoices( PostfixExpression, BooleanUnaryExpression, BitStringUnaryExpression, CastExpression, IsolationExpression, PrimaryExpression); UnaryExpression.addChoices( IncrementOrDecrementExpression, BooleanUnaryExpression, BitStringUnaryExpression, NumericUnaryExpression, CastExpression, IsolationExpression, PrimaryExpression); NonNamePrimaryExpression.addChoices( ParenthesizedExpression, InvocationExpression, PropertyAccessExpression, InstanceCreationExpression, LinkOperationExpression, ClassExtentExpression, SequenceOperationExpression, SequenceConstructionExpression, SequenceAccessExpression, SequenceReductionExpression, SequenceExpansionExpression, LiteralExpression, ThisExpression); Expression.addChoices(ConditionalExpression, AssignmentExpression); }
{ ImportVisibilityIndicator.addChoices(PUBLIC, PRIVATE); ActiveClassMemberDefinition.addChoices( ClassMemberDefinition, ActiveFeatureDefinition, ActiveFeatureStubDeclaration); ClassMemberDefinition.addChoices( ClassifierDefinition, ClassifierStubDeclaration, FeatureDefinition, FeatureStubDeclaration); }
{ NamespaceDefinition.addChoices(PackageDefinition, ClassifierDefinition); ClassifierDefinition.addChoices( ClassDefinition, ActiveClassDefinition, DataTypeDefinition, EnumerationDefinition, AssociationDefinition, SignalDefinition, ActivityDefinition); ClassifierDeclaration.addChoices( ClassDeclaration, ActiveClassDeclaration, DataTypeDeclaration, EnumerationDeclaration, AssociationDeclaration, SignalDeclaration, ActivityDeclaration); }
{ Statement.addChoices( AnnotatedStatement, InLineStatement, BlockStatement, EmptyStatement, LocalNameDeclarationStatement, ExpressionStatement, IfStatement, SwitchStatement, WhileStatement, DoStatement, ForStatement, BreakStatement, ReturnStatement, AcceptStatement, ClassifyStatement); }
{ ClassificationOrEqualityExpression.addChoices( RelationalOrClassificationExpression, EqualityExpression); }
{ FeatureDefinition.addChoices(AttributeDefinition, OperationDefinition); ActiveFeatureDefinition.addChoices(ReceptionDefinition, SignalReceptionDefinition); FeatureStubDeclaration.addChoices(OperationStubDeclaration); ActiveFeatureStubDeclaration.addChoices(SignalReceptionStubDeclaration); }
{ AcceptStatement.addChoices(SimpleAcceptStatement, CompoundAcceptStatement); }
{ InitializationExpression.addChoices( Expression, SequenceInitializationExpression, InstanceInitializationExpression); }
{ ConditionalExpression.addChoices( ConditionalAndOrConditionalOrExpression, ConditionalTestExpression); }
{ InclusiveOrOrConditionalAndExpression.addChoices( ExclusiveOrOrInclusiveOrExpression, ConditionalAndExpression); ConditionalAndOrConditionalOrExpression.addChoices( InclusiveOrOrConditionalAndExpression, ConditionalOrExpression); }
{ PotentiallyAmbiguousQualifiedName.addChoices( ColonQualifiedName, DotQualifiedName, UnqualifiedName); QualifiedName.addChoices(ColonQualifiedName, DotQualifiedName, UnqualifiedName); }
{ RelationalOrClassificationExpression.addChoices( ShiftOrRelationalExpression, ClassificationExpression); }
{ ShiftOrRelationalExpression.addChoices(ArithmeticOrShiftExpression, RelationalExpression); }
{ ArithmeticOrShiftExpression.addChoices(UnaryOrArithmeticExpression, ShiftExpression); }
{ UnaryOrArithmeticExpression.addChoices( UnaryExpression, AdditiveExpression, MultiplicativeExpression); }
{ SequenceElements.addChoices(SequenceElementList, SequenceRange); }
{ InvocationTarget.addChoices( BehaviorInvocationTarget, FeatureInvocationTarget, SuperInvocationTarget); }
{ EqualityOrAndExpression.addChoices(ClassificationOrEqualityExpression, AndExpression); AndOrExclusiveOrExpression.addChoices(EqualityOrAndExpression, ExclusiveOrExpression); ExclusiveOrOrInclusiveOrExpression.addChoices( AndOrExclusiveOrExpression, InclusiveOrExpression); }
{ CommentText.addChoice(seq(zeroOrMore(NotStar), opt(StarCommentText))); }