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

    Fields
    Modifier and Type
    Field
    Description
     
    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • grammarAccess

      protected MetricDSLGrammarAccess 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 class org.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 class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
    • emit_InternalMetric___ParametersKeyword_8_0_LeftCurlyBracketKeyword_8_1_RightCurlyBracketKeyword_8_3__q

      protected 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' '{' '}')?