org.eclipse.xtend.core.serializer
Class AbstractXtendSyntacticSequencer

java.lang.Object
  extended by org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
      extended by org.eclipse.xtend.core.serializer.AbstractXtendSyntacticSequencer
All Implemented Interfaces:
ISemanticSequenceAcceptor, ISyntacticSequencer
Direct Known Subclasses:
XtendSyntacticSequencer

public abstract class AbstractXtendSyntacticSequencer
extends AbstractSyntacticSequencer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer
AbstractSyntacticSequencer.SyntacticalContext
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer
ISyntacticSequencer.ISyntacticSequencerOwner
 
Field Summary
protected  XtendGrammarAccess grammarAccess
           
protected  GrammarAlias.AbstractElementAlias match_Class_PublicKeyword_1_q
           
protected  GrammarAlias.AbstractElementAlias match_File_SemicolonKeyword_0_2_q
           
protected  GrammarAlias.AbstractElementAlias match_Import_SemicolonKeyword_2_q
           
protected  GrammarAlias.AbstractElementAlias match_Member_SemicolonKeyword_2_0_4_q
           
protected  GrammarAlias.AbstractElementAlias match_Member_VarKeyword_2_0_2_0_1_1_q
           
protected  GrammarAlias.AbstractElementAlias match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q
           
protected  GrammarAlias.AbstractElementAlias match_XAnnotationElementValue_LeftParenthesisKeyword_7_0_a
           
protected  GrammarAlias.AbstractElementAlias match_XAnnotationElementValue_LeftParenthesisKeyword_7_0_p
           
protected  GrammarAlias.AbstractElementAlias match_XBlockExpression_SemicolonKeyword_2_1_q
           
protected  GrammarAlias.AbstractElementAlias match_XConstructorCall___LeftParenthesisKeyword_4_0_RightParenthesisKeyword_4_2__q
           
protected  GrammarAlias.AbstractElementAlias match_XExpressionInClosure_SemicolonKeyword_1_1_q
           
protected  GrammarAlias.AbstractElementAlias match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q
           
protected  GrammarAlias.AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_a
           
protected  GrammarAlias.AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_p
           
 
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
AbstractXtendSyntacticSequencer()
           
 
Method Summary
protected  void emit_Class_PublicKeyword_1_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: 'public'?
protected  void emit_File_SemicolonKeyword_0_2_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ';'?
protected  void emit_Import_SemicolonKeyword_2_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ';'?
protected  void emit_Member_SemicolonKeyword_2_0_4_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ';'?
protected  void emit_Member_VarKeyword_2_0_2_0_1_1_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: 'var'?
protected  void emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ('(' ')')?
protected  void emit_XAnnotationElementValue_LeftParenthesisKeyword_7_0_a(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: '('*
protected  void emit_XAnnotationElementValue_LeftParenthesisKeyword_7_0_p(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: '('+
protected  void emit_XBlockExpression_SemicolonKeyword_2_1_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ';'?
protected  void emit_XConstructorCall___LeftParenthesisKeyword_4_0_RightParenthesisKeyword_4_2__q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ('(' ')')?
protected  void emit_XExpressionInClosure_SemicolonKeyword_1_1_q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ';'?
protected  void emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: ('(' ')')?
protected  void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: '('*
protected  void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynNavigable transition, java.util.List<INode> nodes)
          Syntax: '('+
protected  void emitUnassignedTokens(org.eclipse.emf.ecore.EObject semanticObject, ISyntacticSequencerPDAProvider.ISynTransition transition, INode fromNode, INode toNode)
           
protected  java.lang.String getOpSingleAssignToken(org.eclipse.emf.ecore.EObject semanticObject, RuleCall ruleCall, INode node)
          OpSingleAssign: '=' ;
protected  java.lang.String getUnassignedRuleCallToken(org.eclipse.emf.ecore.EObject semanticObject, RuleCall ruleCall, INode node)
           
protected  void init(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, 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 Detail

grammarAccess

protected XtendGrammarAccess grammarAccess

match_Class_PublicKeyword_1_q

protected GrammarAlias.AbstractElementAlias match_Class_PublicKeyword_1_q

match_File_SemicolonKeyword_0_2_q

protected GrammarAlias.AbstractElementAlias match_File_SemicolonKeyword_0_2_q

match_Import_SemicolonKeyword_2_q

protected GrammarAlias.AbstractElementAlias match_Import_SemicolonKeyword_2_q

match_Member_SemicolonKeyword_2_0_4_q

protected GrammarAlias.AbstractElementAlias match_Member_SemicolonKeyword_2_0_4_q

match_Member_VarKeyword_2_0_2_0_1_1_q

protected GrammarAlias.AbstractElementAlias match_Member_VarKeyword_2_0_2_0_1_1_q

match_XAnnotationElementValue_LeftParenthesisKeyword_7_0_a

protected GrammarAlias.AbstractElementAlias match_XAnnotationElementValue_LeftParenthesisKeyword_7_0_a

match_XAnnotationElementValue_LeftParenthesisKeyword_7_0_p

protected GrammarAlias.AbstractElementAlias match_XAnnotationElementValue_LeftParenthesisKeyword_7_0_p

match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q

protected GrammarAlias.AbstractElementAlias match_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q

match_XBlockExpression_SemicolonKeyword_2_1_q

protected GrammarAlias.AbstractElementAlias match_XBlockExpression_SemicolonKeyword_2_1_q

match_XConstructorCall___LeftParenthesisKeyword_4_0_RightParenthesisKeyword_4_2__q

protected GrammarAlias.AbstractElementAlias match_XConstructorCall___LeftParenthesisKeyword_4_0_RightParenthesisKeyword_4_2__q

match_XExpressionInClosure_SemicolonKeyword_1_1_q

protected GrammarAlias.AbstractElementAlias match_XExpressionInClosure_SemicolonKeyword_1_1_q

match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q

protected GrammarAlias.AbstractElementAlias match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q

match_XParenthesizedExpression_LeftParenthesisKeyword_0_a

protected GrammarAlias.AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_a

match_XParenthesizedExpression_LeftParenthesisKeyword_0_p

protected GrammarAlias.AbstractElementAlias match_XParenthesizedExpression_LeftParenthesisKeyword_0_p
Constructor Detail

AbstractXtendSyntacticSequencer

public AbstractXtendSyntacticSequencer()
Method Detail

init

@Inject
protected void init(IGrammarAccess access)

getUnassignedRuleCallToken

protected java.lang.String getUnassignedRuleCallToken(org.eclipse.emf.ecore.EObject semanticObject,
                                                      RuleCall ruleCall,
                                                      INode node)
Overrides:
getUnassignedRuleCallToken in class AbstractSyntacticSequencer

getOpSingleAssignToken

protected java.lang.String getOpSingleAssignToken(org.eclipse.emf.ecore.EObject semanticObject,
                                                  RuleCall ruleCall,
                                                  INode node)
OpSingleAssign: '=' ;


emitUnassignedTokens

protected void emitUnassignedTokens(org.eclipse.emf.ecore.EObject semanticObject,
                                    ISyntacticSequencerPDAProvider.ISynTransition transition,
                                    INode fromNode,
                                    INode toNode)
Specified by:
emitUnassignedTokens in class AbstractSyntacticSequencer

emit_Class_PublicKeyword_1_q

protected void emit_Class_PublicKeyword_1_q(org.eclipse.emf.ecore.EObject semanticObject,
                                            ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                            java.util.List<INode> nodes)
Syntax: 'public'?


emit_File_SemicolonKeyword_0_2_q

protected void emit_File_SemicolonKeyword_0_2_q(org.eclipse.emf.ecore.EObject semanticObject,
                                                ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                java.util.List<INode> nodes)
Syntax: ';'?


emit_Import_SemicolonKeyword_2_q

protected void emit_Import_SemicolonKeyword_2_q(org.eclipse.emf.ecore.EObject semanticObject,
                                                ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                java.util.List<INode> nodes)
Syntax: ';'?


emit_Member_SemicolonKeyword_2_0_4_q

protected void emit_Member_SemicolonKeyword_2_0_4_q(org.eclipse.emf.ecore.EObject semanticObject,
                                                    ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                    java.util.List<INode> nodes)
Syntax: ';'?


emit_Member_VarKeyword_2_0_2_0_1_1_q

protected void emit_Member_VarKeyword_2_0_2_0_1_1_q(org.eclipse.emf.ecore.EObject semanticObject,
                                                    ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                    java.util.List<INode> nodes)
Syntax: 'var'?


emit_XAnnotationElementValue_LeftParenthesisKeyword_7_0_a

protected void emit_XAnnotationElementValue_LeftParenthesisKeyword_7_0_a(org.eclipse.emf.ecore.EObject semanticObject,
                                                                         ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                         java.util.List<INode> nodes)
Syntax: '('*


emit_XAnnotationElementValue_LeftParenthesisKeyword_7_0_p

protected void emit_XAnnotationElementValue_LeftParenthesisKeyword_7_0_p(org.eclipse.emf.ecore.EObject semanticObject,
                                                                         ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                         java.util.List<INode> nodes)
Syntax: '('+


emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q

protected void emit_XAnnotation___LeftParenthesisKeyword_3_0_RightParenthesisKeyword_3_2__q(org.eclipse.emf.ecore.EObject semanticObject,
                                                                                            ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                                            java.util.List<INode> nodes)
Syntax: ('(' ')')?


emit_XBlockExpression_SemicolonKeyword_2_1_q

protected void emit_XBlockExpression_SemicolonKeyword_2_1_q(org.eclipse.emf.ecore.EObject semanticObject,
                                                            ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                            java.util.List<INode> nodes)
Syntax: ';'?


emit_XConstructorCall___LeftParenthesisKeyword_4_0_RightParenthesisKeyword_4_2__q

protected void emit_XConstructorCall___LeftParenthesisKeyword_4_0_RightParenthesisKeyword_4_2__q(org.eclipse.emf.ecore.EObject semanticObject,
                                                                                                 ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                                                 java.util.List<INode> nodes)
Syntax: ('(' ')')?


emit_XExpressionInClosure_SemicolonKeyword_1_1_q

protected void emit_XExpressionInClosure_SemicolonKeyword_1_1_q(org.eclipse.emf.ecore.EObject semanticObject,
                                                                ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                java.util.List<INode> nodes)
Syntax: ';'?


emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q

protected void emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(org.eclipse.emf.ecore.EObject semanticObject,
                                                                                                 ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                                                 java.util.List<INode> nodes)
Syntax: ('(' ')')?


emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a

protected void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_a(org.eclipse.emf.ecore.EObject semanticObject,
                                                                        ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                        java.util.List<INode> nodes)
Syntax: '('*


emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p

protected void emit_XParenthesizedExpression_LeftParenthesisKeyword_0_p(org.eclipse.emf.ecore.EObject semanticObject,
                                                                        ISyntacticSequencerPDAProvider.ISynNavigable transition,
                                                                        java.util.List<INode> nodes)
Syntax: '('+