• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java Action类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.eclipse.xtext.Action的典型用法代码示例。如果您正苦于以下问题:Java Action类的具体用法?Java Action怎么用?Java Action使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Action类属于org.eclipse.xtext包,在下文中一共展示了Action类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: sequence

import org.eclipse.xtext.Action; //导入依赖的package包/类
@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));
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:19,代码来源:DslSemanticSequencer.java


示例2: sequence

import org.eclipse.xtext.Action; //导入依赖的package包/类
@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));
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:31,代码来源:PkmntcgoSemanticSequencer.java


示例3: sequence

import org.eclipse.xtext.Action; //导入依赖的package包/类
@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));
}
 
开发者ID:hristo-vrigazov,项目名称:bromium,代码行数:58,代码来源:BromiumSemanticSequencer.java


示例4: sequence

import org.eclipse.xtext.Action; //导入依赖的package包/类
@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));
}
 
开发者ID:vicegd,项目名称:org.xtext.dsl.restaurante,代码行数:46,代码来源:RestauranteSemanticSequencer.java


示例5: sequence_Action

import org.eclipse.xtext.Action; //导入依赖的package包/类
/**
 * 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);
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:11,代码来源:OCCISemanticSequencer.java


示例6: getEnvironmentVariableAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getEnvironmentVariableAction_0() { return cEnvironmentVariableAction_0; } 
开发者ID:mduft,项目名称:lcdsl,代码行数:2,代码来源:LcDslGrammarAccess.java


示例7: getAdditiveExpressionLhsAction_1_0_0_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getAdditiveExpressionLhsAction_1_0_0_0() { return cAdditiveExpressionLhsAction_1_0_0_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例8: getTrainerAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getTrainerAction_0() { return cTrainerAction_0; } 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:2,代码来源:PkmntcgoGrammarAccess.java


示例9: getEnergyAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getEnergyAction_0() { return cEnergyAction_0; } 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:2,代码来源:PkmntcgoGrammarAccess.java


示例10: getN4InterfaceDeclarationAction_0_0_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getN4InterfaceDeclarationAction_0_0_0() { return cN4InterfaceDeclarationAction_0_0_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例11: getPoliciesAction_0_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getPoliciesAction_0_0() { return cPoliciesAction_0_0; } 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:2,代码来源:DSLPoliciesGrammarAccess.java


示例12: getN4GetterDeclarationAction_0_0_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getN4GetterDeclarationAction_0_0_0() { return cN4GetterDeclarationAction_0_0_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例13: getCommaExpressionExprsAction_1_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getCommaExpressionExprsAction_1_0() { return cCommaExpressionExprsAction_1_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例14: getProvidedRuntimeLibrariesAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getProvidedRuntimeLibrariesAction_0() { return cProvidedRuntimeLibrariesAction_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4MFGrammarAccess.java


示例15: getTMethodAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getTMethodAction_0() { return cTMethodAction_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:TypesGrammarAccess.java


示例16: getBinaryLogicalExpressionLhsAction_1_0_0_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getBinaryLogicalExpressionLhsAction_1_0_0_0() { return cBinaryLogicalExpressionLhsAction_1_0_0_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例17: getPropertyAssignmentAnnotationListAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getPropertyAssignmentAnnotationListAction_0() { return cPropertyAssignmentAnnotationListAction_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例18: getTemplateLiteralAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getTemplateLiteralAction_0() { return cTemplateLiteralAction_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:N4JSGrammarAccess.java


示例19: getFunctionTypeExpressionAction_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getFunctionTypeExpressionAction_0() { return cFunctionTypeExpressionAction_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:TypeExpressionsGrammarAccess.java


示例20: getFunctionTypeExpressionAction_0_0_0

import org.eclipse.xtext.Action; //导入依赖的package包/类
public Action getFunctionTypeExpressionAction_0_0_0() { return cFunctionTypeExpressionAction_0_0_0; } 
开发者ID:eclipse,项目名称:n4js,代码行数:2,代码来源:TypeExpressionsGrammarAccess.java



注:本文中的org.eclipse.xtext.Action类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java VarArgsSQLFunction类代码示例发布时间:2022-05-21
下一篇:
Java UnavailableException类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap