Package org.eclipse.xtext.parsetree.reconstr

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


  }

    @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.getSequence_typeAccess().getSharedTypeTypedefDefCrossReference_2_1_0().getType().getClassifier())) {
        type = AssignmentType.CROSS_REFERENCE;
        element = grammarAccess.getSequence_typeAccess().getSharedTypeTypedefDefCrossReference_2_1_0();
        return obj;
      }
    }
View Full Code Here


  }

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

  }

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

  }

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

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("kind",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("kind");
    if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getFloating_pt_typeAccess().getKindFloat_typeEnumRuleCall_0_0(), value, null)) {
      type = AssignmentType.ENUM_RULE_CALL;
      element = grammarAccess.getFloating_pt_typeAccess().getKindFloat_typeEnumRuleCall_0_0();
      return obj;
    }
    return null;
View Full Code Here

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("kind",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("kind");
    if(enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getFloating_pt_typeAccess().getKindDouble_typeEnumRuleCall_1_0(), value, null)) {
      type = AssignmentType.ENUM_RULE_CALL;
      element = grammarAccess.getFloating_pt_typeAccess().getKindDouble_typeEnumRuleCall_1_0();
      return obj;
    }
    return null;
View Full Code Here

  }

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

  }

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

  }

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

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("unionMembers",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("unionMembers");
    if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
      IEObjectConsumer param = createEObjectConsumer((EObject)value);
      if(param.isInstanceOf(grammarAccess.getCase_stmtRule().getType().getClassifier())) {
        type = AssignmentType.PARSER_RULE_CALL;
        element = grammarAccess.getUnion_typeAccess().getUnionMembersCase_stmtParserRuleCall_7_0();
        consumed = obj;
        return param;
      }
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.