Java 类org.eclipse.xtext.Action 实例源码

项目:gemoc-studio    文件:DslSemanticSequencer.java   
@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
    EPackage epackage = semanticObject.eClass().getEPackage();
    ParserRule rule = context.getParserRule();
    Action action = context.getAssignedAction();
    Set<Parameter> parameters = context.getEnabledBooleanParameters();
    if (epackage == DslPackage.eINSTANCE)
        switch (semanticObject.eClass().getClassifierID()) {
        case DslPackage.DSL:
            sequence_Dsl(context, (Dsl) semanticObject); 
            return; 
        case DslPackage.ENTRY:
            sequence_Entry(context, (Entry) semanticObject); 
            return; 
        }
    if (errorAcceptor != null)
        errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
项目:pokemon-tcgo-deck-generator    文件:PkmntcgoSemanticSequencer.java   
@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
    EPackage epackage = semanticObject.eClass().getEPackage();
    ParserRule rule = context.getParserRule();
    Action action = context.getAssignedAction();
    Set<Parameter> parameters = context.getEnabledBooleanParameters();
    if (epackage == PkmntcgoPackage.eINSTANCE)
        switch (semanticObject.eClass().getClassifierID()) {
        case PkmntcgoPackage.CARD:
            sequence_Card(context, (Card) semanticObject); 
            return; 
        case PkmntcgoPackage.DECK:
            sequence_Deck(context, (Deck) semanticObject); 
            return; 
        case PkmntcgoPackage.DECKS:
            sequence_Decks(context, (Decks) semanticObject); 
            return; 
        case PkmntcgoPackage.ENERGY:
            sequence_Energy(context, (Energy) semanticObject); 
            return; 
        case PkmntcgoPackage.POKEMON:
            sequence_Pokemon(context, (Pokemon) semanticObject); 
            return; 
        case PkmntcgoPackage.TRAINER:
            sequence_Trainer(context, (Trainer) semanticObject); 
            return; 
        }
    if (errorAcceptor != null)
        errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
项目:bromium    文件:BromiumSemanticSequencer.java   
@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
    EPackage epackage = semanticObject.eClass().getEPackage();
    ParserRule rule = context.getParserRule();
    Action action = context.getAssignedAction();
    Set<Parameter> parameters = context.getEnabledBooleanParameters();
    if (epackage == BromiumPackage.eINSTANCE)
        switch (semanticObject.eClass().getClassifierID()) {
        case BromiumPackage.APPLICATION_ACTION:
            sequence_ApplicationAction(context, (ApplicationAction) semanticObject); 
            return; 
        case BromiumPackage.CLICK_CLASS_BY_TEXT:
            sequence_ClickClassByText(context, (ClickClassByText) semanticObject); 
            return; 
        case BromiumPackage.CLICK_CSS_SELECTOR:
            sequence_ClickCssSelector(context, (ClickCssSelector) semanticObject); 
            return; 
        case BromiumPackage.ELEMENT_BY_CSS_TO_BE_PRESENT:
            sequence_ElementByCssToBePresent(context, (ElementByCssToBePresent) semanticObject); 
            return; 
        case BromiumPackage.EXPECT_HTTP_REQUEST:
            sequence_ExpectHttpRequest(context, (ExpectHttpRequest) semanticObject); 
            return; 
        case BromiumPackage.EXPOSED_PARAMETER:
            sequence_ExposedParameter(context, (ExposedParameter) semanticObject); 
            return; 
        case BromiumPackage.MODEL:
            sequence_Model(context, (Model) semanticObject); 
            return; 
        case BromiumPackage.PAGE_LOAD:
            sequence_PageLoad(context, (PageLoad) semanticObject); 
            return; 
        case BromiumPackage.PARAMETER_VALUE:
            sequence_ParameterValue(context, (ParameterValue) semanticObject); 
            return; 
        case BromiumPackage.POSTCONDITION:
            sequence_Postcondition(context, (Postcondition) semanticObject); 
            return; 
        case BromiumPackage.PRECONDITION:
            sequence_Precondition(context, (Precondition) semanticObject); 
            return; 
        case BromiumPackage.SYNTAX_DEFINITION:
            sequence_SyntaxDefinition(context, (SyntaxDefinition) semanticObject); 
            return; 
        case BromiumPackage.TEXT_OF_ELEMENT_WITH_CSS_SELECTOR_TO_BE:
            sequence_TextOfElementWithCssSelectorToBe(context, (TextOfElementWithCssSelectorToBe) semanticObject); 
            return; 
        case BromiumPackage.THREE_DOTTED_VERSION:
            sequence_ThreeDottedVersion(context, (ThreeDottedVersion) semanticObject); 
            return; 
        case BromiumPackage.TYPE_TEXT_IN_ELEMENT_FOUND_BY_CSS_SELECTOR:
            sequence_TypeTextInElementFoundByCssSelector(context, (TypeTextInElementFoundByCssSelector) semanticObject); 
            return; 
        }
    if (errorAcceptor != null)
        errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
项目:org.xtext.dsl.restaurante    文件:RestauranteSemanticSequencer.java   
@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
    EPackage epackage = semanticObject.eClass().getEPackage();
    ParserRule rule = context.getParserRule();
    Action action = context.getAssignedAction();
    Set<Parameter> parameters = context.getEnabledBooleanParameters();
    if (epackage == RestaurantePackage.eINSTANCE)
        switch (semanticObject.eClass().getClassifierID()) {
        case RestaurantePackage.BEBIDA_CALIENTE:
            sequence_BebidaCaliente(context, (BebidaCaliente) semanticObject); 
            return; 
        case RestaurantePackage.BEBIDA_FRIA:
            sequence_BebidaFria(context, (BebidaFria) semanticObject); 
            return; 
        case RestaurantePackage.COMPLEMENTO:
            sequence_Complemento(context, (Complemento) semanticObject); 
            return; 
        case RestaurantePackage.INGREDIENTE:
            sequence_Ingrediente(context, (Ingrediente) semanticObject); 
            return; 
        case RestaurantePackage.MENU:
            sequence_Menu(context, (Menu) semanticObject); 
            return; 
        case RestaurantePackage.NUTRICIONAL:
            sequence_Nutricional(context, (Nutricional) semanticObject); 
            return; 
        case RestaurantePackage.POSTRE:
            sequence_Postre(context, (Postre) semanticObject); 
            return; 
        case RestaurantePackage.PRINCIPAL:
            sequence_Principal(context, (Principal) semanticObject); 
            return; 
        case RestaurantePackage.PRODUCTO_O:
            sequence_ProductoO(context, (ProductoO) semanticObject); 
            return; 
        case RestaurantePackage.PRODUCTO_Y:
            sequence_ProductoY(context, (ProductoY) semanticObject); 
            return; 
        case RestaurantePackage.RESTAURANTE:
            sequence_Restaurante(context, (Restaurante) semanticObject); 
            return; 
        }
    if (errorAcceptor != null)
        errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
项目:OCCI-Studio    文件:OCCISemanticSequencer.java   
/**
 * Contexts:
 *     Action returns Action
 *
 * Constraint:
 *     (name=NameID (attributes+=ParameterDecl attributes+=ParameterDecl*)? title=STRING? (annotations+=Annotation annotations+=Annotation*)?)
 */
protected void sequence_Action(ISerializationContext context, org.eclipse.cmf.occi.core.Action semanticObject) {
    genericSequencer.createSequence(context, semanticObject);
}
项目:lcdsl    文件:LcDslGrammarAccess.java   
public Action getEnvironmentVariableAction_0() { return cEnvironmentVariableAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getAdditiveExpressionLhsAction_1_0_0_0() { return cAdditiveExpressionLhsAction_1_0_0_0; }
项目:pokemon-tcgo-deck-generator    文件:PkmntcgoGrammarAccess.java   
public Action getTrainerAction_0() { return cTrainerAction_0; }
项目:pokemon-tcgo-deck-generator    文件:PkmntcgoGrammarAccess.java   
public Action getEnergyAction_0() { return cEnergyAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getN4InterfaceDeclarationAction_0_0_0() { return cN4InterfaceDeclarationAction_0_0_0; }
项目:gw4e.project    文件:DSLPoliciesGrammarAccess.java   
public Action getPoliciesAction_0_0() { return cPoliciesAction_0_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getN4GetterDeclarationAction_0_0_0() { return cN4GetterDeclarationAction_0_0_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getCommaExpressionExprsAction_1_0() { return cCommaExpressionExprsAction_1_0; }
项目:n4js    文件:N4MFGrammarAccess.java   
public Action getProvidedRuntimeLibrariesAction_0() { return cProvidedRuntimeLibrariesAction_0; }
项目:n4js    文件:TypesGrammarAccess.java   
public Action getTMethodAction_0() { return cTMethodAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getBinaryLogicalExpressionLhsAction_1_0_0_0() { return cBinaryLogicalExpressionLhsAction_1_0_0_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getPropertyAssignmentAnnotationListAction_0() { return cPropertyAssignmentAnnotationListAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getTemplateLiteralAction_0() { return cTemplateLiteralAction_0; }
项目:n4js    文件:TypeExpressionsGrammarAccess.java   
public Action getFunctionTypeExpressionAction_0() { return cFunctionTypeExpressionAction_0; }
项目:n4js    文件:TypeExpressionsGrammarAccess.java   
public Action getFunctionTypeExpressionAction_0_0_0() { return cFunctionTypeExpressionAction_0_0_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getMultiplicativeExpressionLhsAction_1_0_0_0() { return cMultiplicativeExpressionLhsAction_1_0_0_0; }
项目:n4js    文件:TypeExpressionsGrammarAccess.java   
public Action getIntersectionTypeExpressionAction_0() { return cIntersectionTypeExpressionAction_0; }
项目:n4js    文件:TypeExpressionsGrammarAccess.java   
public Action getTStructMethodAction_0_0_0() { return cTStructMethodAction_0_0_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getArrayBindingPatternAction_0() { return cArrayBindingPatternAction_0; }
项目:n4js    文件:TypeExpressionsGrammarAccess.java   
public Action getTypeTypeRefAction_0() { return cTypeTypeRefAction_0; }
项目:lcdsl    文件:LcDslGrammarAccess.java   
public Action getVmArgumentAction_0() { return cVmArgumentAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getN4ClassDeclarationAction_0_0_0() { return cN4ClassDeclarationAction_0_0_0; }
项目:lcdsl    文件:LcDslGrammarAccess.java   
public Action getClearOptionAction_0() { return cClearOptionAction_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getDisjunctionAction_1_0() { return cDisjunctionAction_1_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getTemplateSegmentAction_0() { return cTemplateSegmentAction_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getLineStartAction_0() { return cLineStartAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getN4EnumDeclarationAction_0_0_0() { return cN4EnumDeclarationAction_0_0_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getBinaryBitwiseExpressionLhsAction_1_0_0_0() { return cBinaryBitwiseExpressionLhsAction_1_0_0_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getLookAheadAction_0() { return cLookAheadAction_0; }
项目:n4js    文件:N4JSGrammarAccess.java   
public Action getN4MethodDeclarationAction_0_0_0() { return cN4MethodDeclarationAction_0_0_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getCharacterClassAction_0() { return cCharacterClassAction_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getCharacterClassRangeLeftAction_1_0_0() { return cCharacterClassRangeLeftAction_1_0_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getBackspaceAction_0() { return cBackspaceAction_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getGroupAction_0() { return cGroupAction_0; }
项目:n4js    文件:RegularExpressionGrammarAccess.java   
public Action getExactQuantifierAction_0() { return cExactQuantifierAction_0; }