|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
org.eclipse.xtext.xtend2.serializer.AbstractXtend2SemanticSequencer
public class AbstractXtend2SemanticSequencer
Field Summary | |
---|---|
protected ISemanticSequencerDiagnosticProvider |
diagnosticProvider
|
protected ISemanticSequencer |
genericSequencer
|
protected com.google.inject.Provider<ISemanticSequencer> |
genericSequencerProvider
|
protected Xtend2GrammarAccess |
grammarAccess
|
protected XbaseWithAnnotationsSemanticSequencer |
superSequencer
|
protected com.google.inject.Provider<XbaseWithAnnotationsSemanticSequencer> |
superSequencerProvider
|
protected ITransientValueService |
transientValues
|
Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer |
---|
errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor |
Constructor Summary | |
---|---|
AbstractXtend2SemanticSequencer()
|
Method Summary | |
---|---|
void |
createSequence(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EObject semanticObject)
|
void |
init(ISemanticSequencer sequencer,
ISemanticSequenceAcceptor sequenceAcceptor,
ISerializationDiagnostic.Acceptor errorAcceptor)
|
protected void |
sequence_Class(org.eclipse.emf.ecore.EObject context,
XtendClass semanticObject)
Constraint: ( annotations+=XAnnotation* name=ValidID (typeParameters+=JvmTypeParameter typeParameters+=JvmTypeParameter*)? |
protected void |
sequence_CreateExtensionInfo(org.eclipse.emf.ecore.EObject context,
CreateExtensionInfo semanticObject)
Constraint: (name=ValidID? |
protected void |
sequence_File(org.eclipse.emf.ecore.EObject context,
XtendFile semanticObject)
Constraint: (package=QualifiedName? |
protected void |
sequence_FullJvmFormalParameter(org.eclipse.emf.ecore.EObject context,
JvmFormalParameter semanticObject)
Constraint: (parameterType=JvmTypeReference name=ValidID) |
protected void |
sequence_Import(org.eclipse.emf.ecore.EObject context,
XtendImport semanticObject)
Constraint: ( (static? |
protected void |
sequence_InternalRichString(org.eclipse.emf.ecore.EObject context,
RichString semanticObject)
Constraint: (expressions+=RichStringLiteralInbetween (expressions+=RichStringPart? |
protected void |
sequence_JvmFormalParameter(org.eclipse.emf.ecore.EObject context,
JvmFormalParameter semanticObject)
Constraint: (parameterType=JvmTypeReference? |
protected void |
sequence_JvmLowerBound(org.eclipse.emf.ecore.EObject context,
JvmLowerBound semanticObject)
Constraint: typeReference=JvmTypeReference |
protected void |
sequence_JvmParameterizedTypeReference(org.eclipse.emf.ecore.EObject context,
JvmParameterizedTypeReference semanticObject)
Constraint: (type=[JvmType|QualifiedName] (arguments+=JvmArgumentTypeReference arguments+=JvmArgumentTypeReference*)?) |
protected void |
sequence_JvmTypeParameter(org.eclipse.emf.ecore.EObject context,
JvmTypeParameter semanticObject)
Constraint: (name=ValidID ((constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*) | constraints+=JvmLowerBound)?) |
protected void |
sequence_JvmTypeReference(org.eclipse.emf.ecore.EObject context,
JvmGenericArrayTypeReference semanticObject)
Constraint: componentType=JvmTypeReference_JvmGenericArrayTypeReference_0_1_0_0 |
protected void |
sequence_JvmUpperBound(org.eclipse.emf.ecore.EObject context,
JvmUpperBound semanticObject)
Constraint: typeReference=JvmTypeReference |
protected void |
sequence_JvmUpperBoundAnded(org.eclipse.emf.ecore.EObject context,
JvmUpperBound semanticObject)
Constraint: typeReference=JvmTypeReference |
protected void |
sequence_JvmWildcardTypeReference(org.eclipse.emf.ecore.EObject context,
JvmWildcardTypeReference semanticObject)
Constraint: ((constraints+=JvmUpperBound | constraints+=JvmLowerBound)?) |
protected void |
sequence_Member_XtendField_2_0_0_XtendFunction_2_1_0(org.eclipse.emf.ecore.EObject context,
XtendMember semanticObject)
Constraint: annotations+=XAnnotation+ |
protected void |
sequence_Member(org.eclipse.emf.ecore.EObject context,
XtendField semanticObject)
Constraint: ( ( annotationInfo=Member_XtendField_2_0_0 visibility=Visibility? |
protected void |
sequence_Member(org.eclipse.emf.ecore.EObject context,
XtendFunction semanticObject)
Constraint: ( annotationInfo=Member_XtendFunction_2_1_0 override? |
protected void |
sequence_Parameter(org.eclipse.emf.ecore.EObject context,
XtendParameter semanticObject)
Constraint: (annotations+=XAnnotation* parameterType=JvmTypeReference name=ValidID) |
protected void |
sequence_RichString(org.eclipse.emf.ecore.EObject context,
RichString semanticObject)
Constraint: ( expressions+=RichStringLiteral | ( expressions+=RichStringLiteralStart expressions+=RichStringPart? |
protected void |
sequence_RichStringElseIf(org.eclipse.emf.ecore.EObject context,
RichStringElseIf semanticObject)
Constraint: (if=XExpression then=InternalRichString) |
protected void |
sequence_RichStringForLoop(org.eclipse.emf.ecore.EObject context,
RichStringForLoop semanticObject)
Constraint: ( declaredParam=JvmFormalParameter forExpression=XExpression before=XExpression? |
protected void |
sequence_RichStringIf(org.eclipse.emf.ecore.EObject context,
RichStringIf semanticObject)
Constraint: (if=XExpression then=InternalRichString elseIfs+=RichStringElseIf* else=InternalRichString?) |
protected void |
sequence_RichStringLiteral(org.eclipse.emf.ecore.EObject context,
RichStringLiteral semanticObject)
Constraint: value=RICH_TEXT |
protected void |
sequence_RichStringLiteralEnd(org.eclipse.emf.ecore.EObject context,
RichStringLiteral semanticObject)
Constraint: (value=RICH_TEXT_END | value=COMMENT_RICH_TEXT_END) |
protected void |
sequence_RichStringLiteralInbetween(org.eclipse.emf.ecore.EObject context,
RichStringLiteral semanticObject)
Constraint: (value=RICH_TEXT_INBETWEEN | value=COMMENT_RICH_TEXT_INBETWEEN) |
protected void |
sequence_RichStringLiteralStart(org.eclipse.emf.ecore.EObject context,
RichStringLiteral semanticObject)
Constraint: value=RICH_TEXT_START |
protected void |
sequence_RichStringPart(org.eclipse.emf.ecore.EObject context,
XNullLiteral semanticObject)
Constraint: {XNullLiteral} |
protected void |
sequence_SimpleStringLiteral(org.eclipse.emf.ecore.EObject context,
XStringLiteral semanticObject)
Constraint: value=STRING |
protected void |
sequence_XAdditiveExpression(org.eclipse.emf.ecore.EObject context,
XBinaryOperation semanticObject)
Constraint: ( (leftOperand=XAdditiveExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpAdd] rightOperand=XMultiplicativeExpression) | (leftOperand=XMultiplicativeExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpMulti] rightOperand=XUnaryOperation) | (leftOperand=XOtherOperatorExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpOther] rightOperand=XAdditiveExpression) | (leftOperand=XRelationalExpression_XBinaryOperation_1_1_0_0_0 feature=[JvmIdentifiableElement|OpCompare] rightOperand=XOtherOperatorExpression) | (leftOperand=XEqualityExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpEquality] rightOperand=XRelationalExpression) | (leftOperand=XAndExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpAnd] rightOperand=XEqualityExpression) | (leftOperand=XOrExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpOr] rightOperand=XAndExpression) | (leftOperand=XAssignment_XBinaryOperation_1_1_0_0_0 feature=[JvmIdentifiableElement|OpMultiAssign] rightOperand=XAssignment) ) |
protected void |
sequence_XAnnotation(org.eclipse.emf.ecore.EObject context,
XAnnotation semanticObject)
Constraint: ( annotationType=[JvmAnnotationType|QualifiedName] ((elementValuePairs+=XAnnotationElementValuePair elementValuePairs+=XAnnotationElementValuePair*) | value=XAnnotationElementValue)? |
protected void |
sequence_XAnnotationElementValuePair(org.eclipse.emf.ecore.EObject context,
XAnnotationElementValuePair semanticObject)
Constraint: (element=[JvmOperation|ValidID] value=XAnnotationElementValue) |
protected void |
sequence_XAnnotationElementValueStringConcatenation(org.eclipse.emf.ecore.EObject context,
XAnnotationElementValueBinaryOperation semanticObject)
Constraint: ( leftOperand=XAnnotationElementValueStringConcatenation_XAnnotationElementValueBinaryOperation_1_0 operator='+' rightOperand=XAnnotationElementValue ) |
protected void |
sequence_XAnnotationValueArray(org.eclipse.emf.ecore.EObject context,
XAnnotationValueArray semanticObject)
Constraint: (values+=XAnnotationElementValue values+=XAnnotationElementValue*) |
protected void |
sequence_XAnnotationValueFieldReference(org.eclipse.emf.ecore.EObject context,
XFeatureCall semanticObject)
Constraint: (declaringType=[JvmDeclaredType|StaticQualifier]? |
protected void |
sequence_XAssignment(org.eclipse.emf.ecore.EObject context,
XAssignment semanticObject)
Constraint: ( (feature=[JvmIdentifiableElement|ValidID] value=XAssignment) | (assignable=XMemberFeatureCall_XAssignment_1_0_0_0_0 feature=[JvmIdentifiableElement|ValidID] value=XAssignment) ) |
protected void |
sequence_XBlockExpression(org.eclipse.emf.ecore.EObject context,
XBlockExpression semanticObject)
Constraint: (expressions+=XExpressionInsideBlock*) |
protected void |
sequence_XBooleanLiteral(org.eclipse.emf.ecore.EObject context,
XBooleanLiteral semanticObject)
Constraint: (isTrue? |
protected void |
sequence_XCasePart(org.eclipse.emf.ecore.EObject context,
XCasePart semanticObject)
Constraint: (typeGuard=JvmTypeReference? |
protected void |
sequence_XCastedExpression(org.eclipse.emf.ecore.EObject context,
XCastedExpression semanticObject)
Constraint: (target=XCastedExpression_XCastedExpression_1_0_0_0 type=JvmTypeReference) |
protected void |
sequence_XCatchClause(org.eclipse.emf.ecore.EObject context,
XCatchClause semanticObject)
Constraint: (declaredParam=FullJvmFormalParameter expression=XExpression) |
protected void |
sequence_XClosure(org.eclipse.emf.ecore.EObject context,
XClosure semanticObject)
Constraint: ( ((declaredFormalParameters+=JvmFormalParameter declaredFormalParameters+=JvmFormalParameter*)? |
protected void |
sequence_XConstructorCall(org.eclipse.emf.ecore.EObject context,
XConstructorCall semanticObject)
Constraint: ( constructor=[JvmConstructor|QualifiedName] (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)? |
protected void |
sequence_XDoWhileExpression(org.eclipse.emf.ecore.EObject context,
XDoWhileExpression semanticObject)
Constraint: (body=XExpression predicate=XExpression) |
protected void |
sequence_XExpressionInClosure(org.eclipse.emf.ecore.EObject context,
XBlockExpression semanticObject)
Constraint: (expressions+=XExpressionInsideBlock*) |
protected void |
sequence_XFeatureCall(org.eclipse.emf.ecore.EObject context,
XFeatureCall semanticObject)
Constraint: ( declaringType=[JvmDeclaredType|StaticQualifier]? |
protected void |
sequence_XForLoopExpression(org.eclipse.emf.ecore.EObject context,
XForLoopExpression semanticObject)
Constraint: (declaredParam=JvmFormalParameter forExpression=XExpression eachExpression=XExpression) |
protected void |
sequence_XFunctionTypeRef(org.eclipse.emf.ecore.EObject context,
XFunctionTypeRef semanticObject)
Constraint: ((paramTypes+=JvmTypeReference paramTypes+=JvmTypeReference*)? |
protected void |
sequence_XIfExpression(org.eclipse.emf.ecore.EObject context,
XIfExpression semanticObject)
Constraint: (if=XExpression then=XExpression else=XExpression?) |
protected void |
sequence_XIntLiteral(org.eclipse.emf.ecore.EObject context,
XIntLiteral semanticObject)
Constraint: value=INT |
protected void |
sequence_XMemberFeatureCall(org.eclipse.emf.ecore.EObject context,
XMemberFeatureCall semanticObject)
Constraint: ( memberCallTarget=XMemberFeatureCall_XMemberFeatureCall_1_1_0_0_0 (nullSafe? |
protected void |
sequence_XRelationalExpression(org.eclipse.emf.ecore.EObject context,
XInstanceOfExpression semanticObject)
Constraint: (expression=XRelationalExpression_XInstanceOfExpression_1_0_0_0_0 type=[JvmType|QualifiedName]) |
protected void |
sequence_XReturnExpression(org.eclipse.emf.ecore.EObject context,
XReturnExpression semanticObject)
Constraint: (expression=XExpression?) |
protected void |
sequence_XShortClosure(org.eclipse.emf.ecore.EObject context,
XClosure semanticObject)
Constraint: ((declaredFormalParameters+=JvmFormalParameter declaredFormalParameters+=JvmFormalParameter*)? |
protected void |
sequence_XSwitchExpression(org.eclipse.emf.ecore.EObject context,
XSwitchExpression semanticObject)
Constraint: (localVarName=ValidID? |
protected void |
sequence_XThrowExpression(org.eclipse.emf.ecore.EObject context,
XThrowExpression semanticObject)
Constraint: expression=XExpression |
protected void |
sequence_XTryCatchFinallyExpression(org.eclipse.emf.ecore.EObject context,
XTryCatchFinallyExpression semanticObject)
Constraint: (expression=XExpression ((catchClauses+=XCatchClause+ finallyExpression=XExpression?) |
protected void |
sequence_XTypeLiteral(org.eclipse.emf.ecore.EObject context,
XTypeLiteral semanticObject)
Constraint: type=[JvmType|QualifiedName] |
protected void |
sequence_XUnaryOperation(org.eclipse.emf.ecore.EObject context,
XUnaryOperation semanticObject)
Constraint: (feature=[JvmIdentifiableElement|OpUnary] operand=XCastedExpression) |
protected void |
sequence_XVariableDeclaration(org.eclipse.emf.ecore.EObject context,
XVariableDeclaration semanticObject)
Constraint: (writeable? |
protected void |
sequence_XWhileExpression(org.eclipse.emf.ecore.EObject context,
XWhileExpression semanticObject)
Constraint: (predicate=XExpression body=XExpression) |
Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer |
---|
createNodeProvider, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Inject protected Xtend2GrammarAccess grammarAccess
@Inject protected ISemanticSequencerDiagnosticProvider diagnosticProvider
@Inject protected ITransientValueService transientValues
@Inject protected com.google.inject.Provider<ISemanticSequencer> genericSequencerProvider
protected ISemanticSequencer genericSequencer
@Inject protected com.google.inject.Provider<XbaseWithAnnotationsSemanticSequencer> superSequencerProvider
protected XbaseWithAnnotationsSemanticSequencer superSequencer
Constructor Detail |
---|
public AbstractXtend2SemanticSequencer()
Method Detail |
---|
public void init(ISemanticSequencer sequencer, ISemanticSequenceAcceptor sequenceAcceptor, ISerializationDiagnostic.Acceptor errorAcceptor)
init
in interface ISemanticSequencer
init
in class AbstractSemanticSequencer
public void createSequence(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EObject semanticObject)
protected void sequence_Class(org.eclipse.emf.ecore.EObject context, XtendClass semanticObject)
protected void sequence_CreateExtensionInfo(org.eclipse.emf.ecore.EObject context, CreateExtensionInfo semanticObject)
protected void sequence_File(org.eclipse.emf.ecore.EObject context, XtendFile semanticObject)
protected void sequence_FullJvmFormalParameter(org.eclipse.emf.ecore.EObject context, JvmFormalParameter semanticObject)
protected void sequence_Import(org.eclipse.emf.ecore.EObject context, XtendImport semanticObject)
protected void sequence_InternalRichString(org.eclipse.emf.ecore.EObject context, RichString semanticObject)
protected void sequence_JvmFormalParameter(org.eclipse.emf.ecore.EObject context, JvmFormalParameter semanticObject)
protected void sequence_JvmLowerBound(org.eclipse.emf.ecore.EObject context, JvmLowerBound semanticObject)
protected void sequence_JvmParameterizedTypeReference(org.eclipse.emf.ecore.EObject context, JvmParameterizedTypeReference semanticObject)
protected void sequence_JvmTypeParameter(org.eclipse.emf.ecore.EObject context, JvmTypeParameter semanticObject)
protected void sequence_JvmTypeReference(org.eclipse.emf.ecore.EObject context, JvmGenericArrayTypeReference semanticObject)
protected void sequence_JvmUpperBoundAnded(org.eclipse.emf.ecore.EObject context, JvmUpperBound semanticObject)
protected void sequence_JvmUpperBound(org.eclipse.emf.ecore.EObject context, JvmUpperBound semanticObject)
protected void sequence_JvmWildcardTypeReference(org.eclipse.emf.ecore.EObject context, JvmWildcardTypeReference semanticObject)
protected void sequence_Member(org.eclipse.emf.ecore.EObject context, XtendField semanticObject)
protected void sequence_Member_XtendField_2_0_0_XtendFunction_2_1_0(org.eclipse.emf.ecore.EObject context, XtendMember semanticObject)
protected void sequence_Member(org.eclipse.emf.ecore.EObject context, XtendFunction semanticObject)
protected void sequence_Parameter(org.eclipse.emf.ecore.EObject context, XtendParameter semanticObject)
protected void sequence_RichStringElseIf(org.eclipse.emf.ecore.EObject context, RichStringElseIf semanticObject)
protected void sequence_RichStringForLoop(org.eclipse.emf.ecore.EObject context, RichStringForLoop semanticObject)
protected void sequence_RichStringIf(org.eclipse.emf.ecore.EObject context, RichStringIf semanticObject)
protected void sequence_RichStringLiteralEnd(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
protected void sequence_RichStringLiteralInbetween(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
protected void sequence_RichStringLiteralStart(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
protected void sequence_RichStringLiteral(org.eclipse.emf.ecore.EObject context, RichStringLiteral semanticObject)
protected void sequence_RichStringPart(org.eclipse.emf.ecore.EObject context, XNullLiteral semanticObject)
protected void sequence_RichString(org.eclipse.emf.ecore.EObject context, RichString semanticObject)
protected void sequence_SimpleStringLiteral(org.eclipse.emf.ecore.EObject context, XStringLiteral semanticObject)
protected void sequence_XAdditiveExpression(org.eclipse.emf.ecore.EObject context, XBinaryOperation semanticObject)
protected void sequence_XAnnotationElementValuePair(org.eclipse.emf.ecore.EObject context, XAnnotationElementValuePair semanticObject)
protected void sequence_XAnnotationElementValueStringConcatenation(org.eclipse.emf.ecore.EObject context, XAnnotationElementValueBinaryOperation semanticObject)
protected void sequence_XAnnotationValueArray(org.eclipse.emf.ecore.EObject context, XAnnotationValueArray semanticObject)
protected void sequence_XAnnotationValueFieldReference(org.eclipse.emf.ecore.EObject context, XFeatureCall semanticObject)
protected void sequence_XAnnotation(org.eclipse.emf.ecore.EObject context, XAnnotation semanticObject)
protected void sequence_XAssignment(org.eclipse.emf.ecore.EObject context, XAssignment semanticObject)
protected void sequence_XBlockExpression(org.eclipse.emf.ecore.EObject context, XBlockExpression semanticObject)
protected void sequence_XBooleanLiteral(org.eclipse.emf.ecore.EObject context, XBooleanLiteral semanticObject)
protected void sequence_XCasePart(org.eclipse.emf.ecore.EObject context, XCasePart semanticObject)
protected void sequence_XCastedExpression(org.eclipse.emf.ecore.EObject context, XCastedExpression semanticObject)
protected void sequence_XCatchClause(org.eclipse.emf.ecore.EObject context, XCatchClause semanticObject)
protected void sequence_XClosure(org.eclipse.emf.ecore.EObject context, XClosure semanticObject)
protected void sequence_XConstructorCall(org.eclipse.emf.ecore.EObject context, XConstructorCall semanticObject)
protected void sequence_XDoWhileExpression(org.eclipse.emf.ecore.EObject context, XDoWhileExpression semanticObject)
protected void sequence_XExpressionInClosure(org.eclipse.emf.ecore.EObject context, XBlockExpression semanticObject)
protected void sequence_XFeatureCall(org.eclipse.emf.ecore.EObject context, XFeatureCall semanticObject)
protected void sequence_XForLoopExpression(org.eclipse.emf.ecore.EObject context, XForLoopExpression semanticObject)
protected void sequence_XFunctionTypeRef(org.eclipse.emf.ecore.EObject context, XFunctionTypeRef semanticObject)
protected void sequence_XIfExpression(org.eclipse.emf.ecore.EObject context, XIfExpression semanticObject)
protected void sequence_XIntLiteral(org.eclipse.emf.ecore.EObject context, XIntLiteral semanticObject)
protected void sequence_XMemberFeatureCall(org.eclipse.emf.ecore.EObject context, XMemberFeatureCall semanticObject)
protected void sequence_XRelationalExpression(org.eclipse.emf.ecore.EObject context, XInstanceOfExpression semanticObject)
protected void sequence_XReturnExpression(org.eclipse.emf.ecore.EObject context, XReturnExpression semanticObject)
protected void sequence_XShortClosure(org.eclipse.emf.ecore.EObject context, XClosure semanticObject)
protected void sequence_XSwitchExpression(org.eclipse.emf.ecore.EObject context, XSwitchExpression semanticObject)
protected void sequence_XThrowExpression(org.eclipse.emf.ecore.EObject context, XThrowExpression semanticObject)
protected void sequence_XTryCatchFinallyExpression(org.eclipse.emf.ecore.EObject context, XTryCatchFinallyExpression semanticObject)
protected void sequence_XTypeLiteral(org.eclipse.emf.ecore.EObject context, XTypeLiteral semanticObject)
protected void sequence_XUnaryOperation(org.eclipse.emf.ecore.EObject context, XUnaryOperation semanticObject)
protected void sequence_XVariableDeclaration(org.eclipse.emf.ecore.EObject context, XVariableDeclaration semanticObject)
protected void sequence_XWhileExpression(org.eclipse.emf.ecore.EObject context, XWhileExpression semanticObject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |