| 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 Collection<? extends AbstractElement> |
GrammarUtil.getAllAlternatives(Grammar g) |
static Collection<? extends AbstractElement> |
GrammarUtil.getAllAssignments(Grammar g) |
static Collection<? extends AbstractElement> |
GrammarUtil.getAllGroups(Grammar g) |
static Set<String> |
GrammarUtil.getAllKeywords(Grammar g) |
static Collection<? extends AbstractElement> |
GrammarUtil.getAllPredicatedElements(Grammar g) |
static Collection<? extends AbstractElement> |
GrammarUtil.getAllUnorderedGroups(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)
Deprecated.
replaced by
GrammarUtil.getSimpleName(Grammar) for more clarity |
static String |
GrammarUtil.getNamespace(Grammar g) |
static String |
GrammarUtil.getSimpleName(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 void |
XtextSemanticSequencer.sequence_Grammar(ISerializationContext context,
Grammar semanticObject)
Contexts:
Grammar returns Grammar
Constraint:
(
name=GrammarID
(usedGrammars+=[Grammar|GrammarID] usedGrammars+=[Grammar|GrammarID]*)?
|
| Modifier and Type | Field and Description |
|---|---|
protected Grammar |
TokenStreamSequenceAdapter.grammar |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRule |
WhitespaceAddingSequenceAcceptor.findWhitespaceRule(Grammar grammar) |
| Constructor and Description |
|---|
TokenStreamSequenceAdapter(ITokenStream out,
Grammar grammar,
ISerializationDiagnostic.Acceptor errorAcceptor) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Grammar,Map<ISerializationContext,ISyntacticSequencerPDAProvider.ISynAbsorberState>> |
SyntacticSequencerPDAProvider.cache |
protected Map<Grammar,Map<ISerializationContext,Nfa<ISemanticSequencerNfaProvider.ISemState>>> |
SemanticSequencerNfaProvider.cache |
| Constructor and Description |
|---|
GrammarConstraintProvider.Constraint(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
Nfa<ISemanticSequencerNfaProvider.ISemState> nfa) |
GrammarElementDeclarationOrder(Grammar grammar) |
GrammarPDAProvider.SerializerParserRuleCfg(Grammar grammar,
ParserRule entryRule) |
| Modifier and Type | Field and Description |
|---|---|
protected Grammar |
SerializationDiagnostic.grammar |
protected Grammar |
ISerializationDiagnostic.ExceptionDiagnostic.grammar |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
SerializationDiagnostic.getGrammar() |
Grammar |
ISerializationDiagnostic.getGrammar() |
Grammar |
ISerializationDiagnostic.ExceptionDiagnostic.getGrammar() |
| Constructor and Description |
|---|
ISerializationDiagnostic.ExceptionDiagnostic(Grammar grammar,
Throwable exception) |
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject sem,
AbstractElement element,
Grammar grammar,
String message) |
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject sem,
AbstractElement ele,
Grammar g,
String msg,
Throwable t) |
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject sem,
org.eclipse.emf.ecore.EObject context,
Grammar grammar,
String message)
|
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject sem,
org.eclipse.emf.ecore.EStructuralFeature f,
Grammar g,
String message) |
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject sem,
org.eclipse.emf.ecore.EStructuralFeature f,
Grammar g,
String m,
Throwable t) |
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject semanticObject,
Grammar grammar,
String message) |
SerializationDiagnostic(String id,
org.eclipse.emf.ecore.EObject sem,
ISerializationContext context,
Grammar grammar,
String message) |
| 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 |
|---|---|
Grammar |
RuleNames.getContextGrammar() |
Grammar |
FlattenedGrammarAccess.getFlattenedGrammar() |
Grammar |
OriginalGrammar.getOriginal() |
| 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) |
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,
IScope current) |
protected Xtext2EcoreTransformer |
XtextLinker.createTransformer(Grammar grammar,
IDiagnosticConsumer consumer) |
protected IScope |
XtextScopeProvider.doCreateScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
IScope parent) |
static void |
RuleNames.ensureAdapterInstalled(Grammar grammar) |
protected List<Grammar> |
XtextScopeProvider.getAllGrammars(Grammar grammar) |
static RuleNames |
RuleNames.getRuleNames(Grammar grammar,
boolean cache) |
List<AbstractRule> |
RuleFilter.getRules(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 |
XtextLinker.updateOverriddenRules(Grammar grammar,
Map<String,AbstractRule> rulePerName,
Set<Grammar> visitedGrammars) |
| Constructor and Description |
|---|
OriginalGrammar(Grammar original) |
RuleNames(Grammar grammar,
boolean installAdapter) |
| 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.