public class OverriddenValueInspector extends XtextRuleInspector<Boolean,ParserRule>
| Modifier and Type | Field and Description |
|---|---|
static String |
ISSUE_CODE |
modelPackage| Constructor and Description |
|---|
OverriddenValueInspector(ValidationMessageAcceptor acceptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addVisited(AbstractRule rule) |
protected boolean |
canInspect(ParserRule rule) |
Boolean |
caseAbstractElement(AbstractElement object)
Returns the result of interpreting the object as an instance of 'Abstract Element'
|
Boolean |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'
|
Boolean |
caseAlternatives(Alternatives object)
Returns the result of interpreting the object as an instance of 'Alternatives'
|
Boolean |
caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'
|
Boolean |
caseCompoundElement(CompoundElement object)
Returns the result of interpreting the object as an instance of 'Compound Element'
|
Boolean |
caseRuleCall(RuleCall object)
Returns the result of interpreting the object as an instance of 'Rule Call'
|
protected Boolean |
doInspect(ParserRule rule) |
protected String |
getIssueCode() |
protected com.google.common.collect.Multimap<String,AbstractElement> |
newMultimap() |
acceptError, acceptWarning, getNestingLevel, getTypeRefName, handleResult, inspect, removeVisitedcaseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseCharacterRange, caseCompositeCondition, caseCondition, caseConjunction, caseCrossReference, caseDisjunction, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseGroup, caseKeyword, caseLiteralCondition, caseNamedArgument, caseNegatedToken, caseNegation, caseParameter, caseParameterReference, caseParserRule, caseReferencedMetamodel, caseTerminalRule, caseTypeRef, caseUnorderedGroup, caseUntilToken, caseWildcard, defaultCase, doSwitch, isSwitchForpublic static final String ISSUE_CODE
public OverriddenValueInspector(ValidationMessageAcceptor acceptor)
protected String getIssueCode()
getIssueCode in class XtextRuleInspector<Boolean,ParserRule>public boolean addVisited(AbstractRule rule)
addVisited in class XtextRuleInspector<Boolean,ParserRule>protected boolean canInspect(ParserRule rule)
canInspect in class XtextRuleInspector<Boolean,ParserRule>protected Boolean doInspect(ParserRule rule)
doInspect in class XtextRuleInspector<Boolean,ParserRule>protected com.google.common.collect.Multimap<String,AbstractElement> newMultimap()
public Boolean caseAssignment(Assignment object)
XtextSwitchcaseAssignment in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseAction(Action object)
XtextSwitchcaseAction in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseRuleCall(RuleCall object)
XtextSwitchcaseRuleCall in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseAlternatives(Alternatives object)
XtextSwitchcaseAlternatives in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseAbstractElement(AbstractElement object)
XtextSwitchcaseAbstractElement in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseCompoundElement(CompoundElement object)
XtextSwitchcaseCompoundElement in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)Copyright © 2015. All Rights Reserved.