this.pPattern = new PatternElements(); this.pAnnotation = new AnnotationElements(); this.pAnnotationParameter = new AnnotationParameterElements(); this.pModifiers = new ModifiersElements(); this.pVariable = new VariableElements();
if ( state.backtracking==0 ) { newLeafNode(lv_name_0_0, grammarAccess.getAnnotationParameterAccess().getNameIDTerminalRuleCall_0_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getAnnotationParameterAccess().getEqualsSignKeyword_1()); newCompositeNode(grammarAccess.getAnnotationParameterAccess().getValueAnnotationValueReferenceParserRuleCall_2_0());
if ( state.backtracking==0 ) { newLeafNode(lv_name_0_0, grammarAccess.getAnnotationParameterAccess().getNameIDTerminalRuleCall_0_0()); if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getAnnotationParameterAccess().getEqualsSignKeyword_1()); newCompositeNode(grammarAccess.getAnnotationParameterAccess().getValueAnnotationValueReferenceParserRuleCall_2_0());
/** * Contexts: * AnnotationParameter returns AnnotationParameter * * Constraint: * (name=ID value=AnnotationValueReference) */ protected void sequence_AnnotationParameter(ISerializationContext context, AnnotationParameter semanticObject) { if (errorAcceptor != null) { if (transientValues.isValueTransient(semanticObject, PatternLanguagePackage.Literals.ANNOTATION_PARAMETER__NAME) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PatternLanguagePackage.Literals.ANNOTATION_PARAMETER__NAME)); if (transientValues.isValueTransient(semanticObject, PatternLanguagePackage.Literals.ANNOTATION_PARAMETER__VALUE) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, PatternLanguagePackage.Literals.ANNOTATION_PARAMETER__VALUE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); feeder.accept(grammarAccess.getAnnotationParameterAccess().getNameIDTerminalRuleCall_0_0(), semanticObject.getName()); feeder.accept(grammarAccess.getAnnotationParameterAccess().getValueAnnotationValueReferenceParserRuleCall_2_0(), semanticObject.getValue()); feeder.finish(); }
public ParserRule getAnnotationParameterRule() { return getAnnotationParameterAccess().getRule(); }
public ParserRule getAnnotationParameterRule() { return getAnnotationParameterAccess().getRule(); }