Package org.eclipse.xtext.parsetree.reconstr

Examples of org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer


  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("members",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("members");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getEnum_memberRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getEnum_typeAccess().getMembersEnum_memberParserRuleCall_3_0();
        consumed = obj;
        return param;
      }
View Full Code Here


  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("containedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("containedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getArray_type_specRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getAlias_typeAccess().getContainedTypeArray_type_specParserRuleCall_0_1_0();
        consumed = obj;
        return param;
      }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("containedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("containedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getSimple_type_specRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getAlias_typeAccess().getContainedTypeSimple_type_specParserRuleCall_1_1_0_0();
        consumed = obj;
        return param;
      }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("sharedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sharedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getAlias_typeAccess().getSharedTypeTypedefDefCrossReference_1_1_1_0().getType().getClassifier())) {
        type = AssignmentType.CROSS_REFERENCE;
        element = grammarAccess.getAlias_typeAccess().getSharedTypeTypedefDefCrossReference_1_1_1_0();
        return obj;
      }
    }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("identifier",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("identifier");
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAlias_typeAccess().getIdentifierIDTerminalRuleCall_1_2_0(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getAlias_typeAccess().getIdentifierIDTerminalRuleCall_1_2_0();
      return obj;
    }
    return null;
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("containedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("containedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getSimple_type_specRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getArray_type_specAccess().getContainedTypeSimple_type_specParserRuleCall_0_0_0();
        consumed = obj;
        return param;
      }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("sharedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sharedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getArray_type_specAccess().getSharedTypeTypedefDefCrossReference_0_1_0().getType().getClassifier())) {
        type = AssignmentType.CROSS_REFERENCE;
        element = grammarAccess.getArray_type_specAccess().getSharedTypeTypedefDefCrossReference_0_1_0();
        return obj;
      }
    }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("containedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("containedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getArray_type_specRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getMemberAccess().getContainedTypeArray_type_specParserRuleCall_0_0_0();
        consumed = obj;
        return param;
      }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("containedType",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("containedType");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getSimple_type_specRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getMemberAccess().getContainedTypeSimple_type_specParserRuleCall_1_0_0();
        consumed = obj;
        return param;
      }
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("identifier",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("identifier");
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getMemberAccess().getIdentifierIDTerminalRuleCall_1_1_0(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getMemberAccess().getIdentifierIDTerminalRuleCall_1_1_0();
      return obj;
    }
    return null;
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer

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.