public class OverriddenValueInspector extends XtextRuleInspector<java.lang.Boolean,ParserRule>
modelPackage
Constructor and Description |
---|
OverriddenValueInspector(ValidationMessageAcceptor acceptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
addVisited(AbstractRule rule) |
protected boolean |
canInspect(ParserRule rule) |
java.lang.Boolean |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'
|
java.lang.Boolean |
caseAlternatives(Alternatives object)
Returns the result of interpreting the object as an instance of 'Alternatives'
|
java.lang.Boolean |
caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'
|
java.lang.Boolean |
caseCompoundElement(CompoundElement object)
Returns the result of interpreting the object as an instance of 'Compound Element'
|
java.lang.Boolean |
caseRuleCall(RuleCall object)
Returns the result of interpreting the object as an instance of 'Rule Call'
|
protected java.lang.Boolean |
doInspect(ParserRule rule) |
protected com.google.common.collect.Multimap<java.lang.String,AbstractElement> |
newMultimap() |
acceptError, acceptWarning, getNestingLevel, getTypeRefName, handleResult, inspect, removeVisited
caseAbstractElement, caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseCharacterRange, caseCrossReference, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseGroup, caseKeyword, caseNegatedToken, caseParserRule, caseReferencedMetamodel, caseTerminalRule, caseTypeRef, caseUnorderedGroup, caseUntilToken, caseWildcard, defaultCase, doSwitch, isSwitchFor
public OverriddenValueInspector(ValidationMessageAcceptor acceptor)
public boolean addVisited(AbstractRule rule)
addVisited
in class XtextRuleInspector<java.lang.Boolean,ParserRule>
protected boolean canInspect(ParserRule rule)
canInspect
in class XtextRuleInspector<java.lang.Boolean,ParserRule>
protected java.lang.Boolean doInspect(ParserRule rule)
doInspect
in class XtextRuleInspector<java.lang.Boolean,ParserRule>
protected com.google.common.collect.Multimap<java.lang.String,AbstractElement> newMultimap()
public java.lang.Boolean caseAssignment(Assignment object)
XtextSwitch
caseAssignment
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseAction(Action object)
XtextSwitch
caseAction
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseRuleCall(RuleCall object)
XtextSwitch
caseRuleCall
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseAlternatives(Alternatives object)
XtextSwitch
caseAlternatives
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseCompoundElement(CompoundElement object)
XtextSwitch
caseCompoundElement
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)