@Inject protected void init(IGrammarAccess access) { grammarAccess = (XbaseWithAnnotationsGrammarAccess) access; match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2())); match_XBlockExpression_SemicolonKeyword_2_1_q = new TokenAlias(false, true, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1()); match_XExpressionInClosure_SemicolonKeyword_1_1_q = new TokenAlias(false, true, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1()); match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2())); match_XImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); match_XParenthesizedExpression_LeftParenthesisKeyword_0_a = new TokenAlias(true, true, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); match_XParenthesizedExpression_LeftParenthesisKeyword_0_p = new TokenAlias(true, false, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); }
@Inject public FormatGrammarAccess(GrammarProvider grammarProvider, XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) { this.grammar = internalFindGrammar(grammarProvider); this.gaXbaseWithAnnotations = gaXbaseWithAnnotations; this.pFormatConfiguration = new FormatConfigurationElements(); this.pConstant = new ConstantElements(); this.pIntValue = new IntValueElements(); this.pStringValue = new StringValueElements(); this.pRule = new RuleElements(); this.pGrammarRule = new GrammarRuleElements(); this.pWildcardRule = new WildcardRuleElements(); this.pGrammarRuleDirective = new GrammarRuleDirectiveElements(); this.pWildcardRuleDirective = new WildcardRuleDirectiveElements(); this.pGrammarElementReference = new GrammarElementReferenceElements(); this.pGrammarElementLookup = new GrammarElementLookupElements(); this.pContextFreeDirective = new ContextFreeDirectiveElements(); this.pSpecificDirective = new SpecificDirectiveElements(); this.pMatcherList = new MatcherListElements(); this.pGroupBlock = new GroupBlockElements(); this.pKeywordPair = new KeywordPairElements(); this.pMatcher = new MatcherElements(); this.unknownRuleMatcherType = new MatcherTypeElements(); this.pLocator = new LocatorElements(); this.pNoFormatLocator = new NoFormatLocatorElements(); this.pSpaceLocator = new SpaceLocatorElements(); this.pRightPaddingLocator = new RightPaddingLocatorElements(); this.pLinewrapLocator = new LinewrapLocatorElements(); this.pColumnLocator = new ColumnLocatorElements(); this.pOffsetLocator = new OffsetLocatorElements(); this.pIndentLocator = new IndentLocatorElements(); this.pParameterizedIdentifier = new ParameterizedIdentifierElements(); this.pParameterizedString = new ParameterizedStringElements(); this.pIdentifier = new IdentifierElements(); this.pDottedID = new DottedIDElements(); this.pIntIdentifier = new IntIdentifierElements(); this.pIntObject = new IntObjectElements(); this.pRuleSelfIdentifier = new RuleSelfIdentifierElements(); this.pValidID = new ValidIDElements(); }
@Inject public CheckGrammarAccess(GrammarProvider grammarProvider, XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations) { this.grammar = internalFindGrammar(grammarProvider); this.gaXbaseWithAnnotations = gaXbaseWithAnnotations; this.pCheckCatalog = new CheckCatalogElements(); this.pXImportSection = new XImportSectionElements(); this.pXImportDeclaration = new XImportDeclarationElements(); this.pDocumented = new DocumentedElements(); this.pImplicitlyNamed = new ImplicitlyNamedElements(); this.pCategory = new CategoryElements(); this.pCheck = new CheckElements(); this.pSeverityRange = new SeverityRangeElements(); this.pMember = new MemberElements(); this.pImplementation = new ImplementationElements(); this.pFormalParameter = new FormalParameterElements(); this.pXSimpleFormalParameterDefaultValueLiteral = new XSimpleFormalParameterDefaultValueLiteralElements(); this.pXConstantUnaryOperation = new XConstantUnaryOperationElements(); this.pXFormalParameterDefaultValueLiteral = new XFormalParameterDefaultValueLiteralElements(); this.pXConstantListLiteral = new XConstantListLiteralElements(); this.pContext = new ContextElements(); this.pContextVariable = new ContextVariableElements(); this.pXGuardExpression = new XGuardExpressionElements(); this.pXIssueExpression = new XIssueExpressionElements(); this.pXPrimaryExpression = new XPrimaryExpressionElements(); this.pFeatureCallID = new FeatureCallIDElements(); this.unknownRuleSeverityKind = new SeverityKindElements(); this.unknownRuleTriggerKind = new TriggerKindElements(); }
public void configure(FormattingConfig c, XbaseWithAnnotationsGrammarAccess ga) { configure(c, ga.getXbaseGrammarAccess()); }
public InternalXbaseWithAnnotationsParser(TokenStream input, XbaseWithAnnotationsGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); }
@Override protected XbaseWithAnnotationsGrammarAccess getGrammarAccess() { return grammarAccess; }
public XbaseWithAnnotationsGrammarAccess getGrammarAccess() { return this.grammarAccess; }
public void setGrammarAccess(XbaseWithAnnotationsGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; }
public Class<? extends IGrammarAccess> bindIGrammarAccess() { return XbaseWithAnnotationsGrammarAccess.class; }
@Inject public NameMappings(XbaseWithAnnotationsGrammarAccess grammarAccess) { ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder(); init(builder, grammarAccess); this.mappings = builder.build(); }
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() { return gaXbaseWithAnnotations; }
public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() { return gaXbaseWithAnnotations.getXAnnotationAccess(); }
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() { return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess(); }
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() { return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess(); }
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() { return gaXbaseWithAnnotations.getXAnnotationElementValueAccess(); }
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() { return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess(); }