use of org.eclipse.emf.ecore.EObject in project applause by applause.
the class InternalApplauseDslParser method ruleUIComponentMemberCall.
// $ANTLR end "entryRuleUIComponentMemberCall"
// $ANTLR start "ruleUIComponentMemberCall"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2667:1: ruleUIComponentMemberCall returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) )? ) ;
public final EObject ruleUIComponentMemberCall() throws RecognitionException {
EObject current = null;
Token otherlv_0 = null;
Token otherlv_1 = null;
Token otherlv_2 = null;
enterRule();
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2670:28: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) )? ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2671:1: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) )? )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2671:1: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) )? )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2671:2: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) )?
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2671:2: ( (otherlv_0= RULE_ID ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2672:1: (otherlv_0= RULE_ID )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2672:1: (otherlv_0= RULE_ID )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2673:3: otherlv_0= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getUIComponentMemberCallRule());
}
otherlv_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUIComponentMemberCall6032);
newLeafNode(otherlv_0, grammarAccess.getUIComponentMemberCallAccess().getComponentUIComponentMemberDeclarationCrossReference_0_0());
}
}
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2684:2: (otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) )?
int alt42 = 2;
int LA42_0 = input.LA(1);
if ((LA42_0 == 32)) {
alt42 = 1;
}
switch(alt42) {
case 1:
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2684:4: otherlv_1= '.' ( (otherlv_2= RULE_ID ) )
{
otherlv_1 = (Token) match(input, 32, FOLLOW_32_in_ruleUIComponentMemberCall6045);
newLeafNode(otherlv_1, grammarAccess.getUIComponentMemberCallAccess().getFullStopKeyword_1_0());
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2688:1: ( (otherlv_2= RULE_ID ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2689:1: (otherlv_2= RULE_ID )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2689:1: (otherlv_2= RULE_ID )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2690:3: otherlv_2= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getUIComponentMemberCallRule());
}
otherlv_2 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUIComponentMemberCall6065);
newLeafNode(otherlv_2, grammarAccess.getUIComponentMemberCallAccess().getMemberUIComponentMemberDeclarationCrossReference_1_1_0());
}
}
}
break;
}
}
}
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 ruleScreenSection.
// $ANTLR end "entryRuleScreenSection"
// $ANTLR start "ruleScreenSection"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1643:1: ruleScreenSection returns [EObject current=null] : (otherlv_0= 'section' otherlv_1= '{' (otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) ) )? (otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) ) )? ( (lv_items_8_0= ruleScreenSectionItems ) ) otherlv_9= '}' ) ;
public final EObject ruleScreenSection() throws RecognitionException {
EObject current = null;
Token otherlv_0 = null;
Token otherlv_1 = null;
Token otherlv_2 = null;
Token otherlv_3 = null;
Token lv_title_4_0 = null;
Token otherlv_5 = null;
Token otherlv_6 = null;
Token otherlv_9 = null;
EObject lv_datasource_7_0 = null;
EObject lv_items_8_0 = null;
enterRule();
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1646:28: ( (otherlv_0= 'section' otherlv_1= '{' (otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) ) )? (otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) ) )? ( (lv_items_8_0= ruleScreenSectionItems ) ) otherlv_9= '}' ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1647:1: (otherlv_0= 'section' otherlv_1= '{' (otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) ) )? (otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) ) )? ( (lv_items_8_0= ruleScreenSectionItems ) ) otherlv_9= '}' )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1647:1: (otherlv_0= 'section' otherlv_1= '{' (otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) ) )? (otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) ) )? ( (lv_items_8_0= ruleScreenSectionItems ) ) otherlv_9= '}' )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1647:3: otherlv_0= 'section' otherlv_1= '{' (otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) ) )? (otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) ) )? ( (lv_items_8_0= ruleScreenSectionItems ) ) otherlv_9= '}'
{
otherlv_0 = (Token) match(input, 14, FOLLOW_14_in_ruleScreenSection3739);
newLeafNode(otherlv_0, grammarAccess.getScreenSectionAccess().getSectionKeyword_0());
otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleScreenSection3751);
newLeafNode(otherlv_1, grammarAccess.getScreenSectionAccess().getLeftCurlyBracketKeyword_1());
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1655:1: (otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) ) )?
int alt27 = 2;
int LA27_0 = input.LA(1);
if ((LA27_0 == 11)) {
alt27 = 1;
}
switch(alt27) {
case 1:
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1655:3: otherlv_2= 'title' otherlv_3= '=' ( (lv_title_4_0= RULE_STRING ) )
{
otherlv_2 = (Token) match(input, 11, FOLLOW_11_in_ruleScreenSection3764);
newLeafNode(otherlv_2, grammarAccess.getScreenSectionAccess().getTitleKeyword_2_0());
otherlv_3 = (Token) match(input, 34, FOLLOW_34_in_ruleScreenSection3776);
newLeafNode(otherlv_3, grammarAccess.getScreenSectionAccess().getEqualsSignKeyword_2_1());
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1663:1: ( (lv_title_4_0= RULE_STRING ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1664:1: (lv_title_4_0= RULE_STRING )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1664:1: (lv_title_4_0= RULE_STRING )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1665:3: lv_title_4_0= RULE_STRING
{
lv_title_4_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleScreenSection3793);
newLeafNode(lv_title_4_0, grammarAccess.getScreenSectionAccess().getTitleSTRINGTerminalRuleCall_2_2_0());
if (current == null) {
current = createModelElement(grammarAccess.getScreenSectionRule());
}
setWithLastConsumed(current, "title", lv_title_4_0, "STRING");
}
}
}
break;
}
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1681:4: (otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) ) )?
int alt28 = 2;
int LA28_0 = input.LA(1);
if ((LA28_0 == 24)) {
alt28 = 1;
}
switch(alt28) {
case 1:
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1681:6: otherlv_5= 'datasource' otherlv_6= '=' ( (lv_datasource_7_0= ruleDataSourceCall ) )
{
otherlv_5 = (Token) match(input, 24, FOLLOW_24_in_ruleScreenSection3813);
newLeafNode(otherlv_5, grammarAccess.getScreenSectionAccess().getDatasourceKeyword_3_0());
otherlv_6 = (Token) match(input, 34, FOLLOW_34_in_ruleScreenSection3825);
newLeafNode(otherlv_6, grammarAccess.getScreenSectionAccess().getEqualsSignKeyword_3_1());
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1689:1: ( (lv_datasource_7_0= ruleDataSourceCall ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1690:1: (lv_datasource_7_0= ruleDataSourceCall )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1690:1: (lv_datasource_7_0= ruleDataSourceCall )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1691:3: lv_datasource_7_0= ruleDataSourceCall
{
newCompositeNode(grammarAccess.getScreenSectionAccess().getDatasourceDataSourceCallParserRuleCall_3_2_0());
pushFollow(FOLLOW_ruleDataSourceCall_in_ruleScreenSection3846);
lv_datasource_7_0 = ruleDataSourceCall();
state._fsp--;
if (current == null) {
current = createModelElementForParent(grammarAccess.getScreenSectionRule());
}
set(current, "datasource", lv_datasource_7_0, "DataSourceCall");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1707:4: ( (lv_items_8_0= ruleScreenSectionItems ) )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1708:1: (lv_items_8_0= ruleScreenSectionItems )
{
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1708:1: (lv_items_8_0= ruleScreenSectionItems )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1709:3: lv_items_8_0= ruleScreenSectionItems
{
newCompositeNode(grammarAccess.getScreenSectionAccess().getItemsScreenSectionItemsParserRuleCall_4_0());
pushFollow(FOLLOW_ruleScreenSectionItems_in_ruleScreenSection3869);
lv_items_8_0 = ruleScreenSectionItems();
state._fsp--;
if (current == null) {
current = createModelElementForParent(grammarAccess.getScreenSectionRule());
}
set(current, "items", lv_items_8_0, "ScreenSectionItems");
afterParserOrEnumRuleCall();
}
}
otherlv_9 = (Token) match(input, 20, FOLLOW_20_in_ruleScreenSection3881);
newLeafNode(otherlv_9, grammarAccess.getScreenSectionAccess().getRightCurlyBracketKeyword_5());
}
}
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 entryRuleUIActionSpecification.
// $ANTLR end "ruleUIAction"
// $ANTLR start "entryRuleUIActionSpecification"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2136:1: entryRuleUIActionSpecification returns [EObject current=null] : iv_ruleUIActionSpecification= ruleUIActionSpecification EOF ;
public final EObject entryRuleUIActionSpecification() throws RecognitionException {
EObject current = null;
EObject iv_ruleUIActionSpecification = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2137:2: (iv_ruleUIActionSpecification= ruleUIActionSpecification EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2138:2: iv_ruleUIActionSpecification= ruleUIActionSpecification EOF
{
newCompositeNode(grammarAccess.getUIActionSpecificationRule());
pushFollow(FOLLOW_ruleUIActionSpecification_in_entryRuleUIActionSpecification4774);
iv_ruleUIActionSpecification = ruleUIActionSpecification();
state._fsp--;
current = iv_ruleUIActionSpecification;
match(input, EOF, FOLLOW_EOF_in_entryRuleUIActionSpecification4784);
}
} 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 entryRuleUIComponentMemberCall.
// $ANTLR end "ruleUIComponentMemberConfiguration"
// $ANTLR start "entryRuleUIComponentMemberCall"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2658:1: entryRuleUIComponentMemberCall returns [EObject current=null] : iv_ruleUIComponentMemberCall= ruleUIComponentMemberCall EOF ;
public final EObject entryRuleUIComponentMemberCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleUIComponentMemberCall = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2659:2: (iv_ruleUIComponentMemberCall= ruleUIComponentMemberCall EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2660:2: iv_ruleUIComponentMemberCall= ruleUIComponentMemberCall EOF
{
newCompositeNode(grammarAccess.getUIComponentMemberCallRule());
pushFollow(FOLLOW_ruleUIComponentMemberCall_in_entryRuleUIComponentMemberCall5977);
iv_ruleUIComponentMemberCall = ruleUIComponentMemberCall();
state._fsp--;
current = iv_ruleUIComponentMemberCall;
match(input, EOF, FOLLOW_EOF_in_entryRuleUIComponentMemberCall5987);
}
} 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 entryRuleUIComponentDeclaration.
// $ANTLR end "ruleListItemCellDeclaration"
// $ANTLR start "entryRuleUIComponentDeclaration"
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2359:1: entryRuleUIComponentDeclaration returns [EObject current=null] : iv_ruleUIComponentDeclaration= ruleUIComponentDeclaration EOF ;
public final EObject entryRuleUIComponentDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleUIComponentDeclaration = null;
try {
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2360:2: (iv_ruleUIComponentDeclaration= ruleUIComponentDeclaration EOF )
// ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:2361:2: iv_ruleUIComponentDeclaration= ruleUIComponentDeclaration EOF
{
newCompositeNode(grammarAccess.getUIComponentDeclarationRule());
pushFollow(FOLLOW_ruleUIComponentDeclaration_in_entryRuleUIComponentDeclaration5314);
iv_ruleUIComponentDeclaration = ruleUIComponentDeclaration();
state._fsp--;
current = iv_ruleUIComponentDeclaration;
match(input, EOF, FOLLOW_EOF_in_entryRuleUIComponentDeclaration5324);
}
} catch (RecognitionException re) {
recover(input, re);
appendSkippedTokens();
} finally {
}
return current;
}
Aggregations