| Modifier and Type | Interface and Description |
|---|---|
interface |
EnumRule
A representation of the model object 'Enum Rule'
|
interface |
ParserRule
A representation of the model object 'Parser Rule'
|
interface |
TerminalRule
A representation of the model object 'Terminal Rule'
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractRule |
GrammarUtil.containingRule(org.eclipse.emf.ecore.EObject e) |
AbstractRule |
XtextFactory.createAbstractRule()
Returns a new object of class 'Abstract Rule'
|
static AbstractRule |
GrammarUtil.findRuleForName(Grammar grammar,
String ruleName) |
AbstractRule |
RuleCall.getRule()
Returns the value of the 'Rule' reference
|
AbstractRule |
IGrammarAccess.IAbstractRuleAccess.getRule() |
| Modifier and Type | Method and Description |
|---|---|
static List<AbstractRule> |
GrammarUtil.allRules(Grammar grammar) |
org.eclipse.emf.common.util.EList<AbstractRule> |
ParserRule.getHiddenTokens()
Returns the value of the 'Hidden Tokens' reference list.
|
org.eclipse.emf.common.util.EList<AbstractRule> |
Grammar.getHiddenTokens()
Returns the value of the 'Hidden Tokens' reference list.
|
org.eclipse.emf.common.util.EList<AbstractRule> |
Grammar.getRules()
Returns the value of the 'Rules' containment reference list.
|
| Modifier and Type | Method and Description |
|---|---|
protected GraphvizDotBuilder.Digraph |
GrammarToDot.drawRule(AbstractRule rule,
GraphvizDotBuilder.Digraph d) |
List<RuleCall> |
IGrammarAccess.findRuleCalls(AbstractRule... rules) |
static boolean |
GrammarUtil.isDatatypeRule(AbstractRule abstractRule) |
static boolean |
GrammarUtil.isEObjectFragmentRule(AbstractRule rule) |
void |
RuleCall.setRule(AbstractRule value)
Sets the value of the '
Rule' reference |
| Modifier and Type | Method and Description |
|---|---|
void |
IValueConverter.RuleSpecific.setRule(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRule |
AbstractLexerBasedConverter.getRule() |
| Modifier and Type | Method and Description |
|---|---|
protected IllegalArgumentException |
KeywordAlternativeConverter.mismatchedRuleBody(AbstractRule rule) |
protected void |
KeywordAlternativeConverter.processElement(AbstractElement element,
AbstractRule rule,
com.google.common.collect.ImmutableSet.Builder<String> result) |
void |
KeywordBasedValueConverter.setRule(AbstractRule rule) |
void |
KeywordAlternativeConverter.setRule(AbstractRule rule) |
void |
AbstractLexerBasedConverter.setRule(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
Pair<AbstractRule,String> |
FormattingConfigBasedStream.Line.getSpaces(FormattingConfigBasedStream.LineEntry entry,
boolean isLineStart) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<MatcherState> |
ElementMatcherProvider.TransitionMatcher.findRuleCallsTo(AbstractRule rule,
Set<AbstractRule> visited) |
protected String |
NodeModelStreamer.getFormattedDatatypeValue(ICompositeNode node,
AbstractRule rule,
String text)
Create a canonical represenation of the data type value.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<MatcherState> |
ElementMatcherProvider.TransitionMatcher.findRuleCallsTo(AbstractRule rule,
Set<AbstractRule> visited) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
TextRegionAccessToString.toString(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
List<ISemanticRegion> |
ISemanticRegionsFinder.ruleCallsTo(AbstractRule... rules) |
ISemanticRegion |
ISemanticRegionFinder.ruleCallTo(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRule |
StringHidden.getGrammarElement() |
AbstractRule |
NodeHidden.getGrammarElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextRegionAccessBuildingSequencer.acceptComment(AbstractRule rule,
String token,
ILeafNode node) |
void |
TextRegionAccessBuildingSequencer.acceptWhitespace(AbstractRule rule,
String token,
ILeafNode node) |
protected void |
AbstractSemanticRegionsFinder.assertNoEObjectRule(AbstractRule rule) |
protected StringComment |
TextRegionAccessBuildingSequencer.createComment(AbstractRule rule,
String token,
int offset) |
protected StringWhitespace |
TextRegionAccessBuildingSequencer.createWhitespace(AbstractRule rule,
String token,
int offset) |
List<ISemanticRegion> |
SemanticRegionNullFinder.ruleCallsTo(AbstractRule... rules) |
List<ISemanticRegion> |
AbstractSemanticRegionsFinder.ruleCallsTo(AbstractRule... rules) |
ISemanticRegion |
SemanticRegionNullFinder.ruleCallTo(AbstractRule rule) |
ISemanticRegion |
AbstractSemanticRegionsFinder.ruleCallTo(AbstractRule rule) |
| Constructor and Description |
|---|
AbstractSemanticRegionsFinder.RulePredicate(AbstractRule rule) |
StringComment(AbstractHiddenRegion hidden,
AbstractRule rule,
int offset,
int length) |
StringHidden(AbstractHiddenRegion hidden,
AbstractRule rule,
int offset,
int lenght) |
StringWhitespace(AbstractHiddenRegion hidden,
AbstractRule rule,
int offset,
int length) |
| Constructor and Description |
|---|
AbstractSemanticRegionsFinder.RulesPredicate(Set<AbstractRule> rules) |
| Modifier and Type | Method and Description |
|---|---|
String |
GrammarElementTitleSwitch.caseAbstractRule(AbstractRule object) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRuleImpl
An implementation of the model object 'Abstract Rule'
|
class |
EnumRuleImpl
An implementation of the model object 'Enum Rule'
|
class |
ParserRuleImpl
An implementation of the model object 'Parser Rule'
|
class |
TerminalRuleImpl
An implementation of the model object 'Terminal Rule'
|
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRule |
RuleCallImpl.rule
The cached value of the '
Rule' reference |
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<AbstractRule> |
ParserRuleImpl.hiddenTokens
The cached value of the '
Hidden Tokens' reference list |
protected org.eclipse.emf.common.util.EList<AbstractRule> |
GrammarImpl.hiddenTokens
The cached value of the '
Hidden Tokens' reference list |
protected org.eclipse.emf.common.util.EList<AbstractRule> |
GrammarImpl.rules
The cached value of the '
Rules' containment reference list |
| Modifier and Type | Method and Description |
|---|---|
AbstractRule |
RuleCallImpl.basicGetRule() |
AbstractRule |
XtextFactoryImpl.createAbstractRule() |
AbstractRule |
RuleCallImpl.getRule() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<AbstractRule> |
ParserRuleImpl.getHiddenTokens() |
org.eclipse.emf.common.util.EList<AbstractRule> |
GrammarImpl.getHiddenTokens() |
org.eclipse.emf.common.util.EList<AbstractRule> |
GrammarImpl.getRules() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleCallImpl.setRule(AbstractRule newRule) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.emf.ecore.EObject |
AbstractInternalAntlrParser.createModelElement(AbstractRule rule) |
protected org.eclipse.emf.ecore.EObject |
AbstractInternalAntlrParser.createModelElementForParent(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractRule |
NonTerminalConsumer.getGrammarElement() |
AbstractRule |
AbstractRuleAwareTerminalConsumer.getGrammarElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRuleAwareTerminalConsumer.setRule(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRule |
IHiddenTokenHelper.getWhitespaceRuleFor(ParserRule context,
String whitespace) |
AbstractRule |
IHiddenTokenHelper.getWhitespaceRuleFor(String whitespace)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IHiddenTokenHelper.isComment(AbstractRule rule) |
boolean |
IHiddenTokenHelper.isWhitespace(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRule |
TokenUtil.getTokenRule(INode node) |
AbstractRule |
DefaultHiddenTokenHelper.getWhitespaceRuleFor(ParserRule context,
String whitespace) |
AbstractRule |
AbstractHiddenTokenHelper.getWhitespaceRuleFor(ParserRule context,
String whitespace) |
AbstractRule |
DefaultHiddenTokenHelper.getWhitespaceRuleFor(String whitespace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultHiddenTokenHelper.isComment(AbstractRule rule) |
boolean |
DefaultHiddenTokenHelper.isWhitespace(AbstractRule rule) |
protected String |
ValueSerializer.serializeUnassignedValueByRule(AbstractRule rule,
org.eclipse.emf.ecore.EObject current,
INode node) |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractRule |
WhitespaceAddingSequenceAcceptor.lastWhitespace |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractRule |
WhitespaceAddingSequenceAcceptor.findWhitespaceRule(AbstractElement ele) |
protected AbstractRule |
WhitespaceAddingSequenceAcceptor.findWhitespaceRule(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
void |
TokenStreamSequenceAdapter.acceptComment(AbstractRule rule,
String token,
ILeafNode node) |
void |
StringBufferSequenceAcceptor.acceptComment(AbstractRule rule,
String token,
ILeafNode node) |
void |
ISequenceAcceptor.acceptComment(AbstractRule rule,
String token,
ILeafNode node) |
void |
DelegatingSequenceAcceptor.acceptComment(AbstractRule rule,
String token,
ILeafNode node) |
void |
TokenStreamSequenceAdapter.acceptWhitespace(AbstractRule rule,
String token,
ILeafNode node) |
void |
StringBufferSequenceAcceptor.acceptWhitespace(AbstractRule rule,
String token,
ILeafNode node) |
void |
ISequenceAcceptor.acceptWhitespace(AbstractRule rule,
String token,
ILeafNode node) |
void |
DelegatingSequenceAcceptor.acceptWhitespace(AbstractRule rule,
String token,
ILeafNode node) |
protected boolean |
WhitespaceAddingSequenceAcceptor.isWhitespaceRule(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Iterable<? extends AbstractRule> |
AbstractElementFinder.getRules() |
protected Iterable<? extends AbstractRule> |
AbstractElementFinder.AbstractEnumRuleElementFinder.getRules() |
protected Iterable<? extends AbstractRule> |
AbstractElementFinder.AbstractGrammarElementFinder.getRules() |
protected Iterable<? extends AbstractRule> |
AbstractElementFinder.AbstractParserRuleElementFinder.getRules() |
| Modifier and Type | Method and Description |
|---|---|
List<Assignment> |
AbstractElementFinder.findAssignments(AbstractRule... calledRules) |
protected <T> List<T> |
AbstractElementFinder.findByNestedRuleCall(Class<T> clazz,
AbstractRule... rule) |
List<CrossReference> |
AbstractElementFinder.findCrossReferences(AbstractRule... rule) |
List<RuleCall> |
AbstractElementFinder.findRuleCalls(AbstractRule... rules) |
| Modifier and Type | Method and Description |
|---|---|
T |
XtextSwitch.caseAbstractRule(AbstractRule object)
Returns the result of interpreting the object as an instance of 'Abstract Rule'
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ConcreteSyntaxConstraintProvider.isParserRule(AbstractRule rule) |
protected boolean |
ConcreteSyntaxConstraintProvider.ruleContainsAssignedAction(AbstractRule rule,
Set<AbstractRule> visited) |
protected boolean |
ConcreteSyntaxConstraintProvider.ruleContainsRecursiveUnassignedRuleCall(AbstractRule rule,
Set<AbstractRule> visited) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ConcreteSyntaxConstraintProvider.ruleContainsAssignedAction(AbstractRule rule,
Set<AbstractRule> visited) |
protected boolean |
ConcreteSyntaxConstraintProvider.ruleContainsRecursiveUnassignedRuleCall(AbstractRule rule,
Set<AbstractRule> visited) |
| Modifier and Type | Class and Description |
|---|---|
class |
XtextRuleInspector<Result,RuleType extends AbstractRule> |
| Modifier and Type | Method and Description |
|---|---|
AbstractRule |
RuleWithParameterValues.getOriginal() |
static AbstractRule |
RuleWithParameterValues.getOriginalRule(AbstractRule copy) |
AbstractRule |
RuleNames.getRuleByAntlrName(String name) |
AbstractRule |
RuleNames.getRuleByQualifiedName(String name) |
AbstractRule |
RuleNames.getRuleByUniqueName(String uniqueName) |
static AbstractRule |
RuleWithParameterValues.tryGetOriginalRule(AbstractRule copy) |
| Modifier and Type | Method and Description |
|---|---|
List<AbstractRule> |
RuleNames.getAllRules() |
List<AbstractRule> |
RuleFilter.getRules(Grammar grammar) |
List<AbstractRule> |
RuleNames.getRulesBySimpleName(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
XtextRuleInspector.addVisited(AbstractRule rule) |
boolean |
OverriddenValueInspector.addVisited(AbstractRule rule) |
void |
XtextReferableElementsUnloader.caseAbstractRule(AbstractRule object) |
Void |
UsedRulesFinder.caseAbstractRule(AbstractRule object) |
Boolean |
GrammarWithoutLeftRecursionInspector.caseAbstractRule(AbstractRule object) |
String |
XtextFragmentProvider.caseAbstractRule(AbstractRule obj,
IFragmentProvider.Fallback fallback) |
void |
XtextValidator.checkRuleName(AbstractRule rule) |
void |
CurrentTypeFinder.Implementation.computeResult(AbstractRule rule,
AbstractElement element) |
String |
RuleNames.getAntlrRuleName(AbstractRule rule) |
String |
RuleNames.getAntlrRuleName(AbstractRule rule,
int paramConfig) |
String |
RuleNames.getBestRuleName(AbstractRule rule) |
static AbstractRule |
RuleWithParameterValues.getOriginalRule(AbstractRule copy) |
static int |
RuleWithParameterValues.getParamConfig(AbstractRule copy) |
static Set<Parameter> |
RuleWithParameterValues.getParamValues(AbstractRule copy) |
String |
RuleNames.getQualifiedName(AbstractRule rule) |
static RuleNames |
RuleNames.getRuleNames(AbstractRule rule) |
String |
RuleNames.getUniqueRuleName(AbstractRule rule) |
boolean |
XtextRuleInspector.removeVisited(AbstractRule rule) |
static AbstractRule |
RuleWithParameterValues.tryGetOriginalRule(AbstractRule copy) |
static RuleNames |
RuleNames.tryGetRuleNames(AbstractRule rule) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XtextValidator.checkHiddenTokenIsNotAFragment(org.eclipse.emf.ecore.EObject owner,
List<AbstractRule> hiddenTokens,
org.eclipse.emf.ecore.EReference reference) |
protected void |
XtextLinker.updateOverriddenRules(Grammar grammar,
Map<String,AbstractRule> rulePerName) |
protected void |
XtextLinker.updateOverriddenRules(Grammar grammar,
Map<String,AbstractRule> rulePerName,
Set<Grammar> visitedGrammars) |
| Constructor and Description |
|---|
RuleWithParameterValues(AbstractRule original,
Set<Parameter> paramValues) |
| Constructor and Description |
|---|
UsedRulesFinder(Collection<AbstractRule> usedRules) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
Xtext2EcoreTransformer.getRuleNameForErrorMessage(AbstractRule rule) |
Copyright © 2015. All Rights Reserved.