Examples of IEObjectConsumer


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

  }

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

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

  }

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

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

  }

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

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

  }

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

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

    @Override 
  public IEObjectConsumer tryConsume() {
    if(getEObject().eClass() != grammarAccess.getPreproc_ifdef_ifndefRule().getType().getClassifier())
      return null;
    if((value = eObjectConsumer.getConsumable("val",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("val");
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_IFDEF_VALTerminalRuleCall_0_0(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_IFDEF_VALTerminalRuleCall_0_0();
      return obj;
    }
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_IFNDEF_VALTerminalRuleCall_0_1(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_IFNDEF_VALTerminalRuleCall_0_1();
      return obj;
    }
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_ELSE_VALTerminalRuleCall_0_2(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_ELSE_VALTerminalRuleCall_0_2();
      return obj;
    }
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_ENDIF_VALTerminalRuleCall_0_3(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getPreproc_ifdef_ifndefAccess().getValPREPROCESSOR_ENDIF_VALTerminalRuleCall_0_3();
      return obj;
    }
    return null;
View Full Code Here

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

  }

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

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

  }

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

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

  }

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

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

  }

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

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

  }

    @Override 
  public IEObjectConsumer tryConsume() {
    if((value = eObjectConsumer.getConsumable("importURI",true)) == null) return null;
    IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("importURI");
    if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getInclude_declAccess().getImportURISTRINGTerminalRuleCall_1_0(), value, null)) {
      type = AssignmentType.TERMINAL_RULE_CALL;
      element = grammarAccess.getInclude_declAccess().getImportURISTRINGTerminalRuleCall_1_0();
      return obj;
    }
    return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.