Package org.eclipse.xtext.serializer.acceptor

Examples of org.eclipse.xtext.serializer.acceptor.SequenceFeeder


    if(errorAcceptor != null) {
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.LITERAL_BOOLEAN__VALUE) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.LITERAL_BOOLEAN__VALUE));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getLiteralBooleanAccess().getValueBooleanValueParserRuleCall_0(), semanticObject.isValue());
    feeder.finish();
  }
View Full Code Here


    if(errorAcceptor != null) {
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.LITERAL_NAME_OR_REFERENCE__VALUE) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.LITERAL_NAME_OR_REFERENCE__VALUE));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getLiteralNameOrReferenceAccess().getValueNameParserRuleCall_0(), semanticObject.getValue());
    feeder.finish();
  }
View Full Code Here

    if(errorAcceptor != null) {
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.LITERAL_NAME__VALUE) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.LITERAL_NAME__VALUE));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getLiteralNameAccess().getValueNameParserRuleCall_0(), semanticObject.getValue());
    feeder.finish();
  }
View Full Code Here

    if(errorAcceptor != null) {
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.LITERAL_REGEX__VALUE) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.LITERAL_REGEX__VALUE));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getLiteralRegexAccess().getValueREGULAR_EXPRESSIONTerminalRuleCall_0(), semanticObject.getValue());
    feeder.finish();
  }
View Full Code Here

        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__RIGHT_EXPR));
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getMatchingExpressionAccess().getMatchingExpressionLeftExprAction_1_0(), semanticObject.getLeftExpr());
    feeder.accept(grammarAccess.getMatchingExpressionAccess().getOpNameMatchingOperatorParserRuleCall_1_1_0(), semanticObject.getOpName());
    feeder.accept(grammarAccess.getMatchingExpressionAccess().getRightExprLiteralRegexParserRuleCall_1_2_0(), semanticObject.getRightExpr());
    feeder.finish();
  }
View Full Code Here

        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__RIGHT_EXPR));
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getMultiplicativeExpressionAccess().getMultiplicativeExpressionLeftExprAction_1_0(), semanticObject.getLeftExpr());
    feeder.accept(grammarAccess.getMultiplicativeExpressionAccess().getOpNameMultiplicativeOperatorParserRuleCall_1_1_0(), semanticObject.getOpName());
    feeder.accept(grammarAccess.getMultiplicativeExpressionAccess().getRightExprMatchingExpressionParserRuleCall_1_2_0(), semanticObject.getRightExpr());
    feeder.finish();
  }
View Full Code Here

    if(errorAcceptor != null) {
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.UNARY_EXPRESSION__EXPR) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.UNARY_EXPRESSION__EXPR));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getNotExpressionAccess().getExprCollectExpressionParserRuleCall_1_0(), semanticObject.getExpr());
    feeder.finish();
  }
View Full Code Here

        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__LEFT_EXPR));
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__RIGHT_EXPR) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__RIGHT_EXPR));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getOrExpressionAccess().getOrExpressionLeftExprAction_1_0(), semanticObject.getLeftExpr());
    feeder.accept(grammarAccess.getOrExpressionAccess().getRightExprAndExpressionParserRuleCall_1_2_0(), semanticObject.getRightExpr());
    feeder.finish();
  }
View Full Code Here

        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__RIGHT_EXPR));
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getRelationalExpressionAccess().getRelationalExpressionLeftExprAction_1_0(), semanticObject.getLeftExpr());
    feeder.accept(grammarAccess.getRelationalExpressionAccess().getOpNameRelationalOperatorParserRuleCall_1_1_0(), semanticObject.getOpName());
    feeder.accept(grammarAccess.getRelationalExpressionAccess().getRightExprEqualityExpressionParserRuleCall_1_2_0(), semanticObject.getRightExpr());
    feeder.finish();
  }
View Full Code Here

        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_EXPRESSION__RIGHT_EXPR));
      if(transientValues.isValueTransient(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME) == ValueTransient.YES)
        errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PPPackage.Literals.BINARY_OP_EXPRESSION__OP_NAME));
    }
    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    feeder.accept(grammarAccess.getRelationshipExpressionAccess().getRelationshipExpressionLeftExprAction_1_0(), semanticObject.getLeftExpr());
    feeder.accept(grammarAccess.getRelationshipExpressionAccess().getOpNameEdgeOperatorParserRuleCall_1_1_0(), semanticObject.getOpName());
    feeder.accept(grammarAccess.getRelationshipExpressionAccess().getRightExprResourceExpressionParserRuleCall_1_2_0(), semanticObject.getRightExpr());
    feeder.finish();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.serializer.acceptor.SequenceFeeder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.