public CodetemplatesGrammarAccess.LiteralElements getLiteralAccess() { return gaCodetemplates.getLiteralAccess(); }
public CodetemplatesGrammarAccess.LiteralElements getLiteralAccess() { return gaCodetemplates.getLiteralAccess(); }
public ParserRule getLiteralRule() { return getLiteralAccess().getRule(); }
@Override public Assignment getGrammarElement() { return grammarAccess.getLiteralAccess().getValueAssignment(); }
public ParserRule getLiteralRule() { return getLiteralAccess().getRule(); }
@Override public IEObjectConsumer tryConsume() { if(getEObject().eClass() != grammarAccess.getLiteralRule().getType().getClassifier()) return null; if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0(), value, null)) { type = AssignmentType.DATATYPE_RULE_CALL; element = grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0(); return obj; } return null; }
public final void rule__Literal__ValueAssignment() throws RecognitionException { int stackSize = keepStackSize(); try { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2612:1: ( ( ruleLiteralValue ) ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2613:1: ( ruleLiteralValue ) { // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2613:1: ( ruleLiteralValue ) // ../org.eclipse.xtext.ui.codetemplates.ui/src-gen/org/eclipse/xtext/ui/codetemplates/ui/contentassist/antlr/internal/InternalCodetemplatesParser.g:2614:1: ruleLiteralValue { before(grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0()); pushFollow(FOLLOW_ruleLiteralValue_in_rule__Literal__ValueAssignment5193); ruleLiteralValue(); state._fsp--; after(grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Literal__ValueAssignment"
before(grammarAccess.getLiteralAccess().getValueAssignment()); after(grammarAccess.getLiteralAccess().getValueAssignment());
/** * Constraint: * value=LiteralValue */ protected void sequence_Literal(EObject context, Literal semanticObject) { if(errorAcceptor != null) { if(transientValues.isValueTransient(semanticObject, TemplatesPackage.Literals.LITERAL__VALUE) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TemplatesPackage.Literals.LITERAL__VALUE)); } INodesForEObjectProvider nodes = createNodeProvider(semanticObject); SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); feeder.accept(grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0(), semanticObject.getValue()); feeder.finish(); }
newCompositeNode(grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0());
newCompositeNode(grammarAccess.getLiteralAccess().getValueLiteralValueParserRuleCall_0());
put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_0(), "rule__Variable__ParametersAssignment_2_1_4_3_0"); put(grammarAccess.getVariableAccess().getParametersAssignment_2_1_4_3_1_3(), "rule__Variable__ParametersAssignment_2_1_4_3_1_3"); put(grammarAccess.getLiteralAccess().getValueAssignment(), "rule__Literal__ValueAssignment"); put(grammarAccess.getDollarAccess().getEscapedAssignment_1_0(), "rule__Dollar__EscapedAssignment_1_0");