Package org.somox.metrics.dsl.serializer
Class MetricDSLSyntacticSequencer
java.lang.Object
org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
org.somox.metrics.dsl.serializer.MetricDSLSyntacticSequencer
- All Implemented Interfaces:
org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor
,org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer
public class MetricDSLSyntacticSequencer
extends org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer.SyntacticalContext
Nested classes/interfaces inherited from interface org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer
org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer.ISyntacticSequencerOwner
-
Field Summary
Modifier and TypeFieldDescriptionprotected MetricDSLGrammarAccess
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
contexts, delegate, diagnosticProvider, errorAcceptor, pdaProvider, tokenUtil
Fields inherited from interface org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor
NO_INDEX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
emit_InternalMetric___ParametersKeyword_8_0_LeftCurlyBracketKeyword_8_1_RightCurlyBracketKeyword_8_3__q
(EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable transition, List<org.eclipse.xtext.nodemodel.INode> nodes) Syntax: ('parameters' '{' '}')?protected void
emitUnassignedTokens
(EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition transition, org.eclipse.xtext.nodemodel.INode fromNode, org.eclipse.xtext.nodemodel.INode toNode) protected String
getUnassignedRuleCallToken
(EObject semanticObject, org.eclipse.xtext.RuleCall ruleCall, org.eclipse.xtext.nodemodel.INode node) protected void
init
(org.eclipse.xtext.IGrammarAccess access) Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
accept, accept, acceptAssignedCrossRefDatatype, acceptAssignedCrossRefEnum, acceptAssignedCrossRefKeyword, acceptAssignedCrossRefTerminal, acceptAssignedDatatype, acceptAssignedEnum, acceptAssignedKeyword, acceptAssignedTerminal, acceptNode, acceptNodes, acceptNodes, acceptUnassignedAction, acceptUnassignedDatatype, acceptUnassignedEnum, acceptUnassignedKeyword, acceptUnassignedTerminal, collectAbstractElements, collectNodes, enterAssignedAction, enterAssignedParserRuleCall, findTransition, finish, getLastLeaf, getLastNavigableState, getNodesFor, getTokenText, getUnassignedRuleCallToken, init, init, leaveAssignedAction, leaveAssignedParserRuleCall, navigateToAbsorber, navigateToAbsorber, navigateToEmitter, navigateToEmitter
-
Field Details
-
grammarAccess
-
match_InternalMetric___ParametersKeyword_8_0_LeftCurlyBracketKeyword_8_1_RightCurlyBracketKeyword_8_3__q
protected org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias match_InternalMetric___ParametersKeyword_8_0_LeftCurlyBracketKeyword_8_1_RightCurlyBracketKeyword_8_3__q
-
-
Constructor Details
-
MetricDSLSyntacticSequencer
public MetricDSLSyntacticSequencer()
-
-
Method Details
-
init
@Inject protected void init(org.eclipse.xtext.IGrammarAccess access) -
getUnassignedRuleCallToken
protected String getUnassignedRuleCallToken(EObject semanticObject, org.eclipse.xtext.RuleCall ruleCall, org.eclipse.xtext.nodemodel.INode node) - Overrides:
getUnassignedRuleCallToken
in classorg.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
-
emitUnassignedTokens
protected void emitUnassignedTokens(EObject semanticObject, org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition transition, org.eclipse.xtext.nodemodel.INode fromNode, org.eclipse.xtext.nodemodel.INode toNode) - Specified by:
emitUnassignedTokens
in classorg.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
-