Examples of XturtleGrammarAccess


Examples of de.itemis.tooling.xturtle.services.XturtleGrammarAccess

  }
 
  @Override
  protected void registerContextTypes(IGrammarAccess grammarAccess,
      Provider<XtextTemplateContextType> ctxTypeProvider) {
    XturtleGrammarAccess ga = (XturtleGrammarAccess)grammarAccess;
    List<XtextTemplateContextType> allContextTypes = Lists.newArrayList();
    allContextTypes.add(getType(ga.getDirectiveRule(), ctxTypeProvider));
    allContextTypes.add(getType(ga.getSubjectRule(), ctxTypeProvider));
    allContextTypes.add(getType(ga.getObjectRule(), ctxTypeProvider));
    Collections.sort(allContextTypes);
    for (XtextTemplateContextType templateContextType: allContextTypes) {
      addContextType(templateContextType);
    }
  }
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.