@Inject
public DSLPoliciesGrammaraccess(GrammarProvider grammarProvider,XbaseGrammaraccess gaXbase,XtypeGrammaraccess gaXtype) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaXbase = gaXbase;
this.gaXtype = gaXtype;
this.pModel = new ModelElements();
this.tSEV = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(),"gw4e.eclipse.dsl.DSLPolicies.SEV");
this.tFORMAT_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(),"gw4e.eclipse.dsl.DSLPolicies.FORMAT_COMMENT");
this.tNEWLINE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(),"gw4e.eclipse.dsl.DSLPolicies.NEWLINE");
this.pComment = new CommentElements();
this.pGraPHPolicies = new GraPHPoliciesElements();
this.pModelName = new ModelNameElements();
this.pSeverity = new SeverityElements();
this.pPolicies = new PoliciesElements();
this.pPathGeneratorStopCondition = new PathGeneratorStopConditionElements();
this.pAlgorithmType = new AlgorithmTypeElements();
this.pIntegerStopCondition = new IntegerStopConditionElements();
this.pPercentageCondition = new PercentageConditionElements();
this.pStringCondition = new StringConditionElements();
this.pPercent = new PercentElements();
this.pGraphElement = new GraphElementElements();
}
@Inject
public XbaseWithAnnotationsGrammaraccess(GrammarProvider grammarProvider,XtypeGrammaraccess gaXtype) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaXbase = gaXbase;
this.gaXtype = gaXtype;
this.pXAnnotation = new XAnnotationElements();
this.pXAnnotationElementValuePair = new XAnnotationElementValuePairElements();
this.pXAnnotationElementValueOrCommaList = new XAnnotationElementValueOrCommaListElements();
this.pXAnnotationElementValue = new XAnnotationElementValueElements();
this.pXAnnotationorExpression = new XAnnotationorExpressionElements();
}
public XbaseGrammaraccess.XExpressionElements getXExpressionAccess() {
return gaXbase.getXExpressionAccess();
}
public XbaseGrammaraccess.XAssignmentElements getXAssignmentAccess() {
return gaXbase.getXAssignmentAccess();
}
public XbaseGrammaraccess.XOrExpressionElements getXOrExpressionAccess() {
return gaXbase.getXOrExpressionAccess();
}
public XbaseGrammaraccess.XAndExpressionElements getXAndExpressionAccess() {
return gaXbase.getXAndExpressionAccess();
}
public XbaseGrammaraccess.XEqualityExpressionElements getXEqualityExpressionAccess() {
return gaXbase.getXEqualityExpressionAccess();
}
public XbaseGrammaraccess.XRelationalExpressionElements getXRelationalExpressionAccess() {
return gaXbase.getXRelationalExpressionAccess();
}
public XbaseGrammaraccess.XOtherOperatorExpressionElements getXOtherOperatorExpressionAccess() {
return gaXbase.getXOtherOperatorExpressionAccess();
}
public XbaseGrammaraccess.XAdditiveExpressionElements getXAdditiveExpressionAccess() {
return gaXbase.getXAdditiveExpressionAccess();
}
public XbaseGrammaraccess.XMultiplicativeExpressionElements getXMultiplicativeExpressionAccess() {
return gaXbase.getXMultiplicativeExpressionAccess();
}
public XbaseGrammaraccess.XUnaryOperationElements getXUnaryOperationAccess() {
return gaXbase.getXUnaryOperationAccess();
}
public XbaseGrammaraccess.XCastedExpressionElements getXCastedExpressionAccess() {
return gaXbase.getXCastedExpressionAccess();
}
public XbaseGrammaraccess.XPostfixOperationElements getXPostfixOperationAccess() {
return gaXbase.getXPostfixOperationAccess();
}
public XbaseGrammaraccess.XMemberFeatureCallElements getXMemberFeatureCallAccess() {
return gaXbase.getXMemberFeatureCallAccess();
}
public XbaseGrammaraccess.XPrimaryExpressionElements getXPrimaryExpressionAccess() {
return gaXbase.getXPrimaryExpressionAccess();
}
public XbaseGrammaraccess.XClosureElements getXClosureAccess() {
return gaXbase.getXClosureAccess();
}
public XbaseGrammaraccess.XExpressionInClosureElements getXExpressionInClosureAccess() {
return gaXbase.getXExpressionInClosureAccess();
}
public XbaseGrammaraccess.XShortClosureElements getXShortClosureAccess() {
return gaXbase.getXShortClosureAccess();
}
public XbaseGrammaraccess.XParenthesizedExpressionElements getXParenthesizedExpressionAccess() {
return gaXbase.getXParenthesizedExpressionAccess();
}
public XbaseGrammaraccess.XIfExpressionElements getXIfExpressionAccess() {
return gaXbase.getXIfExpressionAccess();
}
public XbaseGrammaraccess.XSwitchExpressionElements getXSwitchExpressionAccess() {
return gaXbase.getXSwitchExpressionAccess();
}
public XbaseGrammaraccess.XCasePartElements getXCasePartAccess() {
return gaXbase.getXCasePartAccess();
}
public XbaseGrammaraccess.XForLoopExpressionElements getXForLoopExpressionAccess() {
return gaXbase.getXForLoopExpressionAccess();
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。