Java 类org.eclipse.xtext.xbase.annotations.services.XbaseWithAnnotationsGrammarAccess 实例源码

项目:xtext-extras    文件:AbstractXbaseWithAnnotationsSyntacticSequencer.java   
@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());
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
@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();
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
@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();
}
项目:xtext-extras    文件:XbaseFormatter.java   
public void configure(FormattingConfig c, XbaseWithAnnotationsGrammarAccess ga) {
    configure(c, ga.getXbaseGrammarAccess());
}
项目:xtext-extras    文件:InternalXbaseWithAnnotationsParser.java   
public InternalXbaseWithAnnotationsParser(TokenStream input, XbaseWithAnnotationsGrammarAccess grammarAccess) {
    this(input);
    this.grammarAccess = grammarAccess;
    registerRules(grammarAccess.getGrammar());
}
项目:xtext-extras    文件:InternalXbaseWithAnnotationsParser.java   
@Override
protected XbaseWithAnnotationsGrammarAccess getGrammarAccess() {
    return grammarAccess;
}
项目:xtext-extras    文件:XbaseWithAnnotationsParser.java   
public XbaseWithAnnotationsGrammarAccess getGrammarAccess() {
    return this.grammarAccess;
}
项目:xtext-extras    文件:XbaseWithAnnotationsParser.java   
public void setGrammarAccess(XbaseWithAnnotationsGrammarAccess grammarAccess) {
    this.grammarAccess = grammarAccess;
}
项目:xtext-extras    文件:AbstractXbaseWithAnnotationsRuntimeModule.java   
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
    return XbaseWithAnnotationsGrammarAccess.class;
}
项目:xtext-extras    文件:InternalXbaseWithAnnotationsParser.java   
public void setGrammarAccess(XbaseWithAnnotationsGrammarAccess grammarAccess) {
    this.grammarAccess = grammarAccess;
}
项目:xtext-extras    文件:XbaseWithAnnotationsParser.java   
@Inject
public NameMappings(XbaseWithAnnotationsGrammarAccess grammarAccess) {
    ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder();
    init(builder, grammarAccess);
    this.mappings = builder.build();
}
项目:xtext-extras    文件:XbaseWithAnnotationsParser.java   
public XbaseWithAnnotationsGrammarAccess getGrammarAccess() {
    return this.grammarAccess;
}
项目:xtext-extras    文件:XbaseWithAnnotationsParser.java   
public void setGrammarAccess(XbaseWithAnnotationsGrammarAccess grammarAccess) {
    this.grammarAccess = grammarAccess;
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() {
    return gaXbaseWithAnnotations;
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() {
    return gaXbaseWithAnnotations.getXAnnotationAccess();
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() {
    return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess();
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() {
    return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess();
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() {
    return gaXbaseWithAnnotations.getXAnnotationElementValueAccess();
}
项目:dsl-devkit    文件:FormatGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() {
    return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess();
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess getXbaseWithAnnotationsGrammarAccess() {
    return gaXbaseWithAnnotations;
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElements getXAnnotationAccess() {
    return gaXbaseWithAnnotations.getXAnnotationAccess();
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValuePairElements getXAnnotationElementValuePairAccess() {
    return gaXbaseWithAnnotations.getXAnnotationElementValuePairAccess();
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueOrCommaListElements getXAnnotationElementValueOrCommaListAccess() {
    return gaXbaseWithAnnotations.getXAnnotationElementValueOrCommaListAccess();
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationElementValueElements getXAnnotationElementValueAccess() {
    return gaXbaseWithAnnotations.getXAnnotationElementValueAccess();
}
项目:dsl-devkit    文件:CheckGrammarAccess.java   
public XbaseWithAnnotationsGrammarAccess.XAnnotationOrExpressionElements getXAnnotationOrExpressionAccess() {
    return gaXbaseWithAnnotations.getXAnnotationOrExpressionAccess();
}