use of org.eclipse.emf.ecore.EObject in project applause by applause.
the class InternalApplauseDslParser method entryRuleNamedElement.
// $ANTLR end "ruleModel"
// $ANTLR start "entryRuleNamedElement"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:107:1: entryRuleNamedElement returns [EObject current=null] : iv_ruleNamedElement= ruleNamedElement EOF ;
public final EObject entryRuleNamedElement() throws RecognitionException {
EObject current = null;
EObject iv_ruleNamedElement = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:108:2: (iv_ruleNamedElement= ruleNamedElement EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:109:2: iv_ruleNamedElement= ruleNamedElement EOF
{
newCompositeNode(grammarAccess.getNamedElementRule());
pushFollow(FOLLOW_ruleNamedElement_in_entryRuleNamedElement166);
iv_ruleNamedElement = ruleNamedElement();
state._fsp--;
current = iv_ruleNamedElement;
match(input, EOF, FOLLOW_EOF_in_entryRuleNamedElement176);
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project applause by applause.
the class InternalApplauseDslParser method ruleUIActionNavigateAction.
// $ANTLR end "entryRuleUIActionNavigateAction"
// $ANTLR start "ruleUIActionNavigateAction"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2185:1: ruleUIActionNavigateAction returns [EObject current=null] : ( () ( (otherlv_1= RULE_ID ) ) otherlv_2= '.' ( (lv_actionVerb_3_0= ruleActionVerb ) ) otherlv_4= '(' ( (otherlv_5= RULE_ID ) )? otherlv_6= ')' ) ;
public final EObject ruleUIActionNavigateAction() throws RecognitionException {
EObject current = null;
Token otherlv_1 = null;
Token otherlv_2 = null;
Token otherlv_4 = null;
Token otherlv_5 = null;
Token otherlv_6 = null;
Enumerator lv_actionVerb_3_0 = null;
enterRule();
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2188:28: ( ( () ( (otherlv_1= RULE_ID ) ) otherlv_2= '.' ( (lv_actionVerb_3_0= ruleActionVerb ) ) otherlv_4= '(' ( (otherlv_5= RULE_ID ) )? otherlv_6= ')' ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2189:1: ( () ( (otherlv_1= RULE_ID ) ) otherlv_2= '.' ( (lv_actionVerb_3_0= ruleActionVerb ) ) otherlv_4= '(' ( (otherlv_5= RULE_ID ) )? otherlv_6= ')' )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2189:1: ( () ( (otherlv_1= RULE_ID ) ) otherlv_2= '.' ( (lv_actionVerb_3_0= ruleActionVerb ) ) otherlv_4= '(' ( (otherlv_5= RULE_ID ) )? otherlv_6= ')' )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2189:2: () ( (otherlv_1= RULE_ID ) ) otherlv_2= '.' ( (lv_actionVerb_3_0= ruleActionVerb ) ) otherlv_4= '(' ( (otherlv_5= RULE_ID ) )? otherlv_6= ')'
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2189:2: ()
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2190:5:
{
current = forceCreateModelElement(grammarAccess.getUIActionNavigateActionAccess().getUIActionNavigateActionAction_0(), current);
}
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2195:2: ( (otherlv_1= RULE_ID ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2196:1: (otherlv_1= RULE_ID )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2196:1: (otherlv_1= RULE_ID )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2197:3: otherlv_1= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getUIActionNavigateActionRule());
}
otherlv_1 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUIActionNavigateAction4957);
newLeafNode(otherlv_1, grammarAccess.getUIActionNavigateActionAccess().getTargetScreenScreenCrossReference_1_0());
}
}
otherlv_2 = (Token) match(input, 32, FOLLOW_32_in_ruleUIActionNavigateAction4969);
newLeafNode(otherlv_2, grammarAccess.getUIActionNavigateActionAccess().getFullStopKeyword_2());
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2212:1: ( (lv_actionVerb_3_0= ruleActionVerb ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2213:1: (lv_actionVerb_3_0= ruleActionVerb )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2213:1: (lv_actionVerb_3_0= ruleActionVerb )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2214:3: lv_actionVerb_3_0= ruleActionVerb
{
newCompositeNode(grammarAccess.getUIActionNavigateActionAccess().getActionVerbActionVerbEnumRuleCall_3_0());
pushFollow(FOLLOW_ruleActionVerb_in_ruleUIActionNavigateAction4990);
lv_actionVerb_3_0 = ruleActionVerb();
state._fsp--;
if (current == null) {
current = createModelElementForParent(grammarAccess.getUIActionNavigateActionRule());
}
set(current, "actionVerb", lv_actionVerb_3_0, "ActionVerb");
afterParserOrEnumRuleCall();
}
}
otherlv_4 = (Token) match(input, 27, FOLLOW_27_in_ruleUIActionNavigateAction5002);
newLeafNode(otherlv_4, grammarAccess.getUIActionNavigateActionAccess().getLeftParenthesisKeyword_4());
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2234:1: ( (otherlv_5= RULE_ID ) )?
int alt39 = 2;
int LA39_0 = input.LA(1);
if ((LA39_0 == RULE_ID)) {
alt39 = 1;
}
switch(alt39) {
case 1:
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2235:1: (otherlv_5= RULE_ID )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2235:1: (otherlv_5= RULE_ID )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2236:3: otherlv_5= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getUIActionNavigateActionRule());
}
otherlv_5 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUIActionNavigateAction5022);
newLeafNode(otherlv_5, grammarAccess.getUIActionNavigateActionAccess().getVariableReferrableElementCrossReference_5_0());
}
}
break;
}
otherlv_6 = (Token) match(input, 29, FOLLOW_29_in_ruleUIActionNavigateAction5035);
newLeafNode(otherlv_6, grammarAccess.getUIActionNavigateActionAccess().getRightParenthesisKeyword_6());
}
}
leaveRule();
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project applause by applause.
the class InternalApplauseDslParser method entryRuleDataSourceBodySpecification.
// $ANTLR end "ruleRESTSpecification"
// $ANTLR start "entryRuleDataSourceBodySpecification"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:979:1: entryRuleDataSourceBodySpecification returns [EObject current=null] : iv_ruleDataSourceBodySpecification= ruleDataSourceBodySpecification EOF ;
public final EObject entryRuleDataSourceBodySpecification() throws RecognitionException {
EObject current = null;
EObject iv_ruleDataSourceBodySpecification = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:980:2: (iv_ruleDataSourceBodySpecification= ruleDataSourceBodySpecification EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:981:2: iv_ruleDataSourceBodySpecification= ruleDataSourceBodySpecification EOF
{
newCompositeNode(grammarAccess.getDataSourceBodySpecificationRule());
pushFollow(FOLLOW_ruleDataSourceBodySpecification_in_entryRuleDataSourceBodySpecification2178);
iv_ruleDataSourceBodySpecification = ruleDataSourceBodySpecification();
state._fsp--;
current = iv_ruleDataSourceBodySpecification;
match(input, EOF, FOLLOW_EOF_in_entryRuleDataSourceBodySpecification2188);
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project applause by applause.
the class InternalApplauseDslParser method entryRuleTypeMapping.
// $ANTLR end "rulePlatformMapping"
// $ANTLR start "entryRuleTypeMapping"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:600:1: entryRuleTypeMapping returns [EObject current=null] : iv_ruleTypeMapping= ruleTypeMapping EOF ;
public final EObject entryRuleTypeMapping() throws RecognitionException {
EObject current = null;
EObject iv_ruleTypeMapping = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:601:2: (iv_ruleTypeMapping= ruleTypeMapping EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:602:2: iv_ruleTypeMapping= ruleTypeMapping EOF
{
newCompositeNode(grammarAccess.getTypeMappingRule());
pushFollow(FOLLOW_ruleTypeMapping_in_entryRuleTypeMapping1411);
iv_ruleTypeMapping = ruleTypeMapping();
state._fsp--;
current = iv_ruleTypeMapping;
match(input, EOF, FOLLOW_EOF_in_entryRuleTypeMapping1421);
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
use of org.eclipse.emf.ecore.EObject in project applause by applause.
the class InternalApplauseDslParser method entryRuleDataSourceAccessMethod.
// $ANTLR end "ruleDataSource"
// $ANTLR start "entryRuleDataSourceAccessMethod"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:776:1: entryRuleDataSourceAccessMethod returns [EObject current=null] : iv_ruleDataSourceAccessMethod= ruleDataSourceAccessMethod EOF ;
public final EObject entryRuleDataSourceAccessMethod() throws RecognitionException {
EObject current = null;
EObject iv_ruleDataSourceAccessMethod = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:777:2: (iv_ruleDataSourceAccessMethod= ruleDataSourceAccessMethod EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:778:2: iv_ruleDataSourceAccessMethod= ruleDataSourceAccessMethod EOF
{
newCompositeNode(grammarAccess.getDataSourceAccessMethodRule());
pushFollow(FOLLOW_ruleDataSourceAccessMethod_in_entryRuleDataSourceAccessMethod1788);
iv_ruleDataSourceAccessMethod = ruleDataSourceAccessMethod();
state._fsp--;
current = iv_ruleDataSourceAccessMethod;
match(input, EOF, FOLLOW_EOF_in_entryRuleDataSourceAccessMethod1798);
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
Aggregations