/** * <copyright> * </copyright> * * */ package robot.resource.robot.grammar; public class RobotTerminal extends robot.resource.robot.grammar.RobotSyntaxElement { private final org.eclipse.emf.ecore.EStructuralFeature feature; private final int mandatoryOccurencesAfter; public RobotTerminal(org.eclipse.emf.ecore.EStructuralFeature feature, robot.resource.robot.grammar.RobotCardinality cardinality, int mandatoryOccurencesAfter) { super(cardinality, null); this.feature = feature; this.mandatoryOccurencesAfter = mandatoryOccurencesAfter; } public org.eclipse.emf.ecore.EStructuralFeature getFeature() { return feature; } public int getMandatoryOccurencesAfter() { return mandatoryOccurencesAfter; } public String toString() { return feature.getName() + "[]"; } }