| Modifier and Type | Method and Description |
|---|---|
Grammar |
XtextFactory.createGrammar()
Returns a new object of class 'Grammar'
|
Grammar |
IGrammarAccess.getGrammar() |
static Grammar |
GrammarUtil.getGrammar(org.eclipse.emf.ecore.EObject grammarElement) |
| Modifier and Type | Method and Description |
|---|---|
static List<Grammar> |
GrammarUtil.allUsedGrammars(Grammar grammar) |
org.eclipse.emf.common.util.EList<Grammar> |
Grammar.getUsedGrammars()
Returns the value of the 'Used Grammars' reference list.
|
| Modifier and Type | Method and Description |
|---|---|
static List<EnumRule> |
GrammarUtil.allEnumRules(Grammar _this) |
static Collection<org.eclipse.emf.ecore.EPackage> |
GrammarUtil.allEPackagesToValidate(Grammar _this) |
static List<AbstractMetamodelDeclaration> |
GrammarUtil.allMetamodelDeclarations(Grammar grammar) |
static List<ParserRule> |
GrammarUtil.allParserRules(Grammar _this) |
static List<AbstractRule> |
GrammarUtil.allRules(Grammar grammar) |
static List<TerminalRule> |
GrammarUtil.allTerminalRules(Grammar _this) |
static List<Grammar> |
GrammarUtil.allUsedGrammars(Grammar grammar) |
protected GraphvizDotBuilder.Digraph |
GrammarToDot.drawGrammar(Grammar g,
GraphvizDotBuilder.Digraph d) |
static org.eclipse.emf.ecore.EDataType |
GrammarUtil.findEBoolean(Grammar grammar)
Find the datatype for EBoolean which is referable from the given grammar.
|
static org.eclipse.emf.ecore.EClass |
GrammarUtil.findEObject(Grammar grammar)
Find the class for EObject which is referable from the given grammar.
|
static org.eclipse.emf.ecore.EDataType |
GrammarUtil.findEString(Grammar grammar)
Find the datatype for EString which is referable from the given grammar.
|
static AbstractRule |
GrammarUtil.findRuleForName(Grammar grammar,
String ruleName) |
static Set<String> |
GrammarUtil.getAllKeywords(Grammar g) |
static String |
GrammarUtil.getClasspathRelativePathToBinGrammar(Grammar grammar) |
static String |
GrammarUtil.getClasspathRelativePathToXmi(Grammar grammar) |
static String |
GrammarUtil.getLanguageId(Grammar g) |
static String |
GrammarUtil.getName(Grammar g) |
static String |
GrammarUtil.getNamespace(Grammar g) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
TerminalsGrammarAccess.getGrammar() |
protected Grammar |
TerminalsGrammarAccess.internalFindGrammar(GrammarProvider grammarProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected Grammar |
AbstractDeclarativeValueConverterService.getGrammar() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
IgnoreCaseIDValueConverter.computeValuesToEscape(Grammar grammar) |
protected Set<String> |
IDValueConverter.computeValuesToEscape(Grammar grammar) |
protected abstract Set<String> |
AbstractIDValueConverter.computeValuesToEscape(Grammar grammar) |
| Modifier and Type | Field and Description |
|---|---|
protected Grammar |
CfgAdapter.grammar |
| Constructor and Description |
|---|
CfgAdapter(Grammar grammar) |
| Modifier and Type | Class and Description |
|---|---|
class |
GrammarImpl
An implementation of the model object 'Grammar'
|
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<Grammar> |
GrammarImpl.usedGrammars
The cached value of the '
Used Grammars' reference list |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
XtextFactoryImpl.createGrammar() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<Grammar> |
GrammarImpl.getUsedGrammars() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractInternalAntlrParser.registerRules(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRule |
WhitespaceAddingSequenceAcceptor.findWhitespaceRule(Grammar grammar) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Grammar,List<IGrammarConstraintProvider.IConstraintContext>> |
GrammarConstraintProvider.cache |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Grammar,Integer> |
GrammarConstraintProvider.getInheritanceDistance(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GrammarConstraintProvider.filterDuplicateConstraintsAndSetNames(Grammar grammar,
List<IGrammarConstraintProvider.IConstraintContext> contexts) |
List<org.eclipse.emf.ecore.EObject> |
IContextProvider.getAllContexts(Grammar grammar) |
List<org.eclipse.emf.ecore.EObject> |
ContextProvider.getAllContexts(Grammar grammar) |
List<IGrammarConstraintProvider.IConstraintContext> |
IGrammarConstraintProvider.getConstraints(Grammar context)
Returns all constraints form this grammar.
|
List<IGrammarConstraintProvider.IConstraintContext> |
GrammarConstraintProvider.getConstraints(Grammar context) |
protected Map<Grammar,Integer> |
GrammarConstraintProvider.getInheritanceDistance(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
GrammarProvider.getGrammar(Object requestor) |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
XtextGrammarAccess.getGrammar() |
protected Grammar |
XtextGrammarAccess.internalFindGrammar(GrammarProvider grammarProvider) |
| Modifier and Type | Method and Description |
|---|---|
T |
XtextSwitch.caseGrammar(Grammar object)
Returns the result of interpreting the object as an instance of 'Grammar'
|
| Modifier and Type | Field and Description |
|---|---|
protected Grammar |
ConcreteSyntaxConstraintProvider.grammar |
| Modifier and Type | Method and Description |
|---|---|
protected ParserRule |
ConcreteSyntaxConstraintProvider.getFirstParserRule(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Grammar> |
XtextScopeProvider.getAllGrammars(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
void |
XtextReferableElementsUnloader.caseGrammar(Grammar object) |
String |
XtextFragmentProvider.caseGrammar(Grammar obj) |
Void |
UsedRulesFinder.caseGrammar(Grammar object) |
Boolean |
GrammarWithoutLeftRecursionInspector.caseGrammar(Grammar grammar) |
void |
XtextValidator.checkFirstRule(Grammar g) |
void |
XtextValidator.checkForLeftRecursion(Grammar grammar) |
void |
XtextValidator.checkGrammarName(Grammar g) |
void |
XtextValidator.checkGrammarRecursiveReference(Grammar grammar) |
void |
XtextValidator.checkGrammarUsesMaxOneOther(Grammar grammar) |
void |
XtextValidator.checkHiddenTokenIsNotAFragment(Grammar grammar) |
void |
XtextValidator.checkUnorderedGroupIsNotPredicated(Grammar grammar) |
protected void |
XtextScopeProvider.collectAllUsedGrammars(Grammar grammar,
Collection<Grammar> visited) |
void |
UsedRulesFinder.compute(Grammar grammar) |
protected IScope |
XtextScopeProvider.createEPackageScope(Grammar grammar) |
protected IScope |
XtextScopeProvider.createEPackageScope(Grammar grammar,
IScope parent) |
protected IScope |
XtextScopeProvider.createReferencedPackagesScope(Grammar g) |
protected IScope |
XtextScopeProvider.createScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type) |
protected IScope |
XtextScopeProvider.createScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
IScope parent) |
protected Xtext2EcoreTransformer |
XtextLinker.createTransformer(Grammar grammar,
IDiagnosticConsumer consumer) |
protected List<Grammar> |
XtextScopeProvider.getAllGrammars(Grammar grammar) |
void |
PredicateUsesUnorderedGroupInspector.inspect(Grammar grammar) |
void |
GrammarWithoutLeftRecursionInspector.inspect(Grammar grammar) |
protected void |
XtextLinker.updateOverriddenRules(Grammar grammar) |
protected void |
XtextLinker.updateOverriddenRules(Grammar grammar,
Map<String,AbstractRule> rulePerName) |
protected void |
XtextLinker.updateOverriddenRules(Grammar grammar,
Map<String,AbstractRule> rulePerName,
Set<Grammar> visitedGrammars) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XtextScopeProvider.collectAllUsedGrammars(Grammar grammar,
Collection<Grammar> visited) |
protected void |
XtextLinker.updateOverriddenRules(Grammar grammar,
Map<String,AbstractRule> rulePerName,
Set<Grammar> visitedGrammars) |
| Modifier and Type | Method and Description |
|---|---|
static EClassifierInfo |
EClassifierInfo.createEClassInfo(org.eclipse.emf.ecore.EClass eClass,
boolean isGenerated,
Set<String> generatedEPackageURIs,
Grammar grammar) |
static List<org.eclipse.emf.ecore.EPackage> |
Xtext2EcoreTransformer.doGetGeneratedPackages(Grammar grammar) |
static void |
Xtext2EcoreTransformer.doTransform(Grammar grammar) |
AbstractMetamodelDeclaration |
Xtext2EcoreTransformer.findDefaultMetamodel(Grammar grammar,
String containedClassifier) |
AbstractMetamodelDeclaration |
Xtext2EcoreTransformer.findMetamodel(Grammar grammar,
String alias,
String containedClassifier) |
| Constructor and Description |
|---|
EClassifierInfo.EClassInfo(org.eclipse.emf.ecore.EClass metaType,
boolean isGenerated,
Set<String> generatedEPackageURIs,
Grammar grammar) |
EClassifierInfos(Grammar grammar) |
TypeHierarchyHelper(Grammar grammar,
EClassifierInfos infos,
ErrorAcceptor errorAcceptor) |
Xtext2EcoreTransformer(Grammar grammar) |
Copyright © 2015. All Rights Reserved.