Ejemplo n.º 1
0
  {
    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);
  }
Ejemplo n.º 2
0
  {
    ImportVisibilityIndicator.addChoices(PUBLIC, PRIVATE);

    ActiveClassMemberDefinition.addChoices(
        ClassMemberDefinition, ActiveFeatureDefinition, ActiveFeatureStubDeclaration);

    ClassMemberDefinition.addChoices(
        ClassifierDefinition, ClassifierStubDeclaration, FeatureDefinition, FeatureStubDeclaration);
  }
Ejemplo n.º 3
0
  {
    NamespaceDefinition.addChoices(PackageDefinition, ClassifierDefinition);

    ClassifierDefinition.addChoices(
        ClassDefinition,
        ActiveClassDefinition,
        DataTypeDefinition,
        EnumerationDefinition,
        AssociationDefinition,
        SignalDefinition,
        ActivityDefinition);

    ClassifierDeclaration.addChoices(
        ClassDeclaration,
        ActiveClassDeclaration,
        DataTypeDeclaration,
        EnumerationDeclaration,
        AssociationDeclaration,
        SignalDeclaration,
        ActivityDeclaration);
  }
Ejemplo n.º 4
0
 {
   Statement.addChoices(
       AnnotatedStatement,
       InLineStatement,
       BlockStatement,
       EmptyStatement,
       LocalNameDeclarationStatement,
       ExpressionStatement,
       IfStatement,
       SwitchStatement,
       WhileStatement,
       DoStatement,
       ForStatement,
       BreakStatement,
       ReturnStatement,
       AcceptStatement,
       ClassifyStatement);
 }
Ejemplo n.º 5
0
 {
   FeatureDefinition.addChoices(AttributeDefinition, OperationDefinition);
   ActiveFeatureDefinition.addChoices(ReceptionDefinition, SignalReceptionDefinition);
   FeatureStubDeclaration.addChoices(OperationStubDeclaration);
   ActiveFeatureStubDeclaration.addChoices(SignalReceptionStubDeclaration);
 }
Ejemplo n.º 6
0
 {
   AcceptStatement.addChoices(SimpleAcceptStatement, CompoundAcceptStatement);
 }
Ejemplo n.º 7
0
 {
   InitializationExpression.addChoices(
       Expression, SequenceInitializationExpression, InstanceInitializationExpression);
 }
Ejemplo n.º 8
0
 {
   ConditionalExpression.addChoices(
       ConditionalAndOrConditionalOrExpression, ConditionalTestExpression);
 }
Ejemplo n.º 9
0
 {
   InvocationTarget.addChoices(
       BehaviorInvocationTarget, FeatureInvocationTarget, SuperInvocationTarget);
 }
Ejemplo n.º 10
0
 {
   EqualityOrAndExpression.addChoices(ClassificationOrEqualityExpression, AndExpression);
   AndOrExclusiveOrExpression.addChoices(EqualityOrAndExpression, ExclusiveOrExpression);
   ExclusiveOrOrInclusiveOrExpression.addChoices(
       AndOrExclusiveOrExpression, InclusiveOrExpression);
 }
Ejemplo n.º 11
0
 {
   ClassificationOrEqualityExpression.addChoices(
       RelationalOrClassificationExpression, EqualityExpression);
 }
Ejemplo n.º 12
0
 {
   RelationalOrClassificationExpression.addChoices(
       ShiftOrRelationalExpression, ClassificationExpression);
 }
Ejemplo n.º 13
0
 {
   ShiftOrRelationalExpression.addChoices(ArithmeticOrShiftExpression, RelationalExpression);
 }
Ejemplo n.º 14
0
 {
   ArithmeticOrShiftExpression.addChoices(UnaryOrArithmeticExpression, ShiftExpression);
 }
Ejemplo n.º 15
0
 {
   UnaryOrArithmeticExpression.addChoices(
       UnaryExpression, AdditiveExpression, MultiplicativeExpression);
 }
Ejemplo n.º 16
0
 {
   SequenceElements.addChoices(SequenceElementList, SequenceRange);
 }
Ejemplo n.º 17
0
 {
   InclusiveOrOrConditionalAndExpression.addChoices(
       ExclusiveOrOrInclusiveOrExpression, ConditionalAndExpression);
   ConditionalAndOrConditionalOrExpression.addChoices(
       InclusiveOrOrConditionalAndExpression, ConditionalOrExpression);
 }
Ejemplo n.º 18
0
  {
    PotentiallyAmbiguousQualifiedName.addChoices(
        ColonQualifiedName, DotQualifiedName, UnqualifiedName);

    QualifiedName.addChoices(ColonQualifiedName, DotQualifiedName, UnqualifiedName);
  }