public class RuleWithoutInstantiationInspector extends XtextRuleInspector<java.lang.Boolean,ParserRule>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ISSUE_CODE |
modelPackage| Constructor and Description |
|---|
RuleWithoutInstantiationInspector(ValidationMessageAcceptor acceptor) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canInspect(ParserRule rule) |
java.lang.Boolean |
caseAbstractElement(AbstractElement object)
Returns the result of interpreting the object as an instance of 'Abstract Element'.
|
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.String |
getIssueCode() |
protected void |
handleResult(java.lang.Boolean r,
ParserRule rule) |
acceptError, acceptWarning, addVisited, doInspect, getNestingLevel, getTypeRefName, inspect, removeVisitedcaseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseAnnotation, 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 java.lang.String ISSUE_CODE
public RuleWithoutInstantiationInspector(ValidationMessageAcceptor acceptor)
protected java.lang.String getIssueCode()
getIssueCode in class XtextRuleInspector<java.lang.Boolean,ParserRule>protected boolean canInspect(ParserRule rule)
canInspect in class XtextRuleInspector<java.lang.Boolean,ParserRule>protected void handleResult(java.lang.Boolean r,
ParserRule rule)
handleResult in class XtextRuleInspector<java.lang.Boolean,ParserRule>public java.lang.Boolean caseCompoundElement(CompoundElement object)
XtextSwitchcaseCompoundElement in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseAbstractElement(AbstractElement object)
XtextSwitchcaseAbstractElement in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseAction(Action object)
XtextSwitchcaseAction in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseAlternatives(Alternatives object)
XtextSwitchcaseAlternatives in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseAssignment(Assignment object)
XtextSwitchcaseAssignment in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseRuleCall(RuleCall object)
XtextSwitchcaseRuleCall in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)