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