Package com.puppetlabs.geppetto.pp.dsl.services.PPGrammarAccess

Examples of com.puppetlabs.geppetto.pp.dsl.services.PPGrammarAccess.AttributeOperationsElements


  @Override
  protected void sequence_AttributeOperations(EObject context, AttributeOperations semanticObject) {

    INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
    SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
    AttributeOperationsElements access = grammarAccess.getAttributeOperationsAccess();
    Iterator<AttributeOperation> itor = semanticObject.getAttributes().iterator();
    int index = 0;
    while(itor.hasNext()) {
      AttributeOperation ao = itor.next();
      if(index == 0) {
        feeder.accept(access.getAttributesAttributeOperationParserRuleCall_0_0(), ao, index);
      }
      else
        feeder.accept(access.getAttributesAttributeOperationParserRuleCall_1_0_1_0(), ao, index);
      index++;
    }
    feeder.finish();

  }
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.pp.dsl.services.PPGrammarAccess.AttributeOperationsElements

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.