protected String _grammarElementIdentifier(final AbstractElement it) {
   AbstractRule _containingRule = GrammarUtil.containingRule(it);
   String _grammarElementIdentifier = this.grammarElementIdentifier(_containingRule);
   String _plus = (_grammarElementIdentifier + "_");
   String _gaElementIdentifyer = this._grammarAccess.gaElementIdentifyer(it);
   return (_plus + _gaElementIdentifyer);
 }
Exemple #2
0
 /**
  * Returns the invocation of the element accessor method for a GrammarAccess as Java statement.
  * Example: prStatemachine().ele1AssignmentStates()
  *
  * @param ele the element
  * @return The java statement
  */
 public String gaRuleElementAccessor(final AbstractElement ele) {
   AbstractRule _containingRule = GrammarUtil.containingRule(ele);
   String _gaElementsAccessor = this.gaElementsAccessor(_containingRule);
   String _plus = (_gaElementsAccessor + ".");
   String _gaElementAccessor = this.gaElementAccessor(ele);
   return (_plus + _gaElementAccessor);
 }