org.eclipse.xtext.xbase.services.XtypeGrammarAccess Java Examples

The following examples show how to use org.eclipse.xtext.xbase.services.XtypeGrammarAccess. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EntitiesGrammarAccess.java    From xtext-web with Eclipse Public License 2.0 5 votes vote down vote up
@Inject
public EntitiesGrammarAccess(GrammarProvider grammarProvider,
		XbaseGrammarAccess gaXbase,
		XtypeGrammarAccess gaXtype) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaXbase = gaXbase;
	this.gaXtype = gaXtype;
	this.pEntities = new EntitiesElements();
	this.pAbstractElement = new AbstractElementElements();
	this.pPackageDeclaration = new PackageDeclarationElements();
	this.pEntity = new EntityElements();
	this.pFeature = new FeatureElements();
	this.pProperty = new PropertyElements();
	this.pOperation = new OperationElements();
}
 
Example #2
Source File: CheckGrammarAccess.java    From dsl-devkit with Eclipse Public License 1.0 5 votes vote down vote up
@Inject
public CheckGrammarAccess(GrammarProvider grammarProvider,
	XbaseWithAnnotationsGrammarAccess gaXbaseWithAnnotations,
	XbaseGrammarAccess gaXbase,
	XtypeGrammarAccess gaXtype) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaXbaseWithAnnotations = gaXbaseWithAnnotations;
	this.gaXbase = gaXbase;
	this.gaXtype = gaXtype;
	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.eSeverityKind = new SeverityKindElements();
	this.eTriggerKind = new TriggerKindElements();
}
 
Example #3
Source File: XbaseWithAnnotationsGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
@Inject
public XbaseWithAnnotationsGrammarAccess(GrammarProvider grammarProvider,
		XbaseGrammarAccess gaXbase,
		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();
}
 
Example #4
Source File: DomainmodelGrammarAccess.java    From xtext-eclipse with Eclipse Public License 2.0 5 votes vote down vote up
@Inject
public DomainmodelGrammarAccess(GrammarProvider grammarProvider,
		XbaseGrammarAccess gaXbase,
		XtypeGrammarAccess gaXtype) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaXbase = gaXbase;
	this.gaXtype = gaXtype;
	this.pDomainModel = new DomainModelElements();
	this.pAbstractElement = new AbstractElementElements();
	this.pPackageDeclaration = new PackageDeclarationElements();
	this.pEntity = new EntityElements();
	this.pFeature = new FeatureElements();
	this.pProperty = new PropertyElements();
	this.pOperation = new OperationElements();
}
 
Example #5
Source File: FormatGrammarAccess.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() {
	return gaXtype.getQualifiedNameInStaticImportAccess();
}
 
Example #6
Source File: Bug462047LangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() {
	return gaXtype.getJvmTypeParameterAccess();
}
 
Example #7
Source File: ContentAssistFragmentTestLangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() {
	return gaXtype.getJvmTypeParameterAccess();
}
 
Example #8
Source File: ContentAssistFragmentTestLangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {
	return gaXtype.getQualifiedNameWithWildcardAccess();
}
 
Example #9
Source File: RuleEngineGrammarAccess.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
	return gaXtype.getJvmUpperBoundAccess();
}
 
Example #10
Source File: ContentAssistFragmentTestLangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
	return gaXtype.getJvmUpperBoundAccess();
}
 
Example #11
Source File: ContentAssistFragmentTestLangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
	return gaXtype.getJvmWildcardTypeReferenceAccess();
}
 
Example #12
Source File: RuleEngineGrammarAccess.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() {
	return gaXtype.getJvmLowerBoundAndedAccess();
}
 
Example #13
Source File: FormatGrammarAccess.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
	return gaXtype.getJvmWildcardTypeReferenceAccess();
}
 
Example #14
Source File: ContentAssistFragmentTestLangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() {
	return gaXtype.getJvmUpperBoundAndedAccess();
}
 
Example #15
Source File: CheckCfgGrammarAccess.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() {
	return gaXtype.getJvmParameterizedTypeReferenceAccess();
}
 
Example #16
Source File: Bug462047LangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
	return gaXtype.getJvmUpperBoundAccess();
}
 
Example #17
Source File: RuleEngineGrammarAccess.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() {
	return gaXtype.getJvmWildcardTypeReferenceAccess();
}
 
Example #18
Source File: Bug462047LangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {
	return gaXtype.getJvmArgumentTypeReferenceAccess();
}
 
Example #19
Source File: Bug462047LangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() {
	return gaXtype.getJvmParameterizedTypeReferenceAccess();
}
 
Example #20
Source File: CheckCfgGrammarAccess.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public XtypeGrammarAccess.ValidIDElements getValidIDAccess() {
	return gaXtype.getValidIDAccess();
}
 
Example #21
Source File: CheckGrammarAccess.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() {
	return gaXtype.getJvmArgumentTypeReferenceAccess();
}
 
Example #22
Source File: Bug462047LangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() {
	return gaXtype.getJvmTypeReferenceAccess();
}
 
Example #23
Source File: XImportSectionTestLangGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() {
	return gaXtype.getArrayBracketsAccess();
}
 
Example #24
Source File: RuleEngineGrammarAccess.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() {
	return gaXtype.getJvmTypeReferenceAccess();
}
 
Example #25
Source File: XtypeParser.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public void setGrammarAccess(XtypeGrammarAccess grammarAccess) {
	this.grammarAccess = grammarAccess;
}
 
Example #26
Source File: EntitiesGrammarAccess.java    From xtext-web with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.ValidIDElements getValidIDAccess() {
	return gaXtype.getValidIDAccess();
}
 
Example #27
Source File: EntitiesGrammarAccess.java    From xtext-web with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() {
	return gaXtype.getJvmUpperBoundAccess();
}
 
Example #28
Source File: XtypeParser.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Inject
public NameMappings(XtypeGrammarAccess grammarAccess) {
	ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder();
	init(builder, grammarAccess);
	this.mappings = builder.build();
}
 
Example #29
Source File: AbstractXtypeRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IGrammarAccess> bindIGrammarAccess() {
	return XtypeGrammarAccess.class;
}
 
Example #30
Source File: XbaseWithAnnotationsGrammarAccess.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() {
	return gaXtype.getQualifiedNameInStaticImportAccess();
}