/* * generated by Xtext */ package org.eclipse.amalgam.tutorials.xtext.services; import com.google.inject.Singleton; import com.google.inject.Inject; import org.eclipse.xtext.*; import org.eclipse.xtext.service.GrammarProvider; import org.eclipse.xtext.service.AbstractElementFinder.*; import org.eclipse.xtext.common.services.TerminalsGrammarAccess; @Singleton public class DroidGrammarAccess extends AbstractGrammarElementFinder { public class ApplicationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Application"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cApplicationKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameSTRINGTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignGreaterThanSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cPackageNameAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cPackageNameQualifiedNameParserRuleCall_3_0 = (RuleCall)cPackageNameAssignment_3.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5); private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0); private final Keyword cVersionKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); private final Assignment cVersionCodeAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); private final RuleCall cVersionCodeINTTerminalRuleCall_5_0_1_0 = (RuleCall)cVersionCodeAssignment_5_0_1.eContents().get(0); private final Keyword cEqualsSignGreaterThanSignKeyword_5_0_2 = (Keyword)cGroup_5_0.eContents().get(2); private final Assignment cVersionNameAssignment_5_0_3 = (Assignment)cGroup_5_0.eContents().get(3); private final RuleCall cVersionNameSTRINGTerminalRuleCall_5_0_3_0 = (RuleCall)cVersionNameAssignment_5_0_3.eContents().get(0); private final Assignment cSdkVersionAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1); private final RuleCall cSdkVersionApplicationUsesSDKParserRuleCall_5_1_0 = (RuleCall)cSdkVersionAssignment_5_1.eContents().get(0); private final Alternatives cAlternatives_6 = (Alternatives)cGroup.eContents().get(6); private final Assignment cResourcesAssignment_6_0 = (Assignment)cAlternatives_6.eContents().get(0); private final RuleCall cResourcesResourceParserRuleCall_6_0_0 = (RuleCall)cResourcesAssignment_6_0.eContents().get(0); private final Assignment cActivitiesAssignment_6_1 = (Assignment)cAlternatives_6.eContents().get(1); private final RuleCall cActivitiesActivityParserRuleCall_6_1_0 = (RuleCall)cActivitiesAssignment_6_1.eContents().get(0); private final Assignment cLayoutsAssignment_6_2 = (Assignment)cAlternatives_6.eContents().get(2); private final RuleCall cLayoutsLayoutParserRuleCall_6_2_0 = (RuleCall)cLayoutsAssignment_6_2.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); ////generate droid "http://www.eclipse.org/amalgam/tutorials/xtext/Droid" ////The ammount of available RAM to the JVM is a restriction to the ////DSL generation. The usage of unordered groups tend to increase the RAM needed ////in order to generate the language ////Debug is a big problem. For example, if you forget to add an & during the ////definition of a unordered-Group yout WILL get memory problems ////(stack overflows, heap out of memory, etc) /// ****************************************************************************** // * Application // ****************************************************************************** /Application: // "application" name=STRING "=>" packageName=QualifiedName "{" (("version:" versionCode=INT "=>" versionName=STRING)? & // sdkVersion=ApplicationUsesSDK?) (resources+=Resource | activities+=Activity | layouts+=Layout)+ "}"; public ParserRule getRule() { return rule; } //"application" name=STRING "=>" packageName=QualifiedName "{" (("version:" versionCode=INT "=>" versionName=STRING)? & //sdkVersion=ApplicationUsesSDK?) (resources+=Resource | activities+=Activity | layouts+=Layout)+ "}" public Group getGroup() { return cGroup; } //"application" public Keyword getApplicationKeyword_0() { return cApplicationKeyword_0; } //name=STRING public Assignment getNameAssignment_1() { return cNameAssignment_1; } //STRING public RuleCall getNameSTRINGTerminalRuleCall_1_0() { return cNameSTRINGTerminalRuleCall_1_0; } //"=>" public Keyword getEqualsSignGreaterThanSignKeyword_2() { return cEqualsSignGreaterThanSignKeyword_2; } //packageName=QualifiedName public Assignment getPackageNameAssignment_3() { return cPackageNameAssignment_3; } //QualifiedName public RuleCall getPackageNameQualifiedNameParserRuleCall_3_0() { return cPackageNameQualifiedNameParserRuleCall_3_0; } //"{" public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } //("version:" versionCode=INT "=>" versionName=STRING)? & sdkVersion=ApplicationUsesSDK? public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } //("version:" versionCode=INT "=>" versionName=STRING)? public Group getGroup_5_0() { return cGroup_5_0; } //"version:" public Keyword getVersionKeyword_5_0_0() { return cVersionKeyword_5_0_0; } //versionCode=INT public Assignment getVersionCodeAssignment_5_0_1() { return cVersionCodeAssignment_5_0_1; } //INT public RuleCall getVersionCodeINTTerminalRuleCall_5_0_1_0() { return cVersionCodeINTTerminalRuleCall_5_0_1_0; } //"=>" public Keyword getEqualsSignGreaterThanSignKeyword_5_0_2() { return cEqualsSignGreaterThanSignKeyword_5_0_2; } //versionName=STRING public Assignment getVersionNameAssignment_5_0_3() { return cVersionNameAssignment_5_0_3; } //STRING public RuleCall getVersionNameSTRINGTerminalRuleCall_5_0_3_0() { return cVersionNameSTRINGTerminalRuleCall_5_0_3_0; } //sdkVersion=ApplicationUsesSDK? public Assignment getSdkVersionAssignment_5_1() { return cSdkVersionAssignment_5_1; } //ApplicationUsesSDK public RuleCall getSdkVersionApplicationUsesSDKParserRuleCall_5_1_0() { return cSdkVersionApplicationUsesSDKParserRuleCall_5_1_0; } //(resources+=Resource | activities+=Activity | layouts+=Layout)+ public Alternatives getAlternatives_6() { return cAlternatives_6; } //resources+=Resource public Assignment getResourcesAssignment_6_0() { return cResourcesAssignment_6_0; } //Resource public RuleCall getResourcesResourceParserRuleCall_6_0_0() { return cResourcesResourceParserRuleCall_6_0_0; } //activities+=Activity public Assignment getActivitiesAssignment_6_1() { return cActivitiesAssignment_6_1; } //Activity public RuleCall getActivitiesActivityParserRuleCall_6_1_0() { return cActivitiesActivityParserRuleCall_6_1_0; } //layouts+=Layout public Assignment getLayoutsAssignment_6_2() { return cLayoutsAssignment_6_2; } //Layout public RuleCall getLayoutsLayoutParserRuleCall_6_2_0() { return cLayoutsLayoutParserRuleCall_6_2_0; } //"}" public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class ApplicationUsesSDKElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ApplicationUsesSDK"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cSdkKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Action cApplicationUsesSDKAction_2 = (Action)cGroup.eContents().get(2); private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); private final Keyword cMinKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); private final Assignment cMinSdkVersionAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); private final RuleCall cMinSdkVersionINTTerminalRuleCall_3_0_1_0 = (RuleCall)cMinSdkVersionAssignment_3_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2); private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); private final Keyword cMaxKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); private final Assignment cMaxSdkVersionAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); private final RuleCall cMaxSdkVersionINTTerminalRuleCall_3_1_1_0 = (RuleCall)cMaxSdkVersionAssignment_3_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); private final Keyword cTargetKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); private final Assignment cTargetSdkVersionAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); private final RuleCall cTargetSdkVersionINTTerminalRuleCall_3_2_1_0 = (RuleCall)cTargetSdkVersionAssignment_3_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_2 = (Keyword)cGroup_3_2.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //ApplicationUsesSDK: // "sdk:" "{" {ApplicationUsesSDK} (("min:" minSdkVersion=INT ";")? & ("max:" maxSdkVersion=INT ";")? & ("target:" // targetSdkVersion=INT ";")?) "}"; public ParserRule getRule() { return rule; } //"sdk:" "{" {ApplicationUsesSDK} (("min:" minSdkVersion=INT ";")? & ("max:" maxSdkVersion=INT ";")? & ("target:" //targetSdkVersion=INT ";")?) "}" public Group getGroup() { return cGroup; } //"sdk:" public Keyword getSdkKeyword_0() { return cSdkKeyword_0; } //"{" public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } //{ApplicationUsesSDK} public Action getApplicationUsesSDKAction_2() { return cApplicationUsesSDKAction_2; } //("min:" minSdkVersion=INT ";")? & ("max:" maxSdkVersion=INT ";")? & ("target:" targetSdkVersion=INT ";")? public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } //("min:" minSdkVersion=INT ";")? public Group getGroup_3_0() { return cGroup_3_0; } //"min:" public Keyword getMinKeyword_3_0_0() { return cMinKeyword_3_0_0; } //minSdkVersion=INT public Assignment getMinSdkVersionAssignment_3_0_1() { return cMinSdkVersionAssignment_3_0_1; } //INT public RuleCall getMinSdkVersionINTTerminalRuleCall_3_0_1_0() { return cMinSdkVersionINTTerminalRuleCall_3_0_1_0; } //";" public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } //("max:" maxSdkVersion=INT ";")? public Group getGroup_3_1() { return cGroup_3_1; } //"max:" public Keyword getMaxKeyword_3_1_0() { return cMaxKeyword_3_1_0; } //maxSdkVersion=INT public Assignment getMaxSdkVersionAssignment_3_1_1() { return cMaxSdkVersionAssignment_3_1_1; } //INT public RuleCall getMaxSdkVersionINTTerminalRuleCall_3_1_1_0() { return cMaxSdkVersionINTTerminalRuleCall_3_1_1_0; } //";" public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } //("target:" targetSdkVersion=INT ";")? public Group getGroup_3_2() { return cGroup_3_2; } //"target:" public Keyword getTargetKeyword_3_2_0() { return cTargetKeyword_3_2_0; } //targetSdkVersion=INT public Assignment getTargetSdkVersionAssignment_3_2_1() { return cTargetSdkVersionAssignment_3_2_1; } //INT public RuleCall getTargetSdkVersionINTTerminalRuleCall_3_2_1_0() { return cTargetSdkVersionINTTerminalRuleCall_3_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_2() { return cSemicolonKeyword_3_2_2; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class ResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Resource"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cValueResourceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cMenuResourceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //Resource: // ValueResource | MenuResource; public ParserRule getRule() { return rule; } //ValueResource | MenuResource public Alternatives getAlternatives() { return cAlternatives; } //ValueResource public RuleCall getValueResourceParserRuleCall_0() { return cValueResourceParserRuleCall_0; } //MenuResource public RuleCall getMenuResourceParserRuleCall_1() { return cMenuResourceParserRuleCall_1; } } public class LayoutElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Layout"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cAbstractLinearLayoutParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cRelativeLayoutParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cTabHostParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cFrameLayoutParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); //Layout: // AbstractLinearLayout | RelativeLayout | TabHost | //| SlideDrawer | AdapterView // // FrameLayout; public ParserRule getRule() { return rule; } //AbstractLinearLayout | RelativeLayout | TabHost | //| SlideDrawer | AdapterView // //FrameLayout public Alternatives getAlternatives() { return cAlternatives; } //AbstractLinearLayout public RuleCall getAbstractLinearLayoutParserRuleCall_0() { return cAbstractLinearLayoutParserRuleCall_0; } //RelativeLayout public RuleCall getRelativeLayoutParserRuleCall_1() { return cRelativeLayoutParserRuleCall_1; } //TabHost public RuleCall getTabHostParserRuleCall_2() { return cTabHostParserRuleCall_2; } ////| SlideDrawer | AdapterView // //FrameLayout public RuleCall getFrameLayoutParserRuleCall_3() { return cFrameLayoutParserRuleCall_3; } } public class AbstractActivityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractActivity"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cActivityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); private final Assignment cReferencedLayoutAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); private final CrossReference cReferencedLayoutLayoutCrossReference_1_0_0 = (CrossReference)cReferencedLayoutAssignment_1_0.eContents().get(0); private final RuleCall cReferencedLayoutLayoutIDTerminalRuleCall_1_0_0_1 = (RuleCall)cReferencedLayoutLayoutCrossReference_1_0_0.eContents().get(1); private final Assignment cWidgetsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cWidgetsViewCollectionParserRuleCall_1_1_0 = (RuleCall)cWidgetsAssignment_1_1.eContents().get(0); /// ****************************************************************************** // * Activities // ****************************************************************************** ///TODO: change widgets to viewCollection //AbstractActivity: // Activity | referencedLayout=[Layout] widgets=ViewCollection; public ParserRule getRule() { return rule; } //Activity | referencedLayout=[Layout] widgets=ViewCollection public Alternatives getAlternatives() { return cAlternatives; } //Activity public RuleCall getActivityParserRuleCall_0() { return cActivityParserRuleCall_0; } //referencedLayout=[Layout] widgets=ViewCollection public Group getGroup_1() { return cGroup_1; } //referencedLayout=[Layout] public Assignment getReferencedLayoutAssignment_1_0() { return cReferencedLayoutAssignment_1_0; } //[Layout] public CrossReference getReferencedLayoutLayoutCrossReference_1_0_0() { return cReferencedLayoutLayoutCrossReference_1_0_0; } //ID public RuleCall getReferencedLayoutLayoutIDTerminalRuleCall_1_0_0_1() { return cReferencedLayoutLayoutIDTerminalRuleCall_1_0_0_1; } //widgets=ViewCollection public Assignment getWidgetsAssignment_1_1() { return cWidgetsAssignment_1_1; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_1_1_0() { return cWidgetsViewCollectionParserRuleCall_1_1_0; } } public class ActivityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Activity"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cGenericActivityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cListActivityParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cTabActivityParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); //Activity: // GenericActivity | ListActivity | TabActivity; public ParserRule getRule() { return rule; } //GenericActivity | ListActivity | TabActivity public Alternatives getAlternatives() { return cAlternatives; } //GenericActivity public RuleCall getGenericActivityParserRuleCall_0() { return cGenericActivityParserRuleCall_0; } //ListActivity public RuleCall getListActivityParserRuleCall_1() { return cListActivityParserRuleCall_1; } //TabActivity public RuleCall getTabActivityParserRuleCall_2() { return cTabActivityParserRuleCall_2; } } public class GenericActivityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "GenericActivity"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cScreenKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0); private final Keyword cLayoutKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); private final Assignment cReferencedLayoutAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); private final CrossReference cReferencedLayoutLayoutCrossReference_3_0_1_0 = (CrossReference)cReferencedLayoutAssignment_3_0_1.eContents().get(0); private final RuleCall cReferencedLayoutLayoutIDTerminalRuleCall_3_0_1_0_1 = (RuleCall)cReferencedLayoutLayoutCrossReference_3_0_1_0.eContents().get(1); private final Assignment cWidgetsAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); private final RuleCall cWidgetsViewCollectionParserRuleCall_3_1_0 = (RuleCall)cWidgetsAssignment_3_1.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //GenericActivity: // "screen" name=QualifiedName "{" ("layout:" referencedLayout=[Layout] | widgets=ViewCollection) //(actions+=Action)* // "}"; public ParserRule getRule() { return rule; } //"screen" name=QualifiedName "{" ("layout:" referencedLayout=[Layout] | widgets=ViewCollection) //(actions+=Action)* //"}" public Group getGroup() { return cGroup; } //"screen" public Keyword getScreenKeyword_0() { return cScreenKeyword_0; } //name=QualifiedName public Assignment getNameAssignment_1() { return cNameAssignment_1; } //QualifiedName public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //"layout:" referencedLayout=[Layout] | widgets=ViewCollection public Alternatives getAlternatives_3() { return cAlternatives_3; } //"layout:" referencedLayout=[Layout] public Group getGroup_3_0() { return cGroup_3_0; } //"layout:" public Keyword getLayoutKeyword_3_0_0() { return cLayoutKeyword_3_0_0; } //referencedLayout=[Layout] public Assignment getReferencedLayoutAssignment_3_0_1() { return cReferencedLayoutAssignment_3_0_1; } //[Layout] public CrossReference getReferencedLayoutLayoutCrossReference_3_0_1_0() { return cReferencedLayoutLayoutCrossReference_3_0_1_0; } //ID public RuleCall getReferencedLayoutLayoutIDTerminalRuleCall_3_0_1_0_1() { return cReferencedLayoutLayoutIDTerminalRuleCall_3_0_1_0_1; } //widgets=ViewCollection public Assignment getWidgetsAssignment_3_1() { return cWidgetsAssignment_3_1; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_3_1_0() { return cWidgetsViewCollectionParserRuleCall_3_1_0; } ////(actions+=Action)* //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class ViewCollectionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ViewCollection"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cViewsAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cViewsViewParserRuleCall_1_0 = (RuleCall)cViewsAssignment_1.eContents().get(0); //ViewCollection: // ("#" views+=View)+; public ParserRule getRule() { return rule; } //("#" views+=View)+ public Group getGroup() { return cGroup; } //"#" public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } //views+=View public Assignment getViewsAssignment_1() { return cViewsAssignment_1; } //View public RuleCall getViewsViewParserRuleCall_1_0() { return cViewsViewParserRuleCall_1_0; } } public class ListActivityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ListActivity"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cListActivityKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Keyword cDataKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cDataSourceAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cDataSourceIDTerminalRuleCall_4_0 = (RuleCall)cDataSourceAssignment_4.eContents().get(0); private final Alternatives cAlternatives_5 = (Alternatives)cGroup.eContents().get(5); private final Group cGroup_5_0 = (Group)cAlternatives_5.eContents().get(0); private final Keyword cLayoutKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); private final Assignment cReferencedLayoutAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); private final CrossReference cReferencedLayoutLayoutCrossReference_5_0_1_0 = (CrossReference)cReferencedLayoutAssignment_5_0_1.eContents().get(0); private final RuleCall cReferencedLayoutLayoutIDTerminalRuleCall_5_0_1_0_1 = (RuleCall)cReferencedLayoutLayoutCrossReference_5_0_1_0.eContents().get(1); private final Assignment cWidgetsAssignment_5_1 = (Assignment)cAlternatives_5.eContents().get(1); private final RuleCall cWidgetsViewCollectionParserRuleCall_5_1_0 = (RuleCall)cWidgetsAssignment_5_1.eContents().get(0); private final Keyword cItemKeyword_6 = (Keyword)cGroup.eContents().get(6); private final Assignment cItemLayoutAssignment_7 = (Assignment)cGroup.eContents().get(7); private final CrossReference cItemLayoutLayoutCrossReference_7_0 = (CrossReference)cItemLayoutAssignment_7.eContents().get(0); private final RuleCall cItemLayoutLayoutIDTerminalRuleCall_7_0_1 = (RuleCall)cItemLayoutLayoutCrossReference_7_0.eContents().get(1); private final Assignment cActionsAssignment_8 = (Assignment)cGroup.eContents().get(8); private final RuleCall cActionsActionParserRuleCall_8_0 = (RuleCall)cActionsAssignment_8.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_9 = (Keyword)cGroup.eContents().get(9); ////NOT tested //ListActivity: // "listActivity" name=QualifiedName "{" "data:" dataSource=ID ("layout:" referencedLayout=[Layout] | // widgets=ViewCollection)? "item:" itemLayout=[Layout] actions+=Action* "}"; public ParserRule getRule() { return rule; } //"listActivity" name=QualifiedName "{" "data:" dataSource=ID ("layout:" referencedLayout=[Layout] | //widgets=ViewCollection)? "item:" itemLayout=[Layout] actions+=Action* "}" public Group getGroup() { return cGroup; } //"listActivity" public Keyword getListActivityKeyword_0() { return cListActivityKeyword_0; } //name=QualifiedName public Assignment getNameAssignment_1() { return cNameAssignment_1; } //QualifiedName public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //"data:" public Keyword getDataKeyword_3() { return cDataKeyword_3; } //dataSource=ID public Assignment getDataSourceAssignment_4() { return cDataSourceAssignment_4; } //ID public RuleCall getDataSourceIDTerminalRuleCall_4_0() { return cDataSourceIDTerminalRuleCall_4_0; } //("layout:" referencedLayout=[Layout] | widgets=ViewCollection)? public Alternatives getAlternatives_5() { return cAlternatives_5; } //"layout:" referencedLayout=[Layout] public Group getGroup_5_0() { return cGroup_5_0; } //"layout:" public Keyword getLayoutKeyword_5_0_0() { return cLayoutKeyword_5_0_0; } //referencedLayout=[Layout] public Assignment getReferencedLayoutAssignment_5_0_1() { return cReferencedLayoutAssignment_5_0_1; } //[Layout] public CrossReference getReferencedLayoutLayoutCrossReference_5_0_1_0() { return cReferencedLayoutLayoutCrossReference_5_0_1_0; } //ID public RuleCall getReferencedLayoutLayoutIDTerminalRuleCall_5_0_1_0_1() { return cReferencedLayoutLayoutIDTerminalRuleCall_5_0_1_0_1; } //widgets=ViewCollection public Assignment getWidgetsAssignment_5_1() { return cWidgetsAssignment_5_1; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_5_1_0() { return cWidgetsViewCollectionParserRuleCall_5_1_0; } //"item:" public Keyword getItemKeyword_6() { return cItemKeyword_6; } //itemLayout=[Layout] public Assignment getItemLayoutAssignment_7() { return cItemLayoutAssignment_7; } //[Layout] public CrossReference getItemLayoutLayoutCrossReference_7_0() { return cItemLayoutLayoutCrossReference_7_0; } //ID public RuleCall getItemLayoutLayoutIDTerminalRuleCall_7_0_1() { return cItemLayoutLayoutIDTerminalRuleCall_7_0_1; } //actions+=Action* public Assignment getActionsAssignment_8() { return cActionsAssignment_8; } //Action public RuleCall getActionsActionParserRuleCall_8_0() { return cActionsActionParserRuleCall_8_0; } //"}" public Keyword getRightCurlyBracketKeyword_9() { return cRightCurlyBracketKeyword_9; } } public class TabActivityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TabActivity"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTabActivityKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameQualifiedNameParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0); private final Keyword cLayoutKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); private final Assignment cReferencedLayoutAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); private final CrossReference cReferencedLayoutLayoutCrossReference_3_0_1_0 = (CrossReference)cReferencedLayoutAssignment_3_0_1.eContents().get(0); private final RuleCall cReferencedLayoutLayoutIDTerminalRuleCall_3_0_1_0_1 = (RuleCall)cReferencedLayoutLayoutCrossReference_3_0_1_0.eContents().get(1); private final Assignment cWidgetsAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); private final RuleCall cWidgetsViewCollectionParserRuleCall_3_1_0 = (RuleCall)cWidgetsAssignment_3_1.eContents().get(0); private final Assignment cTabsAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cTabsTabParserRuleCall_4_0 = (RuleCall)cTabsAssignment_4.eContents().get(0); private final Assignment cActionsAssignment_5 = (Assignment)cGroup.eContents().get(5); private final RuleCall cActionsActionParserRuleCall_5_0 = (RuleCall)cActionsAssignment_5.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); ////NOT tested //TabActivity: // "tabActivity" name=QualifiedName "{" ("layout:" referencedLayout=[Layout] | widgets=ViewCollection)? tabs+=Tab+ // actions+=Action* "}"; public ParserRule getRule() { return rule; } //"tabActivity" name=QualifiedName "{" ("layout:" referencedLayout=[Layout] | widgets=ViewCollection)? tabs+=Tab+ //actions+=Action* "}" public Group getGroup() { return cGroup; } //"tabActivity" public Keyword getTabActivityKeyword_0() { return cTabActivityKeyword_0; } //name=QualifiedName public Assignment getNameAssignment_1() { return cNameAssignment_1; } //QualifiedName public RuleCall getNameQualifiedNameParserRuleCall_1_0() { return cNameQualifiedNameParserRuleCall_1_0; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //("layout:" referencedLayout=[Layout] | widgets=ViewCollection)? public Alternatives getAlternatives_3() { return cAlternatives_3; } //"layout:" referencedLayout=[Layout] public Group getGroup_3_0() { return cGroup_3_0; } //"layout:" public Keyword getLayoutKeyword_3_0_0() { return cLayoutKeyword_3_0_0; } //referencedLayout=[Layout] public Assignment getReferencedLayoutAssignment_3_0_1() { return cReferencedLayoutAssignment_3_0_1; } //[Layout] public CrossReference getReferencedLayoutLayoutCrossReference_3_0_1_0() { return cReferencedLayoutLayoutCrossReference_3_0_1_0; } //ID public RuleCall getReferencedLayoutLayoutIDTerminalRuleCall_3_0_1_0_1() { return cReferencedLayoutLayoutIDTerminalRuleCall_3_0_1_0_1; } //widgets=ViewCollection public Assignment getWidgetsAssignment_3_1() { return cWidgetsAssignment_3_1; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_3_1_0() { return cWidgetsViewCollectionParserRuleCall_3_1_0; } //tabs+=Tab+ public Assignment getTabsAssignment_4() { return cTabsAssignment_4; } //Tab public RuleCall getTabsTabParserRuleCall_4_0() { return cTabsTabParserRuleCall_4_0; } //actions+=Action* public Assignment getActionsAssignment_5() { return cActionsAssignment_5; } //Action public RuleCall getActionsActionParserRuleCall_5_0() { return cActionsActionParserRuleCall_5_0; } //"}" public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } public class TabElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Tab"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTabKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cCaptionAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cCaptionStringVAParserRuleCall_1_0 = (RuleCall)cCaptionAssignment_1.eContents().get(0); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameQualifiedNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final UnorderedGroup cUnorderedGroup_4 = (UnorderedGroup)cGroup.eContents().get(4); private final Group cGroup_4_0 = (Group)cUnorderedGroup_4.eContents().get(0); private final Keyword cIconKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0); private final Assignment cIconAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1); private final RuleCall cIconDrawableRAParserRuleCall_4_0_1_0 = (RuleCall)cIconAssignment_4_0_1.eContents().get(0); private final Group cGroup_4_1 = (Group)cUnorderedGroup_4.eContents().get(1); private final Keyword cSelectedIconKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); private final Assignment cSelectedIconAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); private final RuleCall cSelectedIconDrawableRAParserRuleCall_4_1_1_0 = (RuleCall)cSelectedIconAssignment_4_1_1.eContents().get(0); private final Group cGroup_4_2 = (Group)cUnorderedGroup_4.eContents().get(2); private final Keyword cActivityKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0); private final Assignment cActivityAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1); private final CrossReference cActivityActivityCrossReference_4_2_1_0 = (CrossReference)cActivityAssignment_4_2_1.eContents().get(0); private final RuleCall cActivityActivityQualifiedNameParserRuleCall_4_2_1_0_1 = (RuleCall)cActivityActivityCrossReference_4_2_1_0.eContents().get(1); private final Group cGroup_4_3 = (Group)cUnorderedGroup_4.eContents().get(3); private final Keyword cLayoutKeyword_4_3_0 = (Keyword)cGroup_4_3.eContents().get(0); private final Assignment cLayoutAssignment_4_3_1 = (Assignment)cGroup_4_3.eContents().get(1); private final CrossReference cLayoutLayoutCrossReference_4_3_1_0 = (CrossReference)cLayoutAssignment_4_3_1.eContents().get(0); private final RuleCall cLayoutLayoutIDTerminalRuleCall_4_3_1_0_1 = (RuleCall)cLayoutLayoutCrossReference_4_3_1_0.eContents().get(1); private final Assignment cActionsAssignment_5 = (Assignment)cGroup.eContents().get(5); private final RuleCall cActionsActionParserRuleCall_5_0 = (RuleCall)cActionsAssignment_5.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); ////NOT tested //Tab: // "tab:" caption=StringVA name=QualifiedName? "{" (("icon:" icon=DrawableRA)? & ("selectedIcon:" // selectedIcon=DrawableRA)? & ("activity:" activity=[Activity|QualifiedName])? & ("layout:" layout=[Layout])?) // actions+=Action* "}"; public ParserRule getRule() { return rule; } //"tab:" caption=StringVA name=QualifiedName? "{" (("icon:" icon=DrawableRA)? & ("selectedIcon:" selectedIcon=DrawableRA)? //& ("activity:" activity=[Activity|QualifiedName])? & ("layout:" layout=[Layout])?) actions+=Action* "}" public Group getGroup() { return cGroup; } //"tab:" public Keyword getTabKeyword_0() { return cTabKeyword_0; } //caption=StringVA public Assignment getCaptionAssignment_1() { return cCaptionAssignment_1; } //StringVA public RuleCall getCaptionStringVAParserRuleCall_1_0() { return cCaptionStringVAParserRuleCall_1_0; } //name=QualifiedName? public Assignment getNameAssignment_2() { return cNameAssignment_2; } //QualifiedName public RuleCall getNameQualifiedNameParserRuleCall_2_0() { return cNameQualifiedNameParserRuleCall_2_0; } //"{" public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //("icon:" icon=DrawableRA)? & ("selectedIcon:" selectedIcon=DrawableRA)? & ("activity:" //activity=[Activity|QualifiedName])? & ("layout:" layout=[Layout])? public UnorderedGroup getUnorderedGroup_4() { return cUnorderedGroup_4; } //("icon:" icon=DrawableRA)? public Group getGroup_4_0() { return cGroup_4_0; } //"icon:" public Keyword getIconKeyword_4_0_0() { return cIconKeyword_4_0_0; } //icon=DrawableRA public Assignment getIconAssignment_4_0_1() { return cIconAssignment_4_0_1; } //DrawableRA public RuleCall getIconDrawableRAParserRuleCall_4_0_1_0() { return cIconDrawableRAParserRuleCall_4_0_1_0; } //("selectedIcon:" selectedIcon=DrawableRA)? public Group getGroup_4_1() { return cGroup_4_1; } //"selectedIcon:" public Keyword getSelectedIconKeyword_4_1_0() { return cSelectedIconKeyword_4_1_0; } //selectedIcon=DrawableRA public Assignment getSelectedIconAssignment_4_1_1() { return cSelectedIconAssignment_4_1_1; } //DrawableRA public RuleCall getSelectedIconDrawableRAParserRuleCall_4_1_1_0() { return cSelectedIconDrawableRAParserRuleCall_4_1_1_0; } //("activity:" activity=[Activity|QualifiedName])? public Group getGroup_4_2() { return cGroup_4_2; } //"activity:" public Keyword getActivityKeyword_4_2_0() { return cActivityKeyword_4_2_0; } //activity=[Activity|QualifiedName] public Assignment getActivityAssignment_4_2_1() { return cActivityAssignment_4_2_1; } //[Activity|QualifiedName] public CrossReference getActivityActivityCrossReference_4_2_1_0() { return cActivityActivityCrossReference_4_2_1_0; } //QualifiedName public RuleCall getActivityActivityQualifiedNameParserRuleCall_4_2_1_0_1() { return cActivityActivityQualifiedNameParserRuleCall_4_2_1_0_1; } //("layout:" layout=[Layout])? public Group getGroup_4_3() { return cGroup_4_3; } //"layout:" public Keyword getLayoutKeyword_4_3_0() { return cLayoutKeyword_4_3_0; } //layout=[Layout] public Assignment getLayoutAssignment_4_3_1() { return cLayoutAssignment_4_3_1; } //[Layout] public CrossReference getLayoutLayoutCrossReference_4_3_1_0() { return cLayoutLayoutCrossReference_4_3_1_0; } //ID public RuleCall getLayoutLayoutIDTerminalRuleCall_4_3_1_0_1() { return cLayoutLayoutIDTerminalRuleCall_4_3_1_0_1; } //actions+=Action* public Assignment getActionsAssignment_5() { return cActionsAssignment_5; } //Action public RuleCall getActionsActionParserRuleCall_5_0() { return cActionsActionParserRuleCall_5_0; } //"}" public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } public class ActionSetElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActionSet"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cActionsKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cActionsAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cActionsActionParserRuleCall_2_0 = (RuleCall)cActionsAssignment_2.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); //// ////Actions //// //ActionSet: // "actions:" "{" actions+=Action+ "}"; public ParserRule getRule() { return rule; } //"actions:" "{" actions+=Action+ "}" public Group getGroup() { return cGroup; } //"actions:" public Keyword getActionsKeyword_0() { return cActionsKeyword_0; } //"{" public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } //actions+=Action+ public Assignment getActionsAssignment_2() { return cActionsAssignment_2; } //Action public RuleCall getActionsActionParserRuleCall_2_0() { return cActionsActionParserRuleCall_2_0; } //"}" public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } } public class ActionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Action"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cEqualsSignGreaterThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final RuleCall cGoToURLActionParserRuleCall_1_0 = (RuleCall)cAlternatives_1.eContents().get(0); private final RuleCall cShowLayoutActionParserRuleCall_1_1 = (RuleCall)cAlternatives_1.eContents().get(1); private final RuleCall cInvokeActivityActionParserRuleCall_1_2 = (RuleCall)cAlternatives_1.eContents().get(2); //// => (invoke second_activity) //Action: // "=>" (GoToURLAction / *| LoadResourceAction| LoadURLAction * / | ShowLayoutAction | InvokeActivityAction); public ParserRule getRule() { return rule; } //"=>" (GoToURLAction / *| LoadResourceAction| LoadURLAction * / | ShowLayoutAction | InvokeActivityAction) public Group getGroup() { return cGroup; } //"=>" public Keyword getEqualsSignGreaterThanSignKeyword_0() { return cEqualsSignGreaterThanSignKeyword_0; } //GoToURLAction / *| LoadResourceAction| LoadURLAction * / | ShowLayoutAction | InvokeActivityAction public Alternatives getAlternatives_1() { return cAlternatives_1; } //GoToURLAction public RuleCall getGoToURLActionParserRuleCall_1_0() { return cGoToURLActionParserRuleCall_1_0; } //ShowLayoutAction public RuleCall getShowLayoutActionParserRuleCall_1_1() { return cShowLayoutActionParserRuleCall_1_1; } //InvokeActivityAction public RuleCall getInvokeActivityActionParserRuleCall_1_2() { return cInvokeActivityActionParserRuleCall_1_2; } } public class GoToURLActionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "GoToURLAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cGoToKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cUrlAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cUrlSTRINGTerminalRuleCall_1_0 = (RuleCall)cUrlAssignment_1.eContents().get(0); ////NOT tested //GoToURLAction: // "goTo" url=STRING; public ParserRule getRule() { return rule; } //"goTo" url=STRING public Group getGroup() { return cGroup; } //"goTo" public Keyword getGoToKeyword_0() { return cGoToKeyword_0; } //url=STRING public Assignment getUrlAssignment_1() { return cUrlAssignment_1; } //STRING public RuleCall getUrlSTRINGTerminalRuleCall_1_0() { return cUrlSTRINGTerminalRuleCall_1_0; } } public class ShowLayoutActionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ShowLayoutAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cShowKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cLayoutAssignment_1 = (Assignment)cGroup.eContents().get(1); private final CrossReference cLayoutLayoutCrossReference_1_0 = (CrossReference)cLayoutAssignment_1.eContents().get(0); private final RuleCall cLayoutLayoutIDTerminalRuleCall_1_0_1 = (RuleCall)cLayoutLayoutCrossReference_1_0.eContents().get(1); ////NOT tested //ShowLayoutAction: // "show" layout=[Layout]; public ParserRule getRule() { return rule; } //"show" layout=[Layout] public Group getGroup() { return cGroup; } //"show" public Keyword getShowKeyword_0() { return cShowKeyword_0; } //layout=[Layout] public Assignment getLayoutAssignment_1() { return cLayoutAssignment_1; } //[Layout] public CrossReference getLayoutLayoutCrossReference_1_0() { return cLayoutLayoutCrossReference_1_0; } //ID public RuleCall getLayoutLayoutIDTerminalRuleCall_1_0_1() { return cLayoutLayoutIDTerminalRuleCall_1_0_1; } } public class InvokeActivityActionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InvokeActivityAction"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cInvokeKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cActivityAssignment_1 = (Assignment)cGroup.eContents().get(1); private final CrossReference cActivityActivityCrossReference_1_0 = (CrossReference)cActivityAssignment_1.eContents().get(0); private final RuleCall cActivityActivityQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cActivityActivityCrossReference_1_0.eContents().get(1); ////NOT tested //InvokeActivityAction: // "invoke" activity=[Activity|QualifiedName]; public ParserRule getRule() { return rule; } //"invoke" activity=[Activity|QualifiedName] public Group getGroup() { return cGroup; } //"invoke" public Keyword getInvokeKeyword_0() { return cInvokeKeyword_0; } //activity=[Activity|QualifiedName] public Assignment getActivityAssignment_1() { return cActivityAssignment_1; } //[Activity|QualifiedName] public CrossReference getActivityActivityCrossReference_1_0() { return cActivityActivityCrossReference_1_0; } //QualifiedName public RuleCall getActivityActivityQualifiedNameParserRuleCall_1_0_1() { return cActivityActivityQualifiedNameParserRuleCall_1_0_1; } } public class AbstractLinearLayoutElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractLinearLayout"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cLinearLayoutParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cTabWidgetParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); /// ****************************************************************************** // * Layouts // ****************************************************************************** /AbstractLinearLayout: // LinearLayout | //| RadioGroup // TabWidget; public ParserRule getRule() { return rule; } //LinearLayout | //| RadioGroup //TabWidget public Alternatives getAlternatives() { return cAlternatives; } //LinearLayout public RuleCall getLinearLayoutParserRuleCall_0() { return cLinearLayoutParserRuleCall_0; } ////| RadioGroup //TabWidget public RuleCall getTabWidgetParserRuleCall_1() { return cTabWidgetParserRuleCall_1; } } public class AbstractViewElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractView"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cViewParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); private final Assignment cNameAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); private final RuleCall cNameIDTerminalRuleCall_1_0_0 = (RuleCall)cNameAssignment_1_0.eContents().get(0); private final Assignment cWidgetsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cWidgetsViewCollectionParserRuleCall_1_1_0 = (RuleCall)cWidgetsAssignment_1_1.eContents().get(0); //AbstractView: // View //Enforces properties inside AbstractView interface // | name=ID widgets=ViewCollection; public ParserRule getRule() { return rule; } //View //Enforces properties inside AbstractView interface //| name=ID widgets=ViewCollection public Alternatives getAlternatives() { return cAlternatives; } //View public RuleCall getViewParserRuleCall_0() { return cViewParserRuleCall_0; } //name=ID widgets=ViewCollection public Group getGroup_1() { return cGroup_1; } //name=ID public Assignment getNameAssignment_1_0() { return cNameAssignment_1_0; } //ID public RuleCall getNameIDTerminalRuleCall_1_0_0() { return cNameIDTerminalRuleCall_1_0_0; } //widgets=ViewCollection public Assignment getWidgetsAssignment_1_1() { return cWidgetsAssignment_1_1; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_1_1_0() { return cWidgetsViewCollectionParserRuleCall_1_1_0; } } public class ViewElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "View"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cWidgetParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cLayoutParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //View: // Widget | Layout; public ParserRule getRule() { return rule; } //Widget | Layout public Alternatives getAlternatives() { return cAlternatives; } //Widget public RuleCall getWidgetParserRuleCall_0() { return cWidgetParserRuleCall_0; } //Layout public RuleCall getLayoutParserRuleCall_1() { return cLayoutParserRuleCall_1; } } public class LinearLayoutElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LinearLayout"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cLinearKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLayoutKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Action cLinearLayoutAction_2 = (Action)cGroup.eContents().get(2); private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cNameIDTerminalRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5); private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0); private final Keyword cAlphaKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); private final Assignment cAlphaAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); private final RuleCall cAlphaFLOATTerminalRuleCall_5_0_1_0 = (RuleCall)cAlphaAssignment_5_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_0_2 = (Keyword)cGroup_5_0.eContents().get(2); private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1); private final Keyword cBackgroundKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0); private final Assignment cBackgroundAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0 = (RuleCall)cBackgroundAssignment_5_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_1_2 = (Keyword)cGroup_5_1.eContents().get(2); private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2); private final Keyword cMinHeightKeyword_5_2_0 = (Keyword)cGroup_5_2.eContents().get(0); private final Assignment cMinHeightAssignment_5_2_1 = (Assignment)cGroup_5_2.eContents().get(1); private final RuleCall cMinHeightDimensionVAParserRuleCall_5_2_1_0 = (RuleCall)cMinHeightAssignment_5_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_2_2 = (Keyword)cGroup_5_2.eContents().get(2); private final Group cGroup_5_3 = (Group)cUnorderedGroup_5.eContents().get(3); private final Keyword cMinWidthKeyword_5_3_0 = (Keyword)cGroup_5_3.eContents().get(0); private final Assignment cMinWidthAssignment_5_3_1 = (Assignment)cGroup_5_3.eContents().get(1); private final RuleCall cMinWidthDimensionVAParserRuleCall_5_3_1_0 = (RuleCall)cMinWidthAssignment_5_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_3_2 = (Keyword)cGroup_5_3.eContents().get(2); private final Group cGroup_5_4 = (Group)cUnorderedGroup_5.eContents().get(4); private final Keyword cNextFocusDownKeyword_5_4_0 = (Keyword)cGroup_5_4.eContents().get(0); private final Assignment cNextFocusDownAssignment_5_4_1 = (Assignment)cGroup_5_4.eContents().get(1); private final CrossReference cNextFocusDownViewCrossReference_5_4_1_0 = (CrossReference)cNextFocusDownAssignment_5_4_1.eContents().get(0); private final RuleCall cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1 = (RuleCall)cNextFocusDownViewCrossReference_5_4_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_4_2 = (Keyword)cGroup_5_4.eContents().get(2); private final Group cGroup_5_5 = (Group)cUnorderedGroup_5.eContents().get(5); private final Keyword cNextFocusLeftKeyword_5_5_0 = (Keyword)cGroup_5_5.eContents().get(0); private final Assignment cNextFocusLeftAssignment_5_5_1 = (Assignment)cGroup_5_5.eContents().get(1); private final CrossReference cNextFocusLeftViewCrossReference_5_5_1_0 = (CrossReference)cNextFocusLeftAssignment_5_5_1.eContents().get(0); private final RuleCall cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1 = (RuleCall)cNextFocusLeftViewCrossReference_5_5_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_5_2 = (Keyword)cGroup_5_5.eContents().get(2); private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6); private final Keyword cNextFocusRightKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0); private final Assignment cNextFocusRightAssignment_5_6_1 = (Assignment)cGroup_5_6.eContents().get(1); private final CrossReference cNextFocusRightViewCrossReference_5_6_1_0 = (CrossReference)cNextFocusRightAssignment_5_6_1.eContents().get(0); private final RuleCall cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1 = (RuleCall)cNextFocusRightViewCrossReference_5_6_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_6_2 = (Keyword)cGroup_5_6.eContents().get(2); private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7); private final Keyword cNextFocusUpKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0); private final Assignment cNextFocusUpAssignment_5_7_1 = (Assignment)cGroup_5_7.eContents().get(1); private final CrossReference cNextFocusUpViewCrossReference_5_7_1_0 = (CrossReference)cNextFocusUpAssignment_5_7_1.eContents().get(0); private final RuleCall cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1 = (RuleCall)cNextFocusUpViewCrossReference_5_7_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_7_2 = (Keyword)cGroup_5_7.eContents().get(2); private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8); private final Keyword cOnClickKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0); private final Assignment cOnClickAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1); private final RuleCall cOnClickActionParserRuleCall_5_8_1_0 = (RuleCall)cOnClickAssignment_5_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_8_2 = (Keyword)cGroup_5_8.eContents().get(2); private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9); private final Keyword cPaddingKeyword_5_9_0 = (Keyword)cGroup_5_9.eContents().get(0); private final Assignment cPaddingAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1); private final RuleCall cPaddingDimensionVAParserRuleCall_5_9_1_0 = (RuleCall)cPaddingAssignment_5_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_9_2 = (Keyword)cGroup_5_9.eContents().get(2); private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10); private final Keyword cPaddingBottomKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0); private final Assignment cPaddingBottomAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1); private final RuleCall cPaddingBottomDimensionVAParserRuleCall_5_10_1_0 = (RuleCall)cPaddingBottomAssignment_5_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_10_2 = (Keyword)cGroup_5_10.eContents().get(2); private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11); private final Keyword cPaddingLeftKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0); private final Assignment cPaddingLeftAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1); private final RuleCall cPaddingLeftDimensionVAParserRuleCall_5_11_1_0 = (RuleCall)cPaddingLeftAssignment_5_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_11_2 = (Keyword)cGroup_5_11.eContents().get(2); private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12); private final Keyword cPaddingRightKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0); private final Assignment cPaddingRightAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1); private final RuleCall cPaddingRightDimensionVAParserRuleCall_5_12_1_0 = (RuleCall)cPaddingRightAssignment_5_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_12_2 = (Keyword)cGroup_5_12.eContents().get(2); private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13); private final Keyword cPaddingTopKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0); private final Assignment cPaddingTopAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1); private final RuleCall cPaddingTopDimensionVAParserRuleCall_5_13_1_0 = (RuleCall)cPaddingTopAssignment_5_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_13_2 = (Keyword)cGroup_5_13.eContents().get(2); private final Group cGroup_5_14 = (Group)cUnorderedGroup_5.eContents().get(14); private final Keyword cScrollbarsKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0); private final Assignment cScrollbarsAssignment_5_14_1 = (Assignment)cGroup_5_14.eContents().get(1); private final RuleCall cScrollbarsBooleanVAParserRuleCall_5_14_1_0 = (RuleCall)cScrollbarsAssignment_5_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_14_2 = (Keyword)cGroup_5_14.eContents().get(2); private final Group cGroup_5_15 = (Group)cUnorderedGroup_5.eContents().get(15); private final Keyword cVisibilityKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0); private final Assignment cVisibilityAssignment_5_15_1 = (Assignment)cGroup_5_15.eContents().get(1); private final RuleCall cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0 = (RuleCall)cVisibilityAssignment_5_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_15_2 = (Keyword)cGroup_5_15.eContents().get(2); private final Assignment cLayoutParamsAssignment_5_16 = (Assignment)cUnorderedGroup_5.eContents().get(16); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_5_16_0 = (RuleCall)cLayoutParamsAssignment_5_16.eContents().get(0); private final Group cGroup_5_17 = (Group)cUnorderedGroup_5.eContents().get(17); private final Keyword cAnimationKeyword_5_17_0 = (Keyword)cGroup_5_17.eContents().get(0); private final Assignment cLayoutAnimationAssignment_5_17_1 = (Assignment)cGroup_5_17.eContents().get(1); private final RuleCall cLayoutAnimationAnimationVAParserRuleCall_5_17_1_0 = (RuleCall)cLayoutAnimationAssignment_5_17_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_17_2 = (Keyword)cGroup_5_17.eContents().get(2); private final Group cGroup_5_18 = (Group)cUnorderedGroup_5.eContents().get(18); private final Keyword cOrientationKeyword_5_18_0 = (Keyword)cGroup_5_18.eContents().get(0); private final Assignment cOrientationAssignment_5_18_1 = (Assignment)cGroup_5_18.eContents().get(1); private final RuleCall cOrientationLayoutOrientationKindEnumRuleCall_5_18_1_0 = (RuleCall)cOrientationAssignment_5_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_18_2 = (Keyword)cGroup_5_18.eContents().get(2); private final Assignment cWidgetsAssignment_6 = (Assignment)cGroup.eContents().get(6); private final RuleCall cWidgetsViewCollectionParserRuleCall_6_0 = (RuleCall)cWidgetsAssignment_6.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); //LinearLayout: // "linear"? "layout" {LinearLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? //View Properties // // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // //ViewGroup // //LinearLayout // // & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & // ("orientation:" orientation=LayoutOrientationKind ";")?) widgets=ViewCollection? "}"; public ParserRule getRule() { return rule; } //"linear"? "layout" {LinearLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? //View Properties //// & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? ////ViewGroup ////LinearLayout //// & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & //("orientation:" orientation=LayoutOrientationKind ";")?) widgets=ViewCollection? "}" public Group getGroup() { return cGroup; } //"linear"? public Keyword getLinearKeyword_0() { return cLinearKeyword_0; } //"layout" public Keyword getLayoutKeyword_1() { return cLayoutKeyword_1; } //{LinearLayout} public Action getLinearLayoutAction_2() { return cLinearLayoutAction_2; } //name=ID? public Assignment getNameAssignment_3() { return cNameAssignment_3; } //ID public RuleCall getNameIDTerminalRuleCall_3_0() { return cNameIDTerminalRuleCall_3_0; } //"{" public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } //("alpha:" alpha=FLOAT ";")? //View Properties //// & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? ////ViewGroup ////LinearLayout //// & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & //("orientation:" orientation=LayoutOrientationKind ";")? public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } //("alpha:" alpha=FLOAT ";")? public Group getGroup_5_0() { return cGroup_5_0; } //"alpha:" public Keyword getAlphaKeyword_5_0_0() { return cAlphaKeyword_5_0_0; } //alpha=FLOAT public Assignment getAlphaAssignment_5_0_1() { return cAlphaAssignment_5_0_1; } //FLOAT public RuleCall getAlphaFLOATTerminalRuleCall_5_0_1_0() { return cAlphaFLOATTerminalRuleCall_5_0_1_0; } //";" public Keyword getSemicolonKeyword_5_0_2() { return cSemicolonKeyword_5_0_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_5_1() { return cGroup_5_1; } //"background:" public Keyword getBackgroundKeyword_5_1_0() { return cBackgroundKeyword_5_1_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_5_1_1() { return cBackgroundAssignment_5_1_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_5_1_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0; } //";" public Keyword getSemicolonKeyword_5_1_2() { return cSemicolonKeyword_5_1_2; } //("minHeight:" minHeight=DimensionVA ";")? public Group getGroup_5_2() { return cGroup_5_2; } //"minHeight:" public Keyword getMinHeightKeyword_5_2_0() { return cMinHeightKeyword_5_2_0; } //minHeight=DimensionVA public Assignment getMinHeightAssignment_5_2_1() { return cMinHeightAssignment_5_2_1; } //DimensionVA public RuleCall getMinHeightDimensionVAParserRuleCall_5_2_1_0() { return cMinHeightDimensionVAParserRuleCall_5_2_1_0; } //";" public Keyword getSemicolonKeyword_5_2_2() { return cSemicolonKeyword_5_2_2; } //("minWidth:" minWidth=DimensionVA ";")? public Group getGroup_5_3() { return cGroup_5_3; } //"minWidth:" public Keyword getMinWidthKeyword_5_3_0() { return cMinWidthKeyword_5_3_0; } //minWidth=DimensionVA public Assignment getMinWidthAssignment_5_3_1() { return cMinWidthAssignment_5_3_1; } //DimensionVA public RuleCall getMinWidthDimensionVAParserRuleCall_5_3_1_0() { return cMinWidthDimensionVAParserRuleCall_5_3_1_0; } //";" public Keyword getSemicolonKeyword_5_3_2() { return cSemicolonKeyword_5_3_2; } //("nextFocusDown:" nextFocusDown=[View] ";")? public Group getGroup_5_4() { return cGroup_5_4; } //"nextFocusDown:" public Keyword getNextFocusDownKeyword_5_4_0() { return cNextFocusDownKeyword_5_4_0; } //nextFocusDown=[View] public Assignment getNextFocusDownAssignment_5_4_1() { return cNextFocusDownAssignment_5_4_1; } //[View] public CrossReference getNextFocusDownViewCrossReference_5_4_1_0() { return cNextFocusDownViewCrossReference_5_4_1_0; } //ID public RuleCall getNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1() { return cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1; } //";" public Keyword getSemicolonKeyword_5_4_2() { return cSemicolonKeyword_5_4_2; } //("nextFocusLeft:" nextFocusLeft=[View] ";")? public Group getGroup_5_5() { return cGroup_5_5; } //"nextFocusLeft:" public Keyword getNextFocusLeftKeyword_5_5_0() { return cNextFocusLeftKeyword_5_5_0; } //nextFocusLeft=[View] public Assignment getNextFocusLeftAssignment_5_5_1() { return cNextFocusLeftAssignment_5_5_1; } //[View] public CrossReference getNextFocusLeftViewCrossReference_5_5_1_0() { return cNextFocusLeftViewCrossReference_5_5_1_0; } //ID public RuleCall getNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1() { return cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1; } //";" public Keyword getSemicolonKeyword_5_5_2() { return cSemicolonKeyword_5_5_2; } //("nextFocusRight:" nextFocusRight=[View] ";")? public Group getGroup_5_6() { return cGroup_5_6; } //"nextFocusRight:" public Keyword getNextFocusRightKeyword_5_6_0() { return cNextFocusRightKeyword_5_6_0; } //nextFocusRight=[View] public Assignment getNextFocusRightAssignment_5_6_1() { return cNextFocusRightAssignment_5_6_1; } //[View] public CrossReference getNextFocusRightViewCrossReference_5_6_1_0() { return cNextFocusRightViewCrossReference_5_6_1_0; } //ID public RuleCall getNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1() { return cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1; } //";" public Keyword getSemicolonKeyword_5_6_2() { return cSemicolonKeyword_5_6_2; } //("nextFocusUp:" nextFocusUp=[View] ";")? public Group getGroup_5_7() { return cGroup_5_7; } //"nextFocusUp:" public Keyword getNextFocusUpKeyword_5_7_0() { return cNextFocusUpKeyword_5_7_0; } //nextFocusUp=[View] public Assignment getNextFocusUpAssignment_5_7_1() { return cNextFocusUpAssignment_5_7_1; } //[View] public CrossReference getNextFocusUpViewCrossReference_5_7_1_0() { return cNextFocusUpViewCrossReference_5_7_1_0; } //ID public RuleCall getNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1() { return cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1; } //";" public Keyword getSemicolonKeyword_5_7_2() { return cSemicolonKeyword_5_7_2; } //("onClick:" onClick=Action ";")? public Group getGroup_5_8() { return cGroup_5_8; } //"onClick:" public Keyword getOnClickKeyword_5_8_0() { return cOnClickKeyword_5_8_0; } //onClick=Action public Assignment getOnClickAssignment_5_8_1() { return cOnClickAssignment_5_8_1; } //Action public RuleCall getOnClickActionParserRuleCall_5_8_1_0() { return cOnClickActionParserRuleCall_5_8_1_0; } //";" public Keyword getSemicolonKeyword_5_8_2() { return cSemicolonKeyword_5_8_2; } //("padding:" padding=DimensionVA ";")? public Group getGroup_5_9() { return cGroup_5_9; } //"padding:" public Keyword getPaddingKeyword_5_9_0() { return cPaddingKeyword_5_9_0; } //padding=DimensionVA public Assignment getPaddingAssignment_5_9_1() { return cPaddingAssignment_5_9_1; } //DimensionVA public RuleCall getPaddingDimensionVAParserRuleCall_5_9_1_0() { return cPaddingDimensionVAParserRuleCall_5_9_1_0; } //";" public Keyword getSemicolonKeyword_5_9_2() { return cSemicolonKeyword_5_9_2; } //("paddingBottom:" paddingBottom=DimensionVA ";")? public Group getGroup_5_10() { return cGroup_5_10; } //"paddingBottom:" public Keyword getPaddingBottomKeyword_5_10_0() { return cPaddingBottomKeyword_5_10_0; } //paddingBottom=DimensionVA public Assignment getPaddingBottomAssignment_5_10_1() { return cPaddingBottomAssignment_5_10_1; } //DimensionVA public RuleCall getPaddingBottomDimensionVAParserRuleCall_5_10_1_0() { return cPaddingBottomDimensionVAParserRuleCall_5_10_1_0; } //";" public Keyword getSemicolonKeyword_5_10_2() { return cSemicolonKeyword_5_10_2; } //("paddingLeft:" paddingLeft=DimensionVA ";")? public Group getGroup_5_11() { return cGroup_5_11; } //"paddingLeft:" public Keyword getPaddingLeftKeyword_5_11_0() { return cPaddingLeftKeyword_5_11_0; } //paddingLeft=DimensionVA public Assignment getPaddingLeftAssignment_5_11_1() { return cPaddingLeftAssignment_5_11_1; } //DimensionVA public RuleCall getPaddingLeftDimensionVAParserRuleCall_5_11_1_0() { return cPaddingLeftDimensionVAParserRuleCall_5_11_1_0; } //";" public Keyword getSemicolonKeyword_5_11_2() { return cSemicolonKeyword_5_11_2; } //("paddingRight:" paddingRight=DimensionVA ";")? public Group getGroup_5_12() { return cGroup_5_12; } //"paddingRight:" public Keyword getPaddingRightKeyword_5_12_0() { return cPaddingRightKeyword_5_12_0; } //paddingRight=DimensionVA public Assignment getPaddingRightAssignment_5_12_1() { return cPaddingRightAssignment_5_12_1; } //DimensionVA public RuleCall getPaddingRightDimensionVAParserRuleCall_5_12_1_0() { return cPaddingRightDimensionVAParserRuleCall_5_12_1_0; } //";" public Keyword getSemicolonKeyword_5_12_2() { return cSemicolonKeyword_5_12_2; } //("paddingTop:" paddingTop=DimensionVA ";")? public Group getGroup_5_13() { return cGroup_5_13; } //"paddingTop:" public Keyword getPaddingTopKeyword_5_13_0() { return cPaddingTopKeyword_5_13_0; } //paddingTop=DimensionVA public Assignment getPaddingTopAssignment_5_13_1() { return cPaddingTopAssignment_5_13_1; } //DimensionVA public RuleCall getPaddingTopDimensionVAParserRuleCall_5_13_1_0() { return cPaddingTopDimensionVAParserRuleCall_5_13_1_0; } //";" public Keyword getSemicolonKeyword_5_13_2() { return cSemicolonKeyword_5_13_2; } //("scrollbars:" scrollbars=BooleanVA ";")? public Group getGroup_5_14() { return cGroup_5_14; } //"scrollbars:" public Keyword getScrollbarsKeyword_5_14_0() { return cScrollbarsKeyword_5_14_0; } //scrollbars=BooleanVA public Assignment getScrollbarsAssignment_5_14_1() { return cScrollbarsAssignment_5_14_1; } //BooleanVA public RuleCall getScrollbarsBooleanVAParserRuleCall_5_14_1_0() { return cScrollbarsBooleanVAParserRuleCall_5_14_1_0; } //";" public Keyword getSemicolonKeyword_5_14_2() { return cSemicolonKeyword_5_14_2; } //("visibility:" visibility=LayoutVisibilityKind ";")? public Group getGroup_5_15() { return cGroup_5_15; } //"visibility:" public Keyword getVisibilityKeyword_5_15_0() { return cVisibilityKeyword_5_15_0; } //visibility=LayoutVisibilityKind public Assignment getVisibilityAssignment_5_15_1() { return cVisibilityAssignment_5_15_1; } //LayoutVisibilityKind public RuleCall getVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0() { return cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0; } //";" public Keyword getSemicolonKeyword_5_15_2() { return cSemicolonKeyword_5_15_2; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_5_16() { return cLayoutParamsAssignment_5_16; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_5_16_0() { return cLayoutParamsLayoutParamsParserRuleCall_5_16_0; } //("animation:" layoutAnimation=AnimationVA ";")? public Group getGroup_5_17() { return cGroup_5_17; } //"animation:" public Keyword getAnimationKeyword_5_17_0() { return cAnimationKeyword_5_17_0; } //layoutAnimation=AnimationVA public Assignment getLayoutAnimationAssignment_5_17_1() { return cLayoutAnimationAssignment_5_17_1; } //AnimationVA public RuleCall getLayoutAnimationAnimationVAParserRuleCall_5_17_1_0() { return cLayoutAnimationAnimationVAParserRuleCall_5_17_1_0; } //";" public Keyword getSemicolonKeyword_5_17_2() { return cSemicolonKeyword_5_17_2; } //("orientation:" orientation=LayoutOrientationKind ";")? public Group getGroup_5_18() { return cGroup_5_18; } //"orientation:" public Keyword getOrientationKeyword_5_18_0() { return cOrientationKeyword_5_18_0; } //orientation=LayoutOrientationKind public Assignment getOrientationAssignment_5_18_1() { return cOrientationAssignment_5_18_1; } //LayoutOrientationKind public RuleCall getOrientationLayoutOrientationKindEnumRuleCall_5_18_1_0() { return cOrientationLayoutOrientationKindEnumRuleCall_5_18_1_0; } //";" public Keyword getSemicolonKeyword_5_18_2() { return cSemicolonKeyword_5_18_2; } //widgets=ViewCollection? public Assignment getWidgetsAssignment_6() { return cWidgetsAssignment_6; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_6_0() { return cWidgetsViewCollectionParserRuleCall_6_0; } //"}" public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class RelativeLayoutElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RelativeLayout"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cRelativeKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLayoutKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Action cRelativeLayoutAction_2 = (Action)cGroup.eContents().get(2); private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cNameIDTerminalRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5); private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0); private final Keyword cAlphaKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); private final Assignment cAlphaAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); private final RuleCall cAlphaFLOATTerminalRuleCall_5_0_1_0 = (RuleCall)cAlphaAssignment_5_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_0_2 = (Keyword)cGroup_5_0.eContents().get(2); private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1); private final Keyword cBackgroundKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0); private final Assignment cBackgroundAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0 = (RuleCall)cBackgroundAssignment_5_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_1_2 = (Keyword)cGroup_5_1.eContents().get(2); private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2); private final Keyword cMinHeightKeyword_5_2_0 = (Keyword)cGroup_5_2.eContents().get(0); private final Assignment cMinHeightAssignment_5_2_1 = (Assignment)cGroup_5_2.eContents().get(1); private final RuleCall cMinHeightDimensionVAParserRuleCall_5_2_1_0 = (RuleCall)cMinHeightAssignment_5_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_2_2 = (Keyword)cGroup_5_2.eContents().get(2); private final Group cGroup_5_3 = (Group)cUnorderedGroup_5.eContents().get(3); private final Keyword cMinWidthKeyword_5_3_0 = (Keyword)cGroup_5_3.eContents().get(0); private final Assignment cMinWidthAssignment_5_3_1 = (Assignment)cGroup_5_3.eContents().get(1); private final RuleCall cMinWidthDimensionVAParserRuleCall_5_3_1_0 = (RuleCall)cMinWidthAssignment_5_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_3_2 = (Keyword)cGroup_5_3.eContents().get(2); private final Group cGroup_5_4 = (Group)cUnorderedGroup_5.eContents().get(4); private final Keyword cNextFocusDownKeyword_5_4_0 = (Keyword)cGroup_5_4.eContents().get(0); private final Assignment cNextFocusDownAssignment_5_4_1 = (Assignment)cGroup_5_4.eContents().get(1); private final CrossReference cNextFocusDownViewCrossReference_5_4_1_0 = (CrossReference)cNextFocusDownAssignment_5_4_1.eContents().get(0); private final RuleCall cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1 = (RuleCall)cNextFocusDownViewCrossReference_5_4_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_4_2 = (Keyword)cGroup_5_4.eContents().get(2); private final Group cGroup_5_5 = (Group)cUnorderedGroup_5.eContents().get(5); private final Keyword cNextFocusLeftKeyword_5_5_0 = (Keyword)cGroup_5_5.eContents().get(0); private final Assignment cNextFocusLeftAssignment_5_5_1 = (Assignment)cGroup_5_5.eContents().get(1); private final CrossReference cNextFocusLeftViewCrossReference_5_5_1_0 = (CrossReference)cNextFocusLeftAssignment_5_5_1.eContents().get(0); private final RuleCall cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1 = (RuleCall)cNextFocusLeftViewCrossReference_5_5_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_5_2 = (Keyword)cGroup_5_5.eContents().get(2); private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6); private final Keyword cNextFocusRightKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0); private final Assignment cNextFocusRightAssignment_5_6_1 = (Assignment)cGroup_5_6.eContents().get(1); private final CrossReference cNextFocusRightViewCrossReference_5_6_1_0 = (CrossReference)cNextFocusRightAssignment_5_6_1.eContents().get(0); private final RuleCall cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1 = (RuleCall)cNextFocusRightViewCrossReference_5_6_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_6_2 = (Keyword)cGroup_5_6.eContents().get(2); private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7); private final Keyword cNextFocusUpKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0); private final Assignment cNextFocusUpAssignment_5_7_1 = (Assignment)cGroup_5_7.eContents().get(1); private final CrossReference cNextFocusUpViewCrossReference_5_7_1_0 = (CrossReference)cNextFocusUpAssignment_5_7_1.eContents().get(0); private final RuleCall cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1 = (RuleCall)cNextFocusUpViewCrossReference_5_7_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_7_2 = (Keyword)cGroup_5_7.eContents().get(2); private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8); private final Keyword cOnClickKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0); private final Assignment cOnClickAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1); private final RuleCall cOnClickActionParserRuleCall_5_8_1_0 = (RuleCall)cOnClickAssignment_5_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_8_2 = (Keyword)cGroup_5_8.eContents().get(2); private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9); private final Keyword cPaddingKeyword_5_9_0 = (Keyword)cGroup_5_9.eContents().get(0); private final Assignment cPaddingAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1); private final RuleCall cPaddingDimensionVAParserRuleCall_5_9_1_0 = (RuleCall)cPaddingAssignment_5_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_9_2 = (Keyword)cGroup_5_9.eContents().get(2); private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10); private final Keyword cPaddingBottomKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0); private final Assignment cPaddingBottomAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1); private final RuleCall cPaddingBottomDimensionVAParserRuleCall_5_10_1_0 = (RuleCall)cPaddingBottomAssignment_5_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_10_2 = (Keyword)cGroup_5_10.eContents().get(2); private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11); private final Keyword cPaddingLeftKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0); private final Assignment cPaddingLeftAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1); private final RuleCall cPaddingLeftDimensionVAParserRuleCall_5_11_1_0 = (RuleCall)cPaddingLeftAssignment_5_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_11_2 = (Keyword)cGroup_5_11.eContents().get(2); private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12); private final Keyword cPaddingRightKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0); private final Assignment cPaddingRightAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1); private final RuleCall cPaddingRightDimensionVAParserRuleCall_5_12_1_0 = (RuleCall)cPaddingRightAssignment_5_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_12_2 = (Keyword)cGroup_5_12.eContents().get(2); private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13); private final Keyword cPaddingTopKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0); private final Assignment cPaddingTopAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1); private final RuleCall cPaddingTopDimensionVAParserRuleCall_5_13_1_0 = (RuleCall)cPaddingTopAssignment_5_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_13_2 = (Keyword)cGroup_5_13.eContents().get(2); private final Group cGroup_5_14 = (Group)cUnorderedGroup_5.eContents().get(14); private final Keyword cScrollbarsKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0); private final Assignment cScrollbarsAssignment_5_14_1 = (Assignment)cGroup_5_14.eContents().get(1); private final RuleCall cScrollbarsBooleanVAParserRuleCall_5_14_1_0 = (RuleCall)cScrollbarsAssignment_5_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_14_2 = (Keyword)cGroup_5_14.eContents().get(2); private final Group cGroup_5_15 = (Group)cUnorderedGroup_5.eContents().get(15); private final Keyword cVisibilityKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0); private final Assignment cVisibilityAssignment_5_15_1 = (Assignment)cGroup_5_15.eContents().get(1); private final RuleCall cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0 = (RuleCall)cVisibilityAssignment_5_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_15_2 = (Keyword)cGroup_5_15.eContents().get(2); private final Assignment cLayoutParamsAssignment_5_16 = (Assignment)cUnorderedGroup_5.eContents().get(16); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_5_16_0 = (RuleCall)cLayoutParamsAssignment_5_16.eContents().get(0); private final Group cGroup_5_17 = (Group)cUnorderedGroup_5.eContents().get(17); private final Keyword cAnimationKeyword_5_17_0 = (Keyword)cGroup_5_17.eContents().get(0); private final Assignment cLayoutAnimationAssignment_5_17_1 = (Assignment)cGroup_5_17.eContents().get(1); private final RuleCall cLayoutAnimationAnimationVAParserRuleCall_5_17_1_0 = (RuleCall)cLayoutAnimationAssignment_5_17_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_17_2 = (Keyword)cGroup_5_17.eContents().get(2); private final Group cGroup_5_18 = (Group)cUnorderedGroup_5.eContents().get(18); private final Keyword cOrientationKeyword_5_18_0 = (Keyword)cGroup_5_18.eContents().get(0); private final Assignment cOrientationAssignment_5_18_1 = (Assignment)cGroup_5_18.eContents().get(1); private final RuleCall cOrientationLayoutOrientationKindEnumRuleCall_5_18_1_0 = (RuleCall)cOrientationAssignment_5_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_18_2 = (Keyword)cGroup_5_18.eContents().get(2); private final Assignment cWidgetsAssignment_6 = (Assignment)cGroup.eContents().get(6); private final RuleCall cWidgetsViewCollectionParserRuleCall_6_0 = (RuleCall)cWidgetsAssignment_6.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); //RelativeLayout: // "relative" "layout" {RelativeLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? //View Properties // // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // //ViewGroup // //RelativeLayout // // & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & // ("orientation:" orientation=LayoutOrientationKind ";")?) widgets=ViewCollection? "}"; public ParserRule getRule() { return rule; } //"relative" "layout" {RelativeLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? //View Properties //// & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? ////ViewGroup ////RelativeLayout //// & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & //("orientation:" orientation=LayoutOrientationKind ";")?) widgets=ViewCollection? "}" public Group getGroup() { return cGroup; } //"relative" public Keyword getRelativeKeyword_0() { return cRelativeKeyword_0; } //"layout" public Keyword getLayoutKeyword_1() { return cLayoutKeyword_1; } //{RelativeLayout} public Action getRelativeLayoutAction_2() { return cRelativeLayoutAction_2; } //name=ID? public Assignment getNameAssignment_3() { return cNameAssignment_3; } //ID public RuleCall getNameIDTerminalRuleCall_3_0() { return cNameIDTerminalRuleCall_3_0; } //"{" public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } //("alpha:" alpha=FLOAT ";")? //View Properties //// & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? ////ViewGroup ////RelativeLayout //// & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & //("orientation:" orientation=LayoutOrientationKind ";")? public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } //("alpha:" alpha=FLOAT ";")? public Group getGroup_5_0() { return cGroup_5_0; } //"alpha:" public Keyword getAlphaKeyword_5_0_0() { return cAlphaKeyword_5_0_0; } //alpha=FLOAT public Assignment getAlphaAssignment_5_0_1() { return cAlphaAssignment_5_0_1; } //FLOAT public RuleCall getAlphaFLOATTerminalRuleCall_5_0_1_0() { return cAlphaFLOATTerminalRuleCall_5_0_1_0; } //";" public Keyword getSemicolonKeyword_5_0_2() { return cSemicolonKeyword_5_0_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_5_1() { return cGroup_5_1; } //"background:" public Keyword getBackgroundKeyword_5_1_0() { return cBackgroundKeyword_5_1_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_5_1_1() { return cBackgroundAssignment_5_1_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_5_1_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0; } //";" public Keyword getSemicolonKeyword_5_1_2() { return cSemicolonKeyword_5_1_2; } //("minHeight:" minHeight=DimensionVA ";")? public Group getGroup_5_2() { return cGroup_5_2; } //"minHeight:" public Keyword getMinHeightKeyword_5_2_0() { return cMinHeightKeyword_5_2_0; } //minHeight=DimensionVA public Assignment getMinHeightAssignment_5_2_1() { return cMinHeightAssignment_5_2_1; } //DimensionVA public RuleCall getMinHeightDimensionVAParserRuleCall_5_2_1_0() { return cMinHeightDimensionVAParserRuleCall_5_2_1_0; } //";" public Keyword getSemicolonKeyword_5_2_2() { return cSemicolonKeyword_5_2_2; } //("minWidth:" minWidth=DimensionVA ";")? public Group getGroup_5_3() { return cGroup_5_3; } //"minWidth:" public Keyword getMinWidthKeyword_5_3_0() { return cMinWidthKeyword_5_3_0; } //minWidth=DimensionVA public Assignment getMinWidthAssignment_5_3_1() { return cMinWidthAssignment_5_3_1; } //DimensionVA public RuleCall getMinWidthDimensionVAParserRuleCall_5_3_1_0() { return cMinWidthDimensionVAParserRuleCall_5_3_1_0; } //";" public Keyword getSemicolonKeyword_5_3_2() { return cSemicolonKeyword_5_3_2; } //("nextFocusDown:" nextFocusDown=[View] ";")? public Group getGroup_5_4() { return cGroup_5_4; } //"nextFocusDown:" public Keyword getNextFocusDownKeyword_5_4_0() { return cNextFocusDownKeyword_5_4_0; } //nextFocusDown=[View] public Assignment getNextFocusDownAssignment_5_4_1() { return cNextFocusDownAssignment_5_4_1; } //[View] public CrossReference getNextFocusDownViewCrossReference_5_4_1_0() { return cNextFocusDownViewCrossReference_5_4_1_0; } //ID public RuleCall getNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1() { return cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1; } //";" public Keyword getSemicolonKeyword_5_4_2() { return cSemicolonKeyword_5_4_2; } //("nextFocusLeft:" nextFocusLeft=[View] ";")? public Group getGroup_5_5() { return cGroup_5_5; } //"nextFocusLeft:" public Keyword getNextFocusLeftKeyword_5_5_0() { return cNextFocusLeftKeyword_5_5_0; } //nextFocusLeft=[View] public Assignment getNextFocusLeftAssignment_5_5_1() { return cNextFocusLeftAssignment_5_5_1; } //[View] public CrossReference getNextFocusLeftViewCrossReference_5_5_1_0() { return cNextFocusLeftViewCrossReference_5_5_1_0; } //ID public RuleCall getNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1() { return cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1; } //";" public Keyword getSemicolonKeyword_5_5_2() { return cSemicolonKeyword_5_5_2; } //("nextFocusRight:" nextFocusRight=[View] ";")? public Group getGroup_5_6() { return cGroup_5_6; } //"nextFocusRight:" public Keyword getNextFocusRightKeyword_5_6_0() { return cNextFocusRightKeyword_5_6_0; } //nextFocusRight=[View] public Assignment getNextFocusRightAssignment_5_6_1() { return cNextFocusRightAssignment_5_6_1; } //[View] public CrossReference getNextFocusRightViewCrossReference_5_6_1_0() { return cNextFocusRightViewCrossReference_5_6_1_0; } //ID public RuleCall getNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1() { return cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1; } //";" public Keyword getSemicolonKeyword_5_6_2() { return cSemicolonKeyword_5_6_2; } //("nextFocusUp:" nextFocusUp=[View] ";")? public Group getGroup_5_7() { return cGroup_5_7; } //"nextFocusUp:" public Keyword getNextFocusUpKeyword_5_7_0() { return cNextFocusUpKeyword_5_7_0; } //nextFocusUp=[View] public Assignment getNextFocusUpAssignment_5_7_1() { return cNextFocusUpAssignment_5_7_1; } //[View] public CrossReference getNextFocusUpViewCrossReference_5_7_1_0() { return cNextFocusUpViewCrossReference_5_7_1_0; } //ID public RuleCall getNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1() { return cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1; } //";" public Keyword getSemicolonKeyword_5_7_2() { return cSemicolonKeyword_5_7_2; } //("onClick:" onClick=Action ";")? public Group getGroup_5_8() { return cGroup_5_8; } //"onClick:" public Keyword getOnClickKeyword_5_8_0() { return cOnClickKeyword_5_8_0; } //onClick=Action public Assignment getOnClickAssignment_5_8_1() { return cOnClickAssignment_5_8_1; } //Action public RuleCall getOnClickActionParserRuleCall_5_8_1_0() { return cOnClickActionParserRuleCall_5_8_1_0; } //";" public Keyword getSemicolonKeyword_5_8_2() { return cSemicolonKeyword_5_8_2; } //("padding:" padding=DimensionVA ";")? public Group getGroup_5_9() { return cGroup_5_9; } //"padding:" public Keyword getPaddingKeyword_5_9_0() { return cPaddingKeyword_5_9_0; } //padding=DimensionVA public Assignment getPaddingAssignment_5_9_1() { return cPaddingAssignment_5_9_1; } //DimensionVA public RuleCall getPaddingDimensionVAParserRuleCall_5_9_1_0() { return cPaddingDimensionVAParserRuleCall_5_9_1_0; } //";" public Keyword getSemicolonKeyword_5_9_2() { return cSemicolonKeyword_5_9_2; } //("paddingBottom:" paddingBottom=DimensionVA ";")? public Group getGroup_5_10() { return cGroup_5_10; } //"paddingBottom:" public Keyword getPaddingBottomKeyword_5_10_0() { return cPaddingBottomKeyword_5_10_0; } //paddingBottom=DimensionVA public Assignment getPaddingBottomAssignment_5_10_1() { return cPaddingBottomAssignment_5_10_1; } //DimensionVA public RuleCall getPaddingBottomDimensionVAParserRuleCall_5_10_1_0() { return cPaddingBottomDimensionVAParserRuleCall_5_10_1_0; } //";" public Keyword getSemicolonKeyword_5_10_2() { return cSemicolonKeyword_5_10_2; } //("paddingLeft:" paddingLeft=DimensionVA ";")? public Group getGroup_5_11() { return cGroup_5_11; } //"paddingLeft:" public Keyword getPaddingLeftKeyword_5_11_0() { return cPaddingLeftKeyword_5_11_0; } //paddingLeft=DimensionVA public Assignment getPaddingLeftAssignment_5_11_1() { return cPaddingLeftAssignment_5_11_1; } //DimensionVA public RuleCall getPaddingLeftDimensionVAParserRuleCall_5_11_1_0() { return cPaddingLeftDimensionVAParserRuleCall_5_11_1_0; } //";" public Keyword getSemicolonKeyword_5_11_2() { return cSemicolonKeyword_5_11_2; } //("paddingRight:" paddingRight=DimensionVA ";")? public Group getGroup_5_12() { return cGroup_5_12; } //"paddingRight:" public Keyword getPaddingRightKeyword_5_12_0() { return cPaddingRightKeyword_5_12_0; } //paddingRight=DimensionVA public Assignment getPaddingRightAssignment_5_12_1() { return cPaddingRightAssignment_5_12_1; } //DimensionVA public RuleCall getPaddingRightDimensionVAParserRuleCall_5_12_1_0() { return cPaddingRightDimensionVAParserRuleCall_5_12_1_0; } //";" public Keyword getSemicolonKeyword_5_12_2() { return cSemicolonKeyword_5_12_2; } //("paddingTop:" paddingTop=DimensionVA ";")? public Group getGroup_5_13() { return cGroup_5_13; } //"paddingTop:" public Keyword getPaddingTopKeyword_5_13_0() { return cPaddingTopKeyword_5_13_0; } //paddingTop=DimensionVA public Assignment getPaddingTopAssignment_5_13_1() { return cPaddingTopAssignment_5_13_1; } //DimensionVA public RuleCall getPaddingTopDimensionVAParserRuleCall_5_13_1_0() { return cPaddingTopDimensionVAParserRuleCall_5_13_1_0; } //";" public Keyword getSemicolonKeyword_5_13_2() { return cSemicolonKeyword_5_13_2; } //("scrollbars:" scrollbars=BooleanVA ";")? public Group getGroup_5_14() { return cGroup_5_14; } //"scrollbars:" public Keyword getScrollbarsKeyword_5_14_0() { return cScrollbarsKeyword_5_14_0; } //scrollbars=BooleanVA public Assignment getScrollbarsAssignment_5_14_1() { return cScrollbarsAssignment_5_14_1; } //BooleanVA public RuleCall getScrollbarsBooleanVAParserRuleCall_5_14_1_0() { return cScrollbarsBooleanVAParserRuleCall_5_14_1_0; } //";" public Keyword getSemicolonKeyword_5_14_2() { return cSemicolonKeyword_5_14_2; } //("visibility:" visibility=LayoutVisibilityKind ";")? public Group getGroup_5_15() { return cGroup_5_15; } //"visibility:" public Keyword getVisibilityKeyword_5_15_0() { return cVisibilityKeyword_5_15_0; } //visibility=LayoutVisibilityKind public Assignment getVisibilityAssignment_5_15_1() { return cVisibilityAssignment_5_15_1; } //LayoutVisibilityKind public RuleCall getVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0() { return cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0; } //";" public Keyword getSemicolonKeyword_5_15_2() { return cSemicolonKeyword_5_15_2; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_5_16() { return cLayoutParamsAssignment_5_16; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_5_16_0() { return cLayoutParamsLayoutParamsParserRuleCall_5_16_0; } //("animation:" layoutAnimation=AnimationVA ";")? public Group getGroup_5_17() { return cGroup_5_17; } //"animation:" public Keyword getAnimationKeyword_5_17_0() { return cAnimationKeyword_5_17_0; } //layoutAnimation=AnimationVA public Assignment getLayoutAnimationAssignment_5_17_1() { return cLayoutAnimationAssignment_5_17_1; } //AnimationVA public RuleCall getLayoutAnimationAnimationVAParserRuleCall_5_17_1_0() { return cLayoutAnimationAnimationVAParserRuleCall_5_17_1_0; } //";" public Keyword getSemicolonKeyword_5_17_2() { return cSemicolonKeyword_5_17_2; } //("orientation:" orientation=LayoutOrientationKind ";")? public Group getGroup_5_18() { return cGroup_5_18; } //"orientation:" public Keyword getOrientationKeyword_5_18_0() { return cOrientationKeyword_5_18_0; } //orientation=LayoutOrientationKind public Assignment getOrientationAssignment_5_18_1() { return cOrientationAssignment_5_18_1; } //LayoutOrientationKind public RuleCall getOrientationLayoutOrientationKindEnumRuleCall_5_18_1_0() { return cOrientationLayoutOrientationKindEnumRuleCall_5_18_1_0; } //";" public Keyword getSemicolonKeyword_5_18_2() { return cSemicolonKeyword_5_18_2; } //widgets=ViewCollection? public Assignment getWidgetsAssignment_6() { return cWidgetsAssignment_6; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_6_0() { return cWidgetsViewCollectionParserRuleCall_6_0; } //"}" public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class TabHostElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TabHost"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTabKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLayoutKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Action cTabHostAction_2 = (Action)cGroup.eContents().get(2); private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cNameIDTerminalRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5); private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0); private final Keyword cAlphaKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); private final Assignment cAlphaAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); private final RuleCall cAlphaFLOATTerminalRuleCall_5_0_1_0 = (RuleCall)cAlphaAssignment_5_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_0_2 = (Keyword)cGroup_5_0.eContents().get(2); private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1); private final Keyword cBackgroundKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0); private final Assignment cBackgroundAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0 = (RuleCall)cBackgroundAssignment_5_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_1_2 = (Keyword)cGroup_5_1.eContents().get(2); private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2); private final Keyword cMinHeightKeyword_5_2_0 = (Keyword)cGroup_5_2.eContents().get(0); private final Assignment cMinHeightAssignment_5_2_1 = (Assignment)cGroup_5_2.eContents().get(1); private final RuleCall cMinHeightDimensionVAParserRuleCall_5_2_1_0 = (RuleCall)cMinHeightAssignment_5_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_2_2 = (Keyword)cGroup_5_2.eContents().get(2); private final Group cGroup_5_3 = (Group)cUnorderedGroup_5.eContents().get(3); private final Keyword cMinWidthKeyword_5_3_0 = (Keyword)cGroup_5_3.eContents().get(0); private final Assignment cMinWidthAssignment_5_3_1 = (Assignment)cGroup_5_3.eContents().get(1); private final RuleCall cMinWidthDimensionVAParserRuleCall_5_3_1_0 = (RuleCall)cMinWidthAssignment_5_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_3_2 = (Keyword)cGroup_5_3.eContents().get(2); private final Group cGroup_5_4 = (Group)cUnorderedGroup_5.eContents().get(4); private final Keyword cNextFocusDownKeyword_5_4_0 = (Keyword)cGroup_5_4.eContents().get(0); private final Assignment cNextFocusDownAssignment_5_4_1 = (Assignment)cGroup_5_4.eContents().get(1); private final CrossReference cNextFocusDownViewCrossReference_5_4_1_0 = (CrossReference)cNextFocusDownAssignment_5_4_1.eContents().get(0); private final RuleCall cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1 = (RuleCall)cNextFocusDownViewCrossReference_5_4_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_4_2 = (Keyword)cGroup_5_4.eContents().get(2); private final Group cGroup_5_5 = (Group)cUnorderedGroup_5.eContents().get(5); private final Keyword cNextFocusLeftKeyword_5_5_0 = (Keyword)cGroup_5_5.eContents().get(0); private final Assignment cNextFocusLeftAssignment_5_5_1 = (Assignment)cGroup_5_5.eContents().get(1); private final CrossReference cNextFocusLeftViewCrossReference_5_5_1_0 = (CrossReference)cNextFocusLeftAssignment_5_5_1.eContents().get(0); private final RuleCall cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1 = (RuleCall)cNextFocusLeftViewCrossReference_5_5_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_5_2 = (Keyword)cGroup_5_5.eContents().get(2); private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6); private final Keyword cNextFocusRightKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0); private final Assignment cNextFocusRightAssignment_5_6_1 = (Assignment)cGroup_5_6.eContents().get(1); private final CrossReference cNextFocusRightViewCrossReference_5_6_1_0 = (CrossReference)cNextFocusRightAssignment_5_6_1.eContents().get(0); private final RuleCall cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1 = (RuleCall)cNextFocusRightViewCrossReference_5_6_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_6_2 = (Keyword)cGroup_5_6.eContents().get(2); private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7); private final Keyword cNextFocusUpKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0); private final Assignment cNextFocusUpAssignment_5_7_1 = (Assignment)cGroup_5_7.eContents().get(1); private final CrossReference cNextFocusUpViewCrossReference_5_7_1_0 = (CrossReference)cNextFocusUpAssignment_5_7_1.eContents().get(0); private final RuleCall cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1 = (RuleCall)cNextFocusUpViewCrossReference_5_7_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_7_2 = (Keyword)cGroup_5_7.eContents().get(2); private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8); private final Keyword cOnClickKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0); private final Assignment cOnClickAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1); private final RuleCall cOnClickActionParserRuleCall_5_8_1_0 = (RuleCall)cOnClickAssignment_5_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_8_2 = (Keyword)cGroup_5_8.eContents().get(2); private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9); private final Keyword cPaddingKeyword_5_9_0 = (Keyword)cGroup_5_9.eContents().get(0); private final Assignment cPaddingAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1); private final RuleCall cPaddingDimensionVAParserRuleCall_5_9_1_0 = (RuleCall)cPaddingAssignment_5_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_9_2 = (Keyword)cGroup_5_9.eContents().get(2); private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10); private final Keyword cPaddingBottomKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0); private final Assignment cPaddingBottomAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1); private final RuleCall cPaddingBottomDimensionVAParserRuleCall_5_10_1_0 = (RuleCall)cPaddingBottomAssignment_5_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_10_2 = (Keyword)cGroup_5_10.eContents().get(2); private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11); private final Keyword cPaddingLeftKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0); private final Assignment cPaddingLeftAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1); private final RuleCall cPaddingLeftDimensionVAParserRuleCall_5_11_1_0 = (RuleCall)cPaddingLeftAssignment_5_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_11_2 = (Keyword)cGroup_5_11.eContents().get(2); private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12); private final Keyword cPaddingRightKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0); private final Assignment cPaddingRightAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1); private final RuleCall cPaddingRightDimensionVAParserRuleCall_5_12_1_0 = (RuleCall)cPaddingRightAssignment_5_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_12_2 = (Keyword)cGroup_5_12.eContents().get(2); private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13); private final Keyword cPaddingTopKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0); private final Assignment cPaddingTopAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1); private final RuleCall cPaddingTopDimensionVAParserRuleCall_5_13_1_0 = (RuleCall)cPaddingTopAssignment_5_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_13_2 = (Keyword)cGroup_5_13.eContents().get(2); private final Group cGroup_5_14 = (Group)cUnorderedGroup_5.eContents().get(14); private final Keyword cScrollbarsKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0); private final Assignment cScrollbarsAssignment_5_14_1 = (Assignment)cGroup_5_14.eContents().get(1); private final RuleCall cScrollbarsBooleanVAParserRuleCall_5_14_1_0 = (RuleCall)cScrollbarsAssignment_5_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_14_2 = (Keyword)cGroup_5_14.eContents().get(2); private final Group cGroup_5_15 = (Group)cUnorderedGroup_5.eContents().get(15); private final Keyword cVisibilityKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0); private final Assignment cVisibilityAssignment_5_15_1 = (Assignment)cGroup_5_15.eContents().get(1); private final RuleCall cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0 = (RuleCall)cVisibilityAssignment_5_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_15_2 = (Keyword)cGroup_5_15.eContents().get(2); private final Assignment cLayoutParamsAssignment_5_16 = (Assignment)cUnorderedGroup_5.eContents().get(16); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_5_16_0 = (RuleCall)cLayoutParamsAssignment_5_16.eContents().get(0); private final Group cGroup_5_17 = (Group)cUnorderedGroup_5.eContents().get(17); private final Keyword cAnimationKeyword_5_17_0 = (Keyword)cGroup_5_17.eContents().get(0); private final Assignment cLayoutAnimationAssignment_5_17_1 = (Assignment)cGroup_5_17.eContents().get(1); private final RuleCall cLayoutAnimationAnimationVAParserRuleCall_5_17_1_0 = (RuleCall)cLayoutAnimationAssignment_5_17_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_17_2 = (Keyword)cGroup_5_17.eContents().get(2); private final Assignment cWidgetsAssignment_6 = (Assignment)cGroup.eContents().get(6); private final RuleCall cWidgetsViewCollectionParserRuleCall_6_0 = (RuleCall)cWidgetsAssignment_6.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); ////OCL restriction: Must have a TabWidget and a FrameLayout ////NOT tested //TabHost: // "tab" "layout" {TabHost} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // // & ('layout:' layoutParams=LinearLayoutParams ';' )? // //ViewGroup // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")?) // layout=Layout // widgets=ViewCollection? "}"; public ParserRule getRule() { return rule; } //"tab" "layout" {TabHost} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? //// & ('layout:' layoutParams=LinearLayoutParams ';' )? ////ViewGroup //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")?) // layout=Layout //widgets=ViewCollection? "}" public Group getGroup() { return cGroup; } //"tab" public Keyword getTabKeyword_0() { return cTabKeyword_0; } //"layout" public Keyword getLayoutKeyword_1() { return cLayoutKeyword_1; } //{TabHost} public Action getTabHostAction_2() { return cTabHostAction_2; } //name=ID? public Assignment getNameAssignment_3() { return cNameAssignment_3; } //ID public RuleCall getNameIDTerminalRuleCall_3_0() { return cNameIDTerminalRuleCall_3_0; } //"{" public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } //("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? //// & ('layout:' layoutParams=LinearLayoutParams ';' )? ////ViewGroup //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } //("alpha:" alpha=FLOAT ";")? public Group getGroup_5_0() { return cGroup_5_0; } //"alpha:" public Keyword getAlphaKeyword_5_0_0() { return cAlphaKeyword_5_0_0; } //alpha=FLOAT public Assignment getAlphaAssignment_5_0_1() { return cAlphaAssignment_5_0_1; } //FLOAT public RuleCall getAlphaFLOATTerminalRuleCall_5_0_1_0() { return cAlphaFLOATTerminalRuleCall_5_0_1_0; } //";" public Keyword getSemicolonKeyword_5_0_2() { return cSemicolonKeyword_5_0_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_5_1() { return cGroup_5_1; } //"background:" public Keyword getBackgroundKeyword_5_1_0() { return cBackgroundKeyword_5_1_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_5_1_1() { return cBackgroundAssignment_5_1_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_5_1_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0; } //";" public Keyword getSemicolonKeyword_5_1_2() { return cSemicolonKeyword_5_1_2; } //("minHeight:" minHeight=DimensionVA ";")? public Group getGroup_5_2() { return cGroup_5_2; } //"minHeight:" public Keyword getMinHeightKeyword_5_2_0() { return cMinHeightKeyword_5_2_0; } //minHeight=DimensionVA public Assignment getMinHeightAssignment_5_2_1() { return cMinHeightAssignment_5_2_1; } //DimensionVA public RuleCall getMinHeightDimensionVAParserRuleCall_5_2_1_0() { return cMinHeightDimensionVAParserRuleCall_5_2_1_0; } //";" public Keyword getSemicolonKeyword_5_2_2() { return cSemicolonKeyword_5_2_2; } //("minWidth:" minWidth=DimensionVA ";")? public Group getGroup_5_3() { return cGroup_5_3; } //"minWidth:" public Keyword getMinWidthKeyword_5_3_0() { return cMinWidthKeyword_5_3_0; } //minWidth=DimensionVA public Assignment getMinWidthAssignment_5_3_1() { return cMinWidthAssignment_5_3_1; } //DimensionVA public RuleCall getMinWidthDimensionVAParserRuleCall_5_3_1_0() { return cMinWidthDimensionVAParserRuleCall_5_3_1_0; } //";" public Keyword getSemicolonKeyword_5_3_2() { return cSemicolonKeyword_5_3_2; } //("nextFocusDown:" nextFocusDown=[View] ";")? public Group getGroup_5_4() { return cGroup_5_4; } //"nextFocusDown:" public Keyword getNextFocusDownKeyword_5_4_0() { return cNextFocusDownKeyword_5_4_0; } //nextFocusDown=[View] public Assignment getNextFocusDownAssignment_5_4_1() { return cNextFocusDownAssignment_5_4_1; } //[View] public CrossReference getNextFocusDownViewCrossReference_5_4_1_0() { return cNextFocusDownViewCrossReference_5_4_1_0; } //ID public RuleCall getNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1() { return cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1; } //";" public Keyword getSemicolonKeyword_5_4_2() { return cSemicolonKeyword_5_4_2; } //("nextFocusLeft:" nextFocusLeft=[View] ";")? public Group getGroup_5_5() { return cGroup_5_5; } //"nextFocusLeft:" public Keyword getNextFocusLeftKeyword_5_5_0() { return cNextFocusLeftKeyword_5_5_0; } //nextFocusLeft=[View] public Assignment getNextFocusLeftAssignment_5_5_1() { return cNextFocusLeftAssignment_5_5_1; } //[View] public CrossReference getNextFocusLeftViewCrossReference_5_5_1_0() { return cNextFocusLeftViewCrossReference_5_5_1_0; } //ID public RuleCall getNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1() { return cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1; } //";" public Keyword getSemicolonKeyword_5_5_2() { return cSemicolonKeyword_5_5_2; } //("nextFocusRight:" nextFocusRight=[View] ";")? public Group getGroup_5_6() { return cGroup_5_6; } //"nextFocusRight:" public Keyword getNextFocusRightKeyword_5_6_0() { return cNextFocusRightKeyword_5_6_0; } //nextFocusRight=[View] public Assignment getNextFocusRightAssignment_5_6_1() { return cNextFocusRightAssignment_5_6_1; } //[View] public CrossReference getNextFocusRightViewCrossReference_5_6_1_0() { return cNextFocusRightViewCrossReference_5_6_1_0; } //ID public RuleCall getNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1() { return cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1; } //";" public Keyword getSemicolonKeyword_5_6_2() { return cSemicolonKeyword_5_6_2; } //("nextFocusUp:" nextFocusUp=[View] ";")? public Group getGroup_5_7() { return cGroup_5_7; } //"nextFocusUp:" public Keyword getNextFocusUpKeyword_5_7_0() { return cNextFocusUpKeyword_5_7_0; } //nextFocusUp=[View] public Assignment getNextFocusUpAssignment_5_7_1() { return cNextFocusUpAssignment_5_7_1; } //[View] public CrossReference getNextFocusUpViewCrossReference_5_7_1_0() { return cNextFocusUpViewCrossReference_5_7_1_0; } //ID public RuleCall getNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1() { return cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1; } //";" public Keyword getSemicolonKeyword_5_7_2() { return cSemicolonKeyword_5_7_2; } //("onClick:" onClick=Action ";")? public Group getGroup_5_8() { return cGroup_5_8; } //"onClick:" public Keyword getOnClickKeyword_5_8_0() { return cOnClickKeyword_5_8_0; } //onClick=Action public Assignment getOnClickAssignment_5_8_1() { return cOnClickAssignment_5_8_1; } //Action public RuleCall getOnClickActionParserRuleCall_5_8_1_0() { return cOnClickActionParserRuleCall_5_8_1_0; } //";" public Keyword getSemicolonKeyword_5_8_2() { return cSemicolonKeyword_5_8_2; } //("padding:" padding=DimensionVA ";")? public Group getGroup_5_9() { return cGroup_5_9; } //"padding:" public Keyword getPaddingKeyword_5_9_0() { return cPaddingKeyword_5_9_0; } //padding=DimensionVA public Assignment getPaddingAssignment_5_9_1() { return cPaddingAssignment_5_9_1; } //DimensionVA public RuleCall getPaddingDimensionVAParserRuleCall_5_9_1_0() { return cPaddingDimensionVAParserRuleCall_5_9_1_0; } //";" public Keyword getSemicolonKeyword_5_9_2() { return cSemicolonKeyword_5_9_2; } //("paddingBottom:" paddingBottom=DimensionVA ";")? public Group getGroup_5_10() { return cGroup_5_10; } //"paddingBottom:" public Keyword getPaddingBottomKeyword_5_10_0() { return cPaddingBottomKeyword_5_10_0; } //paddingBottom=DimensionVA public Assignment getPaddingBottomAssignment_5_10_1() { return cPaddingBottomAssignment_5_10_1; } //DimensionVA public RuleCall getPaddingBottomDimensionVAParserRuleCall_5_10_1_0() { return cPaddingBottomDimensionVAParserRuleCall_5_10_1_0; } //";" public Keyword getSemicolonKeyword_5_10_2() { return cSemicolonKeyword_5_10_2; } //("paddingLeft:" paddingLeft=DimensionVA ";")? public Group getGroup_5_11() { return cGroup_5_11; } //"paddingLeft:" public Keyword getPaddingLeftKeyword_5_11_0() { return cPaddingLeftKeyword_5_11_0; } //paddingLeft=DimensionVA public Assignment getPaddingLeftAssignment_5_11_1() { return cPaddingLeftAssignment_5_11_1; } //DimensionVA public RuleCall getPaddingLeftDimensionVAParserRuleCall_5_11_1_0() { return cPaddingLeftDimensionVAParserRuleCall_5_11_1_0; } //";" public Keyword getSemicolonKeyword_5_11_2() { return cSemicolonKeyword_5_11_2; } //("paddingRight:" paddingRight=DimensionVA ";")? public Group getGroup_5_12() { return cGroup_5_12; } //"paddingRight:" public Keyword getPaddingRightKeyword_5_12_0() { return cPaddingRightKeyword_5_12_0; } //paddingRight=DimensionVA public Assignment getPaddingRightAssignment_5_12_1() { return cPaddingRightAssignment_5_12_1; } //DimensionVA public RuleCall getPaddingRightDimensionVAParserRuleCall_5_12_1_0() { return cPaddingRightDimensionVAParserRuleCall_5_12_1_0; } //";" public Keyword getSemicolonKeyword_5_12_2() { return cSemicolonKeyword_5_12_2; } //("paddingTop:" paddingTop=DimensionVA ";")? public Group getGroup_5_13() { return cGroup_5_13; } //"paddingTop:" public Keyword getPaddingTopKeyword_5_13_0() { return cPaddingTopKeyword_5_13_0; } //paddingTop=DimensionVA public Assignment getPaddingTopAssignment_5_13_1() { return cPaddingTopAssignment_5_13_1; } //DimensionVA public RuleCall getPaddingTopDimensionVAParserRuleCall_5_13_1_0() { return cPaddingTopDimensionVAParserRuleCall_5_13_1_0; } //";" public Keyword getSemicolonKeyword_5_13_2() { return cSemicolonKeyword_5_13_2; } //("scrollbars:" scrollbars=BooleanVA ";")? public Group getGroup_5_14() { return cGroup_5_14; } //"scrollbars:" public Keyword getScrollbarsKeyword_5_14_0() { return cScrollbarsKeyword_5_14_0; } //scrollbars=BooleanVA public Assignment getScrollbarsAssignment_5_14_1() { return cScrollbarsAssignment_5_14_1; } //BooleanVA public RuleCall getScrollbarsBooleanVAParserRuleCall_5_14_1_0() { return cScrollbarsBooleanVAParserRuleCall_5_14_1_0; } //";" public Keyword getSemicolonKeyword_5_14_2() { return cSemicolonKeyword_5_14_2; } //("visibility:" visibility=LayoutVisibilityKind ";")? public Group getGroup_5_15() { return cGroup_5_15; } //"visibility:" public Keyword getVisibilityKeyword_5_15_0() { return cVisibilityKeyword_5_15_0; } //visibility=LayoutVisibilityKind public Assignment getVisibilityAssignment_5_15_1() { return cVisibilityAssignment_5_15_1; } //LayoutVisibilityKind public RuleCall getVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0() { return cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0; } //";" public Keyword getSemicolonKeyword_5_15_2() { return cSemicolonKeyword_5_15_2; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_5_16() { return cLayoutParamsAssignment_5_16; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_5_16_0() { return cLayoutParamsLayoutParamsParserRuleCall_5_16_0; } //("animation:" layoutAnimation=AnimationVA ";")? public Group getGroup_5_17() { return cGroup_5_17; } //"animation:" public Keyword getAnimationKeyword_5_17_0() { return cAnimationKeyword_5_17_0; } //layoutAnimation=AnimationVA public Assignment getLayoutAnimationAssignment_5_17_1() { return cLayoutAnimationAssignment_5_17_1; } //AnimationVA public RuleCall getLayoutAnimationAnimationVAParserRuleCall_5_17_1_0() { return cLayoutAnimationAnimationVAParserRuleCall_5_17_1_0; } //";" public Keyword getSemicolonKeyword_5_17_2() { return cSemicolonKeyword_5_17_2; } //// layout=Layout //widgets=ViewCollection? public Assignment getWidgetsAssignment_6() { return cWidgetsAssignment_6; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_6_0() { return cWidgetsViewCollectionParserRuleCall_6_0; } //"}" public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class TabWidgetElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TabWidget"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTabWidgetKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cTabWidgetAction_1 = (Action)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final UnorderedGroup cUnorderedGroup_4 = (UnorderedGroup)cGroup.eContents().get(4); private final Group cGroup_4_0 = (Group)cUnorderedGroup_4.eContents().get(0); private final Keyword cAlphaKeyword_4_0_0 = (Keyword)cGroup_4_0.eContents().get(0); private final Assignment cAlphaAssignment_4_0_1 = (Assignment)cGroup_4_0.eContents().get(1); private final RuleCall cAlphaFLOATTerminalRuleCall_4_0_1_0 = (RuleCall)cAlphaAssignment_4_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_0_2 = (Keyword)cGroup_4_0.eContents().get(2); private final Group cGroup_4_1 = (Group)cUnorderedGroup_4.eContents().get(1); private final Keyword cBackgroundKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); private final Assignment cBackgroundAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_4_1_1_0 = (RuleCall)cBackgroundAssignment_4_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_1_2 = (Keyword)cGroup_4_1.eContents().get(2); private final Group cGroup_4_2 = (Group)cUnorderedGroup_4.eContents().get(2); private final Keyword cMinHeightKeyword_4_2_0 = (Keyword)cGroup_4_2.eContents().get(0); private final Assignment cMinHeightAssignment_4_2_1 = (Assignment)cGroup_4_2.eContents().get(1); private final RuleCall cMinHeightDimensionVAParserRuleCall_4_2_1_0 = (RuleCall)cMinHeightAssignment_4_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_2 = (Keyword)cGroup_4_2.eContents().get(2); private final Group cGroup_4_3 = (Group)cUnorderedGroup_4.eContents().get(3); private final Keyword cMinWidthKeyword_4_3_0 = (Keyword)cGroup_4_3.eContents().get(0); private final Assignment cMinWidthAssignment_4_3_1 = (Assignment)cGroup_4_3.eContents().get(1); private final RuleCall cMinWidthDimensionVAParserRuleCall_4_3_1_0 = (RuleCall)cMinWidthAssignment_4_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_3_2 = (Keyword)cGroup_4_3.eContents().get(2); private final Group cGroup_4_4 = (Group)cUnorderedGroup_4.eContents().get(4); private final Keyword cNextFocusDownKeyword_4_4_0 = (Keyword)cGroup_4_4.eContents().get(0); private final Assignment cNextFocusDownAssignment_4_4_1 = (Assignment)cGroup_4_4.eContents().get(1); private final CrossReference cNextFocusDownViewCrossReference_4_4_1_0 = (CrossReference)cNextFocusDownAssignment_4_4_1.eContents().get(0); private final RuleCall cNextFocusDownViewIDTerminalRuleCall_4_4_1_0_1 = (RuleCall)cNextFocusDownViewCrossReference_4_4_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_4_4_2 = (Keyword)cGroup_4_4.eContents().get(2); private final Group cGroup_4_5 = (Group)cUnorderedGroup_4.eContents().get(5); private final Keyword cNextFocusLeftKeyword_4_5_0 = (Keyword)cGroup_4_5.eContents().get(0); private final Assignment cNextFocusLeftAssignment_4_5_1 = (Assignment)cGroup_4_5.eContents().get(1); private final CrossReference cNextFocusLeftViewCrossReference_4_5_1_0 = (CrossReference)cNextFocusLeftAssignment_4_5_1.eContents().get(0); private final RuleCall cNextFocusLeftViewIDTerminalRuleCall_4_5_1_0_1 = (RuleCall)cNextFocusLeftViewCrossReference_4_5_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_4_5_2 = (Keyword)cGroup_4_5.eContents().get(2); private final Group cGroup_4_6 = (Group)cUnorderedGroup_4.eContents().get(6); private final Keyword cNextFocusRightKeyword_4_6_0 = (Keyword)cGroup_4_6.eContents().get(0); private final Assignment cNextFocusRightAssignment_4_6_1 = (Assignment)cGroup_4_6.eContents().get(1); private final CrossReference cNextFocusRightViewCrossReference_4_6_1_0 = (CrossReference)cNextFocusRightAssignment_4_6_1.eContents().get(0); private final RuleCall cNextFocusRightViewIDTerminalRuleCall_4_6_1_0_1 = (RuleCall)cNextFocusRightViewCrossReference_4_6_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_4_6_2 = (Keyword)cGroup_4_6.eContents().get(2); private final Group cGroup_4_7 = (Group)cUnorderedGroup_4.eContents().get(7); private final Keyword cNextFocusUpKeyword_4_7_0 = (Keyword)cGroup_4_7.eContents().get(0); private final Assignment cNextFocusUpAssignment_4_7_1 = (Assignment)cGroup_4_7.eContents().get(1); private final CrossReference cNextFocusUpViewCrossReference_4_7_1_0 = (CrossReference)cNextFocusUpAssignment_4_7_1.eContents().get(0); private final RuleCall cNextFocusUpViewIDTerminalRuleCall_4_7_1_0_1 = (RuleCall)cNextFocusUpViewCrossReference_4_7_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_4_7_2 = (Keyword)cGroup_4_7.eContents().get(2); private final Group cGroup_4_8 = (Group)cUnorderedGroup_4.eContents().get(8); private final Keyword cOnClickKeyword_4_8_0 = (Keyword)cGroup_4_8.eContents().get(0); private final Assignment cOnClickAssignment_4_8_1 = (Assignment)cGroup_4_8.eContents().get(1); private final RuleCall cOnClickActionParserRuleCall_4_8_1_0 = (RuleCall)cOnClickAssignment_4_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_8_2 = (Keyword)cGroup_4_8.eContents().get(2); private final Group cGroup_4_9 = (Group)cUnorderedGroup_4.eContents().get(9); private final Keyword cPaddingKeyword_4_9_0 = (Keyword)cGroup_4_9.eContents().get(0); private final Assignment cPaddingAssignment_4_9_1 = (Assignment)cGroup_4_9.eContents().get(1); private final RuleCall cPaddingDimensionVAParserRuleCall_4_9_1_0 = (RuleCall)cPaddingAssignment_4_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_9_2 = (Keyword)cGroup_4_9.eContents().get(2); private final Group cGroup_4_10 = (Group)cUnorderedGroup_4.eContents().get(10); private final Keyword cPaddingBottomKeyword_4_10_0 = (Keyword)cGroup_4_10.eContents().get(0); private final Assignment cPaddingBottomAssignment_4_10_1 = (Assignment)cGroup_4_10.eContents().get(1); private final RuleCall cPaddingBottomDimensionVAParserRuleCall_4_10_1_0 = (RuleCall)cPaddingBottomAssignment_4_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_10_2 = (Keyword)cGroup_4_10.eContents().get(2); private final Group cGroup_4_11 = (Group)cUnorderedGroup_4.eContents().get(11); private final Keyword cPaddingLeftKeyword_4_11_0 = (Keyword)cGroup_4_11.eContents().get(0); private final Assignment cPaddingLeftAssignment_4_11_1 = (Assignment)cGroup_4_11.eContents().get(1); private final RuleCall cPaddingLeftDimensionVAParserRuleCall_4_11_1_0 = (RuleCall)cPaddingLeftAssignment_4_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_11_2 = (Keyword)cGroup_4_11.eContents().get(2); private final Group cGroup_4_12 = (Group)cUnorderedGroup_4.eContents().get(12); private final Keyword cPaddingRightKeyword_4_12_0 = (Keyword)cGroup_4_12.eContents().get(0); private final Assignment cPaddingRightAssignment_4_12_1 = (Assignment)cGroup_4_12.eContents().get(1); private final RuleCall cPaddingRightDimensionVAParserRuleCall_4_12_1_0 = (RuleCall)cPaddingRightAssignment_4_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_12_2 = (Keyword)cGroup_4_12.eContents().get(2); private final Group cGroup_4_13 = (Group)cUnorderedGroup_4.eContents().get(13); private final Keyword cPaddingTopKeyword_4_13_0 = (Keyword)cGroup_4_13.eContents().get(0); private final Assignment cPaddingTopAssignment_4_13_1 = (Assignment)cGroup_4_13.eContents().get(1); private final RuleCall cPaddingTopDimensionVAParserRuleCall_4_13_1_0 = (RuleCall)cPaddingTopAssignment_4_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_13_2 = (Keyword)cGroup_4_13.eContents().get(2); private final Group cGroup_4_14 = (Group)cUnorderedGroup_4.eContents().get(14); private final Keyword cScrollbarsKeyword_4_14_0 = (Keyword)cGroup_4_14.eContents().get(0); private final Assignment cScrollbarsAssignment_4_14_1 = (Assignment)cGroup_4_14.eContents().get(1); private final RuleCall cScrollbarsBooleanVAParserRuleCall_4_14_1_0 = (RuleCall)cScrollbarsAssignment_4_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_14_2 = (Keyword)cGroup_4_14.eContents().get(2); private final Group cGroup_4_15 = (Group)cUnorderedGroup_4.eContents().get(15); private final Keyword cVisibilityKeyword_4_15_0 = (Keyword)cGroup_4_15.eContents().get(0); private final Assignment cVisibilityAssignment_4_15_1 = (Assignment)cGroup_4_15.eContents().get(1); private final RuleCall cVisibilityLayoutVisibilityKindEnumRuleCall_4_15_1_0 = (RuleCall)cVisibilityAssignment_4_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_15_2 = (Keyword)cGroup_4_15.eContents().get(2); private final Group cGroup_4_16 = (Group)cUnorderedGroup_4.eContents().get(16); private final Keyword cAnimationKeyword_4_16_0 = (Keyword)cGroup_4_16.eContents().get(0); private final Assignment cLayoutAnimationAssignment_4_16_1 = (Assignment)cGroup_4_16.eContents().get(1); private final RuleCall cLayoutAnimationAnimationVAParserRuleCall_4_16_1_0 = (RuleCall)cLayoutAnimationAssignment_4_16_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_16_2 = (Keyword)cGroup_4_16.eContents().get(2); private final Group cGroup_4_17 = (Group)cUnorderedGroup_4.eContents().get(17); private final Keyword cGravityKeyword_4_17_0 = (Keyword)cGroup_4_17.eContents().get(0); private final Assignment cGravityAssignment_4_17_1 = (Assignment)cGroup_4_17.eContents().get(1); private final RuleCall cGravityLayoutGravityKindEnumRuleCall_4_17_1_0 = (RuleCall)cGravityAssignment_4_17_1.eContents().get(0); private final Group cGroup_4_17_2 = (Group)cGroup_4_17.eContents().get(2); private final Keyword cVerticalLineKeyword_4_17_2_0 = (Keyword)cGroup_4_17_2.eContents().get(0); private final Assignment cGravityAssignment_4_17_2_1 = (Assignment)cGroup_4_17_2.eContents().get(1); private final RuleCall cGravityLayoutGravityKindEnumRuleCall_4_17_2_1_0 = (RuleCall)cGravityAssignment_4_17_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_17_3 = (Keyword)cGroup_4_17.eContents().get(3); private final Group cGroup_4_18 = (Group)cUnorderedGroup_4.eContents().get(18); private final Keyword cOrientationKeyword_4_18_0 = (Keyword)cGroup_4_18.eContents().get(0); private final Assignment cOrientationAssignment_4_18_1 = (Assignment)cGroup_4_18.eContents().get(1); private final RuleCall cOrientationLayoutOrientationKindEnumRuleCall_4_18_1_0 = (RuleCall)cOrientationAssignment_4_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_18_2 = (Keyword)cGroup_4_18.eContents().get(2); private final Group cGroup_4_19 = (Group)cUnorderedGroup_4.eContents().get(19); private final Keyword cDividerKeyword_4_19_0 = (Keyword)cGroup_4_19.eContents().get(0); private final Assignment cDividerAssignment_4_19_1 = (Assignment)cGroup_4_19.eContents().get(1); private final RuleCall cDividerAnyDrawableVAParserRuleCall_4_19_1_0 = (RuleCall)cDividerAssignment_4_19_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_19_2 = (Keyword)cGroup_4_19.eContents().get(2); private final Group cGroup_4_20 = (Group)cUnorderedGroup_4.eContents().get(20); private final Keyword cTabStripKeyword_4_20_0 = (Keyword)cGroup_4_20.eContents().get(0); private final Assignment cTrabStripEnabledAssignment_4_20_1 = (Assignment)cGroup_4_20.eContents().get(1); private final RuleCall cTrabStripEnabledBooleanVAParserRuleCall_4_20_1_0 = (RuleCall)cTrabStripEnabledAssignment_4_20_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_20_2 = (Keyword)cGroup_4_20.eContents().get(2); private final Group cGroup_4_21 = (Group)cUnorderedGroup_4.eContents().get(21); private final Keyword cTabStripLeftKeyword_4_21_0 = (Keyword)cGroup_4_21.eContents().get(0); private final Assignment cTrabStripLeftAssignment_4_21_1 = (Assignment)cGroup_4_21.eContents().get(1); private final RuleCall cTrabStripLeftAnyDrawableVAParserRuleCall_4_21_1_0 = (RuleCall)cTrabStripLeftAssignment_4_21_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_21_2 = (Keyword)cGroup_4_21.eContents().get(2); private final Group cGroup_4_22 = (Group)cUnorderedGroup_4.eContents().get(22); private final Keyword cTabStripRightKeyword_4_22_0 = (Keyword)cGroup_4_22.eContents().get(0); private final Assignment cTabStripRightAssignment_4_22_1 = (Assignment)cGroup_4_22.eContents().get(1); private final RuleCall cTabStripRightAnyDrawableVAParserRuleCall_4_22_1_0 = (RuleCall)cTabStripRightAssignment_4_22_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_22_2 = (Keyword)cGroup_4_22.eContents().get(2); private final Assignment cWidgetsAssignment_5 = (Assignment)cGroup.eContents().get(5); private final RuleCall cWidgetsViewCollectionParserRuleCall_5_0 = (RuleCall)cWidgetsAssignment_5.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); ////NOT tested //TabWidget: // "tabWidget" {TabWidget} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // //LinearLayout.LayoutParams // //NOTE: All its children can have this layout parameters too // // & ('layout:' layoutParams=LinearLayoutParams ';' )? // // //ViewGroup // //LinearLayout // //TabWidget // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")? & ("gravity:" // gravity+=LayoutGravityKind ("|" gravity+=LayoutGravityKind)* ";")? & ("orientation:" orientation=LayoutOrientationKind // ";")? & ("divider:" divider=AnyDrawableVA ";")? & ("tabStrip:" trabStripEnabled=BooleanVA ";")? & ("tabStripLeft:" // trabStripLeft=AnyDrawableVA ";")? & ("tabStripRight:" tabStripRight=AnyDrawableVA ";")?) widgets=ViewCollection? "}"; public ParserRule getRule() { return rule; } //"tabWidget" {TabWidget} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? ////LinearLayout.LayoutParams ////NOTE: All its children can have this layout parameters too //// & ('layout:' layoutParams=LinearLayoutParams ';' )? ////ViewGroup ////LinearLayout ////TabWidget //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")? & ("gravity:" //gravity+=LayoutGravityKind ("|" gravity+=LayoutGravityKind)* ";")? & ("orientation:" orientation=LayoutOrientationKind //";")? & ("divider:" divider=AnyDrawableVA ";")? & ("tabStrip:" trabStripEnabled=BooleanVA ";")? & ("tabStripLeft:" //trabStripLeft=AnyDrawableVA ";")? & ("tabStripRight:" tabStripRight=AnyDrawableVA ";")?) widgets=ViewCollection? "}" public Group getGroup() { return cGroup; } //"tabWidget" public Keyword getTabWidgetKeyword_0() { return cTabWidgetKeyword_0; } //{TabWidget} public Action getTabWidgetAction_1() { return cTabWidgetAction_1; } //name=ID? public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //"{" public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? ////LinearLayout.LayoutParams ////NOTE: All its children can have this layout parameters too //// & ('layout:' layoutParams=LinearLayoutParams ';' )? ////ViewGroup ////LinearLayout ////TabWidget //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")? & ("gravity:" //gravity+=LayoutGravityKind ("|" gravity+=LayoutGravityKind)* ";")? & ("orientation:" orientation=LayoutOrientationKind //";")? & ("divider:" divider=AnyDrawableVA ";")? & ("tabStrip:" trabStripEnabled=BooleanVA ";")? & ("tabStripLeft:" //trabStripLeft=AnyDrawableVA ";")? & ("tabStripRight:" tabStripRight=AnyDrawableVA ";")? public UnorderedGroup getUnorderedGroup_4() { return cUnorderedGroup_4; } //("alpha:" alpha=FLOAT ";")? public Group getGroup_4_0() { return cGroup_4_0; } //"alpha:" public Keyword getAlphaKeyword_4_0_0() { return cAlphaKeyword_4_0_0; } //alpha=FLOAT public Assignment getAlphaAssignment_4_0_1() { return cAlphaAssignment_4_0_1; } //FLOAT public RuleCall getAlphaFLOATTerminalRuleCall_4_0_1_0() { return cAlphaFLOATTerminalRuleCall_4_0_1_0; } //";" public Keyword getSemicolonKeyword_4_0_2() { return cSemicolonKeyword_4_0_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_4_1() { return cGroup_4_1; } //"background:" public Keyword getBackgroundKeyword_4_1_0() { return cBackgroundKeyword_4_1_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_4_1_1() { return cBackgroundAssignment_4_1_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_4_1_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_4_1_1_0; } //";" public Keyword getSemicolonKeyword_4_1_2() { return cSemicolonKeyword_4_1_2; } //("minHeight:" minHeight=DimensionVA ";")? public Group getGroup_4_2() { return cGroup_4_2; } //"minHeight:" public Keyword getMinHeightKeyword_4_2_0() { return cMinHeightKeyword_4_2_0; } //minHeight=DimensionVA public Assignment getMinHeightAssignment_4_2_1() { return cMinHeightAssignment_4_2_1; } //DimensionVA public RuleCall getMinHeightDimensionVAParserRuleCall_4_2_1_0() { return cMinHeightDimensionVAParserRuleCall_4_2_1_0; } //";" public Keyword getSemicolonKeyword_4_2_2() { return cSemicolonKeyword_4_2_2; } //("minWidth:" minWidth=DimensionVA ";")? public Group getGroup_4_3() { return cGroup_4_3; } //"minWidth:" public Keyword getMinWidthKeyword_4_3_0() { return cMinWidthKeyword_4_3_0; } //minWidth=DimensionVA public Assignment getMinWidthAssignment_4_3_1() { return cMinWidthAssignment_4_3_1; } //DimensionVA public RuleCall getMinWidthDimensionVAParserRuleCall_4_3_1_0() { return cMinWidthDimensionVAParserRuleCall_4_3_1_0; } //";" public Keyword getSemicolonKeyword_4_3_2() { return cSemicolonKeyword_4_3_2; } //("nextFocusDown:" nextFocusDown=[View] ";")? public Group getGroup_4_4() { return cGroup_4_4; } //"nextFocusDown:" public Keyword getNextFocusDownKeyword_4_4_0() { return cNextFocusDownKeyword_4_4_0; } //nextFocusDown=[View] public Assignment getNextFocusDownAssignment_4_4_1() { return cNextFocusDownAssignment_4_4_1; } //[View] public CrossReference getNextFocusDownViewCrossReference_4_4_1_0() { return cNextFocusDownViewCrossReference_4_4_1_0; } //ID public RuleCall getNextFocusDownViewIDTerminalRuleCall_4_4_1_0_1() { return cNextFocusDownViewIDTerminalRuleCall_4_4_1_0_1; } //";" public Keyword getSemicolonKeyword_4_4_2() { return cSemicolonKeyword_4_4_2; } //("nextFocusLeft:" nextFocusLeft=[View] ";")? public Group getGroup_4_5() { return cGroup_4_5; } //"nextFocusLeft:" public Keyword getNextFocusLeftKeyword_4_5_0() { return cNextFocusLeftKeyword_4_5_0; } //nextFocusLeft=[View] public Assignment getNextFocusLeftAssignment_4_5_1() { return cNextFocusLeftAssignment_4_5_1; } //[View] public CrossReference getNextFocusLeftViewCrossReference_4_5_1_0() { return cNextFocusLeftViewCrossReference_4_5_1_0; } //ID public RuleCall getNextFocusLeftViewIDTerminalRuleCall_4_5_1_0_1() { return cNextFocusLeftViewIDTerminalRuleCall_4_5_1_0_1; } //";" public Keyword getSemicolonKeyword_4_5_2() { return cSemicolonKeyword_4_5_2; } //("nextFocusRight:" nextFocusRight=[View] ";")? public Group getGroup_4_6() { return cGroup_4_6; } //"nextFocusRight:" public Keyword getNextFocusRightKeyword_4_6_0() { return cNextFocusRightKeyword_4_6_0; } //nextFocusRight=[View] public Assignment getNextFocusRightAssignment_4_6_1() { return cNextFocusRightAssignment_4_6_1; } //[View] public CrossReference getNextFocusRightViewCrossReference_4_6_1_0() { return cNextFocusRightViewCrossReference_4_6_1_0; } //ID public RuleCall getNextFocusRightViewIDTerminalRuleCall_4_6_1_0_1() { return cNextFocusRightViewIDTerminalRuleCall_4_6_1_0_1; } //";" public Keyword getSemicolonKeyword_4_6_2() { return cSemicolonKeyword_4_6_2; } //("nextFocusUp:" nextFocusUp=[View] ";")? public Group getGroup_4_7() { return cGroup_4_7; } //"nextFocusUp:" public Keyword getNextFocusUpKeyword_4_7_0() { return cNextFocusUpKeyword_4_7_0; } //nextFocusUp=[View] public Assignment getNextFocusUpAssignment_4_7_1() { return cNextFocusUpAssignment_4_7_1; } //[View] public CrossReference getNextFocusUpViewCrossReference_4_7_1_0() { return cNextFocusUpViewCrossReference_4_7_1_0; } //ID public RuleCall getNextFocusUpViewIDTerminalRuleCall_4_7_1_0_1() { return cNextFocusUpViewIDTerminalRuleCall_4_7_1_0_1; } //";" public Keyword getSemicolonKeyword_4_7_2() { return cSemicolonKeyword_4_7_2; } //("onClick:" onClick=Action ";")? public Group getGroup_4_8() { return cGroup_4_8; } //"onClick:" public Keyword getOnClickKeyword_4_8_0() { return cOnClickKeyword_4_8_0; } //onClick=Action public Assignment getOnClickAssignment_4_8_1() { return cOnClickAssignment_4_8_1; } //Action public RuleCall getOnClickActionParserRuleCall_4_8_1_0() { return cOnClickActionParserRuleCall_4_8_1_0; } //";" public Keyword getSemicolonKeyword_4_8_2() { return cSemicolonKeyword_4_8_2; } //("padding:" padding=DimensionVA ";")? public Group getGroup_4_9() { return cGroup_4_9; } //"padding:" public Keyword getPaddingKeyword_4_9_0() { return cPaddingKeyword_4_9_0; } //padding=DimensionVA public Assignment getPaddingAssignment_4_9_1() { return cPaddingAssignment_4_9_1; } //DimensionVA public RuleCall getPaddingDimensionVAParserRuleCall_4_9_1_0() { return cPaddingDimensionVAParserRuleCall_4_9_1_0; } //";" public Keyword getSemicolonKeyword_4_9_2() { return cSemicolonKeyword_4_9_2; } //("paddingBottom:" paddingBottom=DimensionVA ";")? public Group getGroup_4_10() { return cGroup_4_10; } //"paddingBottom:" public Keyword getPaddingBottomKeyword_4_10_0() { return cPaddingBottomKeyword_4_10_0; } //paddingBottom=DimensionVA public Assignment getPaddingBottomAssignment_4_10_1() { return cPaddingBottomAssignment_4_10_1; } //DimensionVA public RuleCall getPaddingBottomDimensionVAParserRuleCall_4_10_1_0() { return cPaddingBottomDimensionVAParserRuleCall_4_10_1_0; } //";" public Keyword getSemicolonKeyword_4_10_2() { return cSemicolonKeyword_4_10_2; } //("paddingLeft:" paddingLeft=DimensionVA ";")? public Group getGroup_4_11() { return cGroup_4_11; } //"paddingLeft:" public Keyword getPaddingLeftKeyword_4_11_0() { return cPaddingLeftKeyword_4_11_0; } //paddingLeft=DimensionVA public Assignment getPaddingLeftAssignment_4_11_1() { return cPaddingLeftAssignment_4_11_1; } //DimensionVA public RuleCall getPaddingLeftDimensionVAParserRuleCall_4_11_1_0() { return cPaddingLeftDimensionVAParserRuleCall_4_11_1_0; } //";" public Keyword getSemicolonKeyword_4_11_2() { return cSemicolonKeyword_4_11_2; } //("paddingRight:" paddingRight=DimensionVA ";")? public Group getGroup_4_12() { return cGroup_4_12; } //"paddingRight:" public Keyword getPaddingRightKeyword_4_12_0() { return cPaddingRightKeyword_4_12_0; } //paddingRight=DimensionVA public Assignment getPaddingRightAssignment_4_12_1() { return cPaddingRightAssignment_4_12_1; } //DimensionVA public RuleCall getPaddingRightDimensionVAParserRuleCall_4_12_1_0() { return cPaddingRightDimensionVAParserRuleCall_4_12_1_0; } //";" public Keyword getSemicolonKeyword_4_12_2() { return cSemicolonKeyword_4_12_2; } //("paddingTop:" paddingTop=DimensionVA ";")? public Group getGroup_4_13() { return cGroup_4_13; } //"paddingTop:" public Keyword getPaddingTopKeyword_4_13_0() { return cPaddingTopKeyword_4_13_0; } //paddingTop=DimensionVA public Assignment getPaddingTopAssignment_4_13_1() { return cPaddingTopAssignment_4_13_1; } //DimensionVA public RuleCall getPaddingTopDimensionVAParserRuleCall_4_13_1_0() { return cPaddingTopDimensionVAParserRuleCall_4_13_1_0; } //";" public Keyword getSemicolonKeyword_4_13_2() { return cSemicolonKeyword_4_13_2; } //("scrollbars:" scrollbars=BooleanVA ";")? public Group getGroup_4_14() { return cGroup_4_14; } //"scrollbars:" public Keyword getScrollbarsKeyword_4_14_0() { return cScrollbarsKeyword_4_14_0; } //scrollbars=BooleanVA public Assignment getScrollbarsAssignment_4_14_1() { return cScrollbarsAssignment_4_14_1; } //BooleanVA public RuleCall getScrollbarsBooleanVAParserRuleCall_4_14_1_0() { return cScrollbarsBooleanVAParserRuleCall_4_14_1_0; } //";" public Keyword getSemicolonKeyword_4_14_2() { return cSemicolonKeyword_4_14_2; } //("visibility:" visibility=LayoutVisibilityKind ";")? public Group getGroup_4_15() { return cGroup_4_15; } //"visibility:" public Keyword getVisibilityKeyword_4_15_0() { return cVisibilityKeyword_4_15_0; } //visibility=LayoutVisibilityKind public Assignment getVisibilityAssignment_4_15_1() { return cVisibilityAssignment_4_15_1; } //LayoutVisibilityKind public RuleCall getVisibilityLayoutVisibilityKindEnumRuleCall_4_15_1_0() { return cVisibilityLayoutVisibilityKindEnumRuleCall_4_15_1_0; } //";" public Keyword getSemicolonKeyword_4_15_2() { return cSemicolonKeyword_4_15_2; } //("animation:" layoutAnimation=AnimationVA ";")? public Group getGroup_4_16() { return cGroup_4_16; } //"animation:" public Keyword getAnimationKeyword_4_16_0() { return cAnimationKeyword_4_16_0; } //layoutAnimation=AnimationVA public Assignment getLayoutAnimationAssignment_4_16_1() { return cLayoutAnimationAssignment_4_16_1; } //AnimationVA public RuleCall getLayoutAnimationAnimationVAParserRuleCall_4_16_1_0() { return cLayoutAnimationAnimationVAParserRuleCall_4_16_1_0; } //";" public Keyword getSemicolonKeyword_4_16_2() { return cSemicolonKeyword_4_16_2; } //("gravity:" gravity+=LayoutGravityKind ("|" gravity+=LayoutGravityKind)* ";")? public Group getGroup_4_17() { return cGroup_4_17; } //"gravity:" public Keyword getGravityKeyword_4_17_0() { return cGravityKeyword_4_17_0; } //gravity+=LayoutGravityKind public Assignment getGravityAssignment_4_17_1() { return cGravityAssignment_4_17_1; } //LayoutGravityKind public RuleCall getGravityLayoutGravityKindEnumRuleCall_4_17_1_0() { return cGravityLayoutGravityKindEnumRuleCall_4_17_1_0; } //("|" gravity+=LayoutGravityKind)* public Group getGroup_4_17_2() { return cGroup_4_17_2; } //"|" public Keyword getVerticalLineKeyword_4_17_2_0() { return cVerticalLineKeyword_4_17_2_0; } //gravity+=LayoutGravityKind public Assignment getGravityAssignment_4_17_2_1() { return cGravityAssignment_4_17_2_1; } //LayoutGravityKind public RuleCall getGravityLayoutGravityKindEnumRuleCall_4_17_2_1_0() { return cGravityLayoutGravityKindEnumRuleCall_4_17_2_1_0; } //";" public Keyword getSemicolonKeyword_4_17_3() { return cSemicolonKeyword_4_17_3; } //("orientation:" orientation=LayoutOrientationKind ";")? public Group getGroup_4_18() { return cGroup_4_18; } //"orientation:" public Keyword getOrientationKeyword_4_18_0() { return cOrientationKeyword_4_18_0; } //orientation=LayoutOrientationKind public Assignment getOrientationAssignment_4_18_1() { return cOrientationAssignment_4_18_1; } //LayoutOrientationKind public RuleCall getOrientationLayoutOrientationKindEnumRuleCall_4_18_1_0() { return cOrientationLayoutOrientationKindEnumRuleCall_4_18_1_0; } //";" public Keyword getSemicolonKeyword_4_18_2() { return cSemicolonKeyword_4_18_2; } //("divider:" divider=AnyDrawableVA ";")? public Group getGroup_4_19() { return cGroup_4_19; } //"divider:" public Keyword getDividerKeyword_4_19_0() { return cDividerKeyword_4_19_0; } //divider=AnyDrawableVA public Assignment getDividerAssignment_4_19_1() { return cDividerAssignment_4_19_1; } //AnyDrawableVA public RuleCall getDividerAnyDrawableVAParserRuleCall_4_19_1_0() { return cDividerAnyDrawableVAParserRuleCall_4_19_1_0; } //";" public Keyword getSemicolonKeyword_4_19_2() { return cSemicolonKeyword_4_19_2; } //("tabStrip:" trabStripEnabled=BooleanVA ";")? public Group getGroup_4_20() { return cGroup_4_20; } //"tabStrip:" public Keyword getTabStripKeyword_4_20_0() { return cTabStripKeyword_4_20_0; } //trabStripEnabled=BooleanVA public Assignment getTrabStripEnabledAssignment_4_20_1() { return cTrabStripEnabledAssignment_4_20_1; } //BooleanVA public RuleCall getTrabStripEnabledBooleanVAParserRuleCall_4_20_1_0() { return cTrabStripEnabledBooleanVAParserRuleCall_4_20_1_0; } //";" public Keyword getSemicolonKeyword_4_20_2() { return cSemicolonKeyword_4_20_2; } //("tabStripLeft:" trabStripLeft=AnyDrawableVA ";")? public Group getGroup_4_21() { return cGroup_4_21; } //"tabStripLeft:" public Keyword getTabStripLeftKeyword_4_21_0() { return cTabStripLeftKeyword_4_21_0; } //trabStripLeft=AnyDrawableVA public Assignment getTrabStripLeftAssignment_4_21_1() { return cTrabStripLeftAssignment_4_21_1; } //AnyDrawableVA public RuleCall getTrabStripLeftAnyDrawableVAParserRuleCall_4_21_1_0() { return cTrabStripLeftAnyDrawableVAParserRuleCall_4_21_1_0; } //";" public Keyword getSemicolonKeyword_4_21_2() { return cSemicolonKeyword_4_21_2; } //("tabStripRight:" tabStripRight=AnyDrawableVA ";")? public Group getGroup_4_22() { return cGroup_4_22; } //"tabStripRight:" public Keyword getTabStripRightKeyword_4_22_0() { return cTabStripRightKeyword_4_22_0; } //tabStripRight=AnyDrawableVA public Assignment getTabStripRightAssignment_4_22_1() { return cTabStripRightAssignment_4_22_1; } //AnyDrawableVA public RuleCall getTabStripRightAnyDrawableVAParserRuleCall_4_22_1_0() { return cTabStripRightAnyDrawableVAParserRuleCall_4_22_1_0; } //";" public Keyword getSemicolonKeyword_4_22_2() { return cSemicolonKeyword_4_22_2; } //widgets=ViewCollection? public Assignment getWidgetsAssignment_5() { return cWidgetsAssignment_5; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_5_0() { return cWidgetsViewCollectionParserRuleCall_5_0; } //"}" public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } public class FrameLayoutElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FrameLayout"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cFrameKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLayoutKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Action cFrameLayoutAction_2 = (Action)cGroup.eContents().get(2); private final Assignment cNameAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cNameIDTerminalRuleCall_3_0 = (RuleCall)cNameAssignment_3.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5); private final Group cGroup_5_0 = (Group)cUnorderedGroup_5.eContents().get(0); private final Keyword cAlphaKeyword_5_0_0 = (Keyword)cGroup_5_0.eContents().get(0); private final Assignment cAlphaAssignment_5_0_1 = (Assignment)cGroup_5_0.eContents().get(1); private final RuleCall cAlphaFLOATTerminalRuleCall_5_0_1_0 = (RuleCall)cAlphaAssignment_5_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_0_2 = (Keyword)cGroup_5_0.eContents().get(2); private final Group cGroup_5_1 = (Group)cUnorderedGroup_5.eContents().get(1); private final Keyword cBackgroundKeyword_5_1_0 = (Keyword)cGroup_5_1.eContents().get(0); private final Assignment cBackgroundAssignment_5_1_1 = (Assignment)cGroup_5_1.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0 = (RuleCall)cBackgroundAssignment_5_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_1_2 = (Keyword)cGroup_5_1.eContents().get(2); private final Group cGroup_5_2 = (Group)cUnorderedGroup_5.eContents().get(2); private final Keyword cMinHeightKeyword_5_2_0 = (Keyword)cGroup_5_2.eContents().get(0); private final Assignment cMinHeightAssignment_5_2_1 = (Assignment)cGroup_5_2.eContents().get(1); private final RuleCall cMinHeightDimensionVAParserRuleCall_5_2_1_0 = (RuleCall)cMinHeightAssignment_5_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_2_2 = (Keyword)cGroup_5_2.eContents().get(2); private final Group cGroup_5_3 = (Group)cUnorderedGroup_5.eContents().get(3); private final Keyword cMinWidthKeyword_5_3_0 = (Keyword)cGroup_5_3.eContents().get(0); private final Assignment cMinWidthAssignment_5_3_1 = (Assignment)cGroup_5_3.eContents().get(1); private final RuleCall cMinWidthDimensionVAParserRuleCall_5_3_1_0 = (RuleCall)cMinWidthAssignment_5_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_3_2 = (Keyword)cGroup_5_3.eContents().get(2); private final Group cGroup_5_4 = (Group)cUnorderedGroup_5.eContents().get(4); private final Keyword cNextFocusDownKeyword_5_4_0 = (Keyword)cGroup_5_4.eContents().get(0); private final Assignment cNextFocusDownAssignment_5_4_1 = (Assignment)cGroup_5_4.eContents().get(1); private final CrossReference cNextFocusDownViewCrossReference_5_4_1_0 = (CrossReference)cNextFocusDownAssignment_5_4_1.eContents().get(0); private final RuleCall cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1 = (RuleCall)cNextFocusDownViewCrossReference_5_4_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_4_2 = (Keyword)cGroup_5_4.eContents().get(2); private final Group cGroup_5_5 = (Group)cUnorderedGroup_5.eContents().get(5); private final Keyword cNextFocusLeftKeyword_5_5_0 = (Keyword)cGroup_5_5.eContents().get(0); private final Assignment cNextFocusLeftAssignment_5_5_1 = (Assignment)cGroup_5_5.eContents().get(1); private final CrossReference cNextFocusLeftViewCrossReference_5_5_1_0 = (CrossReference)cNextFocusLeftAssignment_5_5_1.eContents().get(0); private final RuleCall cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1 = (RuleCall)cNextFocusLeftViewCrossReference_5_5_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_5_2 = (Keyword)cGroup_5_5.eContents().get(2); private final Group cGroup_5_6 = (Group)cUnorderedGroup_5.eContents().get(6); private final Keyword cNextFocusRightKeyword_5_6_0 = (Keyword)cGroup_5_6.eContents().get(0); private final Assignment cNextFocusRightAssignment_5_6_1 = (Assignment)cGroup_5_6.eContents().get(1); private final CrossReference cNextFocusRightViewCrossReference_5_6_1_0 = (CrossReference)cNextFocusRightAssignment_5_6_1.eContents().get(0); private final RuleCall cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1 = (RuleCall)cNextFocusRightViewCrossReference_5_6_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_6_2 = (Keyword)cGroup_5_6.eContents().get(2); private final Group cGroup_5_7 = (Group)cUnorderedGroup_5.eContents().get(7); private final Keyword cNextFocusUpKeyword_5_7_0 = (Keyword)cGroup_5_7.eContents().get(0); private final Assignment cNextFocusUpAssignment_5_7_1 = (Assignment)cGroup_5_7.eContents().get(1); private final CrossReference cNextFocusUpViewCrossReference_5_7_1_0 = (CrossReference)cNextFocusUpAssignment_5_7_1.eContents().get(0); private final RuleCall cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1 = (RuleCall)cNextFocusUpViewCrossReference_5_7_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_5_7_2 = (Keyword)cGroup_5_7.eContents().get(2); private final Group cGroup_5_8 = (Group)cUnorderedGroup_5.eContents().get(8); private final Keyword cOnClickKeyword_5_8_0 = (Keyword)cGroup_5_8.eContents().get(0); private final Assignment cOnClickAssignment_5_8_1 = (Assignment)cGroup_5_8.eContents().get(1); private final RuleCall cOnClickActionParserRuleCall_5_8_1_0 = (RuleCall)cOnClickAssignment_5_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_8_2 = (Keyword)cGroup_5_8.eContents().get(2); private final Group cGroup_5_9 = (Group)cUnorderedGroup_5.eContents().get(9); private final Keyword cPaddingKeyword_5_9_0 = (Keyword)cGroup_5_9.eContents().get(0); private final Assignment cPaddingAssignment_5_9_1 = (Assignment)cGroup_5_9.eContents().get(1); private final RuleCall cPaddingDimensionVAParserRuleCall_5_9_1_0 = (RuleCall)cPaddingAssignment_5_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_9_2 = (Keyword)cGroup_5_9.eContents().get(2); private final Group cGroup_5_10 = (Group)cUnorderedGroup_5.eContents().get(10); private final Keyword cPaddingBottomKeyword_5_10_0 = (Keyword)cGroup_5_10.eContents().get(0); private final Assignment cPaddingBottomAssignment_5_10_1 = (Assignment)cGroup_5_10.eContents().get(1); private final RuleCall cPaddingBottomDimensionVAParserRuleCall_5_10_1_0 = (RuleCall)cPaddingBottomAssignment_5_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_10_2 = (Keyword)cGroup_5_10.eContents().get(2); private final Group cGroup_5_11 = (Group)cUnorderedGroup_5.eContents().get(11); private final Keyword cPaddingLeftKeyword_5_11_0 = (Keyword)cGroup_5_11.eContents().get(0); private final Assignment cPaddingLeftAssignment_5_11_1 = (Assignment)cGroup_5_11.eContents().get(1); private final RuleCall cPaddingLeftDimensionVAParserRuleCall_5_11_1_0 = (RuleCall)cPaddingLeftAssignment_5_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_11_2 = (Keyword)cGroup_5_11.eContents().get(2); private final Group cGroup_5_12 = (Group)cUnorderedGroup_5.eContents().get(12); private final Keyword cPaddingRightKeyword_5_12_0 = (Keyword)cGroup_5_12.eContents().get(0); private final Assignment cPaddingRightAssignment_5_12_1 = (Assignment)cGroup_5_12.eContents().get(1); private final RuleCall cPaddingRightDimensionVAParserRuleCall_5_12_1_0 = (RuleCall)cPaddingRightAssignment_5_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_12_2 = (Keyword)cGroup_5_12.eContents().get(2); private final Group cGroup_5_13 = (Group)cUnorderedGroup_5.eContents().get(13); private final Keyword cPaddingTopKeyword_5_13_0 = (Keyword)cGroup_5_13.eContents().get(0); private final Assignment cPaddingTopAssignment_5_13_1 = (Assignment)cGroup_5_13.eContents().get(1); private final RuleCall cPaddingTopDimensionVAParserRuleCall_5_13_1_0 = (RuleCall)cPaddingTopAssignment_5_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_13_2 = (Keyword)cGroup_5_13.eContents().get(2); private final Group cGroup_5_14 = (Group)cUnorderedGroup_5.eContents().get(14); private final Keyword cScrollbarsKeyword_5_14_0 = (Keyword)cGroup_5_14.eContents().get(0); private final Assignment cScrollbarsAssignment_5_14_1 = (Assignment)cGroup_5_14.eContents().get(1); private final RuleCall cScrollbarsBooleanVAParserRuleCall_5_14_1_0 = (RuleCall)cScrollbarsAssignment_5_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_14_2 = (Keyword)cGroup_5_14.eContents().get(2); private final Group cGroup_5_15 = (Group)cUnorderedGroup_5.eContents().get(15); private final Keyword cVisibilityKeyword_5_15_0 = (Keyword)cGroup_5_15.eContents().get(0); private final Assignment cVisibilityAssignment_5_15_1 = (Assignment)cGroup_5_15.eContents().get(1); private final RuleCall cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0 = (RuleCall)cVisibilityAssignment_5_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_15_2 = (Keyword)cGroup_5_15.eContents().get(2); private final Group cGroup_5_16 = (Group)cUnorderedGroup_5.eContents().get(16); private final Keyword cAnimationKeyword_5_16_0 = (Keyword)cGroup_5_16.eContents().get(0); private final Assignment cLayoutAnimationAssignment_5_16_1 = (Assignment)cGroup_5_16.eContents().get(1); private final RuleCall cLayoutAnimationAnimationVAParserRuleCall_5_16_1_0 = (RuleCall)cLayoutAnimationAssignment_5_16_1.eContents().get(0); private final Keyword cSemicolonKeyword_5_16_2 = (Keyword)cGroup_5_16.eContents().get(2); private final Assignment cWidgetsAssignment_6 = (Assignment)cGroup.eContents().get(6); private final RuleCall cWidgetsViewCollectionParserRuleCall_6_0 = (RuleCall)cWidgetsAssignment_6.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7); ////NOT tested //FrameLayout: // "frame" "layout" {FrameLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // // & ('layout:' layoutParams=FrameLayoutParams ';' )? // // //ViewGroup // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")?) // layout=Layout // widgets=ViewCollection? "}"; public ParserRule getRule() { return rule; } //"frame" "layout" {FrameLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? //// & ('layout:' layoutParams=FrameLayoutParams ';' )? ////ViewGroup //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")?) // layout=Layout //widgets=ViewCollection? "}" public Group getGroup() { return cGroup; } //"frame" public Keyword getFrameKeyword_0() { return cFrameKeyword_0; } //"layout" public Keyword getLayoutKeyword_1() { return cLayoutKeyword_1; } //{FrameLayout} public Action getFrameLayoutAction_2() { return cFrameLayoutAction_2; } //name=ID? public Assignment getNameAssignment_3() { return cNameAssignment_3; } //ID public RuleCall getNameIDTerminalRuleCall_3_0() { return cNameIDTerminalRuleCall_3_0; } //"{" public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } //("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? //// & ('rotationX:' rotationX=DimensionVA';' )? //// & ('rotationY:' rotationY=DimensionVA';' )? //// & ('saveEnabled:' saveEnabled=BooleanVA';' )? //// & ('scaleX:' scaleX=DimensionVA';' )? //// & ('scaleY:' scaleY=DimensionVA';' )? //// & ('scrollX:' scrollX=DimensionVA';' )? //// & ('scrollY:' scrollY=DimensionVA';' )? //// & ('transformPivotX:' transformPivotX=DimensionVA';' )? //// & ('transformPivotY:' transformPivotY=DimensionVA';' )? //// & ('translationX:' translationX=DimensionVA';' )? //// & ('translationY:' translationY=DimensionVA';' )? //// & ('layout:' layoutParams=FrameLayoutParams ';' )? ////ViewGroup //& ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" //minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] //";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" //onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & //("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" //paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" //visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")? public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; } //("alpha:" alpha=FLOAT ";")? public Group getGroup_5_0() { return cGroup_5_0; } //"alpha:" public Keyword getAlphaKeyword_5_0_0() { return cAlphaKeyword_5_0_0; } //alpha=FLOAT public Assignment getAlphaAssignment_5_0_1() { return cAlphaAssignment_5_0_1; } //FLOAT public RuleCall getAlphaFLOATTerminalRuleCall_5_0_1_0() { return cAlphaFLOATTerminalRuleCall_5_0_1_0; } //";" public Keyword getSemicolonKeyword_5_0_2() { return cSemicolonKeyword_5_0_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_5_1() { return cGroup_5_1; } //"background:" public Keyword getBackgroundKeyword_5_1_0() { return cBackgroundKeyword_5_1_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_5_1_1() { return cBackgroundAssignment_5_1_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_5_1_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_5_1_1_0; } //";" public Keyword getSemicolonKeyword_5_1_2() { return cSemicolonKeyword_5_1_2; } //("minHeight:" minHeight=DimensionVA ";")? public Group getGroup_5_2() { return cGroup_5_2; } //"minHeight:" public Keyword getMinHeightKeyword_5_2_0() { return cMinHeightKeyword_5_2_0; } //minHeight=DimensionVA public Assignment getMinHeightAssignment_5_2_1() { return cMinHeightAssignment_5_2_1; } //DimensionVA public RuleCall getMinHeightDimensionVAParserRuleCall_5_2_1_0() { return cMinHeightDimensionVAParserRuleCall_5_2_1_0; } //";" public Keyword getSemicolonKeyword_5_2_2() { return cSemicolonKeyword_5_2_2; } //("minWidth:" minWidth=DimensionVA ";")? public Group getGroup_5_3() { return cGroup_5_3; } //"minWidth:" public Keyword getMinWidthKeyword_5_3_0() { return cMinWidthKeyword_5_3_0; } //minWidth=DimensionVA public Assignment getMinWidthAssignment_5_3_1() { return cMinWidthAssignment_5_3_1; } //DimensionVA public RuleCall getMinWidthDimensionVAParserRuleCall_5_3_1_0() { return cMinWidthDimensionVAParserRuleCall_5_3_1_0; } //";" public Keyword getSemicolonKeyword_5_3_2() { return cSemicolonKeyword_5_3_2; } //("nextFocusDown:" nextFocusDown=[View] ";")? public Group getGroup_5_4() { return cGroup_5_4; } //"nextFocusDown:" public Keyword getNextFocusDownKeyword_5_4_0() { return cNextFocusDownKeyword_5_4_0; } //nextFocusDown=[View] public Assignment getNextFocusDownAssignment_5_4_1() { return cNextFocusDownAssignment_5_4_1; } //[View] public CrossReference getNextFocusDownViewCrossReference_5_4_1_0() { return cNextFocusDownViewCrossReference_5_4_1_0; } //ID public RuleCall getNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1() { return cNextFocusDownViewIDTerminalRuleCall_5_4_1_0_1; } //";" public Keyword getSemicolonKeyword_5_4_2() { return cSemicolonKeyword_5_4_2; } //("nextFocusLeft:" nextFocusLeft=[View] ";")? public Group getGroup_5_5() { return cGroup_5_5; } //"nextFocusLeft:" public Keyword getNextFocusLeftKeyword_5_5_0() { return cNextFocusLeftKeyword_5_5_0; } //nextFocusLeft=[View] public Assignment getNextFocusLeftAssignment_5_5_1() { return cNextFocusLeftAssignment_5_5_1; } //[View] public CrossReference getNextFocusLeftViewCrossReference_5_5_1_0() { return cNextFocusLeftViewCrossReference_5_5_1_0; } //ID public RuleCall getNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1() { return cNextFocusLeftViewIDTerminalRuleCall_5_5_1_0_1; } //";" public Keyword getSemicolonKeyword_5_5_2() { return cSemicolonKeyword_5_5_2; } //("nextFocusRight:" nextFocusRight=[View] ";")? public Group getGroup_5_6() { return cGroup_5_6; } //"nextFocusRight:" public Keyword getNextFocusRightKeyword_5_6_0() { return cNextFocusRightKeyword_5_6_0; } //nextFocusRight=[View] public Assignment getNextFocusRightAssignment_5_6_1() { return cNextFocusRightAssignment_5_6_1; } //[View] public CrossReference getNextFocusRightViewCrossReference_5_6_1_0() { return cNextFocusRightViewCrossReference_5_6_1_0; } //ID public RuleCall getNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1() { return cNextFocusRightViewIDTerminalRuleCall_5_6_1_0_1; } //";" public Keyword getSemicolonKeyword_5_6_2() { return cSemicolonKeyword_5_6_2; } //("nextFocusUp:" nextFocusUp=[View] ";")? public Group getGroup_5_7() { return cGroup_5_7; } //"nextFocusUp:" public Keyword getNextFocusUpKeyword_5_7_0() { return cNextFocusUpKeyword_5_7_0; } //nextFocusUp=[View] public Assignment getNextFocusUpAssignment_5_7_1() { return cNextFocusUpAssignment_5_7_1; } //[View] public CrossReference getNextFocusUpViewCrossReference_5_7_1_0() { return cNextFocusUpViewCrossReference_5_7_1_0; } //ID public RuleCall getNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1() { return cNextFocusUpViewIDTerminalRuleCall_5_7_1_0_1; } //";" public Keyword getSemicolonKeyword_5_7_2() { return cSemicolonKeyword_5_7_2; } //("onClick:" onClick=Action ";")? public Group getGroup_5_8() { return cGroup_5_8; } //"onClick:" public Keyword getOnClickKeyword_5_8_0() { return cOnClickKeyword_5_8_0; } //onClick=Action public Assignment getOnClickAssignment_5_8_1() { return cOnClickAssignment_5_8_1; } //Action public RuleCall getOnClickActionParserRuleCall_5_8_1_0() { return cOnClickActionParserRuleCall_5_8_1_0; } //";" public Keyword getSemicolonKeyword_5_8_2() { return cSemicolonKeyword_5_8_2; } //("padding:" padding=DimensionVA ";")? public Group getGroup_5_9() { return cGroup_5_9; } //"padding:" public Keyword getPaddingKeyword_5_9_0() { return cPaddingKeyword_5_9_0; } //padding=DimensionVA public Assignment getPaddingAssignment_5_9_1() { return cPaddingAssignment_5_9_1; } //DimensionVA public RuleCall getPaddingDimensionVAParserRuleCall_5_9_1_0() { return cPaddingDimensionVAParserRuleCall_5_9_1_0; } //";" public Keyword getSemicolonKeyword_5_9_2() { return cSemicolonKeyword_5_9_2; } //("paddingBottom:" paddingBottom=DimensionVA ";")? public Group getGroup_5_10() { return cGroup_5_10; } //"paddingBottom:" public Keyword getPaddingBottomKeyword_5_10_0() { return cPaddingBottomKeyword_5_10_0; } //paddingBottom=DimensionVA public Assignment getPaddingBottomAssignment_5_10_1() { return cPaddingBottomAssignment_5_10_1; } //DimensionVA public RuleCall getPaddingBottomDimensionVAParserRuleCall_5_10_1_0() { return cPaddingBottomDimensionVAParserRuleCall_5_10_1_0; } //";" public Keyword getSemicolonKeyword_5_10_2() { return cSemicolonKeyword_5_10_2; } //("paddingLeft:" paddingLeft=DimensionVA ";")? public Group getGroup_5_11() { return cGroup_5_11; } //"paddingLeft:" public Keyword getPaddingLeftKeyword_5_11_0() { return cPaddingLeftKeyword_5_11_0; } //paddingLeft=DimensionVA public Assignment getPaddingLeftAssignment_5_11_1() { return cPaddingLeftAssignment_5_11_1; } //DimensionVA public RuleCall getPaddingLeftDimensionVAParserRuleCall_5_11_1_0() { return cPaddingLeftDimensionVAParserRuleCall_5_11_1_0; } //";" public Keyword getSemicolonKeyword_5_11_2() { return cSemicolonKeyword_5_11_2; } //("paddingRight:" paddingRight=DimensionVA ";")? public Group getGroup_5_12() { return cGroup_5_12; } //"paddingRight:" public Keyword getPaddingRightKeyword_5_12_0() { return cPaddingRightKeyword_5_12_0; } //paddingRight=DimensionVA public Assignment getPaddingRightAssignment_5_12_1() { return cPaddingRightAssignment_5_12_1; } //DimensionVA public RuleCall getPaddingRightDimensionVAParserRuleCall_5_12_1_0() { return cPaddingRightDimensionVAParserRuleCall_5_12_1_0; } //";" public Keyword getSemicolonKeyword_5_12_2() { return cSemicolonKeyword_5_12_2; } //("paddingTop:" paddingTop=DimensionVA ";")? public Group getGroup_5_13() { return cGroup_5_13; } //"paddingTop:" public Keyword getPaddingTopKeyword_5_13_0() { return cPaddingTopKeyword_5_13_0; } //paddingTop=DimensionVA public Assignment getPaddingTopAssignment_5_13_1() { return cPaddingTopAssignment_5_13_1; } //DimensionVA public RuleCall getPaddingTopDimensionVAParserRuleCall_5_13_1_0() { return cPaddingTopDimensionVAParserRuleCall_5_13_1_0; } //";" public Keyword getSemicolonKeyword_5_13_2() { return cSemicolonKeyword_5_13_2; } //("scrollbars:" scrollbars=BooleanVA ";")? public Group getGroup_5_14() { return cGroup_5_14; } //"scrollbars:" public Keyword getScrollbarsKeyword_5_14_0() { return cScrollbarsKeyword_5_14_0; } //scrollbars=BooleanVA public Assignment getScrollbarsAssignment_5_14_1() { return cScrollbarsAssignment_5_14_1; } //BooleanVA public RuleCall getScrollbarsBooleanVAParserRuleCall_5_14_1_0() { return cScrollbarsBooleanVAParserRuleCall_5_14_1_0; } //";" public Keyword getSemicolonKeyword_5_14_2() { return cSemicolonKeyword_5_14_2; } //("visibility:" visibility=LayoutVisibilityKind ";")? public Group getGroup_5_15() { return cGroup_5_15; } //"visibility:" public Keyword getVisibilityKeyword_5_15_0() { return cVisibilityKeyword_5_15_0; } //visibility=LayoutVisibilityKind public Assignment getVisibilityAssignment_5_15_1() { return cVisibilityAssignment_5_15_1; } //LayoutVisibilityKind public RuleCall getVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0() { return cVisibilityLayoutVisibilityKindEnumRuleCall_5_15_1_0; } //";" public Keyword getSemicolonKeyword_5_15_2() { return cSemicolonKeyword_5_15_2; } //("animation:" layoutAnimation=AnimationVA ";")? public Group getGroup_5_16() { return cGroup_5_16; } //"animation:" public Keyword getAnimationKeyword_5_16_0() { return cAnimationKeyword_5_16_0; } //layoutAnimation=AnimationVA public Assignment getLayoutAnimationAssignment_5_16_1() { return cLayoutAnimationAssignment_5_16_1; } //AnimationVA public RuleCall getLayoutAnimationAnimationVAParserRuleCall_5_16_1_0() { return cLayoutAnimationAnimationVAParserRuleCall_5_16_1_0; } //";" public Keyword getSemicolonKeyword_5_16_2() { return cSemicolonKeyword_5_16_2; } //// layout=Layout //widgets=ViewCollection? public Assignment getWidgetsAssignment_6() { return cWidgetsAssignment_6; } //ViewCollection public RuleCall getWidgetsViewCollectionParserRuleCall_6_0() { return cWidgetsViewCollectionParserRuleCall_6_0; } //"}" public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } public class LayoutParamsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LayoutParams"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cLayoutKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Action cLayoutParamsAction_2 = (Action)cGroup.eContents().get(2); private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); private final Keyword cHeightKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); private final Assignment cLayout_heightAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); private final RuleCall cLayout_heightLayoutDimensionVAParserRuleCall_3_0_1_0 = (RuleCall)cLayout_heightAssignment_3_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_0_2 = (Keyword)cGroup_3_0.eContents().get(2); private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); private final Keyword cWidthKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); private final Assignment cLayout_widthAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); private final RuleCall cLayout_widthLayoutDimensionVAParserRuleCall_3_1_1_0 = (RuleCall)cLayout_widthAssignment_3_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); private final Keyword cWeightKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); private final Assignment cLayout_weightAssignment_3_2_1 = (Assignment)cGroup_3_2.eContents().get(1); private final RuleCall cLayout_weightIntegerVAParserRuleCall_3_2_1_0 = (RuleCall)cLayout_weightAssignment_3_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_2 = (Keyword)cGroup_3_2.eContents().get(2); private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3); private final Keyword cMarginBottomKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0); private final Assignment cLayout_marginBottomAssignment_3_3_1 = (Assignment)cGroup_3_3.eContents().get(1); private final RuleCall cLayout_marginBottomDimensionVAParserRuleCall_3_3_1_0 = (RuleCall)cLayout_marginBottomAssignment_3_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_3_2 = (Keyword)cGroup_3_3.eContents().get(2); private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); private final Keyword cMarginLeftKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0); private final Assignment cLayout_marginLeftAssignment_3_4_1 = (Assignment)cGroup_3_4.eContents().get(1); private final RuleCall cLayout_marginLeftDimensionVAParserRuleCall_3_4_1_0 = (RuleCall)cLayout_marginLeftAssignment_3_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_4_2 = (Keyword)cGroup_3_4.eContents().get(2); private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); private final Keyword cMarginRightKeyword_3_5_0 = (Keyword)cGroup_3_5.eContents().get(0); private final Assignment cLayout_marginRightAssignment_3_5_1 = (Assignment)cGroup_3_5.eContents().get(1); private final RuleCall cLayout_marginRightDimensionVAParserRuleCall_3_5_1_0 = (RuleCall)cLayout_marginRightAssignment_3_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_5_2 = (Keyword)cGroup_3_5.eContents().get(2); private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); private final Keyword cMarginTopKeyword_3_6_0 = (Keyword)cGroup_3_6.eContents().get(0); private final Assignment cLayout_marginTopAssignment_3_6_1 = (Assignment)cGroup_3_6.eContents().get(1); private final RuleCall cLayout_marginTopDimensionVAParserRuleCall_3_6_1_0 = (RuleCall)cLayout_marginTopAssignment_3_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_6_2 = (Keyword)cGroup_3_6.eContents().get(2); private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7); private final Keyword cAboveKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0); private final Assignment cLayout_aboveAssignment_3_7_1 = (Assignment)cGroup_3_7.eContents().get(1); private final CrossReference cLayout_aboveViewCrossReference_3_7_1_0 = (CrossReference)cLayout_aboveAssignment_3_7_1.eContents().get(0); private final RuleCall cLayout_aboveViewIDTerminalRuleCall_3_7_1_0_1 = (RuleCall)cLayout_aboveViewCrossReference_3_7_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_7_2 = (Keyword)cGroup_3_7.eContents().get(2); private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); private final Keyword cAlignBaselineKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); private final Assignment cLayout_alignBaselineAssignment_3_8_1 = (Assignment)cGroup_3_8.eContents().get(1); private final CrossReference cLayout_alignBaselineViewCrossReference_3_8_1_0 = (CrossReference)cLayout_alignBaselineAssignment_3_8_1.eContents().get(0); private final RuleCall cLayout_alignBaselineViewIDTerminalRuleCall_3_8_1_0_1 = (RuleCall)cLayout_alignBaselineViewCrossReference_3_8_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_8_2 = (Keyword)cGroup_3_8.eContents().get(2); private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); private final Keyword cAlignBottomKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); private final Assignment cLayout_alignBottomAssignment_3_9_1 = (Assignment)cGroup_3_9.eContents().get(1); private final CrossReference cLayout_alignBottomViewCrossReference_3_9_1_0 = (CrossReference)cLayout_alignBottomAssignment_3_9_1.eContents().get(0); private final RuleCall cLayout_alignBottomViewIDTerminalRuleCall_3_9_1_0_1 = (RuleCall)cLayout_alignBottomViewCrossReference_3_9_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_9_2 = (Keyword)cGroup_3_9.eContents().get(2); private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); private final Keyword cAlignLeftKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); private final Assignment cLayout_alignLeftAssignment_3_10_1 = (Assignment)cGroup_3_10.eContents().get(1); private final CrossReference cLayout_alignLeftViewCrossReference_3_10_1_0 = (CrossReference)cLayout_alignLeftAssignment_3_10_1.eContents().get(0); private final RuleCall cLayout_alignLeftViewIDTerminalRuleCall_3_10_1_0_1 = (RuleCall)cLayout_alignLeftViewCrossReference_3_10_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_10_2 = (Keyword)cGroup_3_10.eContents().get(2); private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); private final Keyword cAlignParentBottomKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); private final Assignment cLayout_alignParentBottomAssignment_3_11_1 = (Assignment)cGroup_3_11.eContents().get(1); private final RuleCall cLayout_alignParentBottomBooleanVAParserRuleCall_3_11_1_0 = (RuleCall)cLayout_alignParentBottomAssignment_3_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_11_2 = (Keyword)cGroup_3_11.eContents().get(2); private final Group cGroup_3_12 = (Group)cUnorderedGroup_3.eContents().get(12); private final Keyword cAlignParentLeftKeyword_3_12_0 = (Keyword)cGroup_3_12.eContents().get(0); private final Assignment cLayout_alignParentLeftAssignment_3_12_1 = (Assignment)cGroup_3_12.eContents().get(1); private final RuleCall cLayout_alignParentLeftBooleanVAParserRuleCall_3_12_1_0 = (RuleCall)cLayout_alignParentLeftAssignment_3_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_12_2 = (Keyword)cGroup_3_12.eContents().get(2); private final Group cGroup_3_13 = (Group)cUnorderedGroup_3.eContents().get(13); private final Keyword cAlignParentRightKeyword_3_13_0 = (Keyword)cGroup_3_13.eContents().get(0); private final Assignment cLayout_alignParentRightAssignment_3_13_1 = (Assignment)cGroup_3_13.eContents().get(1); private final RuleCall cLayout_alignParentRightBooleanVAParserRuleCall_3_13_1_0 = (RuleCall)cLayout_alignParentRightAssignment_3_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_13_2 = (Keyword)cGroup_3_13.eContents().get(2); private final Group cGroup_3_14 = (Group)cUnorderedGroup_3.eContents().get(14); private final Keyword cAlignParentTopKeyword_3_14_0 = (Keyword)cGroup_3_14.eContents().get(0); private final Assignment cLayout_alignParentTopAssignment_3_14_1 = (Assignment)cGroup_3_14.eContents().get(1); private final RuleCall cLayout_alignParentTopBooleanVAParserRuleCall_3_14_1_0 = (RuleCall)cLayout_alignParentTopAssignment_3_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_14_2 = (Keyword)cGroup_3_14.eContents().get(2); private final Group cGroup_3_15 = (Group)cUnorderedGroup_3.eContents().get(15); private final Keyword cAlignTopKeyword_3_15_0 = (Keyword)cGroup_3_15.eContents().get(0); private final Assignment cLayout_alignTopAssignment_3_15_1 = (Assignment)cGroup_3_15.eContents().get(1); private final CrossReference cLayout_alignTopViewCrossReference_3_15_1_0 = (CrossReference)cLayout_alignTopAssignment_3_15_1.eContents().get(0); private final RuleCall cLayout_alignTopViewIDTerminalRuleCall_3_15_1_0_1 = (RuleCall)cLayout_alignTopViewCrossReference_3_15_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_15_2 = (Keyword)cGroup_3_15.eContents().get(2); private final Group cGroup_3_16 = (Group)cUnorderedGroup_3.eContents().get(16); private final Keyword cAlignWithParentIfMissingKeyword_3_16_0 = (Keyword)cGroup_3_16.eContents().get(0); private final Assignment cLayout_alignWithParentIfMissingAssignment_3_16_1 = (Assignment)cGroup_3_16.eContents().get(1); private final RuleCall cLayout_alignWithParentIfMissingBooleanVAParserRuleCall_3_16_1_0 = (RuleCall)cLayout_alignWithParentIfMissingAssignment_3_16_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_16_2 = (Keyword)cGroup_3_16.eContents().get(2); private final Group cGroup_3_17 = (Group)cUnorderedGroup_3.eContents().get(17); private final Keyword cBelowKeyword_3_17_0 = (Keyword)cGroup_3_17.eContents().get(0); private final Assignment cLayout_belowAssignment_3_17_1 = (Assignment)cGroup_3_17.eContents().get(1); private final CrossReference cLayout_belowViewCrossReference_3_17_1_0 = (CrossReference)cLayout_belowAssignment_3_17_1.eContents().get(0); private final RuleCall cLayout_belowViewIDTerminalRuleCall_3_17_1_0_1 = (RuleCall)cLayout_belowViewCrossReference_3_17_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_17_2 = (Keyword)cGroup_3_17.eContents().get(2); private final Group cGroup_3_18 = (Group)cUnorderedGroup_3.eContents().get(18); private final Keyword cCenterHorizontalKeyword_3_18_0 = (Keyword)cGroup_3_18.eContents().get(0); private final Assignment cLayout_centerHorizontalAssignment_3_18_1 = (Assignment)cGroup_3_18.eContents().get(1); private final RuleCall cLayout_centerHorizontalBooleanVAParserRuleCall_3_18_1_0 = (RuleCall)cLayout_centerHorizontalAssignment_3_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_18_2 = (Keyword)cGroup_3_18.eContents().get(2); private final Group cGroup_3_19 = (Group)cUnorderedGroup_3.eContents().get(19); private final Keyword cCenterInParentKeyword_3_19_0 = (Keyword)cGroup_3_19.eContents().get(0); private final Assignment cLayout_centerInParentAssignment_3_19_1 = (Assignment)cGroup_3_19.eContents().get(1); private final RuleCall cLayout_centerInParentBooleanVAParserRuleCall_3_19_1_0 = (RuleCall)cLayout_centerInParentAssignment_3_19_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_19_2 = (Keyword)cGroup_3_19.eContents().get(2); private final Group cGroup_3_20 = (Group)cUnorderedGroup_3.eContents().get(20); private final Keyword cCenterVerticalKeyword_3_20_0 = (Keyword)cGroup_3_20.eContents().get(0); private final Assignment cLayout_centerVerticalAssignment_3_20_1 = (Assignment)cGroup_3_20.eContents().get(1); private final RuleCall cLayout_centerVerticalBooleanVAParserRuleCall_3_20_1_0 = (RuleCall)cLayout_centerVerticalAssignment_3_20_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_20_2 = (Keyword)cGroup_3_20.eContents().get(2); private final Group cGroup_3_21 = (Group)cUnorderedGroup_3.eContents().get(21); private final Keyword cToLeftOfKeyword_3_21_0 = (Keyword)cGroup_3_21.eContents().get(0); private final Assignment cLayout_toLeftOfAssignment_3_21_1 = (Assignment)cGroup_3_21.eContents().get(1); private final CrossReference cLayout_toLeftOfViewCrossReference_3_21_1_0 = (CrossReference)cLayout_toLeftOfAssignment_3_21_1.eContents().get(0); private final RuleCall cLayout_toLeftOfViewIDTerminalRuleCall_3_21_1_0_1 = (RuleCall)cLayout_toLeftOfViewCrossReference_3_21_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_21_2 = (Keyword)cGroup_3_21.eContents().get(2); private final Group cGroup_3_22 = (Group)cUnorderedGroup_3.eContents().get(22); private final Keyword cToRightOfKeyword_3_22_0 = (Keyword)cGroup_3_22.eContents().get(0); private final Assignment cLayout_toRightOfAssignment_3_22_1 = (Assignment)cGroup_3_22.eContents().get(1); private final CrossReference cLayout_toRightOfViewCrossReference_3_22_1_0 = (CrossReference)cLayout_toRightOfAssignment_3_22_1.eContents().get(0); private final RuleCall cLayout_toRightOfViewIDTerminalRuleCall_3_22_1_0_1 = (RuleCall)cLayout_toRightOfViewCrossReference_3_22_1_0.eContents().get(1); private final Keyword cSemicolonKeyword_3_22_2 = (Keyword)cGroup_3_22.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //LayoutParams: // "layout:" "{" {LayoutParams} (("height:" layout_height=LayoutDimensionVA ";")? //LinearLayoutParams // //& ('gravity:' layout_gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? // //RelativeLayoutParams // & ("width:" layout_width=LayoutDimensionVA ";")? & ("weight:" layout_weight=IntegerVA ";")? & ("marginBottom:" // layout_marginBottom=DimensionVA ";")? & ("marginLeft:" layout_marginLeft=DimensionVA ";")? & ("marginRight:" // layout_marginRight=DimensionVA ";")? & ("marginTop:" layout_marginTop=DimensionVA ";")? & ("above:" // layout_above=[View] ";")? & ("alignBaseline:" layout_alignBaseline=[View] ";")? & ("alignBottom:" // layout_alignBottom=[View] ";")? & ("alignLeft:" layout_alignLeft=[View] ";")? & ("alignParentBottom:" // layout_alignParentBottom=BooleanVA ";")? & ("alignParentLeft:" layout_alignParentLeft=BooleanVA ";")? & // ("alignParentRight:" layout_alignParentRight=BooleanVA ";")? & ("alignParentTop:" layout_alignParentTop=BooleanVA // ";")? & ("alignTop:" layout_alignTop=[View] ";")? & ("alignWithParentIfMissing:" // layout_alignWithParentIfMissing=BooleanVA ";")? & ("below:" layout_below=[View] ";")? & ("centerHorizontal:" // layout_centerHorizontal=BooleanVA ";")? & ("centerInParent:" layout_centerInParent=BooleanVA ";")? & // ("centerVertical:" layout_centerVertical=BooleanVA ";")? & ("toLeftOf:" layout_toLeftOf=[View] ";")? & ("toRightOf:" // layout_toRightOf=[View] ";")?) "}"; public ParserRule getRule() { return rule; } //"layout:" "{" {LayoutParams} (("height:" layout_height=LayoutDimensionVA ";")? //LinearLayoutParams ////& ('gravity:' layout_gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? ////RelativeLayoutParams //& ("width:" layout_width=LayoutDimensionVA ";")? & ("weight:" layout_weight=IntegerVA ";")? & ("marginBottom:" //layout_marginBottom=DimensionVA ";")? & ("marginLeft:" layout_marginLeft=DimensionVA ";")? & ("marginRight:" //layout_marginRight=DimensionVA ";")? & ("marginTop:" layout_marginTop=DimensionVA ";")? & ("above:" layout_above=[View] //";")? & ("alignBaseline:" layout_alignBaseline=[View] ";")? & ("alignBottom:" layout_alignBottom=[View] ";")? & //("alignLeft:" layout_alignLeft=[View] ";")? & ("alignParentBottom:" layout_alignParentBottom=BooleanVA ";")? & //("alignParentLeft:" layout_alignParentLeft=BooleanVA ";")? & ("alignParentRight:" layout_alignParentRight=BooleanVA //";")? & ("alignParentTop:" layout_alignParentTop=BooleanVA ";")? & ("alignTop:" layout_alignTop=[View] ";")? & //("alignWithParentIfMissing:" layout_alignWithParentIfMissing=BooleanVA ";")? & ("below:" layout_below=[View] ";")? & //("centerHorizontal:" layout_centerHorizontal=BooleanVA ";")? & ("centerInParent:" layout_centerInParent=BooleanVA ";")? //& ("centerVertical:" layout_centerVertical=BooleanVA ";")? & ("toLeftOf:" layout_toLeftOf=[View] ";")? & ("toRightOf:" //layout_toRightOf=[View] ";")?) "}" public Group getGroup() { return cGroup; } //"layout:" public Keyword getLayoutKeyword_0() { return cLayoutKeyword_0; } //"{" public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } //{LayoutParams} public Action getLayoutParamsAction_2() { return cLayoutParamsAction_2; } //("height:" layout_height=LayoutDimensionVA ";")? //LinearLayoutParams ////& ('gravity:' layout_gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? ////RelativeLayoutParams //& ("width:" layout_width=LayoutDimensionVA ";")? & ("weight:" layout_weight=IntegerVA ";")? & ("marginBottom:" //layout_marginBottom=DimensionVA ";")? & ("marginLeft:" layout_marginLeft=DimensionVA ";")? & ("marginRight:" //layout_marginRight=DimensionVA ";")? & ("marginTop:" layout_marginTop=DimensionVA ";")? & ("above:" layout_above=[View] //";")? & ("alignBaseline:" layout_alignBaseline=[View] ";")? & ("alignBottom:" layout_alignBottom=[View] ";")? & //("alignLeft:" layout_alignLeft=[View] ";")? & ("alignParentBottom:" layout_alignParentBottom=BooleanVA ";")? & //("alignParentLeft:" layout_alignParentLeft=BooleanVA ";")? & ("alignParentRight:" layout_alignParentRight=BooleanVA //";")? & ("alignParentTop:" layout_alignParentTop=BooleanVA ";")? & ("alignTop:" layout_alignTop=[View] ";")? & //("alignWithParentIfMissing:" layout_alignWithParentIfMissing=BooleanVA ";")? & ("below:" layout_below=[View] ";")? & //("centerHorizontal:" layout_centerHorizontal=BooleanVA ";")? & ("centerInParent:" layout_centerInParent=BooleanVA ";")? //& ("centerVertical:" layout_centerVertical=BooleanVA ";")? & ("toLeftOf:" layout_toLeftOf=[View] ";")? & ("toRightOf:" //layout_toRightOf=[View] ";")? public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } //("height:" layout_height=LayoutDimensionVA ";")? public Group getGroup_3_0() { return cGroup_3_0; } //"height:" public Keyword getHeightKeyword_3_0_0() { return cHeightKeyword_3_0_0; } //layout_height=LayoutDimensionVA public Assignment getLayout_heightAssignment_3_0_1() { return cLayout_heightAssignment_3_0_1; } //LayoutDimensionVA public RuleCall getLayout_heightLayoutDimensionVAParserRuleCall_3_0_1_0() { return cLayout_heightLayoutDimensionVAParserRuleCall_3_0_1_0; } //";" public Keyword getSemicolonKeyword_3_0_2() { return cSemicolonKeyword_3_0_2; } //("width:" layout_width=LayoutDimensionVA ";")? public Group getGroup_3_1() { return cGroup_3_1; } //"width:" public Keyword getWidthKeyword_3_1_0() { return cWidthKeyword_3_1_0; } //layout_width=LayoutDimensionVA public Assignment getLayout_widthAssignment_3_1_1() { return cLayout_widthAssignment_3_1_1; } //LayoutDimensionVA public RuleCall getLayout_widthLayoutDimensionVAParserRuleCall_3_1_1_0() { return cLayout_widthLayoutDimensionVAParserRuleCall_3_1_1_0; } //";" public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } //("weight:" layout_weight=IntegerVA ";")? public Group getGroup_3_2() { return cGroup_3_2; } //"weight:" public Keyword getWeightKeyword_3_2_0() { return cWeightKeyword_3_2_0; } //layout_weight=IntegerVA public Assignment getLayout_weightAssignment_3_2_1() { return cLayout_weightAssignment_3_2_1; } //IntegerVA public RuleCall getLayout_weightIntegerVAParserRuleCall_3_2_1_0() { return cLayout_weightIntegerVAParserRuleCall_3_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_2() { return cSemicolonKeyword_3_2_2; } //("marginBottom:" layout_marginBottom=DimensionVA ";")? public Group getGroup_3_3() { return cGroup_3_3; } //"marginBottom:" public Keyword getMarginBottomKeyword_3_3_0() { return cMarginBottomKeyword_3_3_0; } //layout_marginBottom=DimensionVA public Assignment getLayout_marginBottomAssignment_3_3_1() { return cLayout_marginBottomAssignment_3_3_1; } //DimensionVA public RuleCall getLayout_marginBottomDimensionVAParserRuleCall_3_3_1_0() { return cLayout_marginBottomDimensionVAParserRuleCall_3_3_1_0; } //";" public Keyword getSemicolonKeyword_3_3_2() { return cSemicolonKeyword_3_3_2; } //("marginLeft:" layout_marginLeft=DimensionVA ";")? public Group getGroup_3_4() { return cGroup_3_4; } //"marginLeft:" public Keyword getMarginLeftKeyword_3_4_0() { return cMarginLeftKeyword_3_4_0; } //layout_marginLeft=DimensionVA public Assignment getLayout_marginLeftAssignment_3_4_1() { return cLayout_marginLeftAssignment_3_4_1; } //DimensionVA public RuleCall getLayout_marginLeftDimensionVAParserRuleCall_3_4_1_0() { return cLayout_marginLeftDimensionVAParserRuleCall_3_4_1_0; } //";" public Keyword getSemicolonKeyword_3_4_2() { return cSemicolonKeyword_3_4_2; } //("marginRight:" layout_marginRight=DimensionVA ";")? public Group getGroup_3_5() { return cGroup_3_5; } //"marginRight:" public Keyword getMarginRightKeyword_3_5_0() { return cMarginRightKeyword_3_5_0; } //layout_marginRight=DimensionVA public Assignment getLayout_marginRightAssignment_3_5_1() { return cLayout_marginRightAssignment_3_5_1; } //DimensionVA public RuleCall getLayout_marginRightDimensionVAParserRuleCall_3_5_1_0() { return cLayout_marginRightDimensionVAParserRuleCall_3_5_1_0; } //";" public Keyword getSemicolonKeyword_3_5_2() { return cSemicolonKeyword_3_5_2; } //("marginTop:" layout_marginTop=DimensionVA ";")? public Group getGroup_3_6() { return cGroup_3_6; } //"marginTop:" public Keyword getMarginTopKeyword_3_6_0() { return cMarginTopKeyword_3_6_0; } //layout_marginTop=DimensionVA public Assignment getLayout_marginTopAssignment_3_6_1() { return cLayout_marginTopAssignment_3_6_1; } //DimensionVA public RuleCall getLayout_marginTopDimensionVAParserRuleCall_3_6_1_0() { return cLayout_marginTopDimensionVAParserRuleCall_3_6_1_0; } //";" public Keyword getSemicolonKeyword_3_6_2() { return cSemicolonKeyword_3_6_2; } //("above:" layout_above=[View] ";")? public Group getGroup_3_7() { return cGroup_3_7; } //"above:" public Keyword getAboveKeyword_3_7_0() { return cAboveKeyword_3_7_0; } //layout_above=[View] public Assignment getLayout_aboveAssignment_3_7_1() { return cLayout_aboveAssignment_3_7_1; } //[View] public CrossReference getLayout_aboveViewCrossReference_3_7_1_0() { return cLayout_aboveViewCrossReference_3_7_1_0; } //ID public RuleCall getLayout_aboveViewIDTerminalRuleCall_3_7_1_0_1() { return cLayout_aboveViewIDTerminalRuleCall_3_7_1_0_1; } //";" public Keyword getSemicolonKeyword_3_7_2() { return cSemicolonKeyword_3_7_2; } //("alignBaseline:" layout_alignBaseline=[View] ";")? public Group getGroup_3_8() { return cGroup_3_8; } //"alignBaseline:" public Keyword getAlignBaselineKeyword_3_8_0() { return cAlignBaselineKeyword_3_8_0; } //layout_alignBaseline=[View] public Assignment getLayout_alignBaselineAssignment_3_8_1() { return cLayout_alignBaselineAssignment_3_8_1; } //[View] public CrossReference getLayout_alignBaselineViewCrossReference_3_8_1_0() { return cLayout_alignBaselineViewCrossReference_3_8_1_0; } //ID public RuleCall getLayout_alignBaselineViewIDTerminalRuleCall_3_8_1_0_1() { return cLayout_alignBaselineViewIDTerminalRuleCall_3_8_1_0_1; } //";" public Keyword getSemicolonKeyword_3_8_2() { return cSemicolonKeyword_3_8_2; } //("alignBottom:" layout_alignBottom=[View] ";")? public Group getGroup_3_9() { return cGroup_3_9; } //"alignBottom:" public Keyword getAlignBottomKeyword_3_9_0() { return cAlignBottomKeyword_3_9_0; } //layout_alignBottom=[View] public Assignment getLayout_alignBottomAssignment_3_9_1() { return cLayout_alignBottomAssignment_3_9_1; } //[View] public CrossReference getLayout_alignBottomViewCrossReference_3_9_1_0() { return cLayout_alignBottomViewCrossReference_3_9_1_0; } //ID public RuleCall getLayout_alignBottomViewIDTerminalRuleCall_3_9_1_0_1() { return cLayout_alignBottomViewIDTerminalRuleCall_3_9_1_0_1; } //";" public Keyword getSemicolonKeyword_3_9_2() { return cSemicolonKeyword_3_9_2; } //("alignLeft:" layout_alignLeft=[View] ";")? public Group getGroup_3_10() { return cGroup_3_10; } //"alignLeft:" public Keyword getAlignLeftKeyword_3_10_0() { return cAlignLeftKeyword_3_10_0; } //layout_alignLeft=[View] public Assignment getLayout_alignLeftAssignment_3_10_1() { return cLayout_alignLeftAssignment_3_10_1; } //[View] public CrossReference getLayout_alignLeftViewCrossReference_3_10_1_0() { return cLayout_alignLeftViewCrossReference_3_10_1_0; } //ID public RuleCall getLayout_alignLeftViewIDTerminalRuleCall_3_10_1_0_1() { return cLayout_alignLeftViewIDTerminalRuleCall_3_10_1_0_1; } //";" public Keyword getSemicolonKeyword_3_10_2() { return cSemicolonKeyword_3_10_2; } //("alignParentBottom:" layout_alignParentBottom=BooleanVA ";")? public Group getGroup_3_11() { return cGroup_3_11; } //"alignParentBottom:" public Keyword getAlignParentBottomKeyword_3_11_0() { return cAlignParentBottomKeyword_3_11_0; } //layout_alignParentBottom=BooleanVA public Assignment getLayout_alignParentBottomAssignment_3_11_1() { return cLayout_alignParentBottomAssignment_3_11_1; } //BooleanVA public RuleCall getLayout_alignParentBottomBooleanVAParserRuleCall_3_11_1_0() { return cLayout_alignParentBottomBooleanVAParserRuleCall_3_11_1_0; } //";" public Keyword getSemicolonKeyword_3_11_2() { return cSemicolonKeyword_3_11_2; } //("alignParentLeft:" layout_alignParentLeft=BooleanVA ";")? public Group getGroup_3_12() { return cGroup_3_12; } //"alignParentLeft:" public Keyword getAlignParentLeftKeyword_3_12_0() { return cAlignParentLeftKeyword_3_12_0; } //layout_alignParentLeft=BooleanVA public Assignment getLayout_alignParentLeftAssignment_3_12_1() { return cLayout_alignParentLeftAssignment_3_12_1; } //BooleanVA public RuleCall getLayout_alignParentLeftBooleanVAParserRuleCall_3_12_1_0() { return cLayout_alignParentLeftBooleanVAParserRuleCall_3_12_1_0; } //";" public Keyword getSemicolonKeyword_3_12_2() { return cSemicolonKeyword_3_12_2; } //("alignParentRight:" layout_alignParentRight=BooleanVA ";")? public Group getGroup_3_13() { return cGroup_3_13; } //"alignParentRight:" public Keyword getAlignParentRightKeyword_3_13_0() { return cAlignParentRightKeyword_3_13_0; } //layout_alignParentRight=BooleanVA public Assignment getLayout_alignParentRightAssignment_3_13_1() { return cLayout_alignParentRightAssignment_3_13_1; } //BooleanVA public RuleCall getLayout_alignParentRightBooleanVAParserRuleCall_3_13_1_0() { return cLayout_alignParentRightBooleanVAParserRuleCall_3_13_1_0; } //";" public Keyword getSemicolonKeyword_3_13_2() { return cSemicolonKeyword_3_13_2; } //("alignParentTop:" layout_alignParentTop=BooleanVA ";")? public Group getGroup_3_14() { return cGroup_3_14; } //"alignParentTop:" public Keyword getAlignParentTopKeyword_3_14_0() { return cAlignParentTopKeyword_3_14_0; } //layout_alignParentTop=BooleanVA public Assignment getLayout_alignParentTopAssignment_3_14_1() { return cLayout_alignParentTopAssignment_3_14_1; } //BooleanVA public RuleCall getLayout_alignParentTopBooleanVAParserRuleCall_3_14_1_0() { return cLayout_alignParentTopBooleanVAParserRuleCall_3_14_1_0; } //";" public Keyword getSemicolonKeyword_3_14_2() { return cSemicolonKeyword_3_14_2; } //("alignTop:" layout_alignTop=[View] ";")? public Group getGroup_3_15() { return cGroup_3_15; } //"alignTop:" public Keyword getAlignTopKeyword_3_15_0() { return cAlignTopKeyword_3_15_0; } //layout_alignTop=[View] public Assignment getLayout_alignTopAssignment_3_15_1() { return cLayout_alignTopAssignment_3_15_1; } //[View] public CrossReference getLayout_alignTopViewCrossReference_3_15_1_0() { return cLayout_alignTopViewCrossReference_3_15_1_0; } //ID public RuleCall getLayout_alignTopViewIDTerminalRuleCall_3_15_1_0_1() { return cLayout_alignTopViewIDTerminalRuleCall_3_15_1_0_1; } //";" public Keyword getSemicolonKeyword_3_15_2() { return cSemicolonKeyword_3_15_2; } //("alignWithParentIfMissing:" layout_alignWithParentIfMissing=BooleanVA ";")? public Group getGroup_3_16() { return cGroup_3_16; } //"alignWithParentIfMissing:" public Keyword getAlignWithParentIfMissingKeyword_3_16_0() { return cAlignWithParentIfMissingKeyword_3_16_0; } //layout_alignWithParentIfMissing=BooleanVA public Assignment getLayout_alignWithParentIfMissingAssignment_3_16_1() { return cLayout_alignWithParentIfMissingAssignment_3_16_1; } //BooleanVA public RuleCall getLayout_alignWithParentIfMissingBooleanVAParserRuleCall_3_16_1_0() { return cLayout_alignWithParentIfMissingBooleanVAParserRuleCall_3_16_1_0; } //";" public Keyword getSemicolonKeyword_3_16_2() { return cSemicolonKeyword_3_16_2; } //("below:" layout_below=[View] ";")? public Group getGroup_3_17() { return cGroup_3_17; } //"below:" public Keyword getBelowKeyword_3_17_0() { return cBelowKeyword_3_17_0; } //layout_below=[View] public Assignment getLayout_belowAssignment_3_17_1() { return cLayout_belowAssignment_3_17_1; } //[View] public CrossReference getLayout_belowViewCrossReference_3_17_1_0() { return cLayout_belowViewCrossReference_3_17_1_0; } //ID public RuleCall getLayout_belowViewIDTerminalRuleCall_3_17_1_0_1() { return cLayout_belowViewIDTerminalRuleCall_3_17_1_0_1; } //";" public Keyword getSemicolonKeyword_3_17_2() { return cSemicolonKeyword_3_17_2; } //("centerHorizontal:" layout_centerHorizontal=BooleanVA ";")? public Group getGroup_3_18() { return cGroup_3_18; } //"centerHorizontal:" public Keyword getCenterHorizontalKeyword_3_18_0() { return cCenterHorizontalKeyword_3_18_0; } //layout_centerHorizontal=BooleanVA public Assignment getLayout_centerHorizontalAssignment_3_18_1() { return cLayout_centerHorizontalAssignment_3_18_1; } //BooleanVA public RuleCall getLayout_centerHorizontalBooleanVAParserRuleCall_3_18_1_0() { return cLayout_centerHorizontalBooleanVAParserRuleCall_3_18_1_0; } //";" public Keyword getSemicolonKeyword_3_18_2() { return cSemicolonKeyword_3_18_2; } //("centerInParent:" layout_centerInParent=BooleanVA ";")? public Group getGroup_3_19() { return cGroup_3_19; } //"centerInParent:" public Keyword getCenterInParentKeyword_3_19_0() { return cCenterInParentKeyword_3_19_0; } //layout_centerInParent=BooleanVA public Assignment getLayout_centerInParentAssignment_3_19_1() { return cLayout_centerInParentAssignment_3_19_1; } //BooleanVA public RuleCall getLayout_centerInParentBooleanVAParserRuleCall_3_19_1_0() { return cLayout_centerInParentBooleanVAParserRuleCall_3_19_1_0; } //";" public Keyword getSemicolonKeyword_3_19_2() { return cSemicolonKeyword_3_19_2; } //("centerVertical:" layout_centerVertical=BooleanVA ";")? public Group getGroup_3_20() { return cGroup_3_20; } //"centerVertical:" public Keyword getCenterVerticalKeyword_3_20_0() { return cCenterVerticalKeyword_3_20_0; } //layout_centerVertical=BooleanVA public Assignment getLayout_centerVerticalAssignment_3_20_1() { return cLayout_centerVerticalAssignment_3_20_1; } //BooleanVA public RuleCall getLayout_centerVerticalBooleanVAParserRuleCall_3_20_1_0() { return cLayout_centerVerticalBooleanVAParserRuleCall_3_20_1_0; } //";" public Keyword getSemicolonKeyword_3_20_2() { return cSemicolonKeyword_3_20_2; } //("toLeftOf:" layout_toLeftOf=[View] ";")? public Group getGroup_3_21() { return cGroup_3_21; } //"toLeftOf:" public Keyword getToLeftOfKeyword_3_21_0() { return cToLeftOfKeyword_3_21_0; } //layout_toLeftOf=[View] public Assignment getLayout_toLeftOfAssignment_3_21_1() { return cLayout_toLeftOfAssignment_3_21_1; } //[View] public CrossReference getLayout_toLeftOfViewCrossReference_3_21_1_0() { return cLayout_toLeftOfViewCrossReference_3_21_1_0; } //ID public RuleCall getLayout_toLeftOfViewIDTerminalRuleCall_3_21_1_0_1() { return cLayout_toLeftOfViewIDTerminalRuleCall_3_21_1_0_1; } //";" public Keyword getSemicolonKeyword_3_21_2() { return cSemicolonKeyword_3_21_2; } //("toRightOf:" layout_toRightOf=[View] ";")? public Group getGroup_3_22() { return cGroup_3_22; } //"toRightOf:" public Keyword getToRightOfKeyword_3_22_0() { return cToRightOfKeyword_3_22_0; } //layout_toRightOf=[View] public Assignment getLayout_toRightOfAssignment_3_22_1() { return cLayout_toRightOfAssignment_3_22_1; } //[View] public CrossReference getLayout_toRightOfViewCrossReference_3_22_1_0() { return cLayout_toRightOfViewCrossReference_3_22_1_0; } //ID public RuleCall getLayout_toRightOfViewIDTerminalRuleCall_3_22_1_0_1() { return cLayout_toRightOfViewIDTerminalRuleCall_3_22_1_0_1; } //";" public Keyword getSemicolonKeyword_3_22_2() { return cSemicolonKeyword_3_22_2; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class WidgetElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Widget"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cTextViewParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cButtonParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cImageViewParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cEditTextParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); private final RuleCall cSpinnerParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); /// ****************************************************************************** // * Widgets // ****************************************************************************** /Widget: // TextView | Button | ImageView | EditText | Spinner; public ParserRule getRule() { return rule; } //TextView | Button | ImageView | EditText | Spinner public Alternatives getAlternatives() { return cAlternatives; } //TextView public RuleCall getTextViewParserRuleCall_0() { return cTextViewParserRuleCall_0; } //Button public RuleCall getButtonParserRuleCall_1() { return cButtonParserRuleCall_1; } //ImageView public RuleCall getImageViewParserRuleCall_2() { return cImageViewParserRuleCall_2; } //EditText public RuleCall getEditTextParserRuleCall_3() { return cEditTextParserRuleCall_3; } //Spinner public RuleCall getSpinnerParserRuleCall_4() { return cSpinnerParserRuleCall_4; } } public class AbstractTextViewElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractTextView"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cTextViewParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cButtonParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cEditTextParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); //AbstractTextView: // TextView | Button | EditText; public ParserRule getRule() { return rule; } //TextView | Button | EditText public Alternatives getAlternatives() { return cAlternatives; } //TextView public RuleCall getTextViewParserRuleCall_0() { return cTextViewParserRuleCall_0; } //Button public RuleCall getButtonParserRuleCall_1() { return cButtonParserRuleCall_1; } //EditText public RuleCall getEditTextParserRuleCall_2() { return cEditTextParserRuleCall_2; } } public class TextViewElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TextView"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTextViewKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Assignment cTextAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cTextStringVAParserRuleCall_2_0 = (RuleCall)cTextAssignment_2.eContents().get(0); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); private final Assignment cLayoutParamsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_3_1_0 = (RuleCall)cLayoutParamsAssignment_3_1.eContents().get(0); private final UnorderedGroup cUnorderedGroup_3_2 = (UnorderedGroup)cGroup_3.eContents().get(2); private final Group cGroup_3_2_0 = (Group)cUnorderedGroup_3_2.eContents().get(0); private final Keyword cTopKeyword_3_2_0_0 = (Keyword)cGroup_3_2_0.eContents().get(0); private final Assignment cTopAssignment_3_2_0_1 = (Assignment)cGroup_3_2_0.eContents().get(1); private final RuleCall cTopDimensionVAParserRuleCall_3_2_0_1_0 = (RuleCall)cTopAssignment_3_2_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_0_2 = (Keyword)cGroup_3_2_0.eContents().get(2); private final Group cGroup_3_2_1 = (Group)cUnorderedGroup_3_2.eContents().get(1); private final Keyword cLeftKeyword_3_2_1_0 = (Keyword)cGroup_3_2_1.eContents().get(0); private final Assignment cLeftAssignment_3_2_1_1 = (Assignment)cGroup_3_2_1.eContents().get(1); private final RuleCall cLeftDimensionVAParserRuleCall_3_2_1_1_0 = (RuleCall)cLeftAssignment_3_2_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_1_2 = (Keyword)cGroup_3_2_1.eContents().get(2); private final Group cGroup_3_2_2 = (Group)cUnorderedGroup_3_2.eContents().get(2); private final Keyword cWidthKeyword_3_2_2_0 = (Keyword)cGroup_3_2_2.eContents().get(0); private final Assignment cWidthAssignment_3_2_2_1 = (Assignment)cGroup_3_2_2.eContents().get(1); private final RuleCall cWidthDimensionVAParserRuleCall_3_2_2_1_0 = (RuleCall)cWidthAssignment_3_2_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_2_2 = (Keyword)cGroup_3_2_2.eContents().get(2); private final Group cGroup_3_2_3 = (Group)cUnorderedGroup_3_2.eContents().get(3); private final Keyword cHeightKeyword_3_2_3_0 = (Keyword)cGroup_3_2_3.eContents().get(0); private final Assignment cHeightAssignment_3_2_3_1 = (Assignment)cGroup_3_2_3.eContents().get(1); private final RuleCall cHeightDimensionVAParserRuleCall_3_2_3_1_0 = (RuleCall)cHeightAssignment_3_2_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_3_2 = (Keyword)cGroup_3_2_3.eContents().get(2); private final Group cGroup_3_2_4 = (Group)cUnorderedGroup_3_2.eContents().get(4); private final Keyword cBackgroundKeyword_3_2_4_0 = (Keyword)cGroup_3_2_4.eContents().get(0); private final Assignment cBackgroundAssignment_3_2_4_1 = (Assignment)cGroup_3_2_4.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_3_2_4_1_0 = (RuleCall)cBackgroundAssignment_3_2_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_4_2 = (Keyword)cGroup_3_2_4.eContents().get(2); private final Group cGroup_3_2_5 = (Group)cUnorderedGroup_3_2.eContents().get(5); private final Keyword cClickableKeyword_3_2_5_0 = (Keyword)cGroup_3_2_5.eContents().get(0); private final Assignment cClickableAssignment_3_2_5_1 = (Assignment)cGroup_3_2_5.eContents().get(1); private final RuleCall cClickableBooleanVAParserRuleCall_3_2_5_1_0 = (RuleCall)cClickableAssignment_3_2_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_5_2 = (Keyword)cGroup_3_2_5.eContents().get(2); private final Group cGroup_3_2_6 = (Group)cUnorderedGroup_3_2.eContents().get(6); private final Keyword cFadeScrollBarsKeyword_3_2_6_0 = (Keyword)cGroup_3_2_6.eContents().get(0); private final Assignment cFadeScrollBarsAssignment_3_2_6_1 = (Assignment)cGroup_3_2_6.eContents().get(1); private final RuleCall cFadeScrollBarsBooleanVAParserRuleCall_3_2_6_1_0 = (RuleCall)cFadeScrollBarsAssignment_3_2_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_6_2 = (Keyword)cGroup_3_2_6.eContents().get(2); private final Group cGroup_3_2_7 = (Group)cUnorderedGroup_3_2.eContents().get(7); private final Keyword cIsScrollContainerKeyword_3_2_7_0 = (Keyword)cGroup_3_2_7.eContents().get(0); private final Assignment cIsScrollContainerAssignment_3_2_7_1 = (Assignment)cGroup_3_2_7.eContents().get(1); private final RuleCall cIsScrollContainerBooleanVAParserRuleCall_3_2_7_1_0 = (RuleCall)cIsScrollContainerAssignment_3_2_7_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_7_2 = (Keyword)cGroup_3_2_7.eContents().get(2); private final Group cGroup_3_2_8 = (Group)cUnorderedGroup_3_2.eContents().get(8); private final Keyword cAutoLinkKeyword_3_2_8_0 = (Keyword)cGroup_3_2_8.eContents().get(0); private final Assignment cAutoLinkAssignment_3_2_8_1 = (Assignment)cGroup_3_2_8.eContents().get(1); private final RuleCall cAutoLinkAutoLinkKindEnumRuleCall_3_2_8_1_0 = (RuleCall)cAutoLinkAssignment_3_2_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_8_2 = (Keyword)cGroup_3_2_8.eContents().get(2); private final Group cGroup_3_2_9 = (Group)cUnorderedGroup_3_2.eContents().get(9); private final Keyword cAutoTextKeyword_3_2_9_0 = (Keyword)cGroup_3_2_9.eContents().get(0); private final Assignment cAutoTextAssignment_3_2_9_1 = (Assignment)cGroup_3_2_9.eContents().get(1); private final RuleCall cAutoTextBooleanVAParserRuleCall_3_2_9_1_0 = (RuleCall)cAutoTextAssignment_3_2_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_9_2 = (Keyword)cGroup_3_2_9.eContents().get(2); private final Group cGroup_3_2_10 = (Group)cUnorderedGroup_3_2.eContents().get(10); private final Keyword cCapitalizeKeyword_3_2_10_0 = (Keyword)cGroup_3_2_10.eContents().get(0); private final Assignment cCapitalizeAssignment_3_2_10_1 = (Assignment)cGroup_3_2_10.eContents().get(1); private final RuleCall cCapitalizeCapitalizeKindEnumRuleCall_3_2_10_1_0 = (RuleCall)cCapitalizeAssignment_3_2_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_10_2 = (Keyword)cGroup_3_2_10.eContents().get(2); private final Group cGroup_3_2_11 = (Group)cUnorderedGroup_3_2.eContents().get(11); private final Keyword cDigitsKeyword_3_2_11_0 = (Keyword)cGroup_3_2_11.eContents().get(0); private final Assignment cDigitsAssignment_3_2_11_1 = (Assignment)cGroup_3_2_11.eContents().get(1); private final RuleCall cDigitsStringVAParserRuleCall_3_2_11_1_0 = (RuleCall)cDigitsAssignment_3_2_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_11_2 = (Keyword)cGroup_3_2_11.eContents().get(2); private final Group cGroup_3_2_12 = (Group)cUnorderedGroup_3_2.eContents().get(12); private final Keyword cEditableKeyword_3_2_12_0 = (Keyword)cGroup_3_2_12.eContents().get(0); private final Assignment cEditableAssignment_3_2_12_1 = (Assignment)cGroup_3_2_12.eContents().get(1); private final RuleCall cEditableBooleanVAParserRuleCall_3_2_12_1_0 = (RuleCall)cEditableAssignment_3_2_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_12_2 = (Keyword)cGroup_3_2_12.eContents().get(2); private final Group cGroup_3_2_13 = (Group)cUnorderedGroup_3_2.eContents().get(13); private final Keyword cGravityKeyword_3_2_13_0 = (Keyword)cGroup_3_2_13.eContents().get(0); private final Assignment cGravityAssignment_3_2_13_1 = (Assignment)cGroup_3_2_13.eContents().get(1); private final RuleCall cGravityLayoutGravityKindEnumRuleCall_3_2_13_1_0 = (RuleCall)cGravityAssignment_3_2_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_13_2 = (Keyword)cGroup_3_2_13.eContents().get(2); private final Group cGroup_3_2_14 = (Group)cUnorderedGroup_3_2.eContents().get(14); private final Keyword cHintKeyword_3_2_14_0 = (Keyword)cGroup_3_2_14.eContents().get(0); private final Assignment cHintAssignment_3_2_14_1 = (Assignment)cGroup_3_2_14.eContents().get(1); private final RuleCall cHintStringVAParserRuleCall_3_2_14_1_0 = (RuleCall)cHintAssignment_3_2_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_14_2 = (Keyword)cGroup_3_2_14.eContents().get(2); private final Group cGroup_3_2_15 = (Group)cUnorderedGroup_3_2.eContents().get(15); private final Keyword cNumericKeyword_3_2_15_0 = (Keyword)cGroup_3_2_15.eContents().get(0); private final Assignment cNumericAssignment_3_2_15_1 = (Assignment)cGroup_3_2_15.eContents().get(1); private final RuleCall cNumericBooleanVAParserRuleCall_3_2_15_1_0 = (RuleCall)cNumericAssignment_3_2_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_15_2 = (Keyword)cGroup_3_2_15.eContents().get(2); private final Group cGroup_3_2_16 = (Group)cUnorderedGroup_3_2.eContents().get(16); private final Keyword cPasswordKeyword_3_2_16_0 = (Keyword)cGroup_3_2_16.eContents().get(0); private final Assignment cPasswordAssignment_3_2_16_1 = (Assignment)cGroup_3_2_16.eContents().get(1); private final RuleCall cPasswordBooleanVAParserRuleCall_3_2_16_1_0 = (RuleCall)cPasswordAssignment_3_2_16_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_16_2 = (Keyword)cGroup_3_2_16.eContents().get(2); private final Group cGroup_3_2_17 = (Group)cUnorderedGroup_3_2.eContents().get(17); private final Keyword cPhoneNumberKeyword_3_2_17_0 = (Keyword)cGroup_3_2_17.eContents().get(0); private final Assignment cPhoneNumberAssignment_3_2_17_1 = (Assignment)cGroup_3_2_17.eContents().get(1); private final RuleCall cPhoneNumberBooleanVAParserRuleCall_3_2_17_1_0 = (RuleCall)cPhoneNumberAssignment_3_2_17_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_17_2 = (Keyword)cGroup_3_2_17.eContents().get(2); private final Group cGroup_3_2_18 = (Group)cUnorderedGroup_3_2.eContents().get(18); private final Keyword cSingleLineKeyword_3_2_18_0 = (Keyword)cGroup_3_2_18.eContents().get(0); private final Assignment cSingleLineAssignment_3_2_18_1 = (Assignment)cGroup_3_2_18.eContents().get(1); private final RuleCall cSingleLineBooleanVAParserRuleCall_3_2_18_1_0 = (RuleCall)cSingleLineAssignment_3_2_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_18_2 = (Keyword)cGroup_3_2_18.eContents().get(2); private final Group cGroup_3_2_19 = (Group)cUnorderedGroup_3_2.eContents().get(19); private final Keyword cTextColorKeyword_3_2_19_0 = (Keyword)cGroup_3_2_19.eContents().get(0); private final Assignment cTextColorAssignment_3_2_19_1 = (Assignment)cGroup_3_2_19.eContents().get(1); private final RuleCall cTextColorColorVAParserRuleCall_3_2_19_1_0 = (RuleCall)cTextColorAssignment_3_2_19_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_19_2 = (Keyword)cGroup_3_2_19.eContents().get(2); private final Group cGroup_3_2_20 = (Group)cUnorderedGroup_3_2.eContents().get(20); private final Keyword cTypefaceKeyword_3_2_20_0 = (Keyword)cGroup_3_2_20.eContents().get(0); private final Assignment cTypefaceAssignment_3_2_20_1 = (Assignment)cGroup_3_2_20.eContents().get(1); private final RuleCall cTypefaceTypefaceKindEnumRuleCall_3_2_20_1_0 = (RuleCall)cTypefaceAssignment_3_2_20_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_20_2 = (Keyword)cGroup_3_2_20.eContents().get(2); private final Group cGroup_3_2_21 = (Group)cUnorderedGroup_3_2.eContents().get(21); private final Keyword cTextSizeKeyword_3_2_21_0 = (Keyword)cGroup_3_2_21.eContents().get(0); private final Assignment cTextSizeAssignment_3_2_21_1 = (Assignment)cGroup_3_2_21.eContents().get(1); private final RuleCall cTextSizeDimensionVAParserRuleCall_3_2_21_1_0 = (RuleCall)cTextSizeAssignment_3_2_21_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_21_2 = (Keyword)cGroup_3_2_21.eContents().get(2); private final Group cGroup_3_2_22 = (Group)cUnorderedGroup_3_2.eContents().get(22); private final Keyword cTextStyleKeyword_3_2_22_0 = (Keyword)cGroup_3_2_22.eContents().get(0); private final Assignment cTextStyleAssignment_3_2_22_1 = (Assignment)cGroup_3_2_22.eContents().get(1); private final RuleCall cTextStyleTextStyleKindEnumRuleCall_3_2_22_1_0 = (RuleCall)cTextStyleAssignment_3_2_22_1.eContents().get(0); private final Group cGroup_3_2_22_2 = (Group)cGroup_3_2_22.eContents().get(2); private final Keyword cVerticalLineKeyword_3_2_22_2_0 = (Keyword)cGroup_3_2_22_2.eContents().get(0); private final Assignment cTextStyleAssignment_3_2_22_2_1 = (Assignment)cGroup_3_2_22_2.eContents().get(1); private final RuleCall cTextStyleTextStyleKindEnumRuleCall_3_2_22_2_1_0 = (RuleCall)cTextStyleAssignment_3_2_22_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_22_3 = (Keyword)cGroup_3_2_22.eContents().get(3); private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); //TextView: // "textView" name=ID? text=StringVA ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" // autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & // ("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? // & ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & // ("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" // textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & // ("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) //Test HERE // //& (layoutParams=LayoutParams)? // "}")?; public ParserRule getRule() { return rule; } //"textView" name=ID? text=StringVA ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) //Test HERE ////& (layoutParams=LayoutParams)? //"}")? public Group getGroup() { return cGroup; } //"textView" public Keyword getTextViewKeyword_0() { return cTextViewKeyword_0; } //name=ID? public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //text=StringVA public Assignment getTextAssignment_2() { return cTextAssignment_2; } //StringVA public RuleCall getTextStringVAParserRuleCall_2_0() { return cTextStringVAParserRuleCall_2_0; } //("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) //Test HERE ////& (layoutParams=LayoutParams)? //"}")? public Group getGroup_3() { return cGroup_3; } //"{" public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_3_1() { return cLayoutParamsAssignment_3_1; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_3_1_0() { return cLayoutParamsLayoutParamsParserRuleCall_3_1_0; } //("top:" top=DimensionVA ";")? //TextView attributes //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? public UnorderedGroup getUnorderedGroup_3_2() { return cUnorderedGroup_3_2; } //("top:" top=DimensionVA ";")? public Group getGroup_3_2_0() { return cGroup_3_2_0; } //"top:" public Keyword getTopKeyword_3_2_0_0() { return cTopKeyword_3_2_0_0; } //top=DimensionVA public Assignment getTopAssignment_3_2_0_1() { return cTopAssignment_3_2_0_1; } //DimensionVA public RuleCall getTopDimensionVAParserRuleCall_3_2_0_1_0() { return cTopDimensionVAParserRuleCall_3_2_0_1_0; } //";" public Keyword getSemicolonKeyword_3_2_0_2() { return cSemicolonKeyword_3_2_0_2; } //("left:" left=DimensionVA ";")? public Group getGroup_3_2_1() { return cGroup_3_2_1; } //"left:" public Keyword getLeftKeyword_3_2_1_0() { return cLeftKeyword_3_2_1_0; } //left=DimensionVA public Assignment getLeftAssignment_3_2_1_1() { return cLeftAssignment_3_2_1_1; } //DimensionVA public RuleCall getLeftDimensionVAParserRuleCall_3_2_1_1_0() { return cLeftDimensionVAParserRuleCall_3_2_1_1_0; } //";" public Keyword getSemicolonKeyword_3_2_1_2() { return cSemicolonKeyword_3_2_1_2; } //("width:" width=DimensionVA ";")? public Group getGroup_3_2_2() { return cGroup_3_2_2; } //"width:" public Keyword getWidthKeyword_3_2_2_0() { return cWidthKeyword_3_2_2_0; } //width=DimensionVA public Assignment getWidthAssignment_3_2_2_1() { return cWidthAssignment_3_2_2_1; } //DimensionVA public RuleCall getWidthDimensionVAParserRuleCall_3_2_2_1_0() { return cWidthDimensionVAParserRuleCall_3_2_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_2_2() { return cSemicolonKeyword_3_2_2_2; } //("height:" height=DimensionVA ";")? public Group getGroup_3_2_3() { return cGroup_3_2_3; } //"height:" public Keyword getHeightKeyword_3_2_3_0() { return cHeightKeyword_3_2_3_0; } //height=DimensionVA public Assignment getHeightAssignment_3_2_3_1() { return cHeightAssignment_3_2_3_1; } //DimensionVA public RuleCall getHeightDimensionVAParserRuleCall_3_2_3_1_0() { return cHeightDimensionVAParserRuleCall_3_2_3_1_0; } //";" public Keyword getSemicolonKeyword_3_2_3_2() { return cSemicolonKeyword_3_2_3_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_3_2_4() { return cGroup_3_2_4; } //"background:" public Keyword getBackgroundKeyword_3_2_4_0() { return cBackgroundKeyword_3_2_4_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_3_2_4_1() { return cBackgroundAssignment_3_2_4_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_3_2_4_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_3_2_4_1_0; } //";" public Keyword getSemicolonKeyword_3_2_4_2() { return cSemicolonKeyword_3_2_4_2; } //("clickable:" clickable=BooleanVA ";")? public Group getGroup_3_2_5() { return cGroup_3_2_5; } //"clickable:" public Keyword getClickableKeyword_3_2_5_0() { return cClickableKeyword_3_2_5_0; } //clickable=BooleanVA public Assignment getClickableAssignment_3_2_5_1() { return cClickableAssignment_3_2_5_1; } //BooleanVA public RuleCall getClickableBooleanVAParserRuleCall_3_2_5_1_0() { return cClickableBooleanVAParserRuleCall_3_2_5_1_0; } //";" public Keyword getSemicolonKeyword_3_2_5_2() { return cSemicolonKeyword_3_2_5_2; } //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? public Group getGroup_3_2_6() { return cGroup_3_2_6; } //"fadeScrollBars:" public Keyword getFadeScrollBarsKeyword_3_2_6_0() { return cFadeScrollBarsKeyword_3_2_6_0; } //fadeScrollBars=BooleanVA public Assignment getFadeScrollBarsAssignment_3_2_6_1() { return cFadeScrollBarsAssignment_3_2_6_1; } //BooleanVA public RuleCall getFadeScrollBarsBooleanVAParserRuleCall_3_2_6_1_0() { return cFadeScrollBarsBooleanVAParserRuleCall_3_2_6_1_0; } //";" public Keyword getSemicolonKeyword_3_2_6_2() { return cSemicolonKeyword_3_2_6_2; } //("isScrollContainer:" isScrollContainer=BooleanVA ";")? public Group getGroup_3_2_7() { return cGroup_3_2_7; } //"isScrollContainer:" public Keyword getIsScrollContainerKeyword_3_2_7_0() { return cIsScrollContainerKeyword_3_2_7_0; } //isScrollContainer=BooleanVA public Assignment getIsScrollContainerAssignment_3_2_7_1() { return cIsScrollContainerAssignment_3_2_7_1; } //BooleanVA public RuleCall getIsScrollContainerBooleanVAParserRuleCall_3_2_7_1_0() { return cIsScrollContainerBooleanVAParserRuleCall_3_2_7_1_0; } //";" public Keyword getSemicolonKeyword_3_2_7_2() { return cSemicolonKeyword_3_2_7_2; } //("autoLink:" autoLink=AutoLinkKind ";")? public Group getGroup_3_2_8() { return cGroup_3_2_8; } //"autoLink:" public Keyword getAutoLinkKeyword_3_2_8_0() { return cAutoLinkKeyword_3_2_8_0; } //autoLink=AutoLinkKind public Assignment getAutoLinkAssignment_3_2_8_1() { return cAutoLinkAssignment_3_2_8_1; } //AutoLinkKind public RuleCall getAutoLinkAutoLinkKindEnumRuleCall_3_2_8_1_0() { return cAutoLinkAutoLinkKindEnumRuleCall_3_2_8_1_0; } //";" public Keyword getSemicolonKeyword_3_2_8_2() { return cSemicolonKeyword_3_2_8_2; } //("autoText:" autoText=BooleanVA ";")? public Group getGroup_3_2_9() { return cGroup_3_2_9; } //"autoText:" public Keyword getAutoTextKeyword_3_2_9_0() { return cAutoTextKeyword_3_2_9_0; } //autoText=BooleanVA public Assignment getAutoTextAssignment_3_2_9_1() { return cAutoTextAssignment_3_2_9_1; } //BooleanVA public RuleCall getAutoTextBooleanVAParserRuleCall_3_2_9_1_0() { return cAutoTextBooleanVAParserRuleCall_3_2_9_1_0; } //";" public Keyword getSemicolonKeyword_3_2_9_2() { return cSemicolonKeyword_3_2_9_2; } //("capitalize:" capitalize=CapitalizeKind ";")? public Group getGroup_3_2_10() { return cGroup_3_2_10; } //"capitalize:" public Keyword getCapitalizeKeyword_3_2_10_0() { return cCapitalizeKeyword_3_2_10_0; } //capitalize=CapitalizeKind public Assignment getCapitalizeAssignment_3_2_10_1() { return cCapitalizeAssignment_3_2_10_1; } //CapitalizeKind public RuleCall getCapitalizeCapitalizeKindEnumRuleCall_3_2_10_1_0() { return cCapitalizeCapitalizeKindEnumRuleCall_3_2_10_1_0; } //";" public Keyword getSemicolonKeyword_3_2_10_2() { return cSemicolonKeyword_3_2_10_2; } //("digits:" digits=StringVA ";")? public Group getGroup_3_2_11() { return cGroup_3_2_11; } //"digits:" public Keyword getDigitsKeyword_3_2_11_0() { return cDigitsKeyword_3_2_11_0; } //digits=StringVA public Assignment getDigitsAssignment_3_2_11_1() { return cDigitsAssignment_3_2_11_1; } //StringVA public RuleCall getDigitsStringVAParserRuleCall_3_2_11_1_0() { return cDigitsStringVAParserRuleCall_3_2_11_1_0; } //";" public Keyword getSemicolonKeyword_3_2_11_2() { return cSemicolonKeyword_3_2_11_2; } //("editable:" editable=BooleanVA ";")? public Group getGroup_3_2_12() { return cGroup_3_2_12; } //"editable:" public Keyword getEditableKeyword_3_2_12_0() { return cEditableKeyword_3_2_12_0; } //editable=BooleanVA public Assignment getEditableAssignment_3_2_12_1() { return cEditableAssignment_3_2_12_1; } //BooleanVA public RuleCall getEditableBooleanVAParserRuleCall_3_2_12_1_0() { return cEditableBooleanVAParserRuleCall_3_2_12_1_0; } //";" public Keyword getSemicolonKeyword_3_2_12_2() { return cSemicolonKeyword_3_2_12_2; } //("gravity:" gravity=LayoutGravityKind ";")? public Group getGroup_3_2_13() { return cGroup_3_2_13; } //"gravity:" public Keyword getGravityKeyword_3_2_13_0() { return cGravityKeyword_3_2_13_0; } //gravity=LayoutGravityKind public Assignment getGravityAssignment_3_2_13_1() { return cGravityAssignment_3_2_13_1; } //LayoutGravityKind public RuleCall getGravityLayoutGravityKindEnumRuleCall_3_2_13_1_0() { return cGravityLayoutGravityKindEnumRuleCall_3_2_13_1_0; } //";" public Keyword getSemicolonKeyword_3_2_13_2() { return cSemicolonKeyword_3_2_13_2; } //("hint:" hint=StringVA ";")? public Group getGroup_3_2_14() { return cGroup_3_2_14; } //"hint:" public Keyword getHintKeyword_3_2_14_0() { return cHintKeyword_3_2_14_0; } //hint=StringVA public Assignment getHintAssignment_3_2_14_1() { return cHintAssignment_3_2_14_1; } //StringVA public RuleCall getHintStringVAParserRuleCall_3_2_14_1_0() { return cHintStringVAParserRuleCall_3_2_14_1_0; } //";" public Keyword getSemicolonKeyword_3_2_14_2() { return cSemicolonKeyword_3_2_14_2; } //("numeric:" numeric=BooleanVA ";")? public Group getGroup_3_2_15() { return cGroup_3_2_15; } //"numeric:" public Keyword getNumericKeyword_3_2_15_0() { return cNumericKeyword_3_2_15_0; } //numeric=BooleanVA public Assignment getNumericAssignment_3_2_15_1() { return cNumericAssignment_3_2_15_1; } //BooleanVA public RuleCall getNumericBooleanVAParserRuleCall_3_2_15_1_0() { return cNumericBooleanVAParserRuleCall_3_2_15_1_0; } //";" public Keyword getSemicolonKeyword_3_2_15_2() { return cSemicolonKeyword_3_2_15_2; } //("password:" password=BooleanVA ";")? public Group getGroup_3_2_16() { return cGroup_3_2_16; } //"password:" public Keyword getPasswordKeyword_3_2_16_0() { return cPasswordKeyword_3_2_16_0; } //password=BooleanVA public Assignment getPasswordAssignment_3_2_16_1() { return cPasswordAssignment_3_2_16_1; } //BooleanVA public RuleCall getPasswordBooleanVAParserRuleCall_3_2_16_1_0() { return cPasswordBooleanVAParserRuleCall_3_2_16_1_0; } //";" public Keyword getSemicolonKeyword_3_2_16_2() { return cSemicolonKeyword_3_2_16_2; } //("phoneNumber:" phoneNumber=BooleanVA ";")? public Group getGroup_3_2_17() { return cGroup_3_2_17; } //"phoneNumber:" public Keyword getPhoneNumberKeyword_3_2_17_0() { return cPhoneNumberKeyword_3_2_17_0; } //phoneNumber=BooleanVA public Assignment getPhoneNumberAssignment_3_2_17_1() { return cPhoneNumberAssignment_3_2_17_1; } //BooleanVA public RuleCall getPhoneNumberBooleanVAParserRuleCall_3_2_17_1_0() { return cPhoneNumberBooleanVAParserRuleCall_3_2_17_1_0; } //";" public Keyword getSemicolonKeyword_3_2_17_2() { return cSemicolonKeyword_3_2_17_2; } //("singleLine:" singleLine=BooleanVA ";")? public Group getGroup_3_2_18() { return cGroup_3_2_18; } //"singleLine:" public Keyword getSingleLineKeyword_3_2_18_0() { return cSingleLineKeyword_3_2_18_0; } //singleLine=BooleanVA public Assignment getSingleLineAssignment_3_2_18_1() { return cSingleLineAssignment_3_2_18_1; } //BooleanVA public RuleCall getSingleLineBooleanVAParserRuleCall_3_2_18_1_0() { return cSingleLineBooleanVAParserRuleCall_3_2_18_1_0; } //";" public Keyword getSemicolonKeyword_3_2_18_2() { return cSemicolonKeyword_3_2_18_2; } //("textColor:" textColor=ColorVA ";")? public Group getGroup_3_2_19() { return cGroup_3_2_19; } //"textColor:" public Keyword getTextColorKeyword_3_2_19_0() { return cTextColorKeyword_3_2_19_0; } //textColor=ColorVA public Assignment getTextColorAssignment_3_2_19_1() { return cTextColorAssignment_3_2_19_1; } //ColorVA public RuleCall getTextColorColorVAParserRuleCall_3_2_19_1_0() { return cTextColorColorVAParserRuleCall_3_2_19_1_0; } //";" public Keyword getSemicolonKeyword_3_2_19_2() { return cSemicolonKeyword_3_2_19_2; } //("typeface:" typeface=TypefaceKind ";")? public Group getGroup_3_2_20() { return cGroup_3_2_20; } //"typeface:" public Keyword getTypefaceKeyword_3_2_20_0() { return cTypefaceKeyword_3_2_20_0; } //typeface=TypefaceKind public Assignment getTypefaceAssignment_3_2_20_1() { return cTypefaceAssignment_3_2_20_1; } //TypefaceKind public RuleCall getTypefaceTypefaceKindEnumRuleCall_3_2_20_1_0() { return cTypefaceTypefaceKindEnumRuleCall_3_2_20_1_0; } //";" public Keyword getSemicolonKeyword_3_2_20_2() { return cSemicolonKeyword_3_2_20_2; } //("textSize:" textSize=DimensionVA ";")? public Group getGroup_3_2_21() { return cGroup_3_2_21; } //"textSize:" public Keyword getTextSizeKeyword_3_2_21_0() { return cTextSizeKeyword_3_2_21_0; } //textSize=DimensionVA public Assignment getTextSizeAssignment_3_2_21_1() { return cTextSizeAssignment_3_2_21_1; } //DimensionVA public RuleCall getTextSizeDimensionVAParserRuleCall_3_2_21_1_0() { return cTextSizeDimensionVAParserRuleCall_3_2_21_1_0; } //";" public Keyword getSemicolonKeyword_3_2_21_2() { return cSemicolonKeyword_3_2_21_2; } //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? public Group getGroup_3_2_22() { return cGroup_3_2_22; } //"textStyle:" public Keyword getTextStyleKeyword_3_2_22_0() { return cTextStyleKeyword_3_2_22_0; } //textStyle+=TextStyleKind public Assignment getTextStyleAssignment_3_2_22_1() { return cTextStyleAssignment_3_2_22_1; } //TextStyleKind public RuleCall getTextStyleTextStyleKindEnumRuleCall_3_2_22_1_0() { return cTextStyleTextStyleKindEnumRuleCall_3_2_22_1_0; } //("|" textStyle+=TextStyleKind)* public Group getGroup_3_2_22_2() { return cGroup_3_2_22_2; } //"|" public Keyword getVerticalLineKeyword_3_2_22_2_0() { return cVerticalLineKeyword_3_2_22_2_0; } //textStyle+=TextStyleKind public Assignment getTextStyleAssignment_3_2_22_2_1() { return cTextStyleAssignment_3_2_22_2_1; } //TextStyleKind public RuleCall getTextStyleTextStyleKindEnumRuleCall_3_2_22_2_1_0() { return cTextStyleTextStyleKindEnumRuleCall_3_2_22_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_22_3() { return cSemicolonKeyword_3_2_22_3; } //"}" public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; } } public class ImageViewElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImageView"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cImageViewKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Assignment cSrcAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cSrcAnyDrawableVAParserRuleCall_2_0 = (RuleCall)cSrcAssignment_2.eContents().get(0); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); private final Assignment cLayoutParamsAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_3_1_0 = (RuleCall)cLayoutParamsAssignment_3_1.eContents().get(0); private final UnorderedGroup cUnorderedGroup_3_2 = (UnorderedGroup)cGroup_3.eContents().get(2); private final Group cGroup_3_2_0 = (Group)cUnorderedGroup_3_2.eContents().get(0); private final Keyword cTopKeyword_3_2_0_0 = (Keyword)cGroup_3_2_0.eContents().get(0); private final Assignment cTopAssignment_3_2_0_1 = (Assignment)cGroup_3_2_0.eContents().get(1); private final RuleCall cTopDimensionVAParserRuleCall_3_2_0_1_0 = (RuleCall)cTopAssignment_3_2_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_0_2 = (Keyword)cGroup_3_2_0.eContents().get(2); private final Group cGroup_3_2_1 = (Group)cUnorderedGroup_3_2.eContents().get(1); private final Keyword cLeftKeyword_3_2_1_0 = (Keyword)cGroup_3_2_1.eContents().get(0); private final Assignment cLeftAssignment_3_2_1_1 = (Assignment)cGroup_3_2_1.eContents().get(1); private final RuleCall cLeftDimensionVAParserRuleCall_3_2_1_1_0 = (RuleCall)cLeftAssignment_3_2_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_1_2 = (Keyword)cGroup_3_2_1.eContents().get(2); private final Group cGroup_3_2_2 = (Group)cUnorderedGroup_3_2.eContents().get(2); private final Keyword cWidthKeyword_3_2_2_0 = (Keyword)cGroup_3_2_2.eContents().get(0); private final Assignment cWidthAssignment_3_2_2_1 = (Assignment)cGroup_3_2_2.eContents().get(1); private final RuleCall cWidthDimensionVAParserRuleCall_3_2_2_1_0 = (RuleCall)cWidthAssignment_3_2_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_2_2 = (Keyword)cGroup_3_2_2.eContents().get(2); private final Group cGroup_3_2_3 = (Group)cUnorderedGroup_3_2.eContents().get(3); private final Keyword cHeightKeyword_3_2_3_0 = (Keyword)cGroup_3_2_3.eContents().get(0); private final Assignment cHeightAssignment_3_2_3_1 = (Assignment)cGroup_3_2_3.eContents().get(1); private final RuleCall cHeightDimensionVAParserRuleCall_3_2_3_1_0 = (RuleCall)cHeightAssignment_3_2_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_3_2 = (Keyword)cGroup_3_2_3.eContents().get(2); private final Group cGroup_3_2_4 = (Group)cUnorderedGroup_3_2.eContents().get(4); private final Keyword cBackgroundKeyword_3_2_4_0 = (Keyword)cGroup_3_2_4.eContents().get(0); private final Assignment cBackgroundAssignment_3_2_4_1 = (Assignment)cGroup_3_2_4.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_3_2_4_1_0 = (RuleCall)cBackgroundAssignment_3_2_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_4_2 = (Keyword)cGroup_3_2_4.eContents().get(2); private final Group cGroup_3_2_5 = (Group)cUnorderedGroup_3_2.eContents().get(5); private final Keyword cClickableKeyword_3_2_5_0 = (Keyword)cGroup_3_2_5.eContents().get(0); private final Assignment cClickableAssignment_3_2_5_1 = (Assignment)cGroup_3_2_5.eContents().get(1); private final RuleCall cClickableBooleanVAParserRuleCall_3_2_5_1_0 = (RuleCall)cClickableAssignment_3_2_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_5_2 = (Keyword)cGroup_3_2_5.eContents().get(2); private final Group cGroup_3_2_6 = (Group)cUnorderedGroup_3_2.eContents().get(6); private final Keyword cFadeScrollBarsKeyword_3_2_6_0 = (Keyword)cGroup_3_2_6.eContents().get(0); private final Assignment cFadeScrollBarsAssignment_3_2_6_1 = (Assignment)cGroup_3_2_6.eContents().get(1); private final RuleCall cFadeScrollBarsBooleanVAParserRuleCall_3_2_6_1_0 = (RuleCall)cFadeScrollBarsAssignment_3_2_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_6_2 = (Keyword)cGroup_3_2_6.eContents().get(2); private final Group cGroup_3_2_7 = (Group)cUnorderedGroup_3_2.eContents().get(7); private final Keyword cIsScrollContainerKeyword_3_2_7_0 = (Keyword)cGroup_3_2_7.eContents().get(0); private final Assignment cIsScrollContainerAssignment_3_2_7_1 = (Assignment)cGroup_3_2_7.eContents().get(1); private final RuleCall cIsScrollContainerBooleanVAParserRuleCall_3_2_7_1_0 = (RuleCall)cIsScrollContainerAssignment_3_2_7_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_2_7_2 = (Keyword)cGroup_3_2_7.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); ////NOT tested //ImageView: // "imageView" name=ID? src=AnyDrawableVA ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & ("left:" // left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & ("background:" // background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" fadeScrollBars=BooleanVA // ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")?) "}")?; public ParserRule getRule() { return rule; } //"imageView" name=ID? src=AnyDrawableVA ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & ("left:" //left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & ("background:" //background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" fadeScrollBars=BooleanVA //";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")?) "}")? public Group getGroup() { return cGroup; } //"imageView" public Keyword getImageViewKeyword_0() { return cImageViewKeyword_0; } //name=ID? public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //src=AnyDrawableVA public Assignment getSrcAssignment_2() { return cSrcAssignment_2; } //AnyDrawableVA public RuleCall getSrcAnyDrawableVAParserRuleCall_2_0() { return cSrcAnyDrawableVAParserRuleCall_2_0; } //("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & ("left:" left=DimensionVA ";")? & ("width:" //width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & ("background:" background=AnyDrawableVA ";")? & //("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" //isScrollContainer=BooleanVA ";")?) "}")? public Group getGroup_3() { return cGroup_3; } //"{" public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_3_1() { return cLayoutParamsAssignment_3_1; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_3_1_0() { return cLayoutParamsLayoutParamsParserRuleCall_3_1_0; } //("top:" top=DimensionVA ";")? & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" //height=DimensionVA ";")? & ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? public UnorderedGroup getUnorderedGroup_3_2() { return cUnorderedGroup_3_2; } //("top:" top=DimensionVA ";")? public Group getGroup_3_2_0() { return cGroup_3_2_0; } //"top:" public Keyword getTopKeyword_3_2_0_0() { return cTopKeyword_3_2_0_0; } //top=DimensionVA public Assignment getTopAssignment_3_2_0_1() { return cTopAssignment_3_2_0_1; } //DimensionVA public RuleCall getTopDimensionVAParserRuleCall_3_2_0_1_0() { return cTopDimensionVAParserRuleCall_3_2_0_1_0; } //";" public Keyword getSemicolonKeyword_3_2_0_2() { return cSemicolonKeyword_3_2_0_2; } //("left:" left=DimensionVA ";")? public Group getGroup_3_2_1() { return cGroup_3_2_1; } //"left:" public Keyword getLeftKeyword_3_2_1_0() { return cLeftKeyword_3_2_1_0; } //left=DimensionVA public Assignment getLeftAssignment_3_2_1_1() { return cLeftAssignment_3_2_1_1; } //DimensionVA public RuleCall getLeftDimensionVAParserRuleCall_3_2_1_1_0() { return cLeftDimensionVAParserRuleCall_3_2_1_1_0; } //";" public Keyword getSemicolonKeyword_3_2_1_2() { return cSemicolonKeyword_3_2_1_2; } //("width:" width=DimensionVA ";")? public Group getGroup_3_2_2() { return cGroup_3_2_2; } //"width:" public Keyword getWidthKeyword_3_2_2_0() { return cWidthKeyword_3_2_2_0; } //width=DimensionVA public Assignment getWidthAssignment_3_2_2_1() { return cWidthAssignment_3_2_2_1; } //DimensionVA public RuleCall getWidthDimensionVAParserRuleCall_3_2_2_1_0() { return cWidthDimensionVAParserRuleCall_3_2_2_1_0; } //";" public Keyword getSemicolonKeyword_3_2_2_2() { return cSemicolonKeyword_3_2_2_2; } //("height:" height=DimensionVA ";")? public Group getGroup_3_2_3() { return cGroup_3_2_3; } //"height:" public Keyword getHeightKeyword_3_2_3_0() { return cHeightKeyword_3_2_3_0; } //height=DimensionVA public Assignment getHeightAssignment_3_2_3_1() { return cHeightAssignment_3_2_3_1; } //DimensionVA public RuleCall getHeightDimensionVAParserRuleCall_3_2_3_1_0() { return cHeightDimensionVAParserRuleCall_3_2_3_1_0; } //";" public Keyword getSemicolonKeyword_3_2_3_2() { return cSemicolonKeyword_3_2_3_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_3_2_4() { return cGroup_3_2_4; } //"background:" public Keyword getBackgroundKeyword_3_2_4_0() { return cBackgroundKeyword_3_2_4_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_3_2_4_1() { return cBackgroundAssignment_3_2_4_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_3_2_4_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_3_2_4_1_0; } //";" public Keyword getSemicolonKeyword_3_2_4_2() { return cSemicolonKeyword_3_2_4_2; } //("clickable:" clickable=BooleanVA ";")? public Group getGroup_3_2_5() { return cGroup_3_2_5; } //"clickable:" public Keyword getClickableKeyword_3_2_5_0() { return cClickableKeyword_3_2_5_0; } //clickable=BooleanVA public Assignment getClickableAssignment_3_2_5_1() { return cClickableAssignment_3_2_5_1; } //BooleanVA public RuleCall getClickableBooleanVAParserRuleCall_3_2_5_1_0() { return cClickableBooleanVAParserRuleCall_3_2_5_1_0; } //";" public Keyword getSemicolonKeyword_3_2_5_2() { return cSemicolonKeyword_3_2_5_2; } //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? public Group getGroup_3_2_6() { return cGroup_3_2_6; } //"fadeScrollBars:" public Keyword getFadeScrollBarsKeyword_3_2_6_0() { return cFadeScrollBarsKeyword_3_2_6_0; } //fadeScrollBars=BooleanVA public Assignment getFadeScrollBarsAssignment_3_2_6_1() { return cFadeScrollBarsAssignment_3_2_6_1; } //BooleanVA public RuleCall getFadeScrollBarsBooleanVAParserRuleCall_3_2_6_1_0() { return cFadeScrollBarsBooleanVAParserRuleCall_3_2_6_1_0; } //";" public Keyword getSemicolonKeyword_3_2_6_2() { return cSemicolonKeyword_3_2_6_2; } //("isScrollContainer:" isScrollContainer=BooleanVA ";")? public Group getGroup_3_2_7() { return cGroup_3_2_7; } //"isScrollContainer:" public Keyword getIsScrollContainerKeyword_3_2_7_0() { return cIsScrollContainerKeyword_3_2_7_0; } //isScrollContainer=BooleanVA public Assignment getIsScrollContainerAssignment_3_2_7_1() { return cIsScrollContainerAssignment_3_2_7_1; } //BooleanVA public RuleCall getIsScrollContainerBooleanVAParserRuleCall_3_2_7_1_0() { return cIsScrollContainerBooleanVAParserRuleCall_3_2_7_1_0; } //";" public Keyword getSemicolonKeyword_3_2_7_2() { return cSemicolonKeyword_3_2_7_2; } //"}" public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; } } public class ButtonElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Button"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cButtonKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); private final Assignment cTextAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); private final RuleCall cTextStringVAParserRuleCall_2_0_0 = (RuleCall)cTextAssignment_2_0.eContents().get(0); private final Assignment cSrcAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); private final RuleCall cSrcAnyDrawableVAParserRuleCall_2_1_0 = (RuleCall)cSrcAssignment_2_1.eContents().get(0); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cToKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); private final Assignment cTargetAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); private final CrossReference cTargetActivityCrossReference_3_1_0 = (CrossReference)cTargetAssignment_3_1.eContents().get(0); private final RuleCall cTargetActivityQualifiedNameParserRuleCall_3_1_0_1 = (RuleCall)cTargetActivityCrossReference_3_1_0.eContents().get(1); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); private final Keyword cLeftCurlyBracketKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); private final Assignment cLayoutParamsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_4_1_0 = (RuleCall)cLayoutParamsAssignment_4_1.eContents().get(0); private final UnorderedGroup cUnorderedGroup_4_2 = (UnorderedGroup)cGroup_4.eContents().get(2); private final Group cGroup_4_2_0 = (Group)cUnorderedGroup_4_2.eContents().get(0); private final Keyword cTopKeyword_4_2_0_0 = (Keyword)cGroup_4_2_0.eContents().get(0); private final Assignment cTopAssignment_4_2_0_1 = (Assignment)cGroup_4_2_0.eContents().get(1); private final RuleCall cTopDimensionVAParserRuleCall_4_2_0_1_0 = (RuleCall)cTopAssignment_4_2_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_0_2 = (Keyword)cGroup_4_2_0.eContents().get(2); private final Group cGroup_4_2_1 = (Group)cUnorderedGroup_4_2.eContents().get(1); private final Keyword cLeftKeyword_4_2_1_0 = (Keyword)cGroup_4_2_1.eContents().get(0); private final Assignment cLeftAssignment_4_2_1_1 = (Assignment)cGroup_4_2_1.eContents().get(1); private final RuleCall cLeftDimensionVAParserRuleCall_4_2_1_1_0 = (RuleCall)cLeftAssignment_4_2_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_1_2 = (Keyword)cGroup_4_2_1.eContents().get(2); private final Group cGroup_4_2_2 = (Group)cUnorderedGroup_4_2.eContents().get(2); private final Keyword cWidthKeyword_4_2_2_0 = (Keyword)cGroup_4_2_2.eContents().get(0); private final Assignment cWidthAssignment_4_2_2_1 = (Assignment)cGroup_4_2_2.eContents().get(1); private final RuleCall cWidthDimensionVAParserRuleCall_4_2_2_1_0 = (RuleCall)cWidthAssignment_4_2_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_2_2 = (Keyword)cGroup_4_2_2.eContents().get(2); private final Group cGroup_4_2_3 = (Group)cUnorderedGroup_4_2.eContents().get(3); private final Keyword cHeightKeyword_4_2_3_0 = (Keyword)cGroup_4_2_3.eContents().get(0); private final Assignment cHeightAssignment_4_2_3_1 = (Assignment)cGroup_4_2_3.eContents().get(1); private final RuleCall cHeightDimensionVAParserRuleCall_4_2_3_1_0 = (RuleCall)cHeightAssignment_4_2_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_3_2 = (Keyword)cGroup_4_2_3.eContents().get(2); private final Group cGroup_4_2_4 = (Group)cUnorderedGroup_4_2.eContents().get(4); private final Keyword cBackgroundKeyword_4_2_4_0 = (Keyword)cGroup_4_2_4.eContents().get(0); private final Assignment cBackgroundAssignment_4_2_4_1 = (Assignment)cGroup_4_2_4.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0 = (RuleCall)cBackgroundAssignment_4_2_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_4_2 = (Keyword)cGroup_4_2_4.eContents().get(2); private final Group cGroup_4_2_5 = (Group)cUnorderedGroup_4_2.eContents().get(5); private final Keyword cClickableKeyword_4_2_5_0 = (Keyword)cGroup_4_2_5.eContents().get(0); private final Assignment cClickableAssignment_4_2_5_1 = (Assignment)cGroup_4_2_5.eContents().get(1); private final RuleCall cClickableBooleanVAParserRuleCall_4_2_5_1_0 = (RuleCall)cClickableAssignment_4_2_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_5_2 = (Keyword)cGroup_4_2_5.eContents().get(2); private final Group cGroup_4_2_6 = (Group)cUnorderedGroup_4_2.eContents().get(6); private final Keyword cHintKeyword_4_2_6_0 = (Keyword)cGroup_4_2_6.eContents().get(0); private final Assignment cHintAssignment_4_2_6_1 = (Assignment)cGroup_4_2_6.eContents().get(1); private final RuleCall cHintStringVAParserRuleCall_4_2_6_1_0 = (RuleCall)cHintAssignment_4_2_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_6_2 = (Keyword)cGroup_4_2_6.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_4_3 = (Keyword)cGroup_4.eContents().get(3); ////Button and ImageButton (depending on parameters) //Button: // "button" name=ID? (text=StringVA | src=AnyDrawableVA) ("to" target=[Activity|QualifiedName])? ("{" // layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? // Specific properties // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("hint:" hint=StringVA // ";")?) "}")?; public ParserRule getRule() { return rule; } //"button" name=ID? (text=StringVA | src=AnyDrawableVA) ("to" target=[Activity|QualifiedName])? ("{" //layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? // Specific properties //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("hint:" hint=StringVA ";")?) //"}")? public Group getGroup() { return cGroup; } //"button" public Keyword getButtonKeyword_0() { return cButtonKeyword_0; } //name=ID? public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //text=StringVA | src=AnyDrawableVA public Alternatives getAlternatives_2() { return cAlternatives_2; } //text=StringVA public Assignment getTextAssignment_2_0() { return cTextAssignment_2_0; } //StringVA public RuleCall getTextStringVAParserRuleCall_2_0_0() { return cTextStringVAParserRuleCall_2_0_0; } //src=AnyDrawableVA public Assignment getSrcAssignment_2_1() { return cSrcAssignment_2_1; } //AnyDrawableVA public RuleCall getSrcAnyDrawableVAParserRuleCall_2_1_0() { return cSrcAnyDrawableVAParserRuleCall_2_1_0; } //("to" target=[Activity|QualifiedName])? public Group getGroup_3() { return cGroup_3; } //"to" public Keyword getToKeyword_3_0() { return cToKeyword_3_0; } //target=[Activity|QualifiedName] public Assignment getTargetAssignment_3_1() { return cTargetAssignment_3_1; } //[Activity|QualifiedName] public CrossReference getTargetActivityCrossReference_3_1_0() { return cTargetActivityCrossReference_3_1_0; } //QualifiedName public RuleCall getTargetActivityQualifiedNameParserRuleCall_3_1_0_1() { return cTargetActivityQualifiedNameParserRuleCall_3_1_0_1; } //("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? // Specific properties //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("hint:" hint=StringVA ";")?) //"}")? public Group getGroup_4() { return cGroup_4; } //"{" public Keyword getLeftCurlyBracketKeyword_4_0() { return cLeftCurlyBracketKeyword_4_0; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_4_1() { return cLayoutParamsAssignment_4_1; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_4_1_0() { return cLayoutParamsLayoutParamsParserRuleCall_4_1_0; } //("top:" top=DimensionVA ";")? // Specific properties //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("hint:" hint=StringVA ";")? public UnorderedGroup getUnorderedGroup_4_2() { return cUnorderedGroup_4_2; } //("top:" top=DimensionVA ";")? public Group getGroup_4_2_0() { return cGroup_4_2_0; } //"top:" public Keyword getTopKeyword_4_2_0_0() { return cTopKeyword_4_2_0_0; } //top=DimensionVA public Assignment getTopAssignment_4_2_0_1() { return cTopAssignment_4_2_0_1; } //DimensionVA public RuleCall getTopDimensionVAParserRuleCall_4_2_0_1_0() { return cTopDimensionVAParserRuleCall_4_2_0_1_0; } //";" public Keyword getSemicolonKeyword_4_2_0_2() { return cSemicolonKeyword_4_2_0_2; } //("left:" left=DimensionVA ";")? public Group getGroup_4_2_1() { return cGroup_4_2_1; } //"left:" public Keyword getLeftKeyword_4_2_1_0() { return cLeftKeyword_4_2_1_0; } //left=DimensionVA public Assignment getLeftAssignment_4_2_1_1() { return cLeftAssignment_4_2_1_1; } //DimensionVA public RuleCall getLeftDimensionVAParserRuleCall_4_2_1_1_0() { return cLeftDimensionVAParserRuleCall_4_2_1_1_0; } //";" public Keyword getSemicolonKeyword_4_2_1_2() { return cSemicolonKeyword_4_2_1_2; } //("width:" width=DimensionVA ";")? public Group getGroup_4_2_2() { return cGroup_4_2_2; } //"width:" public Keyword getWidthKeyword_4_2_2_0() { return cWidthKeyword_4_2_2_0; } //width=DimensionVA public Assignment getWidthAssignment_4_2_2_1() { return cWidthAssignment_4_2_2_1; } //DimensionVA public RuleCall getWidthDimensionVAParserRuleCall_4_2_2_1_0() { return cWidthDimensionVAParserRuleCall_4_2_2_1_0; } //";" public Keyword getSemicolonKeyword_4_2_2_2() { return cSemicolonKeyword_4_2_2_2; } //("height:" height=DimensionVA ";")? public Group getGroup_4_2_3() { return cGroup_4_2_3; } //"height:" public Keyword getHeightKeyword_4_2_3_0() { return cHeightKeyword_4_2_3_0; } //height=DimensionVA public Assignment getHeightAssignment_4_2_3_1() { return cHeightAssignment_4_2_3_1; } //DimensionVA public RuleCall getHeightDimensionVAParserRuleCall_4_2_3_1_0() { return cHeightDimensionVAParserRuleCall_4_2_3_1_0; } //";" public Keyword getSemicolonKeyword_4_2_3_2() { return cSemicolonKeyword_4_2_3_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_4_2_4() { return cGroup_4_2_4; } //"background:" public Keyword getBackgroundKeyword_4_2_4_0() { return cBackgroundKeyword_4_2_4_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_4_2_4_1() { return cBackgroundAssignment_4_2_4_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0; } //";" public Keyword getSemicolonKeyword_4_2_4_2() { return cSemicolonKeyword_4_2_4_2; } //("clickable:" clickable=BooleanVA ";")? public Group getGroup_4_2_5() { return cGroup_4_2_5; } //"clickable:" public Keyword getClickableKeyword_4_2_5_0() { return cClickableKeyword_4_2_5_0; } //clickable=BooleanVA public Assignment getClickableAssignment_4_2_5_1() { return cClickableAssignment_4_2_5_1; } //BooleanVA public RuleCall getClickableBooleanVAParserRuleCall_4_2_5_1_0() { return cClickableBooleanVAParserRuleCall_4_2_5_1_0; } //";" public Keyword getSemicolonKeyword_4_2_5_2() { return cSemicolonKeyword_4_2_5_2; } //("hint:" hint=StringVA ";")? public Group getGroup_4_2_6() { return cGroup_4_2_6; } //"hint:" public Keyword getHintKeyword_4_2_6_0() { return cHintKeyword_4_2_6_0; } //hint=StringVA public Assignment getHintAssignment_4_2_6_1() { return cHintAssignment_4_2_6_1; } //StringVA public RuleCall getHintStringVAParserRuleCall_4_2_6_1_0() { return cHintStringVAParserRuleCall_4_2_6_1_0; } //";" public Keyword getSemicolonKeyword_4_2_6_2() { return cSemicolonKeyword_4_2_6_2; } //"}" public Keyword getRightCurlyBracketKeyword_4_3() { return cRightCurlyBracketKeyword_4_3; } } public class SpinnerElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Spinner"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cSpinnerKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cSpinnerAction_1 = (Action)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Assignment cPromptAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cPromptStringVAParserRuleCall_3_0 = (RuleCall)cPromptAssignment_3.eContents().get(0); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); private final Keyword cLeftCurlyBracketKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); private final Assignment cLayoutParamsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_4_1_0 = (RuleCall)cLayoutParamsAssignment_4_1.eContents().get(0); private final UnorderedGroup cUnorderedGroup_4_2 = (UnorderedGroup)cGroup_4.eContents().get(2); private final Group cGroup_4_2_0 = (Group)cUnorderedGroup_4_2.eContents().get(0); private final Keyword cTopKeyword_4_2_0_0 = (Keyword)cGroup_4_2_0.eContents().get(0); private final Assignment cTopAssignment_4_2_0_1 = (Assignment)cGroup_4_2_0.eContents().get(1); private final RuleCall cTopDimensionVAParserRuleCall_4_2_0_1_0 = (RuleCall)cTopAssignment_4_2_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_0_2 = (Keyword)cGroup_4_2_0.eContents().get(2); private final Group cGroup_4_2_1 = (Group)cUnorderedGroup_4_2.eContents().get(1); private final Keyword cLeftKeyword_4_2_1_0 = (Keyword)cGroup_4_2_1.eContents().get(0); private final Assignment cLeftAssignment_4_2_1_1 = (Assignment)cGroup_4_2_1.eContents().get(1); private final RuleCall cLeftDimensionVAParserRuleCall_4_2_1_1_0 = (RuleCall)cLeftAssignment_4_2_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_1_2 = (Keyword)cGroup_4_2_1.eContents().get(2); private final Group cGroup_4_2_2 = (Group)cUnorderedGroup_4_2.eContents().get(2); private final Keyword cWidthKeyword_4_2_2_0 = (Keyword)cGroup_4_2_2.eContents().get(0); private final Assignment cWidthAssignment_4_2_2_1 = (Assignment)cGroup_4_2_2.eContents().get(1); private final RuleCall cWidthDimensionVAParserRuleCall_4_2_2_1_0 = (RuleCall)cWidthAssignment_4_2_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_2_2 = (Keyword)cGroup_4_2_2.eContents().get(2); private final Group cGroup_4_2_3 = (Group)cUnorderedGroup_4_2.eContents().get(3); private final Keyword cHeightKeyword_4_2_3_0 = (Keyword)cGroup_4_2_3.eContents().get(0); private final Assignment cHeightAssignment_4_2_3_1 = (Assignment)cGroup_4_2_3.eContents().get(1); private final RuleCall cHeightDimensionVAParserRuleCall_4_2_3_1_0 = (RuleCall)cHeightAssignment_4_2_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_3_2 = (Keyword)cGroup_4_2_3.eContents().get(2); private final Group cGroup_4_2_4 = (Group)cUnorderedGroup_4_2.eContents().get(4); private final Keyword cBackgroundKeyword_4_2_4_0 = (Keyword)cGroup_4_2_4.eContents().get(0); private final Assignment cBackgroundAssignment_4_2_4_1 = (Assignment)cGroup_4_2_4.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0 = (RuleCall)cBackgroundAssignment_4_2_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_4_2 = (Keyword)cGroup_4_2_4.eContents().get(2); private final Group cGroup_4_2_5 = (Group)cUnorderedGroup_4_2.eContents().get(5); private final Keyword cClickableKeyword_4_2_5_0 = (Keyword)cGroup_4_2_5.eContents().get(0); private final Assignment cClickableAssignment_4_2_5_1 = (Assignment)cGroup_4_2_5.eContents().get(1); private final RuleCall cClickableBooleanVAParserRuleCall_4_2_5_1_0 = (RuleCall)cClickableAssignment_4_2_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_5_2 = (Keyword)cGroup_4_2_5.eContents().get(2); private final Group cGroup_4_2_6 = (Group)cUnorderedGroup_4_2.eContents().get(6); private final Keyword cFadeScrollBarsKeyword_4_2_6_0 = (Keyword)cGroup_4_2_6.eContents().get(0); private final Assignment cFadeScrollBarsAssignment_4_2_6_1 = (Assignment)cGroup_4_2_6.eContents().get(1); private final RuleCall cFadeScrollBarsBooleanVAParserRuleCall_4_2_6_1_0 = (RuleCall)cFadeScrollBarsAssignment_4_2_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_6_2 = (Keyword)cGroup_4_2_6.eContents().get(2); private final Group cGroup_4_2_7 = (Group)cUnorderedGroup_4_2.eContents().get(7); private final Keyword cIsScrollContainerKeyword_4_2_7_0 = (Keyword)cGroup_4_2_7.eContents().get(0); private final Assignment cIsScrollContainerAssignment_4_2_7_1 = (Assignment)cGroup_4_2_7.eContents().get(1); private final RuleCall cIsScrollContainerBooleanVAParserRuleCall_4_2_7_1_0 = (RuleCall)cIsScrollContainerAssignment_4_2_7_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_7_2 = (Keyword)cGroup_4_2_7.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_4_3 = (Keyword)cGroup_4.eContents().get(3); ////Todo: look at http://developer.android.com/resources/tutorials/views/hello-spinner.html ////NOT tested //Spinner: // "spinner" {Spinner} name=ID? prompt=StringVA? ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & // ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")?) // Specific properties // // & ('gravity:' gravity+=SpinnerGravityKind ('|' gravity+=SpinnerGravityKind )* ';' )? // "}")?; public ParserRule getRule() { return rule; } //"spinner" {Spinner} name=ID? prompt=StringVA? ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & ("left:" //left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & ("background:" //background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" fadeScrollBars=BooleanVA //";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")?) // Specific properties //// & ('gravity:' gravity+=SpinnerGravityKind ('|' gravity+=SpinnerGravityKind )* ';' )? //"}")? public Group getGroup() { return cGroup; } //"spinner" public Keyword getSpinnerKeyword_0() { return cSpinnerKeyword_0; } //{Spinner} public Action getSpinnerAction_1() { return cSpinnerAction_1; } //name=ID? public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //prompt=StringVA? public Assignment getPromptAssignment_3() { return cPromptAssignment_3; } //StringVA public RuleCall getPromptStringVAParserRuleCall_3_0() { return cPromptStringVAParserRuleCall_3_0; } //("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & ("left:" left=DimensionVA ";")? & ("width:" //width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & ("background:" background=AnyDrawableVA ";")? & //("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" //isScrollContainer=BooleanVA ";")?) // Specific properties //// & ('gravity:' gravity+=SpinnerGravityKind ('|' gravity+=SpinnerGravityKind )* ';' )? //"}")? public Group getGroup_4() { return cGroup_4; } //"{" public Keyword getLeftCurlyBracketKeyword_4_0() { return cLeftCurlyBracketKeyword_4_0; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_4_1() { return cLayoutParamsAssignment_4_1; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_4_1_0() { return cLayoutParamsLayoutParamsParserRuleCall_4_1_0; } //("top:" top=DimensionVA ";")? & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" //height=DimensionVA ";")? & ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? public UnorderedGroup getUnorderedGroup_4_2() { return cUnorderedGroup_4_2; } //("top:" top=DimensionVA ";")? public Group getGroup_4_2_0() { return cGroup_4_2_0; } //"top:" public Keyword getTopKeyword_4_2_0_0() { return cTopKeyword_4_2_0_0; } //top=DimensionVA public Assignment getTopAssignment_4_2_0_1() { return cTopAssignment_4_2_0_1; } //DimensionVA public RuleCall getTopDimensionVAParserRuleCall_4_2_0_1_0() { return cTopDimensionVAParserRuleCall_4_2_0_1_0; } //";" public Keyword getSemicolonKeyword_4_2_0_2() { return cSemicolonKeyword_4_2_0_2; } //("left:" left=DimensionVA ";")? public Group getGroup_4_2_1() { return cGroup_4_2_1; } //"left:" public Keyword getLeftKeyword_4_2_1_0() { return cLeftKeyword_4_2_1_0; } //left=DimensionVA public Assignment getLeftAssignment_4_2_1_1() { return cLeftAssignment_4_2_1_1; } //DimensionVA public RuleCall getLeftDimensionVAParserRuleCall_4_2_1_1_0() { return cLeftDimensionVAParserRuleCall_4_2_1_1_0; } //";" public Keyword getSemicolonKeyword_4_2_1_2() { return cSemicolonKeyword_4_2_1_2; } //("width:" width=DimensionVA ";")? public Group getGroup_4_2_2() { return cGroup_4_2_2; } //"width:" public Keyword getWidthKeyword_4_2_2_0() { return cWidthKeyword_4_2_2_0; } //width=DimensionVA public Assignment getWidthAssignment_4_2_2_1() { return cWidthAssignment_4_2_2_1; } //DimensionVA public RuleCall getWidthDimensionVAParserRuleCall_4_2_2_1_0() { return cWidthDimensionVAParserRuleCall_4_2_2_1_0; } //";" public Keyword getSemicolonKeyword_4_2_2_2() { return cSemicolonKeyword_4_2_2_2; } //("height:" height=DimensionVA ";")? public Group getGroup_4_2_3() { return cGroup_4_2_3; } //"height:" public Keyword getHeightKeyword_4_2_3_0() { return cHeightKeyword_4_2_3_0; } //height=DimensionVA public Assignment getHeightAssignment_4_2_3_1() { return cHeightAssignment_4_2_3_1; } //DimensionVA public RuleCall getHeightDimensionVAParserRuleCall_4_2_3_1_0() { return cHeightDimensionVAParserRuleCall_4_2_3_1_0; } //";" public Keyword getSemicolonKeyword_4_2_3_2() { return cSemicolonKeyword_4_2_3_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_4_2_4() { return cGroup_4_2_4; } //"background:" public Keyword getBackgroundKeyword_4_2_4_0() { return cBackgroundKeyword_4_2_4_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_4_2_4_1() { return cBackgroundAssignment_4_2_4_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0; } //";" public Keyword getSemicolonKeyword_4_2_4_2() { return cSemicolonKeyword_4_2_4_2; } //("clickable:" clickable=BooleanVA ";")? public Group getGroup_4_2_5() { return cGroup_4_2_5; } //"clickable:" public Keyword getClickableKeyword_4_2_5_0() { return cClickableKeyword_4_2_5_0; } //clickable=BooleanVA public Assignment getClickableAssignment_4_2_5_1() { return cClickableAssignment_4_2_5_1; } //BooleanVA public RuleCall getClickableBooleanVAParserRuleCall_4_2_5_1_0() { return cClickableBooleanVAParserRuleCall_4_2_5_1_0; } //";" public Keyword getSemicolonKeyword_4_2_5_2() { return cSemicolonKeyword_4_2_5_2; } //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? public Group getGroup_4_2_6() { return cGroup_4_2_6; } //"fadeScrollBars:" public Keyword getFadeScrollBarsKeyword_4_2_6_0() { return cFadeScrollBarsKeyword_4_2_6_0; } //fadeScrollBars=BooleanVA public Assignment getFadeScrollBarsAssignment_4_2_6_1() { return cFadeScrollBarsAssignment_4_2_6_1; } //BooleanVA public RuleCall getFadeScrollBarsBooleanVAParserRuleCall_4_2_6_1_0() { return cFadeScrollBarsBooleanVAParserRuleCall_4_2_6_1_0; } //";" public Keyword getSemicolonKeyword_4_2_6_2() { return cSemicolonKeyword_4_2_6_2; } //("isScrollContainer:" isScrollContainer=BooleanVA ";")? public Group getGroup_4_2_7() { return cGroup_4_2_7; } //"isScrollContainer:" public Keyword getIsScrollContainerKeyword_4_2_7_0() { return cIsScrollContainerKeyword_4_2_7_0; } //isScrollContainer=BooleanVA public Assignment getIsScrollContainerAssignment_4_2_7_1() { return cIsScrollContainerAssignment_4_2_7_1; } //BooleanVA public RuleCall getIsScrollContainerBooleanVAParserRuleCall_4_2_7_1_0() { return cIsScrollContainerBooleanVAParserRuleCall_4_2_7_1_0; } //";" public Keyword getSemicolonKeyword_4_2_7_2() { return cSemicolonKeyword_4_2_7_2; } //"}" public Keyword getRightCurlyBracketKeyword_4_3() { return cRightCurlyBracketKeyword_4_3; } } public class EditTextElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EditText"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cEditTextKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cEditTextAction_1 = (Action)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Assignment cTextAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cTextStringVAParserRuleCall_3_0 = (RuleCall)cTextAssignment_3.eContents().get(0); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); private final Keyword cLeftCurlyBracketKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); private final Assignment cLayoutParamsAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); private final RuleCall cLayoutParamsLayoutParamsParserRuleCall_4_1_0 = (RuleCall)cLayoutParamsAssignment_4_1.eContents().get(0); private final UnorderedGroup cUnorderedGroup_4_2 = (UnorderedGroup)cGroup_4.eContents().get(2); private final Group cGroup_4_2_0 = (Group)cUnorderedGroup_4_2.eContents().get(0); private final Keyword cTopKeyword_4_2_0_0 = (Keyword)cGroup_4_2_0.eContents().get(0); private final Assignment cTopAssignment_4_2_0_1 = (Assignment)cGroup_4_2_0.eContents().get(1); private final RuleCall cTopDimensionVAParserRuleCall_4_2_0_1_0 = (RuleCall)cTopAssignment_4_2_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_0_2 = (Keyword)cGroup_4_2_0.eContents().get(2); private final Group cGroup_4_2_1 = (Group)cUnorderedGroup_4_2.eContents().get(1); private final Keyword cLeftKeyword_4_2_1_0 = (Keyword)cGroup_4_2_1.eContents().get(0); private final Assignment cLeftAssignment_4_2_1_1 = (Assignment)cGroup_4_2_1.eContents().get(1); private final RuleCall cLeftDimensionVAParserRuleCall_4_2_1_1_0 = (RuleCall)cLeftAssignment_4_2_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_1_2 = (Keyword)cGroup_4_2_1.eContents().get(2); private final Group cGroup_4_2_2 = (Group)cUnorderedGroup_4_2.eContents().get(2); private final Keyword cWidthKeyword_4_2_2_0 = (Keyword)cGroup_4_2_2.eContents().get(0); private final Assignment cWidthAssignment_4_2_2_1 = (Assignment)cGroup_4_2_2.eContents().get(1); private final RuleCall cWidthDimensionVAParserRuleCall_4_2_2_1_0 = (RuleCall)cWidthAssignment_4_2_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_2_2 = (Keyword)cGroup_4_2_2.eContents().get(2); private final Group cGroup_4_2_3 = (Group)cUnorderedGroup_4_2.eContents().get(3); private final Keyword cHeightKeyword_4_2_3_0 = (Keyword)cGroup_4_2_3.eContents().get(0); private final Assignment cHeightAssignment_4_2_3_1 = (Assignment)cGroup_4_2_3.eContents().get(1); private final RuleCall cHeightDimensionVAParserRuleCall_4_2_3_1_0 = (RuleCall)cHeightAssignment_4_2_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_3_2 = (Keyword)cGroup_4_2_3.eContents().get(2); private final Group cGroup_4_2_4 = (Group)cUnorderedGroup_4_2.eContents().get(4); private final Keyword cBackgroundKeyword_4_2_4_0 = (Keyword)cGroup_4_2_4.eContents().get(0); private final Assignment cBackgroundAssignment_4_2_4_1 = (Assignment)cGroup_4_2_4.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0 = (RuleCall)cBackgroundAssignment_4_2_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_4_2 = (Keyword)cGroup_4_2_4.eContents().get(2); private final Group cGroup_4_2_5 = (Group)cUnorderedGroup_4_2.eContents().get(5); private final Keyword cClickableKeyword_4_2_5_0 = (Keyword)cGroup_4_2_5.eContents().get(0); private final Assignment cClickableAssignment_4_2_5_1 = (Assignment)cGroup_4_2_5.eContents().get(1); private final RuleCall cClickableBooleanVAParserRuleCall_4_2_5_1_0 = (RuleCall)cClickableAssignment_4_2_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_5_2 = (Keyword)cGroup_4_2_5.eContents().get(2); private final Group cGroup_4_2_6 = (Group)cUnorderedGroup_4_2.eContents().get(6); private final Keyword cFadeScrollBarsKeyword_4_2_6_0 = (Keyword)cGroup_4_2_6.eContents().get(0); private final Assignment cFadeScrollBarsAssignment_4_2_6_1 = (Assignment)cGroup_4_2_6.eContents().get(1); private final RuleCall cFadeScrollBarsBooleanVAParserRuleCall_4_2_6_1_0 = (RuleCall)cFadeScrollBarsAssignment_4_2_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_6_2 = (Keyword)cGroup_4_2_6.eContents().get(2); private final Group cGroup_4_2_7 = (Group)cUnorderedGroup_4_2.eContents().get(7); private final Keyword cIsScrollContainerKeyword_4_2_7_0 = (Keyword)cGroup_4_2_7.eContents().get(0); private final Assignment cIsScrollContainerAssignment_4_2_7_1 = (Assignment)cGroup_4_2_7.eContents().get(1); private final RuleCall cIsScrollContainerBooleanVAParserRuleCall_4_2_7_1_0 = (RuleCall)cIsScrollContainerAssignment_4_2_7_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_7_2 = (Keyword)cGroup_4_2_7.eContents().get(2); private final Group cGroup_4_2_8 = (Group)cUnorderedGroup_4_2.eContents().get(8); private final Keyword cAutoLinkKeyword_4_2_8_0 = (Keyword)cGroup_4_2_8.eContents().get(0); private final Assignment cAutoLinkAssignment_4_2_8_1 = (Assignment)cGroup_4_2_8.eContents().get(1); private final RuleCall cAutoLinkAutoLinkKindEnumRuleCall_4_2_8_1_0 = (RuleCall)cAutoLinkAssignment_4_2_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_8_2 = (Keyword)cGroup_4_2_8.eContents().get(2); private final Group cGroup_4_2_9 = (Group)cUnorderedGroup_4_2.eContents().get(9); private final Keyword cAutoTextKeyword_4_2_9_0 = (Keyword)cGroup_4_2_9.eContents().get(0); private final Assignment cAutoTextAssignment_4_2_9_1 = (Assignment)cGroup_4_2_9.eContents().get(1); private final RuleCall cAutoTextBooleanVAParserRuleCall_4_2_9_1_0 = (RuleCall)cAutoTextAssignment_4_2_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_9_2 = (Keyword)cGroup_4_2_9.eContents().get(2); private final Group cGroup_4_2_10 = (Group)cUnorderedGroup_4_2.eContents().get(10); private final Keyword cCapitalizeKeyword_4_2_10_0 = (Keyword)cGroup_4_2_10.eContents().get(0); private final Assignment cCapitalizeAssignment_4_2_10_1 = (Assignment)cGroup_4_2_10.eContents().get(1); private final RuleCall cCapitalizeCapitalizeKindEnumRuleCall_4_2_10_1_0 = (RuleCall)cCapitalizeAssignment_4_2_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_10_2 = (Keyword)cGroup_4_2_10.eContents().get(2); private final Group cGroup_4_2_11 = (Group)cUnorderedGroup_4_2.eContents().get(11); private final Keyword cDigitsKeyword_4_2_11_0 = (Keyword)cGroup_4_2_11.eContents().get(0); private final Assignment cDigitsAssignment_4_2_11_1 = (Assignment)cGroup_4_2_11.eContents().get(1); private final RuleCall cDigitsStringVAParserRuleCall_4_2_11_1_0 = (RuleCall)cDigitsAssignment_4_2_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_11_2 = (Keyword)cGroup_4_2_11.eContents().get(2); private final Group cGroup_4_2_12 = (Group)cUnorderedGroup_4_2.eContents().get(12); private final Keyword cEditableKeyword_4_2_12_0 = (Keyword)cGroup_4_2_12.eContents().get(0); private final Assignment cEditableAssignment_4_2_12_1 = (Assignment)cGroup_4_2_12.eContents().get(1); private final RuleCall cEditableBooleanVAParserRuleCall_4_2_12_1_0 = (RuleCall)cEditableAssignment_4_2_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_12_2 = (Keyword)cGroup_4_2_12.eContents().get(2); private final Group cGroup_4_2_13 = (Group)cUnorderedGroup_4_2.eContents().get(13); private final Keyword cGravityKeyword_4_2_13_0 = (Keyword)cGroup_4_2_13.eContents().get(0); private final Assignment cGravityAssignment_4_2_13_1 = (Assignment)cGroup_4_2_13.eContents().get(1); private final RuleCall cGravityLayoutGravityKindEnumRuleCall_4_2_13_1_0 = (RuleCall)cGravityAssignment_4_2_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_13_2 = (Keyword)cGroup_4_2_13.eContents().get(2); private final Group cGroup_4_2_14 = (Group)cUnorderedGroup_4_2.eContents().get(14); private final Keyword cHintKeyword_4_2_14_0 = (Keyword)cGroup_4_2_14.eContents().get(0); private final Assignment cHintAssignment_4_2_14_1 = (Assignment)cGroup_4_2_14.eContents().get(1); private final RuleCall cHintStringVAParserRuleCall_4_2_14_1_0 = (RuleCall)cHintAssignment_4_2_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_14_2 = (Keyword)cGroup_4_2_14.eContents().get(2); private final Group cGroup_4_2_15 = (Group)cUnorderedGroup_4_2.eContents().get(15); private final Keyword cNumericKeyword_4_2_15_0 = (Keyword)cGroup_4_2_15.eContents().get(0); private final Assignment cNumericAssignment_4_2_15_1 = (Assignment)cGroup_4_2_15.eContents().get(1); private final RuleCall cNumericBooleanVAParserRuleCall_4_2_15_1_0 = (RuleCall)cNumericAssignment_4_2_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_15_2 = (Keyword)cGroup_4_2_15.eContents().get(2); private final Group cGroup_4_2_16 = (Group)cUnorderedGroup_4_2.eContents().get(16); private final Keyword cPasswordKeyword_4_2_16_0 = (Keyword)cGroup_4_2_16.eContents().get(0); private final Assignment cPasswordAssignment_4_2_16_1 = (Assignment)cGroup_4_2_16.eContents().get(1); private final RuleCall cPasswordBooleanVAParserRuleCall_4_2_16_1_0 = (RuleCall)cPasswordAssignment_4_2_16_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_16_2 = (Keyword)cGroup_4_2_16.eContents().get(2); private final Group cGroup_4_2_17 = (Group)cUnorderedGroup_4_2.eContents().get(17); private final Keyword cPhoneNumberKeyword_4_2_17_0 = (Keyword)cGroup_4_2_17.eContents().get(0); private final Assignment cPhoneNumberAssignment_4_2_17_1 = (Assignment)cGroup_4_2_17.eContents().get(1); private final RuleCall cPhoneNumberBooleanVAParserRuleCall_4_2_17_1_0 = (RuleCall)cPhoneNumberAssignment_4_2_17_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_17_2 = (Keyword)cGroup_4_2_17.eContents().get(2); private final Group cGroup_4_2_18 = (Group)cUnorderedGroup_4_2.eContents().get(18); private final Keyword cSingleLineKeyword_4_2_18_0 = (Keyword)cGroup_4_2_18.eContents().get(0); private final Assignment cSingleLineAssignment_4_2_18_1 = (Assignment)cGroup_4_2_18.eContents().get(1); private final RuleCall cSingleLineBooleanVAParserRuleCall_4_2_18_1_0 = (RuleCall)cSingleLineAssignment_4_2_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_18_2 = (Keyword)cGroup_4_2_18.eContents().get(2); private final Group cGroup_4_2_19 = (Group)cUnorderedGroup_4_2.eContents().get(19); private final Keyword cTextColorKeyword_4_2_19_0 = (Keyword)cGroup_4_2_19.eContents().get(0); private final Assignment cTextColorAssignment_4_2_19_1 = (Assignment)cGroup_4_2_19.eContents().get(1); private final RuleCall cTextColorColorVAParserRuleCall_4_2_19_1_0 = (RuleCall)cTextColorAssignment_4_2_19_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_19_2 = (Keyword)cGroup_4_2_19.eContents().get(2); private final Group cGroup_4_2_20 = (Group)cUnorderedGroup_4_2.eContents().get(20); private final Keyword cTypefaceKeyword_4_2_20_0 = (Keyword)cGroup_4_2_20.eContents().get(0); private final Assignment cTypefaceAssignment_4_2_20_1 = (Assignment)cGroup_4_2_20.eContents().get(1); private final RuleCall cTypefaceTypefaceKindEnumRuleCall_4_2_20_1_0 = (RuleCall)cTypefaceAssignment_4_2_20_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_20_2 = (Keyword)cGroup_4_2_20.eContents().get(2); private final Group cGroup_4_2_21 = (Group)cUnorderedGroup_4_2.eContents().get(21); private final Keyword cTextSizeKeyword_4_2_21_0 = (Keyword)cGroup_4_2_21.eContents().get(0); private final Assignment cTextSizeAssignment_4_2_21_1 = (Assignment)cGroup_4_2_21.eContents().get(1); private final RuleCall cTextSizeDimensionVAParserRuleCall_4_2_21_1_0 = (RuleCall)cTextSizeAssignment_4_2_21_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_21_2 = (Keyword)cGroup_4_2_21.eContents().get(2); private final Group cGroup_4_2_22 = (Group)cUnorderedGroup_4_2.eContents().get(22); private final Keyword cTextStyleKeyword_4_2_22_0 = (Keyword)cGroup_4_2_22.eContents().get(0); private final Assignment cTextStyleAssignment_4_2_22_1 = (Assignment)cGroup_4_2_22.eContents().get(1); private final RuleCall cTextStyleTextStyleKindEnumRuleCall_4_2_22_1_0 = (RuleCall)cTextStyleAssignment_4_2_22_1.eContents().get(0); private final Group cGroup_4_2_22_2 = (Group)cGroup_4_2_22.eContents().get(2); private final Keyword cVerticalLineKeyword_4_2_22_2_0 = (Keyword)cGroup_4_2_22_2.eContents().get(0); private final Assignment cTextStyleAssignment_4_2_22_2_1 = (Assignment)cGroup_4_2_22_2.eContents().get(1); private final RuleCall cTextStyleTextStyleKindEnumRuleCall_4_2_22_2_1_0 = (RuleCall)cTextStyleAssignment_4_2_22_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_4_2_22_3 = (Keyword)cGroup_4_2_22.eContents().get(3); private final Keyword cRightCurlyBracketKeyword_4_3 = (Keyword)cGroup_4.eContents().get(3); ////NOT tested //EditText: // "editText" {EditText} name=ID? text=StringVA? ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" // autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & // ("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? // & ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & // ("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" // textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & // ("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) "}")?; public ParserRule getRule() { return rule; } //"editText" {EditText} name=ID? text=StringVA? ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) "}")? public Group getGroup() { return cGroup; } //"editText" public Keyword getEditTextKeyword_0() { return cEditTextKeyword_0; } //{EditText} public Action getEditTextAction_1() { return cEditTextAction_1; } //name=ID? public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //text=StringVA? public Assignment getTextAssignment_3() { return cTextAssignment_3; } //StringVA public RuleCall getTextStringVAParserRuleCall_3_0() { return cTextStringVAParserRuleCall_3_0; } //("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) "}")? public Group getGroup_4() { return cGroup_4; } //"{" public Keyword getLeftCurlyBracketKeyword_4_0() { return cLeftCurlyBracketKeyword_4_0; } //layoutParams=LayoutParams? public Assignment getLayoutParamsAssignment_4_1() { return cLayoutParamsAssignment_4_1; } //LayoutParams public RuleCall getLayoutParamsLayoutParamsParserRuleCall_4_1_0() { return cLayoutParamsLayoutParamsParserRuleCall_4_1_0; } //("top:" top=DimensionVA ";")? //TextView attributes //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? public UnorderedGroup getUnorderedGroup_4_2() { return cUnorderedGroup_4_2; } //("top:" top=DimensionVA ";")? public Group getGroup_4_2_0() { return cGroup_4_2_0; } //"top:" public Keyword getTopKeyword_4_2_0_0() { return cTopKeyword_4_2_0_0; } //top=DimensionVA public Assignment getTopAssignment_4_2_0_1() { return cTopAssignment_4_2_0_1; } //DimensionVA public RuleCall getTopDimensionVAParserRuleCall_4_2_0_1_0() { return cTopDimensionVAParserRuleCall_4_2_0_1_0; } //";" public Keyword getSemicolonKeyword_4_2_0_2() { return cSemicolonKeyword_4_2_0_2; } //("left:" left=DimensionVA ";")? public Group getGroup_4_2_1() { return cGroup_4_2_1; } //"left:" public Keyword getLeftKeyword_4_2_1_0() { return cLeftKeyword_4_2_1_0; } //left=DimensionVA public Assignment getLeftAssignment_4_2_1_1() { return cLeftAssignment_4_2_1_1; } //DimensionVA public RuleCall getLeftDimensionVAParserRuleCall_4_2_1_1_0() { return cLeftDimensionVAParserRuleCall_4_2_1_1_0; } //";" public Keyword getSemicolonKeyword_4_2_1_2() { return cSemicolonKeyword_4_2_1_2; } //("width:" width=DimensionVA ";")? public Group getGroup_4_2_2() { return cGroup_4_2_2; } //"width:" public Keyword getWidthKeyword_4_2_2_0() { return cWidthKeyword_4_2_2_0; } //width=DimensionVA public Assignment getWidthAssignment_4_2_2_1() { return cWidthAssignment_4_2_2_1; } //DimensionVA public RuleCall getWidthDimensionVAParserRuleCall_4_2_2_1_0() { return cWidthDimensionVAParserRuleCall_4_2_2_1_0; } //";" public Keyword getSemicolonKeyword_4_2_2_2() { return cSemicolonKeyword_4_2_2_2; } //("height:" height=DimensionVA ";")? public Group getGroup_4_2_3() { return cGroup_4_2_3; } //"height:" public Keyword getHeightKeyword_4_2_3_0() { return cHeightKeyword_4_2_3_0; } //height=DimensionVA public Assignment getHeightAssignment_4_2_3_1() { return cHeightAssignment_4_2_3_1; } //DimensionVA public RuleCall getHeightDimensionVAParserRuleCall_4_2_3_1_0() { return cHeightDimensionVAParserRuleCall_4_2_3_1_0; } //";" public Keyword getSemicolonKeyword_4_2_3_2() { return cSemicolonKeyword_4_2_3_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_4_2_4() { return cGroup_4_2_4; } //"background:" public Keyword getBackgroundKeyword_4_2_4_0() { return cBackgroundKeyword_4_2_4_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_4_2_4_1() { return cBackgroundAssignment_4_2_4_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_4_2_4_1_0; } //";" public Keyword getSemicolonKeyword_4_2_4_2() { return cSemicolonKeyword_4_2_4_2; } //("clickable:" clickable=BooleanVA ";")? public Group getGroup_4_2_5() { return cGroup_4_2_5; } //"clickable:" public Keyword getClickableKeyword_4_2_5_0() { return cClickableKeyword_4_2_5_0; } //clickable=BooleanVA public Assignment getClickableAssignment_4_2_5_1() { return cClickableAssignment_4_2_5_1; } //BooleanVA public RuleCall getClickableBooleanVAParserRuleCall_4_2_5_1_0() { return cClickableBooleanVAParserRuleCall_4_2_5_1_0; } //";" public Keyword getSemicolonKeyword_4_2_5_2() { return cSemicolonKeyword_4_2_5_2; } //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? public Group getGroup_4_2_6() { return cGroup_4_2_6; } //"fadeScrollBars:" public Keyword getFadeScrollBarsKeyword_4_2_6_0() { return cFadeScrollBarsKeyword_4_2_6_0; } //fadeScrollBars=BooleanVA public Assignment getFadeScrollBarsAssignment_4_2_6_1() { return cFadeScrollBarsAssignment_4_2_6_1; } //BooleanVA public RuleCall getFadeScrollBarsBooleanVAParserRuleCall_4_2_6_1_0() { return cFadeScrollBarsBooleanVAParserRuleCall_4_2_6_1_0; } //";" public Keyword getSemicolonKeyword_4_2_6_2() { return cSemicolonKeyword_4_2_6_2; } //("isScrollContainer:" isScrollContainer=BooleanVA ";")? public Group getGroup_4_2_7() { return cGroup_4_2_7; } //"isScrollContainer:" public Keyword getIsScrollContainerKeyword_4_2_7_0() { return cIsScrollContainerKeyword_4_2_7_0; } //isScrollContainer=BooleanVA public Assignment getIsScrollContainerAssignment_4_2_7_1() { return cIsScrollContainerAssignment_4_2_7_1; } //BooleanVA public RuleCall getIsScrollContainerBooleanVAParserRuleCall_4_2_7_1_0() { return cIsScrollContainerBooleanVAParserRuleCall_4_2_7_1_0; } //";" public Keyword getSemicolonKeyword_4_2_7_2() { return cSemicolonKeyword_4_2_7_2; } //("autoLink:" autoLink=AutoLinkKind ";")? public Group getGroup_4_2_8() { return cGroup_4_2_8; } //"autoLink:" public Keyword getAutoLinkKeyword_4_2_8_0() { return cAutoLinkKeyword_4_2_8_0; } //autoLink=AutoLinkKind public Assignment getAutoLinkAssignment_4_2_8_1() { return cAutoLinkAssignment_4_2_8_1; } //AutoLinkKind public RuleCall getAutoLinkAutoLinkKindEnumRuleCall_4_2_8_1_0() { return cAutoLinkAutoLinkKindEnumRuleCall_4_2_8_1_0; } //";" public Keyword getSemicolonKeyword_4_2_8_2() { return cSemicolonKeyword_4_2_8_2; } //("autoText:" autoText=BooleanVA ";")? public Group getGroup_4_2_9() { return cGroup_4_2_9; } //"autoText:" public Keyword getAutoTextKeyword_4_2_9_0() { return cAutoTextKeyword_4_2_9_0; } //autoText=BooleanVA public Assignment getAutoTextAssignment_4_2_9_1() { return cAutoTextAssignment_4_2_9_1; } //BooleanVA public RuleCall getAutoTextBooleanVAParserRuleCall_4_2_9_1_0() { return cAutoTextBooleanVAParserRuleCall_4_2_9_1_0; } //";" public Keyword getSemicolonKeyword_4_2_9_2() { return cSemicolonKeyword_4_2_9_2; } //("capitalize:" capitalize=CapitalizeKind ";")? public Group getGroup_4_2_10() { return cGroup_4_2_10; } //"capitalize:" public Keyword getCapitalizeKeyword_4_2_10_0() { return cCapitalizeKeyword_4_2_10_0; } //capitalize=CapitalizeKind public Assignment getCapitalizeAssignment_4_2_10_1() { return cCapitalizeAssignment_4_2_10_1; } //CapitalizeKind public RuleCall getCapitalizeCapitalizeKindEnumRuleCall_4_2_10_1_0() { return cCapitalizeCapitalizeKindEnumRuleCall_4_2_10_1_0; } //";" public Keyword getSemicolonKeyword_4_2_10_2() { return cSemicolonKeyword_4_2_10_2; } //("digits:" digits=StringVA ";")? public Group getGroup_4_2_11() { return cGroup_4_2_11; } //"digits:" public Keyword getDigitsKeyword_4_2_11_0() { return cDigitsKeyword_4_2_11_0; } //digits=StringVA public Assignment getDigitsAssignment_4_2_11_1() { return cDigitsAssignment_4_2_11_1; } //StringVA public RuleCall getDigitsStringVAParserRuleCall_4_2_11_1_0() { return cDigitsStringVAParserRuleCall_4_2_11_1_0; } //";" public Keyword getSemicolonKeyword_4_2_11_2() { return cSemicolonKeyword_4_2_11_2; } //("editable:" editable=BooleanVA ";")? public Group getGroup_4_2_12() { return cGroup_4_2_12; } //"editable:" public Keyword getEditableKeyword_4_2_12_0() { return cEditableKeyword_4_2_12_0; } //editable=BooleanVA public Assignment getEditableAssignment_4_2_12_1() { return cEditableAssignment_4_2_12_1; } //BooleanVA public RuleCall getEditableBooleanVAParserRuleCall_4_2_12_1_0() { return cEditableBooleanVAParserRuleCall_4_2_12_1_0; } //";" public Keyword getSemicolonKeyword_4_2_12_2() { return cSemicolonKeyword_4_2_12_2; } //("gravity:" gravity=LayoutGravityKind ";")? public Group getGroup_4_2_13() { return cGroup_4_2_13; } //"gravity:" public Keyword getGravityKeyword_4_2_13_0() { return cGravityKeyword_4_2_13_0; } //gravity=LayoutGravityKind public Assignment getGravityAssignment_4_2_13_1() { return cGravityAssignment_4_2_13_1; } //LayoutGravityKind public RuleCall getGravityLayoutGravityKindEnumRuleCall_4_2_13_1_0() { return cGravityLayoutGravityKindEnumRuleCall_4_2_13_1_0; } //";" public Keyword getSemicolonKeyword_4_2_13_2() { return cSemicolonKeyword_4_2_13_2; } //("hint:" hint=StringVA ";")? public Group getGroup_4_2_14() { return cGroup_4_2_14; } //"hint:" public Keyword getHintKeyword_4_2_14_0() { return cHintKeyword_4_2_14_0; } //hint=StringVA public Assignment getHintAssignment_4_2_14_1() { return cHintAssignment_4_2_14_1; } //StringVA public RuleCall getHintStringVAParserRuleCall_4_2_14_1_0() { return cHintStringVAParserRuleCall_4_2_14_1_0; } //";" public Keyword getSemicolonKeyword_4_2_14_2() { return cSemicolonKeyword_4_2_14_2; } //("numeric:" numeric=BooleanVA ";")? public Group getGroup_4_2_15() { return cGroup_4_2_15; } //"numeric:" public Keyword getNumericKeyword_4_2_15_0() { return cNumericKeyword_4_2_15_0; } //numeric=BooleanVA public Assignment getNumericAssignment_4_2_15_1() { return cNumericAssignment_4_2_15_1; } //BooleanVA public RuleCall getNumericBooleanVAParserRuleCall_4_2_15_1_0() { return cNumericBooleanVAParserRuleCall_4_2_15_1_0; } //";" public Keyword getSemicolonKeyword_4_2_15_2() { return cSemicolonKeyword_4_2_15_2; } //("password:" password=BooleanVA ";")? public Group getGroup_4_2_16() { return cGroup_4_2_16; } //"password:" public Keyword getPasswordKeyword_4_2_16_0() { return cPasswordKeyword_4_2_16_0; } //password=BooleanVA public Assignment getPasswordAssignment_4_2_16_1() { return cPasswordAssignment_4_2_16_1; } //BooleanVA public RuleCall getPasswordBooleanVAParserRuleCall_4_2_16_1_0() { return cPasswordBooleanVAParserRuleCall_4_2_16_1_0; } //";" public Keyword getSemicolonKeyword_4_2_16_2() { return cSemicolonKeyword_4_2_16_2; } //("phoneNumber:" phoneNumber=BooleanVA ";")? public Group getGroup_4_2_17() { return cGroup_4_2_17; } //"phoneNumber:" public Keyword getPhoneNumberKeyword_4_2_17_0() { return cPhoneNumberKeyword_4_2_17_0; } //phoneNumber=BooleanVA public Assignment getPhoneNumberAssignment_4_2_17_1() { return cPhoneNumberAssignment_4_2_17_1; } //BooleanVA public RuleCall getPhoneNumberBooleanVAParserRuleCall_4_2_17_1_0() { return cPhoneNumberBooleanVAParserRuleCall_4_2_17_1_0; } //";" public Keyword getSemicolonKeyword_4_2_17_2() { return cSemicolonKeyword_4_2_17_2; } //("singleLine:" singleLine=BooleanVA ";")? public Group getGroup_4_2_18() { return cGroup_4_2_18; } //"singleLine:" public Keyword getSingleLineKeyword_4_2_18_0() { return cSingleLineKeyword_4_2_18_0; } //singleLine=BooleanVA public Assignment getSingleLineAssignment_4_2_18_1() { return cSingleLineAssignment_4_2_18_1; } //BooleanVA public RuleCall getSingleLineBooleanVAParserRuleCall_4_2_18_1_0() { return cSingleLineBooleanVAParserRuleCall_4_2_18_1_0; } //";" public Keyword getSemicolonKeyword_4_2_18_2() { return cSemicolonKeyword_4_2_18_2; } //("textColor:" textColor=ColorVA ";")? public Group getGroup_4_2_19() { return cGroup_4_2_19; } //"textColor:" public Keyword getTextColorKeyword_4_2_19_0() { return cTextColorKeyword_4_2_19_0; } //textColor=ColorVA public Assignment getTextColorAssignment_4_2_19_1() { return cTextColorAssignment_4_2_19_1; } //ColorVA public RuleCall getTextColorColorVAParserRuleCall_4_2_19_1_0() { return cTextColorColorVAParserRuleCall_4_2_19_1_0; } //";" public Keyword getSemicolonKeyword_4_2_19_2() { return cSemicolonKeyword_4_2_19_2; } //("typeface:" typeface=TypefaceKind ";")? public Group getGroup_4_2_20() { return cGroup_4_2_20; } //"typeface:" public Keyword getTypefaceKeyword_4_2_20_0() { return cTypefaceKeyword_4_2_20_0; } //typeface=TypefaceKind public Assignment getTypefaceAssignment_4_2_20_1() { return cTypefaceAssignment_4_2_20_1; } //TypefaceKind public RuleCall getTypefaceTypefaceKindEnumRuleCall_4_2_20_1_0() { return cTypefaceTypefaceKindEnumRuleCall_4_2_20_1_0; } //";" public Keyword getSemicolonKeyword_4_2_20_2() { return cSemicolonKeyword_4_2_20_2; } //("textSize:" textSize=DimensionVA ";")? public Group getGroup_4_2_21() { return cGroup_4_2_21; } //"textSize:" public Keyword getTextSizeKeyword_4_2_21_0() { return cTextSizeKeyword_4_2_21_0; } //textSize=DimensionVA public Assignment getTextSizeAssignment_4_2_21_1() { return cTextSizeAssignment_4_2_21_1; } //DimensionVA public RuleCall getTextSizeDimensionVAParserRuleCall_4_2_21_1_0() { return cTextSizeDimensionVAParserRuleCall_4_2_21_1_0; } //";" public Keyword getSemicolonKeyword_4_2_21_2() { return cSemicolonKeyword_4_2_21_2; } //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? public Group getGroup_4_2_22() { return cGroup_4_2_22; } //"textStyle:" public Keyword getTextStyleKeyword_4_2_22_0() { return cTextStyleKeyword_4_2_22_0; } //textStyle+=TextStyleKind public Assignment getTextStyleAssignment_4_2_22_1() { return cTextStyleAssignment_4_2_22_1; } //TextStyleKind public RuleCall getTextStyleTextStyleKindEnumRuleCall_4_2_22_1_0() { return cTextStyleTextStyleKindEnumRuleCall_4_2_22_1_0; } //("|" textStyle+=TextStyleKind)* public Group getGroup_4_2_22_2() { return cGroup_4_2_22_2; } //"|" public Keyword getVerticalLineKeyword_4_2_22_2_0() { return cVerticalLineKeyword_4_2_22_2_0; } //textStyle+=TextStyleKind public Assignment getTextStyleAssignment_4_2_22_2_1() { return cTextStyleAssignment_4_2_22_2_1; } //TextStyleKind public RuleCall getTextStyleTextStyleKindEnumRuleCall_4_2_22_2_1_0() { return cTextStyleTextStyleKindEnumRuleCall_4_2_22_2_1_0; } //";" public Keyword getSemicolonKeyword_4_2_22_3() { return cSemicolonKeyword_4_2_22_3; } //"}" public Keyword getRightCurlyBracketKeyword_4_3() { return cRightCurlyBracketKeyword_4_3; } } public class ValueAccessElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValueAccess"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cStringVAParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cIntegerVAParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cBooleanVAParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cColorVAParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); private final RuleCall cDimensionVAParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); private final RuleCall cDrawableVAParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); private final RuleCall cAnimationVAParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); private final RuleCall cInterpolatorVAParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7); /// ****************************************************************************** // * Value Access // ****************************************************************************** // * If something (like a property) have a value of any resource kind, this value // * is a value access. Always have as associated type. // ****************************************************************************** ///| IntegerArrayVA | StringArrayVA | TypedArrayVA //ValueAccess: // StringVA | IntegerVA | BooleanVA | ColorVA | DimensionVA | DrawableVA | AnimationVA | InterpolatorVA; public ParserRule getRule() { return rule; } //StringVA | IntegerVA | BooleanVA | ColorVA | DimensionVA | DrawableVA | AnimationVA | InterpolatorVA public Alternatives getAlternatives() { return cAlternatives; } //StringVA public RuleCall getStringVAParserRuleCall_0() { return cStringVAParserRuleCall_0; } //IntegerVA public RuleCall getIntegerVAParserRuleCall_1() { return cIntegerVAParserRuleCall_1; } //BooleanVA public RuleCall getBooleanVAParserRuleCall_2() { return cBooleanVAParserRuleCall_2; } //ColorVA public RuleCall getColorVAParserRuleCall_3() { return cColorVAParserRuleCall_3; } //DimensionVA public RuleCall getDimensionVAParserRuleCall_4() { return cDimensionVAParserRuleCall_4; } //DrawableVA public RuleCall getDrawableVAParserRuleCall_5() { return cDrawableVAParserRuleCall_5; } //AnimationVA public RuleCall getAnimationVAParserRuleCall_6() { return cAnimationVAParserRuleCall_6; } //InterpolatorVA public RuleCall getInterpolatorVAParserRuleCall_7() { return cInterpolatorVAParserRuleCall_7; } } public class StringVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final Assignment cAccessAssignment_0 = (Assignment)cAlternatives.eContents().get(0); private final RuleCall cAccessStringRAParserRuleCall_0_0 = (RuleCall)cAccessAssignment_0.eContents().get(0); private final Assignment cValueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cValueStringVDParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); ////This delegation pattern is only making the things harder because I can not ////put an abstract property (access) in the ValueAccess abstract class //StringVA: //(StringRA | StringVD) // access=StringRA | value=StringVD; public ParserRule getRule() { return rule; } ////(StringRA | StringVD) //access=StringRA | value=StringVD public Alternatives getAlternatives() { return cAlternatives; } ////(StringRA | StringVD) //access=StringRA public Assignment getAccessAssignment_0() { return cAccessAssignment_0; } //StringRA public RuleCall getAccessStringRAParserRuleCall_0_0() { return cAccessStringRAParserRuleCall_0_0; } //value=StringVD public Assignment getValueAssignment_1() { return cValueAssignment_1; } //StringVD public RuleCall getValueStringVDParserRuleCall_1_0() { return cValueStringVDParserRuleCall_1_0; } } public class IntegerVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final Assignment cAccessAssignment_0 = (Assignment)cAlternatives.eContents().get(0); private final RuleCall cAccessIntegerRAParserRuleCall_0_0 = (RuleCall)cAccessAssignment_0.eContents().get(0); private final Assignment cValueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cValueIntegerVDParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); //IntegerVA: //(IntegerRA | IntegerVD) // access=IntegerRA | value=IntegerVD; public ParserRule getRule() { return rule; } ////(IntegerRA | IntegerVD) //access=IntegerRA | value=IntegerVD public Alternatives getAlternatives() { return cAlternatives; } ////(IntegerRA | IntegerVD) //access=IntegerRA public Assignment getAccessAssignment_0() { return cAccessAssignment_0; } //IntegerRA public RuleCall getAccessIntegerRAParserRuleCall_0_0() { return cAccessIntegerRAParserRuleCall_0_0; } //value=IntegerVD public Assignment getValueAssignment_1() { return cValueAssignment_1; } //IntegerVD public RuleCall getValueIntegerVDParserRuleCall_1_0() { return cValueIntegerVDParserRuleCall_1_0; } } public class BooleanVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final Assignment cAccessAssignment_0 = (Assignment)cAlternatives.eContents().get(0); private final RuleCall cAccessBooleanRAParserRuleCall_0_0 = (RuleCall)cAccessAssignment_0.eContents().get(0); private final Assignment cValueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cValueBooleanVDParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); //BooleanVA: //(BooleanRA | BooleanVD) // access=BooleanRA | value=BooleanVD; public ParserRule getRule() { return rule; } ////(BooleanRA | BooleanVD) //access=BooleanRA | value=BooleanVD public Alternatives getAlternatives() { return cAlternatives; } ////(BooleanRA | BooleanVD) //access=BooleanRA public Assignment getAccessAssignment_0() { return cAccessAssignment_0; } //BooleanRA public RuleCall getAccessBooleanRAParserRuleCall_0_0() { return cAccessBooleanRAParserRuleCall_0_0; } //value=BooleanVD public Assignment getValueAssignment_1() { return cValueAssignment_1; } //BooleanVD public RuleCall getValueBooleanVDParserRuleCall_1_0() { return cValueBooleanVDParserRuleCall_1_0; } } public class ColorVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ColorVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final Assignment cAccessAssignment_0 = (Assignment)cAlternatives.eContents().get(0); private final RuleCall cAccessColorRAParserRuleCall_0_0 = (RuleCall)cAccessAssignment_0.eContents().get(0); private final Assignment cValueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cValueColorVDParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); //ColorVA: //(ColorRA | ColorVD) // access=ColorRA | value=ColorVD; public ParserRule getRule() { return rule; } ////(ColorRA | ColorVD) //access=ColorRA | value=ColorVD public Alternatives getAlternatives() { return cAlternatives; } ////(ColorRA | ColorVD) //access=ColorRA public Assignment getAccessAssignment_0() { return cAccessAssignment_0; } //ColorRA public RuleCall getAccessColorRAParserRuleCall_0_0() { return cAccessColorRAParserRuleCall_0_0; } //value=ColorVD public Assignment getValueAssignment_1() { return cValueAssignment_1; } //ColorVD public RuleCall getValueColorVDParserRuleCall_1_0() { return cValueColorVDParserRuleCall_1_0; } } public class DimensionVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DimensionVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final Assignment cAccessAssignment_0 = (Assignment)cAlternatives.eContents().get(0); private final RuleCall cAccessDimensionRAParserRuleCall_0_0 = (RuleCall)cAccessAssignment_0.eContents().get(0); private final Assignment cValueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cValueDimensionVDParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0); //DimensionVA: //(DimensionRA | DimensionVD) // access=DimensionRA | value=DimensionVD; public ParserRule getRule() { return rule; } ////(DimensionRA | DimensionVD) //access=DimensionRA | value=DimensionVD public Alternatives getAlternatives() { return cAlternatives; } ////(DimensionRA | DimensionVD) //access=DimensionRA public Assignment getAccessAssignment_0() { return cAccessAssignment_0; } //DimensionRA public RuleCall getAccessDimensionRAParserRuleCall_0_0() { return cAccessDimensionRAParserRuleCall_0_0; } //value=DimensionVD public Assignment getValueAssignment_1() { return cValueAssignment_1; } //DimensionVD public RuleCall getValueDimensionVDParserRuleCall_1_0() { return cValueDimensionVDParserRuleCall_1_0; } } public class LayoutDimensionVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LayoutDimensionVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cDimensionVAParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final Assignment cConstant_valueAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cConstant_valueLayoutDimensionKindEnumRuleCall_1_0 = (RuleCall)cConstant_valueAssignment_1.eContents().get(0); ////Used only in layout_width and layout_height //LayoutDimensionVA: // DimensionVA | constant_value=LayoutDimensionKind; public ParserRule getRule() { return rule; } //DimensionVA | constant_value=LayoutDimensionKind public Alternatives getAlternatives() { return cAlternatives; } //DimensionVA public RuleCall getDimensionVAParserRuleCall_0() { return cDimensionVAParserRuleCall_0; } //constant_value=LayoutDimensionKind public Assignment getConstant_valueAssignment_1() { return cConstant_valueAssignment_1; } //LayoutDimensionKind public RuleCall getConstant_valueLayoutDimensionKindEnumRuleCall_1_0() { return cConstant_valueLayoutDimensionKindEnumRuleCall_1_0; } } public class AnyDrawableVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnyDrawableVA"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cDrawableVAParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cColorVAParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); ////TODO: StyleRA ////http://developer.android.com/guide/topics/ui/themes.html //AnyDrawableVA: // DrawableVA | ColorVA; public ParserRule getRule() { return rule; } //DrawableVA | ColorVA public Alternatives getAlternatives() { return cAlternatives; } //DrawableVA public RuleCall getDrawableVAParserRuleCall_0() { return cDrawableVAParserRuleCall_0; } //ColorVA public RuleCall getColorVAParserRuleCall_1() { return cColorVAParserRuleCall_1; } } public class DrawableVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DrawableVA"); private final Assignment cAccessAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cAccessDrawableRAParserRuleCall_0 = (RuleCall)cAccessAssignment.eContents().get(0); //DrawableVA: // access=DrawableRA; public ParserRule getRule() { return rule; } //access=DrawableRA public Assignment getAccessAssignment() { return cAccessAssignment; } //DrawableRA public RuleCall getAccessDrawableRAParserRuleCall_0() { return cAccessDrawableRAParserRuleCall_0; } } public class AnimationVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnimationVA"); private final Assignment cAccessAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cAccessAnimationRAParserRuleCall_0 = (RuleCall)cAccessAssignment.eContents().get(0); //AnimationVA: //(AnimationRA) // access= //| AnimationVD // AnimationRA; public ParserRule getRule() { return rule; } ////(AnimationRA) //access= //| AnimationVD //AnimationRA public Assignment getAccessAssignment() { return cAccessAssignment; } ////| AnimationVD //AnimationRA public RuleCall getAccessAnimationRAParserRuleCall_0() { return cAccessAnimationRAParserRuleCall_0; } } public class InterpolatorVAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InterpolatorVA"); private final Assignment cAccessAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cAccessInterpolatorRAParserRuleCall_0 = (RuleCall)cAccessAssignment.eContents().get(0); //InterpolatorVA: //(InterpolatorRA) // access=InterpolatorRA; public ParserRule getRule() { return rule; } ////(InterpolatorRA) //access=InterpolatorRA public Assignment getAccessAssignment() { return cAccessAssignment; } //InterpolatorRA public RuleCall getAccessInterpolatorRAParserRuleCall_0() { return cAccessInterpolatorRAParserRuleCall_0; } } public class ValueDefinitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValueDefinition"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cStringVDParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cIntegerVDParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cBooleanVDParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cColorVDParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); private final RuleCall cDimensionVDParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); /// ****************************************************************************** // * Value Definitions (always typed) // ****************************************************************************** // * IntegerArrayVD | StringArrayVD | TypedArrayVD * / //ValueDefinition: // StringVD | IntegerVD | BooleanVD | ColorVD | DimensionVD; public ParserRule getRule() { return rule; } //StringVD | IntegerVD | BooleanVD | ColorVD | DimensionVD public Alternatives getAlternatives() { return cAlternatives; } //StringVD public RuleCall getStringVDParserRuleCall_0() { return cStringVDParserRuleCall_0; } //IntegerVD public RuleCall getIntegerVDParserRuleCall_1() { return cIntegerVDParserRuleCall_1; } //BooleanVD public RuleCall getBooleanVDParserRuleCall_2() { return cBooleanVDParserRuleCall_2; } //ColorVD public RuleCall getColorVDParserRuleCall_3() { return cColorVDParserRuleCall_3; } //DimensionVD public RuleCall getDimensionVDParserRuleCall_4() { return cDimensionVDParserRuleCall_4; } } public class StringVDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringVD"); private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cValueSTRINGTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); //StringVD: // value=STRING; public ParserRule getRule() { return rule; } //value=STRING public Assignment getValueAssignment() { return cValueAssignment; } //STRING public RuleCall getValueSTRINGTerminalRuleCall_0() { return cValueSTRINGTerminalRuleCall_0; } } public class IntegerVDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerVD"); private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cValueINTTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); //IntegerVD: // value=INT; public ParserRule getRule() { return rule; } //value=INT public Assignment getValueAssignment() { return cValueAssignment; } //INT public RuleCall getValueINTTerminalRuleCall_0() { return cValueINTTerminalRuleCall_0; } } public class BooleanVDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanVD"); private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cValueBOOLTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); //BooleanVD: // value=BOOL; public ParserRule getRule() { return rule; } //value=BOOL public Assignment getValueAssignment() { return cValueAssignment; } //BOOL public RuleCall getValueBOOLTerminalRuleCall_0() { return cValueBOOLTerminalRuleCall_0; } } public class ColorVDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ColorVD"); private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cValueHEX_COLORTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); //ColorVD: // value=HEX_COLOR; public ParserRule getRule() { return rule; } //value=HEX_COLOR public Assignment getValueAssignment() { return cValueAssignment; } //HEX_COLOR public RuleCall getValueHEX_COLORTerminalRuleCall_0() { return cValueHEX_COLORTerminalRuleCall_0; } } public class DimensionVDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DimensionVD"); private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); private final RuleCall cValueDimensionValueParserRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); //DimensionVD: // value=DimensionValue; public ParserRule getRule() { return rule; } //value=DimensionValue public Assignment getValueAssignment() { return cValueAssignment; } //DimensionValue public RuleCall getValueDimensionValueParserRuleCall_0() { return cValueDimensionValueParserRuleCall_0; } } public class ValueResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValueResource"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cStringResourceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cIntegerResourceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cBooleanResourceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cColorResourceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); private final RuleCall cDimensionResourceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); private final RuleCall cArrayResourceParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); private final RuleCall cDrawableResourceParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); private final RuleCall cAnimationResourceParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7); /// * //No need //InterpolatorVD: // shareInterpolator?='shared' // 'interpolator' interpolator=InterpolatorRA //; // * // ****************************************************************************** // * Resource Definition (for resources which can be defined as property value) // ****************************************************************************** // * TODO: Verify if ALL resources can be defined as property value =D // ****************************************************************************** ///| InterpolatorResource //ValueResource: // StringResource | IntegerResource | BooleanResource | ColorResource | DimensionResource | ArrayResource | // DrawableResource | AnimationResource; public ParserRule getRule() { return rule; } //StringResource | IntegerResource | BooleanResource | ColorResource | DimensionResource | ArrayResource | //DrawableResource | AnimationResource public Alternatives getAlternatives() { return cAlternatives; } //StringResource public RuleCall getStringResourceParserRuleCall_0() { return cStringResourceParserRuleCall_0; } //IntegerResource public RuleCall getIntegerResourceParserRuleCall_1() { return cIntegerResourceParserRuleCall_1; } //BooleanResource public RuleCall getBooleanResourceParserRuleCall_2() { return cBooleanResourceParserRuleCall_2; } //ColorResource public RuleCall getColorResourceParserRuleCall_3() { return cColorResourceParserRuleCall_3; } //DimensionResource public RuleCall getDimensionResourceParserRuleCall_4() { return cDimensionResourceParserRuleCall_4; } //ArrayResource public RuleCall getArrayResourceParserRuleCall_5() { return cArrayResourceParserRuleCall_5; } //DrawableResource public RuleCall getDrawableResourceParserRuleCall_6() { return cDrawableResourceParserRuleCall_6; } //AnimationResource public RuleCall getAnimationResourceParserRuleCall_7() { return cAnimationResourceParserRuleCall_7; } } public class StringResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cStringKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cValueSTRINGTerminalRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0); //StringResource: // "string" name=ID "=" value=STRING; public ParserRule getRule() { return rule; } //"string" name=ID "=" value=STRING public Group getGroup() { return cGroup; } //"string" public Keyword getStringKeyword_0() { return cStringKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //value=STRING public Assignment getValueAssignment_3() { return cValueAssignment_3; } //STRING public RuleCall getValueSTRINGTerminalRuleCall_3_0() { return cValueSTRINGTerminalRuleCall_3_0; } } public class IntegerResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cIntegerKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cValueINTTerminalRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0); //IntegerResource: // "integer" name=ID "=" value=INT; public ParserRule getRule() { return rule; } //"integer" name=ID "=" value=INT public Group getGroup() { return cGroup; } //"integer" public Keyword getIntegerKeyword_0() { return cIntegerKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //value=INT public Assignment getValueAssignment_3() { return cValueAssignment_3; } //INT public RuleCall getValueINTTerminalRuleCall_3_0() { return cValueINTTerminalRuleCall_3_0; } } public class BooleanResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cBoolKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cValueBOOLTerminalRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0); //BooleanResource: // "bool" name=ID "=" value=BOOL; public ParserRule getRule() { return rule; } //"bool" name=ID "=" value=BOOL public Group getGroup() { return cGroup; } //"bool" public Keyword getBoolKeyword_0() { return cBoolKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //value=BOOL public Assignment getValueAssignment_3() { return cValueAssignment_3; } //BOOL public RuleCall getValueBOOLTerminalRuleCall_3_0() { return cValueBOOLTerminalRuleCall_3_0; } } public class ColorResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ColorResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cColorKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cValueHEX_COLORTerminalRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0); //ColorResource: // "color" name=ID "=" value=HEX_COLOR; public ParserRule getRule() { return rule; } //"color" name=ID "=" value=HEX_COLOR public Group getGroup() { return cGroup; } //"color" public Keyword getColorKeyword_0() { return cColorKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //value=HEX_COLOR public Assignment getValueAssignment_3() { return cValueAssignment_3; } //HEX_COLOR public RuleCall getValueHEX_COLORTerminalRuleCall_3_0() { return cValueHEX_COLORTerminalRuleCall_3_0; } } public class DimensionResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DimensionResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cDimensionKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cValueAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cValueDimensionValueParserRuleCall_3_0 = (RuleCall)cValueAssignment_3.eContents().get(0); //DimensionResource: // "dimension" name=ID "=" value=DimensionValue; public ParserRule getRule() { return rule; } //"dimension" name=ID "=" value=DimensionValue public Group getGroup() { return cGroup; } //"dimension" public Keyword getDimensionKeyword_0() { return cDimensionKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //value=DimensionValue public Assignment getValueAssignment_3() { return cValueAssignment_3; } //DimensionValue public RuleCall getValueDimensionValueParserRuleCall_3_0() { return cValueDimensionValueParserRuleCall_3_0; } } public class ArrayResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ArrayResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cArrayKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final RuleCall cIntegerArrayResourceParserRuleCall_1_0 = (RuleCall)cAlternatives_1.eContents().get(0); private final RuleCall cStringArrayResourceParserRuleCall_1_1 = (RuleCall)cAlternatives_1.eContents().get(1); private final RuleCall cTypedArrayResourceParserRuleCall_1_2 = (RuleCall)cAlternatives_1.eContents().get(2); //// ////Array Resource //// //ArrayResource: // "array" (IntegerArrayResource | StringArrayResource | TypedArrayResource); public ParserRule getRule() { return rule; } //"array" (IntegerArrayResource | StringArrayResource | TypedArrayResource) public Group getGroup() { return cGroup; } //"array" public Keyword getArrayKeyword_0() { return cArrayKeyword_0; } //IntegerArrayResource | StringArrayResource | TypedArrayResource public Alternatives getAlternatives_1() { return cAlternatives_1; } //IntegerArrayResource public RuleCall getIntegerArrayResourceParserRuleCall_1_0() { return cIntegerArrayResourceParserRuleCall_1_0; } //StringArrayResource public RuleCall getStringArrayResourceParserRuleCall_1_1() { return cStringArrayResourceParserRuleCall_1_1; } //TypedArrayResource public RuleCall getTypedArrayResourceParserRuleCall_1_2() { return cTypedArrayResourceParserRuleCall_1_2; } } public class IntegerArrayResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerArrayResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cIntegerKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Keyword cLeftSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); private final Assignment cItemsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); private final RuleCall cItemsINTTerminalRuleCall_4_0_0 = (RuleCall)cItemsAssignment_4_0.eContents().get(0); private final Group cGroup_4_1 = (Group)cGroup_4.eContents().get(1); private final Keyword cCommaKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); private final Assignment cItemsAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); private final RuleCall cItemsINTTerminalRuleCall_4_1_1_0 = (RuleCall)cItemsAssignment_4_1_1.eContents().get(0); private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //IntegerArrayResource: // "(integer)" name=ID "=" "[" (items+=INT ("," items+=INT)*)? "]"; public ParserRule getRule() { return rule; } //"(integer)" name=ID "=" "[" (items+=INT ("," items+=INT)*)? "]" public Group getGroup() { return cGroup; } //"(integer)" public Keyword getIntegerKeyword_0() { return cIntegerKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //"[" public Keyword getLeftSquareBracketKeyword_3() { return cLeftSquareBracketKeyword_3; } //(items+=INT ("," items+=INT)*)? public Group getGroup_4() { return cGroup_4; } //items+=INT public Assignment getItemsAssignment_4_0() { return cItemsAssignment_4_0; } //INT public RuleCall getItemsINTTerminalRuleCall_4_0_0() { return cItemsINTTerminalRuleCall_4_0_0; } //("," items+=INT)* public Group getGroup_4_1() { return cGroup_4_1; } //"," public Keyword getCommaKeyword_4_1_0() { return cCommaKeyword_4_1_0; } //items+=INT public Assignment getItemsAssignment_4_1_1() { return cItemsAssignment_4_1_1; } //INT public RuleCall getItemsINTTerminalRuleCall_4_1_1_0() { return cItemsINTTerminalRuleCall_4_1_1_0; } //"]" public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; } } public class StringArrayResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringArrayResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cStringKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Keyword cLeftSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Group cGroup_4 = (Group)cGroup.eContents().get(4); private final Assignment cItemsAssignment_4_0 = (Assignment)cGroup_4.eContents().get(0); private final RuleCall cItemsSTRINGTerminalRuleCall_4_0_0 = (RuleCall)cItemsAssignment_4_0.eContents().get(0); private final Group cGroup_4_1 = (Group)cGroup_4.eContents().get(1); private final Keyword cCommaKeyword_4_1_0 = (Keyword)cGroup_4_1.eContents().get(0); private final Assignment cItemsAssignment_4_1_1 = (Assignment)cGroup_4_1.eContents().get(1); private final RuleCall cItemsSTRINGTerminalRuleCall_4_1_1_0 = (RuleCall)cItemsAssignment_4_1_1.eContents().get(0); private final Keyword cRightSquareBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //StringArrayResource: // "(string)" name=ID "=" "[" (items+=STRING ("," items+=STRING)*)? "]"; public ParserRule getRule() { return rule; } //"(string)" name=ID "=" "[" (items+=STRING ("," items+=STRING)*)? "]" public Group getGroup() { return cGroup; } //"(string)" public Keyword getStringKeyword_0() { return cStringKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"=" public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } //"[" public Keyword getLeftSquareBracketKeyword_3() { return cLeftSquareBracketKeyword_3; } //(items+=STRING ("," items+=STRING)*)? public Group getGroup_4() { return cGroup_4; } //items+=STRING public Assignment getItemsAssignment_4_0() { return cItemsAssignment_4_0; } //STRING public RuleCall getItemsSTRINGTerminalRuleCall_4_0_0() { return cItemsSTRINGTerminalRuleCall_4_0_0; } //("," items+=STRING)* public Group getGroup_4_1() { return cGroup_4_1; } //"," public Keyword getCommaKeyword_4_1_0() { return cCommaKeyword_4_1_0; } //items+=STRING public Assignment getItemsAssignment_4_1_1() { return cItemsAssignment_4_1_1; } //STRING public RuleCall getItemsSTRINGTerminalRuleCall_4_1_1_0() { return cItemsSTRINGTerminalRuleCall_4_1_1_0; } //"]" public Keyword getRightSquareBracketKeyword_5() { return cRightSquareBracketKeyword_5; } } public class TypedArrayResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypedArrayResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); private final RuleCall cNameIDTerminalRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Keyword cLeftSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Assignment cValuesAssignment_3_0 = (Assignment)cGroup_3.eContents().get(0); private final RuleCall cValuesValueAccessParserRuleCall_3_0_0 = (RuleCall)cValuesAssignment_3_0.eContents().get(0); private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); private final Keyword cCommaKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); private final Assignment cValuesAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); private final RuleCall cValuesValueAccessParserRuleCall_3_1_1_0 = (RuleCall)cValuesAssignment_3_1_1.eContents().get(0); private final Keyword cRightSquareBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); ////That is going to generate some crazy rules =D //TypedArrayResource: // name=ID "=" "[" (values+=ValueAccess ("," values+=ValueAccess)*)? "]"; public ParserRule getRule() { return rule; } //name=ID "=" "[" (values+=ValueAccess ("," values+=ValueAccess)*)? "]" public Group getGroup() { return cGroup; } //name=ID public Assignment getNameAssignment_0() { return cNameAssignment_0; } //ID public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } //"=" public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } //"[" public Keyword getLeftSquareBracketKeyword_2() { return cLeftSquareBracketKeyword_2; } //(values+=ValueAccess ("," values+=ValueAccess)*)? public Group getGroup_3() { return cGroup_3; } //values+=ValueAccess public Assignment getValuesAssignment_3_0() { return cValuesAssignment_3_0; } //ValueAccess public RuleCall getValuesValueAccessParserRuleCall_3_0_0() { return cValuesValueAccessParserRuleCall_3_0_0; } //("," values+=ValueAccess)* public Group getGroup_3_1() { return cGroup_3_1; } //"," public Keyword getCommaKeyword_3_1_0() { return cCommaKeyword_3_1_0; } //values+=ValueAccess public Assignment getValuesAssignment_3_1_1() { return cValuesAssignment_3_1_1; } //ValueAccess public RuleCall getValuesValueAccessParserRuleCall_3_1_1_0() { return cValuesValueAccessParserRuleCall_3_1_1_0; } //"]" public Keyword getRightSquareBracketKeyword_4() { return cRightSquareBracketKeyword_4; } } public class DrawableResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DrawableResource"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cBitmapDrawableResourceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cTransitionDrawableResourceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //// ////DrawableResource //// ////http://developer.android.com/guide/topics/resources/drawable-resource.html //DrawableResource: // BitmapDrawableResource | TransitionDrawableResource; public ParserRule getRule() { return rule; } //BitmapDrawableResource | TransitionDrawableResource public Alternatives getAlternatives() { return cAlternatives; } //BitmapDrawableResource public RuleCall getBitmapDrawableResourceParserRuleCall_0() { return cBitmapDrawableResourceParserRuleCall_0; } //TransitionDrawableResource public RuleCall getTransitionDrawableResourceParserRuleCall_1() { return cTransitionDrawableResourceParserRuleCall_1; } } public class BitmapDrawableResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BitmapDrawableResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cBitmapKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cBitmapDrawableResourceAction_1 = (Action)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cEqualsSignKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cFilenameAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cFilenameIDTerminalRuleCall_4_0 = (RuleCall)cFilenameAssignment_4.eContents().get(0); ////http://developer.android.com/guide/topics/resources/drawable-resource.html#Bitmap //BitmapDrawableResource: // "bitmap" {BitmapDrawableResource} name=ID "=" filename=ID; public ParserRule getRule() { return rule; } //"bitmap" {BitmapDrawableResource} name=ID "=" filename=ID public Group getGroup() { return cGroup; } //"bitmap" public Keyword getBitmapKeyword_0() { return cBitmapKeyword_0; } //{BitmapDrawableResource} public Action getBitmapDrawableResourceAction_1() { return cBitmapDrawableResourceAction_1; } //name=ID public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //"=" public Keyword getEqualsSignKeyword_3() { return cEqualsSignKeyword_3; } //filename=ID public Assignment getFilenameAssignment_4() { return cFilenameAssignment_4; } //ID public RuleCall getFilenameIDTerminalRuleCall_4_0() { return cFilenameIDTerminalRuleCall_4_0; } } public class TransitionDrawableResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TransitionDrawableResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTransitionKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cTransitionDrawableResourceAction_1 = (Action)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Assignment cFromAssignment_3 = (Assignment)cGroup.eContents().get(3); private final CrossReference cFromBitmapDrawableResourceCrossReference_3_0 = (CrossReference)cFromAssignment_3.eContents().get(0); private final RuleCall cFromBitmapDrawableResourceIDTerminalRuleCall_3_0_1 = (RuleCall)cFromBitmapDrawableResourceCrossReference_3_0.eContents().get(1); private final Keyword cLessThanSignHyphenMinusGreaterThanSignKeyword_4 = (Keyword)cGroup.eContents().get(4); private final Assignment cToAssignment_5 = (Assignment)cGroup.eContents().get(5); private final CrossReference cToBitmapDrawableResourceCrossReference_5_0 = (CrossReference)cToAssignment_5.eContents().get(0); private final RuleCall cToBitmapDrawableResourceIDTerminalRuleCall_5_0_1 = (RuleCall)cToBitmapDrawableResourceCrossReference_5_0.eContents().get(1); ////http://developer.android.com/guide/topics/resources/drawable-resource.html#Transition //TransitionDrawableResource: // "transition" {TransitionDrawableResource} name=ID from=[BitmapDrawableResource] "<->" to=[BitmapDrawableResource]; public ParserRule getRule() { return rule; } //"transition" {TransitionDrawableResource} name=ID from=[BitmapDrawableResource] "<->" to=[BitmapDrawableResource] public Group getGroup() { return cGroup; } //"transition" public Keyword getTransitionKeyword_0() { return cTransitionKeyword_0; } //{TransitionDrawableResource} public Action getTransitionDrawableResourceAction_1() { return cTransitionDrawableResourceAction_1; } //name=ID public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //from=[BitmapDrawableResource] public Assignment getFromAssignment_3() { return cFromAssignment_3; } //[BitmapDrawableResource] public CrossReference getFromBitmapDrawableResourceCrossReference_3_0() { return cFromBitmapDrawableResourceCrossReference_3_0; } //ID public RuleCall getFromBitmapDrawableResourceIDTerminalRuleCall_3_0_1() { return cFromBitmapDrawableResourceIDTerminalRuleCall_3_0_1; } //"<->" public Keyword getLessThanSignHyphenMinusGreaterThanSignKeyword_4() { return cLessThanSignHyphenMinusGreaterThanSignKeyword_4; } //to=[BitmapDrawableResource] public Assignment getToAssignment_5() { return cToAssignment_5; } //[BitmapDrawableResource] public CrossReference getToBitmapDrawableResourceCrossReference_5_0() { return cToBitmapDrawableResourceCrossReference_5_0; } //ID public RuleCall getToBitmapDrawableResourceIDTerminalRuleCall_5_0_1() { return cToBitmapDrawableResourceIDTerminalRuleCall_5_0_1; } } public class MenuResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MenuResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cMenuKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cMenuResourceAction_1 = (Action)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); private final Assignment cMenuItemsAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0); private final RuleCall cMenuItemsMenuItemParserRuleCall_4_0_0 = (RuleCall)cMenuItemsAssignment_4_0.eContents().get(0); private final Assignment cSubMenusAssignment_4_1 = (Assignment)cAlternatives_4.eContents().get(1); private final RuleCall cSubMenusSubMenuParserRuleCall_4_1_0 = (RuleCall)cSubMenusAssignment_4_1.eContents().get(0); private final Assignment cGroupsAssignment_4_2 = (Assignment)cAlternatives_4.eContents().get(2); private final RuleCall cGroupsMenuItemGroupParserRuleCall_4_2_0 = (RuleCall)cGroupsAssignment_4_2.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //// ////Menu Resource //// ////PENDING ////Implement attributes: http://developer.android.com/guide/topics/resources/menu-resource.html //MenuResource: // "menu" {MenuResource} name=ID "{" (menuItems+=MenuItem | subMenus+=SubMenu | groups+=MenuItemGroup)* "}"; public ParserRule getRule() { return rule; } //"menu" {MenuResource} name=ID "{" (menuItems+=MenuItem | subMenus+=SubMenu | groups+=MenuItemGroup)* "}" public Group getGroup() { return cGroup; } //"menu" public Keyword getMenuKeyword_0() { return cMenuKeyword_0; } //{MenuResource} public Action getMenuResourceAction_1() { return cMenuResourceAction_1; } //name=ID public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //"{" public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //(menuItems+=MenuItem | subMenus+=SubMenu | groups+=MenuItemGroup)* public Alternatives getAlternatives_4() { return cAlternatives_4; } //menuItems+=MenuItem public Assignment getMenuItemsAssignment_4_0() { return cMenuItemsAssignment_4_0; } //MenuItem public RuleCall getMenuItemsMenuItemParserRuleCall_4_0_0() { return cMenuItemsMenuItemParserRuleCall_4_0_0; } //subMenus+=SubMenu public Assignment getSubMenusAssignment_4_1() { return cSubMenusAssignment_4_1; } //SubMenu public RuleCall getSubMenusSubMenuParserRuleCall_4_1_0() { return cSubMenusSubMenuParserRuleCall_4_1_0; } //groups+=MenuItemGroup public Assignment getGroupsAssignment_4_2() { return cGroupsAssignment_4_2; } //MenuItemGroup public RuleCall getGroupsMenuItemGroupParserRuleCall_4_2_0() { return cGroupsMenuItemGroupParserRuleCall_4_2_0; } //"}" public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } } public class MenuItemElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MenuItem"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cItemKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cMenuItemAction_1 = (Action)cGroup.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cSubMenusAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cSubMenusSubMenuParserRuleCall_3_0 = (RuleCall)cSubMenusAssignment_3.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //MenuItem: // "item" {MenuItem} "{" subMenus+=SubMenu* "}"; public ParserRule getRule() { return rule; } //"item" {MenuItem} "{" subMenus+=SubMenu* "}" public Group getGroup() { return cGroup; } //"item" public Keyword getItemKeyword_0() { return cItemKeyword_0; } //{MenuItem} public Action getMenuItemAction_1() { return cMenuItemAction_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //subMenus+=SubMenu* public Assignment getSubMenusAssignment_3() { return cSubMenusAssignment_3; } //SubMenu public RuleCall getSubMenusSubMenuParserRuleCall_3_0() { return cSubMenusSubMenuParserRuleCall_3_0; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class MenuItemGroupElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MenuItemGroup"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cGroupKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cMenuGroupAction_1 = (Action)cGroup.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cItemsAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cItemsMenuItemParserRuleCall_3_0 = (RuleCall)cItemsAssignment_3.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //MenuItemGroup: // "group" {MenuGroup} "{" items+=MenuItem+ "}"; public ParserRule getRule() { return rule; } //"group" {MenuGroup} "{" items+=MenuItem+ "}" public Group getGroup() { return cGroup; } //"group" public Keyword getGroupKeyword_0() { return cGroupKeyword_0; } //{MenuGroup} public Action getMenuGroupAction_1() { return cMenuGroupAction_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //items+=MenuItem+ public Assignment getItemsAssignment_3() { return cItemsAssignment_3; } //MenuItem public RuleCall getItemsMenuItemParserRuleCall_3_0() { return cItemsMenuItemParserRuleCall_3_0; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class SubMenuElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SubMenu"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cSubmenuKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Action cSubMenuAction_1 = (Action)cGroup.eContents().get(1); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); private final Assignment cMenuItemsAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); private final RuleCall cMenuItemsMenuItemParserRuleCall_3_0_0 = (RuleCall)cMenuItemsAssignment_3_0.eContents().get(0); private final Assignment cGroupsAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); private final RuleCall cGroupsMenuItemGroupParserRuleCall_3_1_0 = (RuleCall)cGroupsAssignment_3_1.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //SubMenu: // "submenu" {SubMenu} "{" (menuItems+=MenuItem | groups+=MenuItemGroup)* "}"; public ParserRule getRule() { return rule; } //"submenu" {SubMenu} "{" (menuItems+=MenuItem | groups+=MenuItemGroup)* "}" public Group getGroup() { return cGroup; } //"submenu" public Keyword getSubmenuKeyword_0() { return cSubmenuKeyword_0; } //{SubMenu} public Action getSubMenuAction_1() { return cSubMenuAction_1; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //(menuItems+=MenuItem | groups+=MenuItemGroup)* public Alternatives getAlternatives_3() { return cAlternatives_3; } //menuItems+=MenuItem public Assignment getMenuItemsAssignment_3_0() { return cMenuItemsAssignment_3_0; } //MenuItem public RuleCall getMenuItemsMenuItemParserRuleCall_3_0_0() { return cMenuItemsMenuItemParserRuleCall_3_0_0; } //groups+=MenuItemGroup public Assignment getGroupsAssignment_3_1() { return cGroupsAssignment_3_1; } //MenuItemGroup public RuleCall getGroupsMenuItemGroupParserRuleCall_3_1_0() { return cGroupsMenuItemGroupParserRuleCall_3_1_0; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class AnimationResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnimationResource"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cTweenAnimationResourceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cFrameAnimationResourceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //// ////Animation Resource //// //AnimationResource: // TweenAnimationResource | FrameAnimationResource; public ParserRule getRule() { return rule; } //TweenAnimationResource | FrameAnimationResource public Alternatives getAlternatives() { return cAlternatives; } //TweenAnimationResource public RuleCall getTweenAnimationResourceParserRuleCall_0() { return cTweenAnimationResourceParserRuleCall_0; } //FrameAnimationResource public RuleCall getFrameAnimationResourceParserRuleCall_1() { return cFrameAnimationResourceParserRuleCall_1; } } public class FrameAnimationElementElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FrameAnimationElement"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cTerminalAnimationElementsParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cTerminalAnimationSetParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //FrameAnimationElement: // TerminalAnimationElements | TerminalAnimationSet; public ParserRule getRule() { return rule; } //TerminalAnimationElements | TerminalAnimationSet public Alternatives getAlternatives() { return cAlternatives; } //TerminalAnimationElements public RuleCall getTerminalAnimationElementsParserRuleCall_0() { return cTerminalAnimationElementsParserRuleCall_0; } //TerminalAnimationSet public RuleCall getTerminalAnimationSetParserRuleCall_1() { return cTerminalAnimationSetParserRuleCall_1; } } public class TerminalAnimationElementsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TerminalAnimationElements"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cAlphaAnimationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cScaleAnimationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cTranslateAnimationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cRotateAnimationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); //TerminalAnimationElements: // AlphaAnimation | ScaleAnimation | TranslateAnimation | RotateAnimation; public ParserRule getRule() { return rule; } //AlphaAnimation | ScaleAnimation | TranslateAnimation | RotateAnimation public Alternatives getAlternatives() { return cAlternatives; } //AlphaAnimation public RuleCall getAlphaAnimationParserRuleCall_0() { return cAlphaAnimationParserRuleCall_0; } //ScaleAnimation public RuleCall getScaleAnimationParserRuleCall_1() { return cScaleAnimationParserRuleCall_1; } //TranslateAnimation public RuleCall getTranslateAnimationParserRuleCall_2() { return cTranslateAnimationParserRuleCall_2; } //RotateAnimation public RuleCall getRotateAnimationParserRuleCall_3() { return cRotateAnimationParserRuleCall_3; } } public class TerminalAnimationSetElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TerminalAnimationSet"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cSetKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Group cGroup_2 = (Group)cGroup.eContents().get(2); private final Assignment cShareInterpolatorAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); private final Keyword cShareInterpolatorSharedKeyword_2_0_0 = (Keyword)cShareInterpolatorAssignment_2_0.eContents().get(0); private final Assignment cInterpolatorAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); private final RuleCall cInterpolatorInterpolatorVAParserRuleCall_2_1_0 = (RuleCall)cInterpolatorAssignment_2_1.eContents().get(0); private final Assignment cElementsAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cElementsFrameAnimationElementParserRuleCall_3_0 = (RuleCall)cElementsAssignment_3.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //TerminalAnimationSet: // "set" "{" (shareInterpolator?="shared" interpolator=InterpolatorVA)? elements+=FrameAnimationElement+ "}"; public ParserRule getRule() { return rule; } //"set" "{" (shareInterpolator?="shared" interpolator=InterpolatorVA)? elements+=FrameAnimationElement+ "}" public Group getGroup() { return cGroup; } //"set" public Keyword getSetKeyword_0() { return cSetKeyword_0; } //"{" public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } //(shareInterpolator?="shared" interpolator=InterpolatorVA)? public Group getGroup_2() { return cGroup_2; } //shareInterpolator?="shared" public Assignment getShareInterpolatorAssignment_2_0() { return cShareInterpolatorAssignment_2_0; } //"shared" public Keyword getShareInterpolatorSharedKeyword_2_0_0() { return cShareInterpolatorSharedKeyword_2_0_0; } //interpolator=InterpolatorVA public Assignment getInterpolatorAssignment_2_1() { return cInterpolatorAssignment_2_1; } //InterpolatorVA public RuleCall getInterpolatorInterpolatorVAParserRuleCall_2_1_0() { return cInterpolatorInterpolatorVAParserRuleCall_2_1_0; } //elements+=FrameAnimationElement+ public Assignment getElementsAssignment_3() { return cElementsAssignment_3; } //FrameAnimationElement public RuleCall getElementsFrameAnimationElementParserRuleCall_3_0() { return cElementsFrameAnimationElementParserRuleCall_3_0; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class AlphaAnimationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AlphaAnimation"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cFadeKeyword_0 = (Keyword)cGroup.eContents().get(0); private final UnorderedGroup cUnorderedGroup_1 = (UnorderedGroup)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cUnorderedGroup_1.eContents().get(0); private final Keyword cFromKeyword_1_0_0 = (Keyword)cGroup_1_0.eContents().get(0); private final Assignment cFromAlphaAssignment_1_0_1 = (Assignment)cGroup_1_0.eContents().get(1); private final RuleCall cFromAlphaFLOATTerminalRuleCall_1_0_1_0 = (RuleCall)cFromAlphaAssignment_1_0_1.eContents().get(0); private final Group cGroup_1_1 = (Group)cUnorderedGroup_1.eContents().get(1); private final Keyword cToKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0); private final Assignment cToAlphaAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1); private final RuleCall cToAlphaFLOATTerminalRuleCall_1_1_1_0 = (RuleCall)cToAlphaAssignment_1_1_1.eContents().get(0); //AlphaAnimation: // "fade:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public ParserRule getRule() { return rule; } //"fade:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT) public Group getGroup() { return cGroup; } //"fade:" public Keyword getFadeKeyword_0() { return cFadeKeyword_0; } //"from" fromAlpha=FLOAT & "to" toAlpha=FLOAT public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } //"from" fromAlpha=FLOAT public Group getGroup_1_0() { return cGroup_1_0; } //"from" public Keyword getFromKeyword_1_0_0() { return cFromKeyword_1_0_0; } //fromAlpha=FLOAT public Assignment getFromAlphaAssignment_1_0_1() { return cFromAlphaAssignment_1_0_1; } //FLOAT public RuleCall getFromAlphaFLOATTerminalRuleCall_1_0_1_0() { return cFromAlphaFLOATTerminalRuleCall_1_0_1_0; } //"to" toAlpha=FLOAT public Group getGroup_1_1() { return cGroup_1_1; } //"to" public Keyword getToKeyword_1_1_0() { return cToKeyword_1_1_0; } //toAlpha=FLOAT public Assignment getToAlphaAssignment_1_1_1() { return cToAlphaAssignment_1_1_1; } //FLOAT public RuleCall getToAlphaFLOATTerminalRuleCall_1_1_1_0() { return cToAlphaFLOATTerminalRuleCall_1_1_1_0; } } public class ScaleAnimationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ScaleAnimation"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cScaleKeyword_0 = (Keyword)cGroup.eContents().get(0); private final UnorderedGroup cUnorderedGroup_1 = (UnorderedGroup)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cUnorderedGroup_1.eContents().get(0); private final Keyword cFromKeyword_1_0_0 = (Keyword)cGroup_1_0.eContents().get(0); private final Assignment cFromAlphaAssignment_1_0_1 = (Assignment)cGroup_1_0.eContents().get(1); private final RuleCall cFromAlphaFLOATTerminalRuleCall_1_0_1_0 = (RuleCall)cFromAlphaAssignment_1_0_1.eContents().get(0); private final Group cGroup_1_1 = (Group)cUnorderedGroup_1.eContents().get(1); private final Keyword cToKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0); private final Assignment cToAlphaAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1); private final RuleCall cToAlphaFLOATTerminalRuleCall_1_1_1_0 = (RuleCall)cToAlphaAssignment_1_1_1.eContents().get(0); //ScaleAnimation: // "scale:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public ParserRule getRule() { return rule; } //"scale:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT) public Group getGroup() { return cGroup; } //"scale:" public Keyword getScaleKeyword_0() { return cScaleKeyword_0; } //"from" fromAlpha=FLOAT & "to" toAlpha=FLOAT public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } //"from" fromAlpha=FLOAT public Group getGroup_1_0() { return cGroup_1_0; } //"from" public Keyword getFromKeyword_1_0_0() { return cFromKeyword_1_0_0; } //fromAlpha=FLOAT public Assignment getFromAlphaAssignment_1_0_1() { return cFromAlphaAssignment_1_0_1; } //FLOAT public RuleCall getFromAlphaFLOATTerminalRuleCall_1_0_1_0() { return cFromAlphaFLOATTerminalRuleCall_1_0_1_0; } //"to" toAlpha=FLOAT public Group getGroup_1_1() { return cGroup_1_1; } //"to" public Keyword getToKeyword_1_1_0() { return cToKeyword_1_1_0; } //toAlpha=FLOAT public Assignment getToAlphaAssignment_1_1_1() { return cToAlphaAssignment_1_1_1; } //FLOAT public RuleCall getToAlphaFLOATTerminalRuleCall_1_1_1_0() { return cToAlphaFLOATTerminalRuleCall_1_1_1_0; } } public class TranslateAnimationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TranslateAnimation"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTranslateKeyword_0 = (Keyword)cGroup.eContents().get(0); private final UnorderedGroup cUnorderedGroup_1 = (UnorderedGroup)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cUnorderedGroup_1.eContents().get(0); private final Keyword cFromKeyword_1_0_0 = (Keyword)cGroup_1_0.eContents().get(0); private final Assignment cFromAlphaAssignment_1_0_1 = (Assignment)cGroup_1_0.eContents().get(1); private final RuleCall cFromAlphaFLOATTerminalRuleCall_1_0_1_0 = (RuleCall)cFromAlphaAssignment_1_0_1.eContents().get(0); private final Group cGroup_1_1 = (Group)cUnorderedGroup_1.eContents().get(1); private final Keyword cToKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0); private final Assignment cToAlphaAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1); private final RuleCall cToAlphaFLOATTerminalRuleCall_1_1_1_0 = (RuleCall)cToAlphaAssignment_1_1_1.eContents().get(0); //TranslateAnimation: // "translate:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public ParserRule getRule() { return rule; } //"translate:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT) public Group getGroup() { return cGroup; } //"translate:" public Keyword getTranslateKeyword_0() { return cTranslateKeyword_0; } //"from" fromAlpha=FLOAT & "to" toAlpha=FLOAT public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } //"from" fromAlpha=FLOAT public Group getGroup_1_0() { return cGroup_1_0; } //"from" public Keyword getFromKeyword_1_0_0() { return cFromKeyword_1_0_0; } //fromAlpha=FLOAT public Assignment getFromAlphaAssignment_1_0_1() { return cFromAlphaAssignment_1_0_1; } //FLOAT public RuleCall getFromAlphaFLOATTerminalRuleCall_1_0_1_0() { return cFromAlphaFLOATTerminalRuleCall_1_0_1_0; } //"to" toAlpha=FLOAT public Group getGroup_1_1() { return cGroup_1_1; } //"to" public Keyword getToKeyword_1_1_0() { return cToKeyword_1_1_0; } //toAlpha=FLOAT public Assignment getToAlphaAssignment_1_1_1() { return cToAlphaAssignment_1_1_1; } //FLOAT public RuleCall getToAlphaFLOATTerminalRuleCall_1_1_1_0() { return cToAlphaFLOATTerminalRuleCall_1_1_1_0; } } public class RotateAnimationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RotateAnimation"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cRotateKeyword_0 = (Keyword)cGroup.eContents().get(0); private final UnorderedGroup cUnorderedGroup_1 = (UnorderedGroup)cGroup.eContents().get(1); private final Group cGroup_1_0 = (Group)cUnorderedGroup_1.eContents().get(0); private final Keyword cFromKeyword_1_0_0 = (Keyword)cGroup_1_0.eContents().get(0); private final Assignment cFromAlphaAssignment_1_0_1 = (Assignment)cGroup_1_0.eContents().get(1); private final RuleCall cFromAlphaFLOATTerminalRuleCall_1_0_1_0 = (RuleCall)cFromAlphaAssignment_1_0_1.eContents().get(0); private final Group cGroup_1_1 = (Group)cUnorderedGroup_1.eContents().get(1); private final Keyword cToKeyword_1_1_0 = (Keyword)cGroup_1_1.eContents().get(0); private final Assignment cToAlphaAssignment_1_1_1 = (Assignment)cGroup_1_1.eContents().get(1); private final RuleCall cToAlphaFLOATTerminalRuleCall_1_1_1_0 = (RuleCall)cToAlphaAssignment_1_1_1.eContents().get(0); //RotateAnimation: // "rotate:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public ParserRule getRule() { return rule; } //"rotate:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT) public Group getGroup() { return cGroup; } //"rotate:" public Keyword getRotateKeyword_0() { return cRotateKeyword_0; } //"from" fromAlpha=FLOAT & "to" toAlpha=FLOAT public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } //"from" fromAlpha=FLOAT public Group getGroup_1_0() { return cGroup_1_0; } //"from" public Keyword getFromKeyword_1_0_0() { return cFromKeyword_1_0_0; } //fromAlpha=FLOAT public Assignment getFromAlphaAssignment_1_0_1() { return cFromAlphaAssignment_1_0_1; } //FLOAT public RuleCall getFromAlphaFLOATTerminalRuleCall_1_0_1_0() { return cFromAlphaFLOATTerminalRuleCall_1_0_1_0; } //"to" toAlpha=FLOAT public Group getGroup_1_1() { return cGroup_1_1; } //"to" public Keyword getToKeyword_1_1_0() { return cToKeyword_1_1_0; } //toAlpha=FLOAT public Assignment getToAlphaAssignment_1_1_1() { return cToAlphaAssignment_1_1_1; } //FLOAT public RuleCall getToAlphaFLOATTerminalRuleCall_1_1_1_0() { return cToAlphaFLOATTerminalRuleCall_1_1_1_0; } } public class TweenAnimationResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TweenAnimationResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cTweenAnimationKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cElementsAssignment_3 = (Assignment)cGroup.eContents().get(3); private final RuleCall cElementsFrameAnimationElementParserRuleCall_3_0 = (RuleCall)cElementsAssignment_3.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); //TweenAnimationResource: // "tweenAnimation" name=ID "{" elements+=FrameAnimationElement+ "}"; public ParserRule getRule() { return rule; } //"tweenAnimation" name=ID "{" elements+=FrameAnimationElement+ "}" public Group getGroup() { return cGroup; } //"tweenAnimation" public Keyword getTweenAnimationKeyword_0() { return cTweenAnimationKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //elements+=FrameAnimationElement+ public Assignment getElementsAssignment_3() { return cElementsAssignment_3; } //FrameAnimationElement public RuleCall getElementsFrameAnimationElementParserRuleCall_3_0() { return cElementsFrameAnimationElementParserRuleCall_3_0; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class FrameAnimationResourceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FrameAnimationResource"); private final Group cGroup = (Group)rule.eContents().get(1); private final Assignment cOneShotAssignment_0 = (Assignment)cGroup.eContents().get(0); private final Keyword cOneShotOneShotKeyword_0_0 = (Keyword)cOneShotAssignment_0.eContents().get(0); private final Keyword cFrameAnimationKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cFramesAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cFramesAnimationFrameParserRuleCall_4_0 = (RuleCall)cFramesAssignment_4.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //FrameAnimationResource: // oneShot?="oneShot" "frameAnimation" name=ID "{" frames+=AnimationFrame+ "}"; public ParserRule getRule() { return rule; } //oneShot?="oneShot" "frameAnimation" name=ID "{" frames+=AnimationFrame+ "}" public Group getGroup() { return cGroup; } //oneShot?="oneShot" public Assignment getOneShotAssignment_0() { return cOneShotAssignment_0; } //"oneShot" public Keyword getOneShotOneShotKeyword_0_0() { return cOneShotOneShotKeyword_0_0; } //"frameAnimation" public Keyword getFrameAnimationKeyword_1() { return cFrameAnimationKeyword_1; } //name=ID public Assignment getNameAssignment_2() { return cNameAssignment_2; } //ID public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } //"{" public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; } //frames+=AnimationFrame+ public Assignment getFramesAssignment_4() { return cFramesAssignment_4; } //AnimationFrame public RuleCall getFramesAnimationFrameParserRuleCall_4_0() { return cFramesAnimationFrameParserRuleCall_4_0; } //"}" public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } } public class AnimationFrameElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnimationFrame"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cFrameKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cDrawableAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cDrawableAnyDrawableVAParserRuleCall_1_0 = (RuleCall)cDrawableAssignment_1.eContents().get(0); private final Group cGroup_2 = (Group)cGroup.eContents().get(2); private final Keyword cHyphenMinusGreaterThanSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); private final Assignment cDurationAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); private final RuleCall cDurationINTTerminalRuleCall_2_1_0 = (RuleCall)cDurationAssignment_2_1.eContents().get(0); //AnimationFrame: // "frame:" drawable=AnyDrawableVA ("->" duration=INT)?; public ParserRule getRule() { return rule; } //"frame:" drawable=AnyDrawableVA ("->" duration=INT)? public Group getGroup() { return cGroup; } //"frame:" public Keyword getFrameKeyword_0() { return cFrameKeyword_0; } //drawable=AnyDrawableVA public Assignment getDrawableAssignment_1() { return cDrawableAssignment_1; } //AnyDrawableVA public RuleCall getDrawableAnyDrawableVAParserRuleCall_1_0() { return cDrawableAnyDrawableVAParserRuleCall_1_0; } //("->" duration=INT)? public Group getGroup_2() { return cGroup_2; } //"->" public Keyword getHyphenMinusGreaterThanSignKeyword_2_0() { return cHyphenMinusGreaterThanSignKeyword_2_0; } //duration=INT public Assignment getDurationAssignment_2_1() { return cDurationAssignment_2_1; } //INT public RuleCall getDurationINTTerminalRuleCall_2_1_0() { return cDurationINTTerminalRuleCall_2_1_0; } } public class AbstractResourceAccessElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbstractResourceAccess"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cResourceAccessParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final Assignment cExternalResourceAssignment_1 = (Assignment)cAlternatives.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_0 = (RuleCall)cExternalResourceAssignment_1.eContents().get(0); /// ****************************************************************************** // * Resource Access // ****************************************************************************** ///TODO: exemplify this behaviour in a blog post and report eventual bug ////BUG: all the subclasses have a commond attribute but it was not especified in //// the parent common class because the attributes were not of the same //// concrete type (they were of the same abstract type) ////Used only to enforce the abstract property (resource) in the Abstract Class ////BUG?: Why when using this the concrete class's resource attribute don't //// override the abstract resource attribute? ////AbstractResourceAccess: //// (ResourceAccess) | ( resource=[Resource] | externalResource=STRING ) ////; ////I putted this @<type> just to allow the parser to resolve the ambiguity. ////So, I followed the Android Conventions to typed resource references //AbstractResourceAccess: // ResourceAccess | externalResource=STRING; public ParserRule getRule() { return rule; } //ResourceAccess | externalResource=STRING public Alternatives getAlternatives() { return cAlternatives; } //ResourceAccess public RuleCall getResourceAccessParserRuleCall_0() { return cResourceAccessParserRuleCall_0; } //externalResource=STRING public Assignment getExternalResourceAssignment_1() { return cExternalResourceAssignment_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_0; } } public class ResourceAccessElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ResourceAccess"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final RuleCall cStringRAParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cIntegerRAParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cBooleanRAParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cColorRAParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); private final RuleCall cDimensionRAParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); private final RuleCall cDrawableRAParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); private final RuleCall cAnimationRAParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); private final RuleCall cInterpolatorRAParserRuleCall_7 = (RuleCall)cAlternatives.eContents().get(7); //ResourceAccess: // StringRA | IntegerRA | BooleanRA | ColorRA | DimensionRA | DrawableRA | AnimationRA | InterpolatorRA; public ParserRule getRule() { return rule; } //StringRA | IntegerRA | BooleanRA | ColorRA | DimensionRA | DrawableRA | AnimationRA | InterpolatorRA public Alternatives getAlternatives() { return cAlternatives; } //StringRA public RuleCall getStringRAParserRuleCall_0() { return cStringRAParserRuleCall_0; } //IntegerRA public RuleCall getIntegerRAParserRuleCall_1() { return cIntegerRAParserRuleCall_1; } //BooleanRA public RuleCall getBooleanRAParserRuleCall_2() { return cBooleanRAParserRuleCall_2; } //ColorRA public RuleCall getColorRAParserRuleCall_3() { return cColorRAParserRuleCall_3; } //DimensionRA public RuleCall getDimensionRAParserRuleCall_4() { return cDimensionRAParserRuleCall_4; } //DrawableRA public RuleCall getDrawableRAParserRuleCall_5() { return cDrawableRAParserRuleCall_5; } //AnimationRA public RuleCall getAnimationRAParserRuleCall_6() { return cAnimationRAParserRuleCall_6; } //InterpolatorRA public RuleCall getInterpolatorRAParserRuleCall_7() { return cInterpolatorRAParserRuleCall_7; } } public class StringRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cStringKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceStringResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceStringResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceStringResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //StringRA: // "@string" (resource=[StringResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@string" (resource=[StringResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@string" public Keyword getStringKeyword_0() { return cStringKeyword_0; } //resource=[StringResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[StringResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[StringResource] public CrossReference getResourceStringResourceCrossReference_1_0_0() { return cResourceStringResourceCrossReference_1_0_0; } //ID public RuleCall getResourceStringResourceIDTerminalRuleCall_1_0_0_1() { return cResourceStringResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class IntegerRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cIntegerKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceIntegerResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceIntegerResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceIntegerResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //IntegerRA: // "@integer" (resource=[IntegerResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@integer" (resource=[IntegerResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@integer" public Keyword getIntegerKeyword_0() { return cIntegerKeyword_0; } //resource=[IntegerResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[IntegerResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[IntegerResource] public CrossReference getResourceIntegerResourceCrossReference_1_0_0() { return cResourceIntegerResourceCrossReference_1_0_0; } //ID public RuleCall getResourceIntegerResourceIDTerminalRuleCall_1_0_0_1() { return cResourceIntegerResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class BooleanRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cBoolKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceBooleanResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceBooleanResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceBooleanResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //BooleanRA: // "@bool" (resource=[BooleanResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@bool" (resource=[BooleanResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@bool" public Keyword getBoolKeyword_0() { return cBoolKeyword_0; } //resource=[BooleanResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[BooleanResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[BooleanResource] public CrossReference getResourceBooleanResourceCrossReference_1_0_0() { return cResourceBooleanResourceCrossReference_1_0_0; } //ID public RuleCall getResourceBooleanResourceIDTerminalRuleCall_1_0_0_1() { return cResourceBooleanResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class ColorRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ColorRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cColorKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceColorResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceColorResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceColorResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //ColorRA: // "@color" (resource=[ColorResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@color" (resource=[ColorResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@color" public Keyword getColorKeyword_0() { return cColorKeyword_0; } //resource=[ColorResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[ColorResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[ColorResource] public CrossReference getResourceColorResourceCrossReference_1_0_0() { return cResourceColorResourceCrossReference_1_0_0; } //ID public RuleCall getResourceColorResourceIDTerminalRuleCall_1_0_0_1() { return cResourceColorResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class DimensionRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DimensionRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cDimenKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceDimensionResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceDimensionResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceDimensionResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //DimensionRA: // "@dimen" (resource=[DimensionResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@dimen" (resource=[DimensionResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@dimen" public Keyword getDimenKeyword_0() { return cDimenKeyword_0; } //resource=[DimensionResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[DimensionResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[DimensionResource] public CrossReference getResourceDimensionResourceCrossReference_1_0_0() { return cResourceDimensionResourceCrossReference_1_0_0; } //ID public RuleCall getResourceDimensionResourceIDTerminalRuleCall_1_0_0_1() { return cResourceDimensionResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class DrawableRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DrawableRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cDrawableKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceDrawableResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceDrawableResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceDrawableResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); /// * ////TODO: verify if this is valid //ArrayRA: // '@array' // ( resource=[ArrayResource] | externalResource=STRING ) //; // * /DrawableRA: // "@drawable" (resource=[DrawableResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@drawable" (resource=[DrawableResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@drawable" public Keyword getDrawableKeyword_0() { return cDrawableKeyword_0; } //resource=[DrawableResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[DrawableResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[DrawableResource] public CrossReference getResourceDrawableResourceCrossReference_1_0_0() { return cResourceDrawableResourceCrossReference_1_0_0; } //ID public RuleCall getResourceDrawableResourceIDTerminalRuleCall_1_0_0_1() { return cResourceDrawableResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class AnimationRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnimationRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cAnimKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cResourceAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final CrossReference cResourceAnimationResourceCrossReference_1_0_0 = (CrossReference)cResourceAssignment_1_0.eContents().get(0); private final RuleCall cResourceAnimationResourceIDTerminalRuleCall_1_0_0_1 = (RuleCall)cResourceAnimationResourceCrossReference_1_0_0.eContents().get(1); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //AnimationRA: // "@anim" (resource=[AnimationResource] | externalResource=STRING); public ParserRule getRule() { return rule; } //"@anim" (resource=[AnimationResource] | externalResource=STRING) public Group getGroup() { return cGroup; } //"@anim" public Keyword getAnimKeyword_0() { return cAnimKeyword_0; } //resource=[AnimationResource] | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //resource=[AnimationResource] public Assignment getResourceAssignment_1_0() { return cResourceAssignment_1_0; } //[AnimationResource] public CrossReference getResourceAnimationResourceCrossReference_1_0_0() { return cResourceAnimationResourceCrossReference_1_0_0; } //ID public RuleCall getResourceAnimationResourceIDTerminalRuleCall_1_0_0_1() { return cResourceAnimationResourceIDTerminalRuleCall_1_0_0_1; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class InterpolatorRAElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InterpolatorRA"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cInterpolatorKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Assignment cInterpolatorNameAssignment_1_0 = (Assignment)cAlternatives_1.eContents().get(0); private final RuleCall cInterpolatorNameInterpolatorsKindEnumRuleCall_1_0_0 = (RuleCall)cInterpolatorNameAssignment_1_0.eContents().get(0); private final Assignment cExternalResourceAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1); private final RuleCall cExternalResourceSTRINGTerminalRuleCall_1_1_0 = (RuleCall)cExternalResourceAssignment_1_1.eContents().get(0); //InterpolatorRA: // "@interpolator" (interpolatorName=InterpolatorsKind | externalResource=STRING); public ParserRule getRule() { return rule; } //"@interpolator" (interpolatorName=InterpolatorsKind | externalResource=STRING) public Group getGroup() { return cGroup; } //"@interpolator" public Keyword getInterpolatorKeyword_0() { return cInterpolatorKeyword_0; } //interpolatorName=InterpolatorsKind | externalResource=STRING public Alternatives getAlternatives_1() { return cAlternatives_1; } //interpolatorName=InterpolatorsKind public Assignment getInterpolatorNameAssignment_1_0() { return cInterpolatorNameAssignment_1_0; } //InterpolatorsKind public RuleCall getInterpolatorNameInterpolatorsKindEnumRuleCall_1_0_0() { return cInterpolatorNameInterpolatorsKindEnumRuleCall_1_0_0; } //externalResource=STRING public Assignment getExternalResourceAssignment_1_1() { return cExternalResourceAssignment_1_1; } //STRING public RuleCall getExternalResourceSTRINGTerminalRuleCall_1_1_0() { return cExternalResourceSTRINGTerminalRuleCall_1_1_0; } } public class CheckBoxElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CheckBox"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cCheckKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); private final Keyword cLessThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); private final Assignment cNameAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_1_0 = (RuleCall)cNameAssignment_1_1.eContents().get(0); private final Keyword cGreaterThanSignKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); private final Assignment cTextAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cTextStringVAParserRuleCall_2_0 = (RuleCall)cTextAssignment_2.eContents().get(0); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); private final UnorderedGroup cUnorderedGroup_3_1 = (UnorderedGroup)cGroup_3.eContents().get(1); private final Group cGroup_3_1_0 = (Group)cUnorderedGroup_3_1.eContents().get(0); private final Keyword cTopKeyword_3_1_0_0 = (Keyword)cGroup_3_1_0.eContents().get(0); private final Assignment cTopAssignment_3_1_0_1 = (Assignment)cGroup_3_1_0.eContents().get(1); private final RuleCall cTopDimensionVAParserRuleCall_3_1_0_1_0 = (RuleCall)cTopAssignment_3_1_0_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_0_2 = (Keyword)cGroup_3_1_0.eContents().get(2); private final Group cGroup_3_1_1 = (Group)cUnorderedGroup_3_1.eContents().get(1); private final Keyword cLeftKeyword_3_1_1_0 = (Keyword)cGroup_3_1_1.eContents().get(0); private final Assignment cLeftAssignment_3_1_1_1 = (Assignment)cGroup_3_1_1.eContents().get(1); private final RuleCall cLeftDimensionVAParserRuleCall_3_1_1_1_0 = (RuleCall)cLeftAssignment_3_1_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_1_2 = (Keyword)cGroup_3_1_1.eContents().get(2); private final Group cGroup_3_1_2 = (Group)cUnorderedGroup_3_1.eContents().get(2); private final Keyword cWidthKeyword_3_1_2_0 = (Keyword)cGroup_3_1_2.eContents().get(0); private final Assignment cWidthAssignment_3_1_2_1 = (Assignment)cGroup_3_1_2.eContents().get(1); private final RuleCall cWidthDimensionVAParserRuleCall_3_1_2_1_0 = (RuleCall)cWidthAssignment_3_1_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_2_2 = (Keyword)cGroup_3_1_2.eContents().get(2); private final Group cGroup_3_1_3 = (Group)cUnorderedGroup_3_1.eContents().get(3); private final Keyword cHeightKeyword_3_1_3_0 = (Keyword)cGroup_3_1_3.eContents().get(0); private final Assignment cHeightAssignment_3_1_3_1 = (Assignment)cGroup_3_1_3.eContents().get(1); private final RuleCall cHeightDimensionVAParserRuleCall_3_1_3_1_0 = (RuleCall)cHeightAssignment_3_1_3_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_3_2 = (Keyword)cGroup_3_1_3.eContents().get(2); private final Group cGroup_3_1_4 = (Group)cUnorderedGroup_3_1.eContents().get(4); private final Keyword cBackgroundKeyword_3_1_4_0 = (Keyword)cGroup_3_1_4.eContents().get(0); private final Assignment cBackgroundAssignment_3_1_4_1 = (Assignment)cGroup_3_1_4.eContents().get(1); private final RuleCall cBackgroundAnyDrawableVAParserRuleCall_3_1_4_1_0 = (RuleCall)cBackgroundAssignment_3_1_4_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_4_2 = (Keyword)cGroup_3_1_4.eContents().get(2); private final Group cGroup_3_1_5 = (Group)cUnorderedGroup_3_1.eContents().get(5); private final Keyword cClickableKeyword_3_1_5_0 = (Keyword)cGroup_3_1_5.eContents().get(0); private final Assignment cClickableAssignment_3_1_5_1 = (Assignment)cGroup_3_1_5.eContents().get(1); private final RuleCall cClickableBooleanVAParserRuleCall_3_1_5_1_0 = (RuleCall)cClickableAssignment_3_1_5_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_5_2 = (Keyword)cGroup_3_1_5.eContents().get(2); private final Group cGroup_3_1_6 = (Group)cUnorderedGroup_3_1.eContents().get(6); private final Keyword cFadeScrollBarsKeyword_3_1_6_0 = (Keyword)cGroup_3_1_6.eContents().get(0); private final Assignment cFadeScrollBarsAssignment_3_1_6_1 = (Assignment)cGroup_3_1_6.eContents().get(1); private final RuleCall cFadeScrollBarsBooleanVAParserRuleCall_3_1_6_1_0 = (RuleCall)cFadeScrollBarsAssignment_3_1_6_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_6_2 = (Keyword)cGroup_3_1_6.eContents().get(2); private final Group cGroup_3_1_7 = (Group)cUnorderedGroup_3_1.eContents().get(7); private final Keyword cIsScrollContainerKeyword_3_1_7_0 = (Keyword)cGroup_3_1_7.eContents().get(0); private final Assignment cIsScrollContainerAssignment_3_1_7_1 = (Assignment)cGroup_3_1_7.eContents().get(1); private final RuleCall cIsScrollContainerBooleanVAParserRuleCall_3_1_7_1_0 = (RuleCall)cIsScrollContainerAssignment_3_1_7_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_7_2 = (Keyword)cGroup_3_1_7.eContents().get(2); private final Group cGroup_3_1_8 = (Group)cUnorderedGroup_3_1.eContents().get(8); private final Keyword cAutoLinkKeyword_3_1_8_0 = (Keyword)cGroup_3_1_8.eContents().get(0); private final Assignment cAutoLinkAssignment_3_1_8_1 = (Assignment)cGroup_3_1_8.eContents().get(1); private final RuleCall cAutoLinkAutoLinkKindEnumRuleCall_3_1_8_1_0 = (RuleCall)cAutoLinkAssignment_3_1_8_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_8_2 = (Keyword)cGroup_3_1_8.eContents().get(2); private final Group cGroup_3_1_9 = (Group)cUnorderedGroup_3_1.eContents().get(9); private final Keyword cAutoTextKeyword_3_1_9_0 = (Keyword)cGroup_3_1_9.eContents().get(0); private final Assignment cAutoTextAssignment_3_1_9_1 = (Assignment)cGroup_3_1_9.eContents().get(1); private final RuleCall cAutoTextBooleanVAParserRuleCall_3_1_9_1_0 = (RuleCall)cAutoTextAssignment_3_1_9_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_9_2 = (Keyword)cGroup_3_1_9.eContents().get(2); private final Group cGroup_3_1_10 = (Group)cUnorderedGroup_3_1.eContents().get(10); private final Keyword cCapitalizeKeyword_3_1_10_0 = (Keyword)cGroup_3_1_10.eContents().get(0); private final Assignment cCapitalizeAssignment_3_1_10_1 = (Assignment)cGroup_3_1_10.eContents().get(1); private final RuleCall cCapitalizeCapitalizeKindEnumRuleCall_3_1_10_1_0 = (RuleCall)cCapitalizeAssignment_3_1_10_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_10_2 = (Keyword)cGroup_3_1_10.eContents().get(2); private final Group cGroup_3_1_11 = (Group)cUnorderedGroup_3_1.eContents().get(11); private final Keyword cDigitsKeyword_3_1_11_0 = (Keyword)cGroup_3_1_11.eContents().get(0); private final Assignment cDigitsAssignment_3_1_11_1 = (Assignment)cGroup_3_1_11.eContents().get(1); private final RuleCall cDigitsStringVAParserRuleCall_3_1_11_1_0 = (RuleCall)cDigitsAssignment_3_1_11_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_11_2 = (Keyword)cGroup_3_1_11.eContents().get(2); private final Group cGroup_3_1_12 = (Group)cUnorderedGroup_3_1.eContents().get(12); private final Keyword cEditableKeyword_3_1_12_0 = (Keyword)cGroup_3_1_12.eContents().get(0); private final Assignment cEditableAssignment_3_1_12_1 = (Assignment)cGroup_3_1_12.eContents().get(1); private final RuleCall cEditableBooleanVAParserRuleCall_3_1_12_1_0 = (RuleCall)cEditableAssignment_3_1_12_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_12_2 = (Keyword)cGroup_3_1_12.eContents().get(2); private final Group cGroup_3_1_13 = (Group)cUnorderedGroup_3_1.eContents().get(13); private final Keyword cGravityKeyword_3_1_13_0 = (Keyword)cGroup_3_1_13.eContents().get(0); private final Assignment cGravityAssignment_3_1_13_1 = (Assignment)cGroup_3_1_13.eContents().get(1); private final RuleCall cGravityLayoutGravityKindEnumRuleCall_3_1_13_1_0 = (RuleCall)cGravityAssignment_3_1_13_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_13_2 = (Keyword)cGroup_3_1_13.eContents().get(2); private final Group cGroup_3_1_14 = (Group)cUnorderedGroup_3_1.eContents().get(14); private final Keyword cHintKeyword_3_1_14_0 = (Keyword)cGroup_3_1_14.eContents().get(0); private final Assignment cHintAssignment_3_1_14_1 = (Assignment)cGroup_3_1_14.eContents().get(1); private final RuleCall cHintStringVAParserRuleCall_3_1_14_1_0 = (RuleCall)cHintAssignment_3_1_14_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_14_2 = (Keyword)cGroup_3_1_14.eContents().get(2); private final Group cGroup_3_1_15 = (Group)cUnorderedGroup_3_1.eContents().get(15); private final Keyword cNumericKeyword_3_1_15_0 = (Keyword)cGroup_3_1_15.eContents().get(0); private final Assignment cNumericAssignment_3_1_15_1 = (Assignment)cGroup_3_1_15.eContents().get(1); private final RuleCall cNumericBooleanVAParserRuleCall_3_1_15_1_0 = (RuleCall)cNumericAssignment_3_1_15_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_15_2 = (Keyword)cGroup_3_1_15.eContents().get(2); private final Group cGroup_3_1_16 = (Group)cUnorderedGroup_3_1.eContents().get(16); private final Keyword cPasswordKeyword_3_1_16_0 = (Keyword)cGroup_3_1_16.eContents().get(0); private final Assignment cPasswordAssignment_3_1_16_1 = (Assignment)cGroup_3_1_16.eContents().get(1); private final RuleCall cPasswordBooleanVAParserRuleCall_3_1_16_1_0 = (RuleCall)cPasswordAssignment_3_1_16_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_16_2 = (Keyword)cGroup_3_1_16.eContents().get(2); private final Group cGroup_3_1_17 = (Group)cUnorderedGroup_3_1.eContents().get(17); private final Keyword cPhoneNumberKeyword_3_1_17_0 = (Keyword)cGroup_3_1_17.eContents().get(0); private final Assignment cPhoneNumberAssignment_3_1_17_1 = (Assignment)cGroup_3_1_17.eContents().get(1); private final RuleCall cPhoneNumberBooleanVAParserRuleCall_3_1_17_1_0 = (RuleCall)cPhoneNumberAssignment_3_1_17_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_17_2 = (Keyword)cGroup_3_1_17.eContents().get(2); private final Group cGroup_3_1_18 = (Group)cUnorderedGroup_3_1.eContents().get(18); private final Keyword cSingleLineKeyword_3_1_18_0 = (Keyword)cGroup_3_1_18.eContents().get(0); private final Assignment cSingleLineAssignment_3_1_18_1 = (Assignment)cGroup_3_1_18.eContents().get(1); private final RuleCall cSingleLineBooleanVAParserRuleCall_3_1_18_1_0 = (RuleCall)cSingleLineAssignment_3_1_18_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_18_2 = (Keyword)cGroup_3_1_18.eContents().get(2); private final Group cGroup_3_1_19 = (Group)cUnorderedGroup_3_1.eContents().get(19); private final Keyword cTextColorKeyword_3_1_19_0 = (Keyword)cGroup_3_1_19.eContents().get(0); private final Assignment cTextColorAssignment_3_1_19_1 = (Assignment)cGroup_3_1_19.eContents().get(1); private final RuleCall cTextColorColorVAParserRuleCall_3_1_19_1_0 = (RuleCall)cTextColorAssignment_3_1_19_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_19_2 = (Keyword)cGroup_3_1_19.eContents().get(2); private final Group cGroup_3_1_20 = (Group)cUnorderedGroup_3_1.eContents().get(20); private final Keyword cTypefaceKeyword_3_1_20_0 = (Keyword)cGroup_3_1_20.eContents().get(0); private final Assignment cTypefaceAssignment_3_1_20_1 = (Assignment)cGroup_3_1_20.eContents().get(1); private final RuleCall cTypefaceTypefaceKindEnumRuleCall_3_1_20_1_0 = (RuleCall)cTypefaceAssignment_3_1_20_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_20_2 = (Keyword)cGroup_3_1_20.eContents().get(2); private final Group cGroup_3_1_21 = (Group)cUnorderedGroup_3_1.eContents().get(21); private final Keyword cTextSizeKeyword_3_1_21_0 = (Keyword)cGroup_3_1_21.eContents().get(0); private final Assignment cTextSizeAssignment_3_1_21_1 = (Assignment)cGroup_3_1_21.eContents().get(1); private final RuleCall cTextSizeDimensionVAParserRuleCall_3_1_21_1_0 = (RuleCall)cTextSizeAssignment_3_1_21_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_21_2 = (Keyword)cGroup_3_1_21.eContents().get(2); private final Group cGroup_3_1_22 = (Group)cUnorderedGroup_3_1.eContents().get(22); private final Keyword cTextStyleKeyword_3_1_22_0 = (Keyword)cGroup_3_1_22.eContents().get(0); private final Assignment cTextStyleAssignment_3_1_22_1 = (Assignment)cGroup_3_1_22.eContents().get(1); private final RuleCall cTextStyleTextStyleKindEnumRuleCall_3_1_22_1_0 = (RuleCall)cTextStyleAssignment_3_1_22_1.eContents().get(0); private final Group cGroup_3_1_22_2 = (Group)cGroup_3_1_22.eContents().get(2); private final Keyword cVerticalLineKeyword_3_1_22_2_0 = (Keyword)cGroup_3_1_22_2.eContents().get(0); private final Assignment cTextStyleAssignment_3_1_22_2_1 = (Assignment)cGroup_3_1_22_2.eContents().get(1); private final RuleCall cTextStyleTextStyleKindEnumRuleCall_3_1_22_2_1_0 = (RuleCall)cTextStyleAssignment_3_1_22_2_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_22_3 = (Keyword)cGroup_3_1_22.eContents().get(3); private final Group cGroup_3_1_23 = (Group)cUnorderedGroup_3_1.eContents().get(23); private final Keyword cOnCheckKeyword_3_1_23_0 = (Keyword)cGroup_3_1_23.eContents().get(0); private final Assignment cOnCheckAssignment_3_1_23_1 = (Assignment)cGroup_3_1_23.eContents().get(1); private final RuleCall cOnCheckActionParserRuleCall_3_1_23_1_0 = (RuleCall)cOnCheckAssignment_3_1_23_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_23_2 = (Keyword)cGroup_3_1_23.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2); ////CheckBox < TextView //CheckBox: // "check:" ("<" name=ID ">")? text=StringVA ("{" (("top:" top=DimensionVA ";")? //TextView attributes // //TODO: Decide how will it be defined // //Idea: To create an ActionVA // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" // autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & // ("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? // & ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & // ("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" // textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & // ("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? & ("onCheck:" onCheck=Action ";")?) // "}")?; public ParserRule getRule() { return rule; } //"check:" ("<" name=ID ">")? text=StringVA ("{" (("top:" top=DimensionVA ";")? //TextView attributes ////TODO: Decide how will it be defined ////Idea: To create an ActionVA //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? & ("onCheck:" onCheck=Action ";")?) "}")? public Group getGroup() { return cGroup; } //"check:" public Keyword getCheckKeyword_0() { return cCheckKeyword_0; } //("<" name=ID ">")? public Group getGroup_1() { return cGroup_1; } //"<" public Keyword getLessThanSignKeyword_1_0() { return cLessThanSignKeyword_1_0; } //name=ID public Assignment getNameAssignment_1_1() { return cNameAssignment_1_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_1_0() { return cNameIDTerminalRuleCall_1_1_0; } //">" public Keyword getGreaterThanSignKeyword_1_2() { return cGreaterThanSignKeyword_1_2; } //text=StringVA public Assignment getTextAssignment_2() { return cTextAssignment_2; } //StringVA public RuleCall getTextStringVAParserRuleCall_2_0() { return cTextStringVAParserRuleCall_2_0; } //("{" (("top:" top=DimensionVA ";")? //TextView attributes ////TODO: Decide how will it be defined ////Idea: To create an ActionVA //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? & ("onCheck:" onCheck=Action ";")?) "}")? public Group getGroup_3() { return cGroup_3; } //"{" public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; } //("top:" top=DimensionVA ";")? //TextView attributes ////TODO: Decide how will it be defined ////Idea: To create an ActionVA //& ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & //("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" //fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" //autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & //("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? //& ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & //("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" //textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? & ("onCheck:" onCheck=Action ";")? public UnorderedGroup getUnorderedGroup_3_1() { return cUnorderedGroup_3_1; } //("top:" top=DimensionVA ";")? public Group getGroup_3_1_0() { return cGroup_3_1_0; } //"top:" public Keyword getTopKeyword_3_1_0_0() { return cTopKeyword_3_1_0_0; } //top=DimensionVA public Assignment getTopAssignment_3_1_0_1() { return cTopAssignment_3_1_0_1; } //DimensionVA public RuleCall getTopDimensionVAParserRuleCall_3_1_0_1_0() { return cTopDimensionVAParserRuleCall_3_1_0_1_0; } //";" public Keyword getSemicolonKeyword_3_1_0_2() { return cSemicolonKeyword_3_1_0_2; } //("left:" left=DimensionVA ";")? public Group getGroup_3_1_1() { return cGroup_3_1_1; } //"left:" public Keyword getLeftKeyword_3_1_1_0() { return cLeftKeyword_3_1_1_0; } //left=DimensionVA public Assignment getLeftAssignment_3_1_1_1() { return cLeftAssignment_3_1_1_1; } //DimensionVA public RuleCall getLeftDimensionVAParserRuleCall_3_1_1_1_0() { return cLeftDimensionVAParserRuleCall_3_1_1_1_0; } //";" public Keyword getSemicolonKeyword_3_1_1_2() { return cSemicolonKeyword_3_1_1_2; } //("width:" width=DimensionVA ";")? public Group getGroup_3_1_2() { return cGroup_3_1_2; } //"width:" public Keyword getWidthKeyword_3_1_2_0() { return cWidthKeyword_3_1_2_0; } //width=DimensionVA public Assignment getWidthAssignment_3_1_2_1() { return cWidthAssignment_3_1_2_1; } //DimensionVA public RuleCall getWidthDimensionVAParserRuleCall_3_1_2_1_0() { return cWidthDimensionVAParserRuleCall_3_1_2_1_0; } //";" public Keyword getSemicolonKeyword_3_1_2_2() { return cSemicolonKeyword_3_1_2_2; } //("height:" height=DimensionVA ";")? public Group getGroup_3_1_3() { return cGroup_3_1_3; } //"height:" public Keyword getHeightKeyword_3_1_3_0() { return cHeightKeyword_3_1_3_0; } //height=DimensionVA public Assignment getHeightAssignment_3_1_3_1() { return cHeightAssignment_3_1_3_1; } //DimensionVA public RuleCall getHeightDimensionVAParserRuleCall_3_1_3_1_0() { return cHeightDimensionVAParserRuleCall_3_1_3_1_0; } //";" public Keyword getSemicolonKeyword_3_1_3_2() { return cSemicolonKeyword_3_1_3_2; } //("background:" background=AnyDrawableVA ";")? public Group getGroup_3_1_4() { return cGroup_3_1_4; } //"background:" public Keyword getBackgroundKeyword_3_1_4_0() { return cBackgroundKeyword_3_1_4_0; } //background=AnyDrawableVA public Assignment getBackgroundAssignment_3_1_4_1() { return cBackgroundAssignment_3_1_4_1; } //AnyDrawableVA public RuleCall getBackgroundAnyDrawableVAParserRuleCall_3_1_4_1_0() { return cBackgroundAnyDrawableVAParserRuleCall_3_1_4_1_0; } //";" public Keyword getSemicolonKeyword_3_1_4_2() { return cSemicolonKeyword_3_1_4_2; } //("clickable:" clickable=BooleanVA ";")? public Group getGroup_3_1_5() { return cGroup_3_1_5; } //"clickable:" public Keyword getClickableKeyword_3_1_5_0() { return cClickableKeyword_3_1_5_0; } //clickable=BooleanVA public Assignment getClickableAssignment_3_1_5_1() { return cClickableAssignment_3_1_5_1; } //BooleanVA public RuleCall getClickableBooleanVAParserRuleCall_3_1_5_1_0() { return cClickableBooleanVAParserRuleCall_3_1_5_1_0; } //";" public Keyword getSemicolonKeyword_3_1_5_2() { return cSemicolonKeyword_3_1_5_2; } //("fadeScrollBars:" fadeScrollBars=BooleanVA ";")? public Group getGroup_3_1_6() { return cGroup_3_1_6; } //"fadeScrollBars:" public Keyword getFadeScrollBarsKeyword_3_1_6_0() { return cFadeScrollBarsKeyword_3_1_6_0; } //fadeScrollBars=BooleanVA public Assignment getFadeScrollBarsAssignment_3_1_6_1() { return cFadeScrollBarsAssignment_3_1_6_1; } //BooleanVA public RuleCall getFadeScrollBarsBooleanVAParserRuleCall_3_1_6_1_0() { return cFadeScrollBarsBooleanVAParserRuleCall_3_1_6_1_0; } //";" public Keyword getSemicolonKeyword_3_1_6_2() { return cSemicolonKeyword_3_1_6_2; } //("isScrollContainer:" isScrollContainer=BooleanVA ";")? public Group getGroup_3_1_7() { return cGroup_3_1_7; } //"isScrollContainer:" public Keyword getIsScrollContainerKeyword_3_1_7_0() { return cIsScrollContainerKeyword_3_1_7_0; } //isScrollContainer=BooleanVA public Assignment getIsScrollContainerAssignment_3_1_7_1() { return cIsScrollContainerAssignment_3_1_7_1; } //BooleanVA public RuleCall getIsScrollContainerBooleanVAParserRuleCall_3_1_7_1_0() { return cIsScrollContainerBooleanVAParserRuleCall_3_1_7_1_0; } //";" public Keyword getSemicolonKeyword_3_1_7_2() { return cSemicolonKeyword_3_1_7_2; } //("autoLink:" autoLink=AutoLinkKind ";")? public Group getGroup_3_1_8() { return cGroup_3_1_8; } //"autoLink:" public Keyword getAutoLinkKeyword_3_1_8_0() { return cAutoLinkKeyword_3_1_8_0; } //autoLink=AutoLinkKind public Assignment getAutoLinkAssignment_3_1_8_1() { return cAutoLinkAssignment_3_1_8_1; } //AutoLinkKind public RuleCall getAutoLinkAutoLinkKindEnumRuleCall_3_1_8_1_0() { return cAutoLinkAutoLinkKindEnumRuleCall_3_1_8_1_0; } //";" public Keyword getSemicolonKeyword_3_1_8_2() { return cSemicolonKeyword_3_1_8_2; } //("autoText:" autoText=BooleanVA ";")? public Group getGroup_3_1_9() { return cGroup_3_1_9; } //"autoText:" public Keyword getAutoTextKeyword_3_1_9_0() { return cAutoTextKeyword_3_1_9_0; } //autoText=BooleanVA public Assignment getAutoTextAssignment_3_1_9_1() { return cAutoTextAssignment_3_1_9_1; } //BooleanVA public RuleCall getAutoTextBooleanVAParserRuleCall_3_1_9_1_0() { return cAutoTextBooleanVAParserRuleCall_3_1_9_1_0; } //";" public Keyword getSemicolonKeyword_3_1_9_2() { return cSemicolonKeyword_3_1_9_2; } //("capitalize:" capitalize=CapitalizeKind ";")? public Group getGroup_3_1_10() { return cGroup_3_1_10; } //"capitalize:" public Keyword getCapitalizeKeyword_3_1_10_0() { return cCapitalizeKeyword_3_1_10_0; } //capitalize=CapitalizeKind public Assignment getCapitalizeAssignment_3_1_10_1() { return cCapitalizeAssignment_3_1_10_1; } //CapitalizeKind public RuleCall getCapitalizeCapitalizeKindEnumRuleCall_3_1_10_1_0() { return cCapitalizeCapitalizeKindEnumRuleCall_3_1_10_1_0; } //";" public Keyword getSemicolonKeyword_3_1_10_2() { return cSemicolonKeyword_3_1_10_2; } //("digits:" digits=StringVA ";")? public Group getGroup_3_1_11() { return cGroup_3_1_11; } //"digits:" public Keyword getDigitsKeyword_3_1_11_0() { return cDigitsKeyword_3_1_11_0; } //digits=StringVA public Assignment getDigitsAssignment_3_1_11_1() { return cDigitsAssignment_3_1_11_1; } //StringVA public RuleCall getDigitsStringVAParserRuleCall_3_1_11_1_0() { return cDigitsStringVAParserRuleCall_3_1_11_1_0; } //";" public Keyword getSemicolonKeyword_3_1_11_2() { return cSemicolonKeyword_3_1_11_2; } //("editable:" editable=BooleanVA ";")? public Group getGroup_3_1_12() { return cGroup_3_1_12; } //"editable:" public Keyword getEditableKeyword_3_1_12_0() { return cEditableKeyword_3_1_12_0; } //editable=BooleanVA public Assignment getEditableAssignment_3_1_12_1() { return cEditableAssignment_3_1_12_1; } //BooleanVA public RuleCall getEditableBooleanVAParserRuleCall_3_1_12_1_0() { return cEditableBooleanVAParserRuleCall_3_1_12_1_0; } //";" public Keyword getSemicolonKeyword_3_1_12_2() { return cSemicolonKeyword_3_1_12_2; } //("gravity:" gravity=LayoutGravityKind ";")? public Group getGroup_3_1_13() { return cGroup_3_1_13; } //"gravity:" public Keyword getGravityKeyword_3_1_13_0() { return cGravityKeyword_3_1_13_0; } //gravity=LayoutGravityKind public Assignment getGravityAssignment_3_1_13_1() { return cGravityAssignment_3_1_13_1; } //LayoutGravityKind public RuleCall getGravityLayoutGravityKindEnumRuleCall_3_1_13_1_0() { return cGravityLayoutGravityKindEnumRuleCall_3_1_13_1_0; } //";" public Keyword getSemicolonKeyword_3_1_13_2() { return cSemicolonKeyword_3_1_13_2; } //("hint:" hint=StringVA ";")? public Group getGroup_3_1_14() { return cGroup_3_1_14; } //"hint:" public Keyword getHintKeyword_3_1_14_0() { return cHintKeyword_3_1_14_0; } //hint=StringVA public Assignment getHintAssignment_3_1_14_1() { return cHintAssignment_3_1_14_1; } //StringVA public RuleCall getHintStringVAParserRuleCall_3_1_14_1_0() { return cHintStringVAParserRuleCall_3_1_14_1_0; } //";" public Keyword getSemicolonKeyword_3_1_14_2() { return cSemicolonKeyword_3_1_14_2; } //("numeric:" numeric=BooleanVA ";")? public Group getGroup_3_1_15() { return cGroup_3_1_15; } //"numeric:" public Keyword getNumericKeyword_3_1_15_0() { return cNumericKeyword_3_1_15_0; } //numeric=BooleanVA public Assignment getNumericAssignment_3_1_15_1() { return cNumericAssignment_3_1_15_1; } //BooleanVA public RuleCall getNumericBooleanVAParserRuleCall_3_1_15_1_0() { return cNumericBooleanVAParserRuleCall_3_1_15_1_0; } //";" public Keyword getSemicolonKeyword_3_1_15_2() { return cSemicolonKeyword_3_1_15_2; } //("password:" password=BooleanVA ";")? public Group getGroup_3_1_16() { return cGroup_3_1_16; } //"password:" public Keyword getPasswordKeyword_3_1_16_0() { return cPasswordKeyword_3_1_16_0; } //password=BooleanVA public Assignment getPasswordAssignment_3_1_16_1() { return cPasswordAssignment_3_1_16_1; } //BooleanVA public RuleCall getPasswordBooleanVAParserRuleCall_3_1_16_1_0() { return cPasswordBooleanVAParserRuleCall_3_1_16_1_0; } //";" public Keyword getSemicolonKeyword_3_1_16_2() { return cSemicolonKeyword_3_1_16_2; } //("phoneNumber:" phoneNumber=BooleanVA ";")? public Group getGroup_3_1_17() { return cGroup_3_1_17; } //"phoneNumber:" public Keyword getPhoneNumberKeyword_3_1_17_0() { return cPhoneNumberKeyword_3_1_17_0; } //phoneNumber=BooleanVA public Assignment getPhoneNumberAssignment_3_1_17_1() { return cPhoneNumberAssignment_3_1_17_1; } //BooleanVA public RuleCall getPhoneNumberBooleanVAParserRuleCall_3_1_17_1_0() { return cPhoneNumberBooleanVAParserRuleCall_3_1_17_1_0; } //";" public Keyword getSemicolonKeyword_3_1_17_2() { return cSemicolonKeyword_3_1_17_2; } //("singleLine:" singleLine=BooleanVA ";")? public Group getGroup_3_1_18() { return cGroup_3_1_18; } //"singleLine:" public Keyword getSingleLineKeyword_3_1_18_0() { return cSingleLineKeyword_3_1_18_0; } //singleLine=BooleanVA public Assignment getSingleLineAssignment_3_1_18_1() { return cSingleLineAssignment_3_1_18_1; } //BooleanVA public RuleCall getSingleLineBooleanVAParserRuleCall_3_1_18_1_0() { return cSingleLineBooleanVAParserRuleCall_3_1_18_1_0; } //";" public Keyword getSemicolonKeyword_3_1_18_2() { return cSemicolonKeyword_3_1_18_2; } //("textColor:" textColor=ColorVA ";")? public Group getGroup_3_1_19() { return cGroup_3_1_19; } //"textColor:" public Keyword getTextColorKeyword_3_1_19_0() { return cTextColorKeyword_3_1_19_0; } //textColor=ColorVA public Assignment getTextColorAssignment_3_1_19_1() { return cTextColorAssignment_3_1_19_1; } //ColorVA public RuleCall getTextColorColorVAParserRuleCall_3_1_19_1_0() { return cTextColorColorVAParserRuleCall_3_1_19_1_0; } //";" public Keyword getSemicolonKeyword_3_1_19_2() { return cSemicolonKeyword_3_1_19_2; } //("typeface:" typeface=TypefaceKind ";")? public Group getGroup_3_1_20() { return cGroup_3_1_20; } //"typeface:" public Keyword getTypefaceKeyword_3_1_20_0() { return cTypefaceKeyword_3_1_20_0; } //typeface=TypefaceKind public Assignment getTypefaceAssignment_3_1_20_1() { return cTypefaceAssignment_3_1_20_1; } //TypefaceKind public RuleCall getTypefaceTypefaceKindEnumRuleCall_3_1_20_1_0() { return cTypefaceTypefaceKindEnumRuleCall_3_1_20_1_0; } //";" public Keyword getSemicolonKeyword_3_1_20_2() { return cSemicolonKeyword_3_1_20_2; } //("textSize:" textSize=DimensionVA ";")? public Group getGroup_3_1_21() { return cGroup_3_1_21; } //"textSize:" public Keyword getTextSizeKeyword_3_1_21_0() { return cTextSizeKeyword_3_1_21_0; } //textSize=DimensionVA public Assignment getTextSizeAssignment_3_1_21_1() { return cTextSizeAssignment_3_1_21_1; } //DimensionVA public RuleCall getTextSizeDimensionVAParserRuleCall_3_1_21_1_0() { return cTextSizeDimensionVAParserRuleCall_3_1_21_1_0; } //";" public Keyword getSemicolonKeyword_3_1_21_2() { return cSemicolonKeyword_3_1_21_2; } //("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? public Group getGroup_3_1_22() { return cGroup_3_1_22; } //"textStyle:" public Keyword getTextStyleKeyword_3_1_22_0() { return cTextStyleKeyword_3_1_22_0; } //textStyle+=TextStyleKind public Assignment getTextStyleAssignment_3_1_22_1() { return cTextStyleAssignment_3_1_22_1; } //TextStyleKind public RuleCall getTextStyleTextStyleKindEnumRuleCall_3_1_22_1_0() { return cTextStyleTextStyleKindEnumRuleCall_3_1_22_1_0; } //("|" textStyle+=TextStyleKind)* public Group getGroup_3_1_22_2() { return cGroup_3_1_22_2; } //"|" public Keyword getVerticalLineKeyword_3_1_22_2_0() { return cVerticalLineKeyword_3_1_22_2_0; } //textStyle+=TextStyleKind public Assignment getTextStyleAssignment_3_1_22_2_1() { return cTextStyleAssignment_3_1_22_2_1; } //TextStyleKind public RuleCall getTextStyleTextStyleKindEnumRuleCall_3_1_22_2_1_0() { return cTextStyleTextStyleKindEnumRuleCall_3_1_22_2_1_0; } //";" public Keyword getSemicolonKeyword_3_1_22_3() { return cSemicolonKeyword_3_1_22_3; } //("onCheck:" onCheck=Action ";")? public Group getGroup_3_1_23() { return cGroup_3_1_23; } //"onCheck:" public Keyword getOnCheckKeyword_3_1_23_0() { return cOnCheckKeyword_3_1_23_0; } //onCheck=Action public Assignment getOnCheckAssignment_3_1_23_1() { return cOnCheckAssignment_3_1_23_1; } //Action public RuleCall getOnCheckActionParserRuleCall_3_1_23_1_0() { return cOnCheckActionParserRuleCall_3_1_23_1_0; } //";" public Keyword getSemicolonKeyword_3_1_23_2() { return cSemicolonKeyword_3_1_23_2; } //"}" public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; } } public class RadioButtonElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RadioButton"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cRadioKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); private final Keyword cLessThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); private final Assignment cNameAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_1_0 = (RuleCall)cNameAssignment_1_1.eContents().get(0); private final Keyword cGreaterThanSignKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); private final Assignment cTextAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cTextStringVAParserRuleCall_2_0 = (RuleCall)cTextAssignment_2.eContents().get(0); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); private final Keyword cOnCheckKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); private final Assignment cOnClickAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1); private final RuleCall cOnClickActionParserRuleCall_3_1_1_0 = (RuleCall)cOnClickAssignment_3_1_1.eContents().get(0); private final Keyword cSemicolonKeyword_3_1_2 = (Keyword)cGroup_3_1.eContents().get(2); private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2); ////EditText < TextView //RadioButton: // "radio:" ("<" name=ID ">")? text=StringVA ("{" ("onCheck:" onClick=Action ";")? "}")?; public ParserRule getRule() { return rule; } //"radio:" ("<" name=ID ">")? text=StringVA ("{" ("onCheck:" onClick=Action ";")? "}")? public Group getGroup() { return cGroup; } //"radio:" public Keyword getRadioKeyword_0() { return cRadioKeyword_0; } //("<" name=ID ">")? public Group getGroup_1() { return cGroup_1; } //"<" public Keyword getLessThanSignKeyword_1_0() { return cLessThanSignKeyword_1_0; } //name=ID public Assignment getNameAssignment_1_1() { return cNameAssignment_1_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_1_0() { return cNameIDTerminalRuleCall_1_1_0; } //">" public Keyword getGreaterThanSignKeyword_1_2() { return cGreaterThanSignKeyword_1_2; } //text=StringVA public Assignment getTextAssignment_2() { return cTextAssignment_2; } //StringVA public RuleCall getTextStringVAParserRuleCall_2_0() { return cTextStringVAParserRuleCall_2_0; } //("{" ("onCheck:" onClick=Action ";")? "}")? public Group getGroup_3() { return cGroup_3; } //"{" public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; } //("onCheck:" onClick=Action ";")? public Group getGroup_3_1() { return cGroup_3_1; } //"onCheck:" public Keyword getOnCheckKeyword_3_1_0() { return cOnCheckKeyword_3_1_0; } //onClick=Action public Assignment getOnClickAssignment_3_1_1() { return cOnClickAssignment_3_1_1; } //Action public RuleCall getOnClickActionParserRuleCall_3_1_1_0() { return cOnClickActionParserRuleCall_3_1_1_0; } //";" public Keyword getSemicolonKeyword_3_1_2() { return cSemicolonKeyword_3_1_2; } //"}" public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; } } public class RadioGroupElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RadioGroup"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cRadioGroupKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); private final Keyword cLessThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); private final Assignment cNameAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); private final RuleCall cNameIDTerminalRuleCall_1_1_0 = (RuleCall)cNameAssignment_1_1.eContents().get(0); private final Keyword cGreaterThanSignKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); private final Assignment cRadioButtonsAssignment_3 = (Assignment)cGroup.eContents().get(3); private final CrossReference cRadioButtonsRadioButtonCrossReference_3_0 = (CrossReference)cRadioButtonsAssignment_3.eContents().get(0); private final RuleCall cRadioButtonsRadioButtonIDTerminalRuleCall_3_0_1 = (RuleCall)cRadioButtonsRadioButtonCrossReference_3_0.eContents().get(1); private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); ////EditText < TextView //RadioGroup: // "radioGroup:" ("<" name=ID ">")? "{" radioButtons+=[RadioButton]+ "}"; public ParserRule getRule() { return rule; } //"radioGroup:" ("<" name=ID ">")? "{" radioButtons+=[RadioButton]+ "}" public Group getGroup() { return cGroup; } //"radioGroup:" public Keyword getRadioGroupKeyword_0() { return cRadioGroupKeyword_0; } //("<" name=ID ">")? public Group getGroup_1() { return cGroup_1; } //"<" public Keyword getLessThanSignKeyword_1_0() { return cLessThanSignKeyword_1_0; } //name=ID public Assignment getNameAssignment_1_1() { return cNameAssignment_1_1; } //ID public RuleCall getNameIDTerminalRuleCall_1_1_0() { return cNameIDTerminalRuleCall_1_1_0; } //">" public Keyword getGreaterThanSignKeyword_1_2() { return cGreaterThanSignKeyword_1_2; } //"{" public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //radioButtons+=[RadioButton]+ public Assignment getRadioButtonsAssignment_3() { return cRadioButtonsAssignment_3; } //[RadioButton] public CrossReference getRadioButtonsRadioButtonCrossReference_3_0() { return cRadioButtonsRadioButtonCrossReference_3_0; } //ID public RuleCall getRadioButtonsRadioButtonIDTerminalRuleCall_3_0_1() { return cRadioButtonsRadioButtonIDTerminalRuleCall_3_0_1; } //"}" public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } public class QualifiedNameElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "QualifiedName"); private final Group cGroup = (Group)rule.eContents().get(1); private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); private final Group cGroup_1 = (Group)cGroup.eContents().get(1); private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); /// * // * Datatypes // * (returns EDataType instead EClass) // * /QualifiedName returns ecore::EString: // ID ("." ID)*; public ParserRule getRule() { return rule; } //ID ("." ID)* public Group getGroup() { return cGroup; } //ID public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } //("." ID)* public Group getGroup_1() { return cGroup_1; } //"." public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } //ID public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } } public class RelativePercentualElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RelativePercentual"); private final Group cGroup = (Group)rule.eContents().get(1); private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); private final RuleCall cINTTerminalRuleCall_0_0 = (RuleCall)cAlternatives_0.eContents().get(0); private final RuleCall cFLOATTerminalRuleCall_0_1 = (RuleCall)cAlternatives_0.eContents().get(1); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Keyword cPercentSignKeyword_1_0 = (Keyword)cAlternatives_1.eContents().get(0); private final Keyword cPKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1); //RelativePercentual returns ecore::EString: // (INT | FLOAT) ("%" | "%p"); public ParserRule getRule() { return rule; } //(INT | FLOAT) ("%" | "%p") public Group getGroup() { return cGroup; } //INT | FLOAT public Alternatives getAlternatives_0() { return cAlternatives_0; } //INT public RuleCall getINTTerminalRuleCall_0_0() { return cINTTerminalRuleCall_0_0; } //FLOAT public RuleCall getFLOATTerminalRuleCall_0_1() { return cFLOATTerminalRuleCall_0_1; } //"%" | "%p" public Alternatives getAlternatives_1() { return cAlternatives_1; } //"%" public Keyword getPercentSignKeyword_1_0() { return cPercentSignKeyword_1_0; } //"%p" public Keyword getPKeyword_1_1() { return cPKeyword_1_1; } } public class URLElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "URL"); private final Group cGroup = (Group)rule.eContents().get(1); private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); private final Keyword cColonSolidusSolidusKeyword_1 = (Keyword)cGroup.eContents().get(1); private final RuleCall cQualifiedNameParserRuleCall_2 = (RuleCall)cGroup.eContents().get(2); private final Group cGroup_3 = (Group)cGroup.eContents().get(3); private final Keyword cSolidusKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); private final RuleCall cQualifiedNameParserRuleCall_3_1_0 = (RuleCall)cGroup_3_1.eContents().get(0); private final Keyword cSolidusKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); //URL returns ecore::EString: // ID "://" QualifiedName ("/" (QualifiedName "/")*)?; public ParserRule getRule() { return rule; } //ID "://" QualifiedName ("/" (QualifiedName "/")*)? public Group getGroup() { return cGroup; } //ID public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } //"://" public Keyword getColonSolidusSolidusKeyword_1() { return cColonSolidusSolidusKeyword_1; } //QualifiedName public RuleCall getQualifiedNameParserRuleCall_2() { return cQualifiedNameParserRuleCall_2; } //("/" (QualifiedName "/")*)? public Group getGroup_3() { return cGroup_3; } //"/" public Keyword getSolidusKeyword_3_0() { return cSolidusKeyword_3_0; } //(QualifiedName "/")* public Group getGroup_3_1() { return cGroup_3_1; } //QualifiedName public RuleCall getQualifiedNameParserRuleCall_3_1_0() { return cQualifiedNameParserRuleCall_3_1_0; } //"/" public Keyword getSolidusKeyword_3_1_1() { return cSolidusKeyword_3_1_1; } } public class DimensionValueElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DimensionValue"); private final Group cGroup = (Group)rule.eContents().get(1); private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); private final RuleCall cFLOATTerminalRuleCall_0_0 = (RuleCall)cAlternatives_0.eContents().get(0); private final RuleCall cINTTerminalRuleCall_0_1 = (RuleCall)cAlternatives_0.eContents().get(1); private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); private final Keyword cDpKeyword_1_0 = (Keyword)cAlternatives_1.eContents().get(0); private final Keyword cSpKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1); private final Keyword cPtKeyword_1_2 = (Keyword)cAlternatives_1.eContents().get(2); private final Keyword cPxKeyword_1_3 = (Keyword)cAlternatives_1.eContents().get(3); private final Keyword cMmKeyword_1_4 = (Keyword)cAlternatives_1.eContents().get(4); private final Keyword cInKeyword_1_5 = (Keyword)cAlternatives_1.eContents().get(5); //DimensionValue returns ecore::EString: // (FLOAT | INT) ("dp" | "sp" | "pt" | "px" | "mm" | "in"); public ParserRule getRule() { return rule; } //(FLOAT | INT) ("dp" | "sp" | "pt" | "px" | "mm" | "in") public Group getGroup() { return cGroup; } //FLOAT | INT public Alternatives getAlternatives_0() { return cAlternatives_0; } //FLOAT public RuleCall getFLOATTerminalRuleCall_0_0() { return cFLOATTerminalRuleCall_0_0; } //INT public RuleCall getINTTerminalRuleCall_0_1() { return cINTTerminalRuleCall_0_1; } //"dp" | "sp" | "pt" | "px" | "mm" | "in" public Alternatives getAlternatives_1() { return cAlternatives_1; } //"dp" public Keyword getDpKeyword_1_0() { return cDpKeyword_1_0; } //"sp" public Keyword getSpKeyword_1_1() { return cSpKeyword_1_1; } //"pt" public Keyword getPtKeyword_1_2() { return cPtKeyword_1_2; } //"px" public Keyword getPxKeyword_1_3() { return cPxKeyword_1_3; } //"mm" public Keyword getMmKeyword_1_4() { return cMmKeyword_1_4; } //"in" public Keyword getInKeyword_1_5() { return cInKeyword_1_5; } } public class BuiltInPermissionTypeElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "BuiltInPermissionType"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cACCESS_CHECKIN_PROPERTIESEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cACCESS_CHECKIN_PROPERTIESACCESS_CHECKIN_PROPERTIESKeyword_0_0 = (Keyword)cACCESS_CHECKIN_PROPERTIESEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cACCESS_COARSE_LOCATIONEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cACCESS_COARSE_LOCATIONACCESS_COARSE_LOCATIONKeyword_1_0 = (Keyword)cACCESS_COARSE_LOCATIONEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cACCESS_FINE_LOCATIONEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cACCESS_FINE_LOCATIONACCESS_FINE_LOCATIONKeyword_2_0 = (Keyword)cACCESS_FINE_LOCATIONEnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cACCESS_LOCATION_EXTRA_COMMANDSEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cACCESS_LOCATION_EXTRA_COMMANDSACCESS_LOCATION_EXTRA_COMMANDSKeyword_3_0 = (Keyword)cACCESS_LOCATION_EXTRA_COMMANDSEnumLiteralDeclaration_3.eContents().get(0); private final EnumLiteralDeclaration cACCESS_MOCK_LOCATIONEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); private final Keyword cACCESS_MOCK_LOCATIONACCESS_MOCK_LOCATIONKeyword_4_0 = (Keyword)cACCESS_MOCK_LOCATIONEnumLiteralDeclaration_4.eContents().get(0); private final EnumLiteralDeclaration cACCESS_NETWORK_STATEEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); private final Keyword cACCESS_NETWORK_STATEACCESS_NETWORK_STATEKeyword_5_0 = (Keyword)cACCESS_NETWORK_STATEEnumLiteralDeclaration_5.eContents().get(0); private final EnumLiteralDeclaration cACCESS_SURFACE_FLINGEREnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); private final Keyword cACCESS_SURFACE_FLINGERACCESS_SURFACE_FLINGERKeyword_6_0 = (Keyword)cACCESS_SURFACE_FLINGEREnumLiteralDeclaration_6.eContents().get(0); private final EnumLiteralDeclaration cACCESS_WIFI_STATEEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); private final Keyword cACCESS_WIFI_STATEACCESS_WIFI_STATEKeyword_7_0 = (Keyword)cACCESS_WIFI_STATEEnumLiteralDeclaration_7.eContents().get(0); private final EnumLiteralDeclaration cACCOUNT_MANAGEREnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); private final Keyword cACCOUNT_MANAGERACCOUNT_MANAGERKeyword_8_0 = (Keyword)cACCOUNT_MANAGEREnumLiteralDeclaration_8.eContents().get(0); private final EnumLiteralDeclaration cAUTHENTICATE_ACCOUNTSEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); private final Keyword cAUTHENTICATE_ACCOUNTSAUTHENTICATE_ACCOUNTSKeyword_9_0 = (Keyword)cAUTHENTICATE_ACCOUNTSEnumLiteralDeclaration_9.eContents().get(0); private final EnumLiteralDeclaration cBATTERY_STATSEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); private final Keyword cBATTERY_STATSBATTERY_STATSKeyword_10_0 = (Keyword)cBATTERY_STATSEnumLiteralDeclaration_10.eContents().get(0); private final EnumLiteralDeclaration cBIND_APPWIDGETEnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); private final Keyword cBIND_APPWIDGETBIND_APPWIDGETKeyword_11_0 = (Keyword)cBIND_APPWIDGETEnumLiteralDeclaration_11.eContents().get(0); private final EnumLiteralDeclaration cBIND_DEVICE_ADMINEnumLiteralDeclaration_12 = (EnumLiteralDeclaration)cAlternatives.eContents().get(12); private final Keyword cBIND_DEVICE_ADMINBIND_DEVICE_ADMINKeyword_12_0 = (Keyword)cBIND_DEVICE_ADMINEnumLiteralDeclaration_12.eContents().get(0); private final EnumLiteralDeclaration cBIND_INPUT_METHODEnumLiteralDeclaration_13 = (EnumLiteralDeclaration)cAlternatives.eContents().get(13); private final Keyword cBIND_INPUT_METHODBIND_INPUT_METHODKeyword_13_0 = (Keyword)cBIND_INPUT_METHODEnumLiteralDeclaration_13.eContents().get(0); private final EnumLiteralDeclaration cBIND_REMOTEVIEWSEnumLiteralDeclaration_14 = (EnumLiteralDeclaration)cAlternatives.eContents().get(14); private final Keyword cBIND_REMOTEVIEWSBIND_REMOTEVIEWSKeyword_14_0 = (Keyword)cBIND_REMOTEVIEWSEnumLiteralDeclaration_14.eContents().get(0); private final EnumLiteralDeclaration cBIND_WALLPAPEREnumLiteralDeclaration_15 = (EnumLiteralDeclaration)cAlternatives.eContents().get(15); private final Keyword cBIND_WALLPAPERBIND_WALLPAPERKeyword_15_0 = (Keyword)cBIND_WALLPAPEREnumLiteralDeclaration_15.eContents().get(0); private final EnumLiteralDeclaration cBLUETOOTHEnumLiteralDeclaration_16 = (EnumLiteralDeclaration)cAlternatives.eContents().get(16); private final Keyword cBLUETOOTHBLUETOOTHKeyword_16_0 = (Keyword)cBLUETOOTHEnumLiteralDeclaration_16.eContents().get(0); private final EnumLiteralDeclaration cBLUETOOTH_ADMINEnumLiteralDeclaration_17 = (EnumLiteralDeclaration)cAlternatives.eContents().get(17); private final Keyword cBLUETOOTH_ADMINBLUETOOTH_ADMINKeyword_17_0 = (Keyword)cBLUETOOTH_ADMINEnumLiteralDeclaration_17.eContents().get(0); private final EnumLiteralDeclaration cBRICKEnumLiteralDeclaration_18 = (EnumLiteralDeclaration)cAlternatives.eContents().get(18); private final Keyword cBRICKBRICKKeyword_18_0 = (Keyword)cBRICKEnumLiteralDeclaration_18.eContents().get(0); private final EnumLiteralDeclaration cBROADCAST_PACKAGE_REMOVEDEnumLiteralDeclaration_19 = (EnumLiteralDeclaration)cAlternatives.eContents().get(19); private final Keyword cBROADCAST_PACKAGE_REMOVEDBROADCAST_PACKAGE_REMOVEDKeyword_19_0 = (Keyword)cBROADCAST_PACKAGE_REMOVEDEnumLiteralDeclaration_19.eContents().get(0); private final EnumLiteralDeclaration cBROADCAST_SMSEnumLiteralDeclaration_20 = (EnumLiteralDeclaration)cAlternatives.eContents().get(20); private final Keyword cBROADCAST_SMSBROADCAST_SMSKeyword_20_0 = (Keyword)cBROADCAST_SMSEnumLiteralDeclaration_20.eContents().get(0); private final EnumLiteralDeclaration cBROADCAST_STICKYEnumLiteralDeclaration_21 = (EnumLiteralDeclaration)cAlternatives.eContents().get(21); private final Keyword cBROADCAST_STICKYBROADCAST_STICKYKeyword_21_0 = (Keyword)cBROADCAST_STICKYEnumLiteralDeclaration_21.eContents().get(0); private final EnumLiteralDeclaration cBROADCAST_WAP_PUSHEnumLiteralDeclaration_22 = (EnumLiteralDeclaration)cAlternatives.eContents().get(22); private final Keyword cBROADCAST_WAP_PUSHBROADCAST_WAP_PUSHKeyword_22_0 = (Keyword)cBROADCAST_WAP_PUSHEnumLiteralDeclaration_22.eContents().get(0); private final EnumLiteralDeclaration cCALL_PHONEEnumLiteralDeclaration_23 = (EnumLiteralDeclaration)cAlternatives.eContents().get(23); private final Keyword cCALL_PHONECALL_PHONEKeyword_23_0 = (Keyword)cCALL_PHONEEnumLiteralDeclaration_23.eContents().get(0); private final EnumLiteralDeclaration cCALL_PRIVILEGEDEnumLiteralDeclaration_24 = (EnumLiteralDeclaration)cAlternatives.eContents().get(24); private final Keyword cCALL_PRIVILEGEDCALL_PRIVILEGEDKeyword_24_0 = (Keyword)cCALL_PRIVILEGEDEnumLiteralDeclaration_24.eContents().get(0); private final EnumLiteralDeclaration cCAMERAEnumLiteralDeclaration_25 = (EnumLiteralDeclaration)cAlternatives.eContents().get(25); private final Keyword cCAMERACAMERAKeyword_25_0 = (Keyword)cCAMERAEnumLiteralDeclaration_25.eContents().get(0); private final EnumLiteralDeclaration cCHANGE_COMPONENT_ENABLED_STATEEnumLiteralDeclaration_26 = (EnumLiteralDeclaration)cAlternatives.eContents().get(26); private final Keyword cCHANGE_COMPONENT_ENABLED_STATECHANGE_COMPONENT_ENABLED_STATEKeyword_26_0 = (Keyword)cCHANGE_COMPONENT_ENABLED_STATEEnumLiteralDeclaration_26.eContents().get(0); private final EnumLiteralDeclaration cCHANGE_CONFIGURATIONEnumLiteralDeclaration_27 = (EnumLiteralDeclaration)cAlternatives.eContents().get(27); private final Keyword cCHANGE_CONFIGURATIONCHANGE_CONFIGURATIONKeyword_27_0 = (Keyword)cCHANGE_CONFIGURATIONEnumLiteralDeclaration_27.eContents().get(0); private final EnumLiteralDeclaration cCHANGE_NETWORK_STATEEnumLiteralDeclaration_28 = (EnumLiteralDeclaration)cAlternatives.eContents().get(28); private final Keyword cCHANGE_NETWORK_STATECHANGE_NETWORK_STATEKeyword_28_0 = (Keyword)cCHANGE_NETWORK_STATEEnumLiteralDeclaration_28.eContents().get(0); private final EnumLiteralDeclaration cCHANGE_WIFI_MULTICAST_STATEEnumLiteralDeclaration_29 = (EnumLiteralDeclaration)cAlternatives.eContents().get(29); private final Keyword cCHANGE_WIFI_MULTICAST_STATECHANGE_WIFI_MULTICAST_STATEKeyword_29_0 = (Keyword)cCHANGE_WIFI_MULTICAST_STATEEnumLiteralDeclaration_29.eContents().get(0); private final EnumLiteralDeclaration cCHANGE_WIFI_STATEEnumLiteralDeclaration_30 = (EnumLiteralDeclaration)cAlternatives.eContents().get(30); private final Keyword cCHANGE_WIFI_STATECHANGE_WIFI_STATEKeyword_30_0 = (Keyword)cCHANGE_WIFI_STATEEnumLiteralDeclaration_30.eContents().get(0); private final EnumLiteralDeclaration cCLEAR_APP_CACHEEnumLiteralDeclaration_31 = (EnumLiteralDeclaration)cAlternatives.eContents().get(31); private final Keyword cCLEAR_APP_CACHECLEAR_APP_CACHEKeyword_31_0 = (Keyword)cCLEAR_APP_CACHEEnumLiteralDeclaration_31.eContents().get(0); private final EnumLiteralDeclaration cCLEAR_APP_USER_DATAEnumLiteralDeclaration_32 = (EnumLiteralDeclaration)cAlternatives.eContents().get(32); private final Keyword cCLEAR_APP_USER_DATACLEAR_APP_USER_DATAKeyword_32_0 = (Keyword)cCLEAR_APP_USER_DATAEnumLiteralDeclaration_32.eContents().get(0); private final EnumLiteralDeclaration cCONTROL_LOCATION_UPDATESEnumLiteralDeclaration_33 = (EnumLiteralDeclaration)cAlternatives.eContents().get(33); private final Keyword cCONTROL_LOCATION_UPDATESCONTROL_LOCATION_UPDATESKeyword_33_0 = (Keyword)cCONTROL_LOCATION_UPDATESEnumLiteralDeclaration_33.eContents().get(0); private final EnumLiteralDeclaration cDELETE_CACHE_FILESEnumLiteralDeclaration_34 = (EnumLiteralDeclaration)cAlternatives.eContents().get(34); private final Keyword cDELETE_CACHE_FILESDELETE_CACHE_FILESKeyword_34_0 = (Keyword)cDELETE_CACHE_FILESEnumLiteralDeclaration_34.eContents().get(0); private final EnumLiteralDeclaration cDELETE_PACKAGESEnumLiteralDeclaration_35 = (EnumLiteralDeclaration)cAlternatives.eContents().get(35); private final Keyword cDELETE_PACKAGESDELETE_PACKAGESKeyword_35_0 = (Keyword)cDELETE_PACKAGESEnumLiteralDeclaration_35.eContents().get(0); private final EnumLiteralDeclaration cDEVICE_POWEREnumLiteralDeclaration_36 = (EnumLiteralDeclaration)cAlternatives.eContents().get(36); private final Keyword cDEVICE_POWERDEVICE_POWERKeyword_36_0 = (Keyword)cDEVICE_POWEREnumLiteralDeclaration_36.eContents().get(0); private final EnumLiteralDeclaration cDIAGNOSTICEnumLiteralDeclaration_37 = (EnumLiteralDeclaration)cAlternatives.eContents().get(37); private final Keyword cDIAGNOSTICDIAGNOSTICKeyword_37_0 = (Keyword)cDIAGNOSTICEnumLiteralDeclaration_37.eContents().get(0); private final EnumLiteralDeclaration cDISABLE_KEYGUARDEnumLiteralDeclaration_38 = (EnumLiteralDeclaration)cAlternatives.eContents().get(38); private final Keyword cDISABLE_KEYGUARDDISABLE_KEYGUARDKeyword_38_0 = (Keyword)cDISABLE_KEYGUARDEnumLiteralDeclaration_38.eContents().get(0); private final EnumLiteralDeclaration cDUMPEnumLiteralDeclaration_39 = (EnumLiteralDeclaration)cAlternatives.eContents().get(39); private final Keyword cDUMPDUMPKeyword_39_0 = (Keyword)cDUMPEnumLiteralDeclaration_39.eContents().get(0); private final EnumLiteralDeclaration cEXPAND_STATUS_BAREnumLiteralDeclaration_40 = (EnumLiteralDeclaration)cAlternatives.eContents().get(40); private final Keyword cEXPAND_STATUS_BAREXPAND_STATUS_BARKeyword_40_0 = (Keyword)cEXPAND_STATUS_BAREnumLiteralDeclaration_40.eContents().get(0); private final EnumLiteralDeclaration cFACTORY_TESTEnumLiteralDeclaration_41 = (EnumLiteralDeclaration)cAlternatives.eContents().get(41); private final Keyword cFACTORY_TESTFACTORY_TESTKeyword_41_0 = (Keyword)cFACTORY_TESTEnumLiteralDeclaration_41.eContents().get(0); private final EnumLiteralDeclaration cFLASHLIGHTEnumLiteralDeclaration_42 = (EnumLiteralDeclaration)cAlternatives.eContents().get(42); private final Keyword cFLASHLIGHTFLASHLIGHTKeyword_42_0 = (Keyword)cFLASHLIGHTEnumLiteralDeclaration_42.eContents().get(0); private final EnumLiteralDeclaration cFORCE_BACKEnumLiteralDeclaration_43 = (EnumLiteralDeclaration)cAlternatives.eContents().get(43); private final Keyword cFORCE_BACKFORCE_BACKKeyword_43_0 = (Keyword)cFORCE_BACKEnumLiteralDeclaration_43.eContents().get(0); private final EnumLiteralDeclaration cGET_ACCOUNTSEnumLiteralDeclaration_44 = (EnumLiteralDeclaration)cAlternatives.eContents().get(44); private final Keyword cGET_ACCOUNTSGET_ACCOUNTSKeyword_44_0 = (Keyword)cGET_ACCOUNTSEnumLiteralDeclaration_44.eContents().get(0); private final EnumLiteralDeclaration cGET_PACKAGE_SIZEEnumLiteralDeclaration_45 = (EnumLiteralDeclaration)cAlternatives.eContents().get(45); private final Keyword cGET_PACKAGE_SIZEGET_PACKAGE_SIZEKeyword_45_0 = (Keyword)cGET_PACKAGE_SIZEEnumLiteralDeclaration_45.eContents().get(0); private final EnumLiteralDeclaration cGET_TASKSEnumLiteralDeclaration_46 = (EnumLiteralDeclaration)cAlternatives.eContents().get(46); private final Keyword cGET_TASKSGET_TASKSKeyword_46_0 = (Keyword)cGET_TASKSEnumLiteralDeclaration_46.eContents().get(0); private final EnumLiteralDeclaration cGLOBAL_SEARCHEnumLiteralDeclaration_47 = (EnumLiteralDeclaration)cAlternatives.eContents().get(47); private final Keyword cGLOBAL_SEARCHGLOBAL_SEARCHKeyword_47_0 = (Keyword)cGLOBAL_SEARCHEnumLiteralDeclaration_47.eContents().get(0); private final EnumLiteralDeclaration cHARDWARE_TESTEnumLiteralDeclaration_48 = (EnumLiteralDeclaration)cAlternatives.eContents().get(48); private final Keyword cHARDWARE_TESTHARDWARE_TESTKeyword_48_0 = (Keyword)cHARDWARE_TESTEnumLiteralDeclaration_48.eContents().get(0); private final EnumLiteralDeclaration cINJECT_EVENTSEnumLiteralDeclaration_49 = (EnumLiteralDeclaration)cAlternatives.eContents().get(49); private final Keyword cINJECT_EVENTSINJECT_EVENTSKeyword_49_0 = (Keyword)cINJECT_EVENTSEnumLiteralDeclaration_49.eContents().get(0); private final EnumLiteralDeclaration cINSTALL_LOCATION_PROVIDEREnumLiteralDeclaration_50 = (EnumLiteralDeclaration)cAlternatives.eContents().get(50); private final Keyword cINSTALL_LOCATION_PROVIDERINSTALL_LOCATION_PROVIDERKeyword_50_0 = (Keyword)cINSTALL_LOCATION_PROVIDEREnumLiteralDeclaration_50.eContents().get(0); private final EnumLiteralDeclaration cINSTALL_PACKAGESEnumLiteralDeclaration_51 = (EnumLiteralDeclaration)cAlternatives.eContents().get(51); private final Keyword cINSTALL_PACKAGESINSTALL_PACKAGESKeyword_51_0 = (Keyword)cINSTALL_PACKAGESEnumLiteralDeclaration_51.eContents().get(0); private final EnumLiteralDeclaration cINTERNAL_SYSTEM_WINDOWEnumLiteralDeclaration_52 = (EnumLiteralDeclaration)cAlternatives.eContents().get(52); private final Keyword cINTERNAL_SYSTEM_WINDOWINTERNAL_SYSTEM_WINDOWKeyword_52_0 = (Keyword)cINTERNAL_SYSTEM_WINDOWEnumLiteralDeclaration_52.eContents().get(0); private final EnumLiteralDeclaration cINTERNETEnumLiteralDeclaration_53 = (EnumLiteralDeclaration)cAlternatives.eContents().get(53); private final Keyword cINTERNETINTERNETKeyword_53_0 = (Keyword)cINTERNETEnumLiteralDeclaration_53.eContents().get(0); private final EnumLiteralDeclaration cKILL_BACKGROUND_PROCESSESEnumLiteralDeclaration_54 = (EnumLiteralDeclaration)cAlternatives.eContents().get(54); private final Keyword cKILL_BACKGROUND_PROCESSESKILL_BACKGROUND_PROCESSESKeyword_54_0 = (Keyword)cKILL_BACKGROUND_PROCESSESEnumLiteralDeclaration_54.eContents().get(0); private final EnumLiteralDeclaration cMANAGE_ACCOUNTSEnumLiteralDeclaration_55 = (EnumLiteralDeclaration)cAlternatives.eContents().get(55); private final Keyword cMANAGE_ACCOUNTSMANAGE_ACCOUNTSKeyword_55_0 = (Keyword)cMANAGE_ACCOUNTSEnumLiteralDeclaration_55.eContents().get(0); private final EnumLiteralDeclaration cMANAGE_APP_TOKENSEnumLiteralDeclaration_56 = (EnumLiteralDeclaration)cAlternatives.eContents().get(56); private final Keyword cMANAGE_APP_TOKENSMANAGE_APP_TOKENSKeyword_56_0 = (Keyword)cMANAGE_APP_TOKENSEnumLiteralDeclaration_56.eContents().get(0); private final EnumLiteralDeclaration cMASTER_CLEAREnumLiteralDeclaration_57 = (EnumLiteralDeclaration)cAlternatives.eContents().get(57); private final Keyword cMASTER_CLEARMASTER_CLEARKeyword_57_0 = (Keyword)cMASTER_CLEAREnumLiteralDeclaration_57.eContents().get(0); private final EnumLiteralDeclaration cMODIFY_AUDIO_SETTINGSEnumLiteralDeclaration_58 = (EnumLiteralDeclaration)cAlternatives.eContents().get(58); private final Keyword cMODIFY_AUDIO_SETTINGSMODIFY_AUDIO_SETTINGSKeyword_58_0 = (Keyword)cMODIFY_AUDIO_SETTINGSEnumLiteralDeclaration_58.eContents().get(0); private final EnumLiteralDeclaration cMODIFY_PHONE_STATEEnumLiteralDeclaration_59 = (EnumLiteralDeclaration)cAlternatives.eContents().get(59); private final Keyword cMODIFY_PHONE_STATEMODIFY_PHONE_STATEKeyword_59_0 = (Keyword)cMODIFY_PHONE_STATEEnumLiteralDeclaration_59.eContents().get(0); private final EnumLiteralDeclaration cMOUNT_FORMAT_FILESYSTEMSEnumLiteralDeclaration_60 = (EnumLiteralDeclaration)cAlternatives.eContents().get(60); private final Keyword cMOUNT_FORMAT_FILESYSTEMSMOUNT_FORMAT_FILESYSTEMSKeyword_60_0 = (Keyword)cMOUNT_FORMAT_FILESYSTEMSEnumLiteralDeclaration_60.eContents().get(0); private final EnumLiteralDeclaration cMOUNT_UNMOUNT_FILESYSTEMSEnumLiteralDeclaration_61 = (EnumLiteralDeclaration)cAlternatives.eContents().get(61); private final Keyword cMOUNT_UNMOUNT_FILESYSTEMSMOUNT_UNMOUNT_FILESYSTEMSKeyword_61_0 = (Keyword)cMOUNT_UNMOUNT_FILESYSTEMSEnumLiteralDeclaration_61.eContents().get(0); private final EnumLiteralDeclaration cNFCEnumLiteralDeclaration_62 = (EnumLiteralDeclaration)cAlternatives.eContents().get(62); private final Keyword cNFCNFCKeyword_62_0 = (Keyword)cNFCEnumLiteralDeclaration_62.eContents().get(0); private final EnumLiteralDeclaration cPERSISTENT_ACTIVITYEnumLiteralDeclaration_63 = (EnumLiteralDeclaration)cAlternatives.eContents().get(63); private final Keyword cPERSISTENT_ACTIVITYPERSISTENT_ACTIVITYKeyword_63_0 = (Keyword)cPERSISTENT_ACTIVITYEnumLiteralDeclaration_63.eContents().get(0); private final EnumLiteralDeclaration cPROCESS_OUTGOING_CALLSEnumLiteralDeclaration_64 = (EnumLiteralDeclaration)cAlternatives.eContents().get(64); private final Keyword cPROCESS_OUTGOING_CALLSPROCESS_OUTGOING_CALLSKeyword_64_0 = (Keyword)cPROCESS_OUTGOING_CALLSEnumLiteralDeclaration_64.eContents().get(0); private final EnumLiteralDeclaration cREAD_CALENDAREnumLiteralDeclaration_65 = (EnumLiteralDeclaration)cAlternatives.eContents().get(65); private final Keyword cREAD_CALENDARREAD_CALENDARKeyword_65_0 = (Keyword)cREAD_CALENDAREnumLiteralDeclaration_65.eContents().get(0); private final EnumLiteralDeclaration cREAD_CONTACTSEnumLiteralDeclaration_66 = (EnumLiteralDeclaration)cAlternatives.eContents().get(66); private final Keyword cREAD_CONTACTSREAD_CONTACTSKeyword_66_0 = (Keyword)cREAD_CONTACTSEnumLiteralDeclaration_66.eContents().get(0); private final EnumLiteralDeclaration cREAD_FRAME_BUFFEREnumLiteralDeclaration_67 = (EnumLiteralDeclaration)cAlternatives.eContents().get(67); private final Keyword cREAD_FRAME_BUFFERREAD_FRAME_BUFFERKeyword_67_0 = (Keyword)cREAD_FRAME_BUFFEREnumLiteralDeclaration_67.eContents().get(0); private final EnumLiteralDeclaration cREAD_HISTORY_BOOKMARKSEnumLiteralDeclaration_68 = (EnumLiteralDeclaration)cAlternatives.eContents().get(68); private final Keyword cREAD_HISTORY_BOOKMARKSREAD_HISTORY_BOOKMARKSKeyword_68_0 = (Keyword)cREAD_HISTORY_BOOKMARKSEnumLiteralDeclaration_68.eContents().get(0); private final EnumLiteralDeclaration cREAD_INPUT_STATEEnumLiteralDeclaration_69 = (EnumLiteralDeclaration)cAlternatives.eContents().get(69); private final Keyword cREAD_INPUT_STATEREAD_INPUT_STATEKeyword_69_0 = (Keyword)cREAD_INPUT_STATEEnumLiteralDeclaration_69.eContents().get(0); private final EnumLiteralDeclaration cREAD_LOGSEnumLiteralDeclaration_70 = (EnumLiteralDeclaration)cAlternatives.eContents().get(70); private final Keyword cREAD_LOGSREAD_LOGSKeyword_70_0 = (Keyword)cREAD_LOGSEnumLiteralDeclaration_70.eContents().get(0); private final EnumLiteralDeclaration cREAD_PHONE_STATEEnumLiteralDeclaration_71 = (EnumLiteralDeclaration)cAlternatives.eContents().get(71); private final Keyword cREAD_PHONE_STATEREAD_PHONE_STATEKeyword_71_0 = (Keyword)cREAD_PHONE_STATEEnumLiteralDeclaration_71.eContents().get(0); private final EnumLiteralDeclaration cREAD_SMSEnumLiteralDeclaration_72 = (EnumLiteralDeclaration)cAlternatives.eContents().get(72); private final Keyword cREAD_SMSREAD_SMSKeyword_72_0 = (Keyword)cREAD_SMSEnumLiteralDeclaration_72.eContents().get(0); private final EnumLiteralDeclaration cREAD_SYNC_SETTINGSEnumLiteralDeclaration_73 = (EnumLiteralDeclaration)cAlternatives.eContents().get(73); private final Keyword cREAD_SYNC_SETTINGSREAD_SYNC_SETTINGSKeyword_73_0 = (Keyword)cREAD_SYNC_SETTINGSEnumLiteralDeclaration_73.eContents().get(0); private final EnumLiteralDeclaration cREAD_SYNC_STATSEnumLiteralDeclaration_74 = (EnumLiteralDeclaration)cAlternatives.eContents().get(74); private final Keyword cREAD_SYNC_STATSREAD_SYNC_STATSKeyword_74_0 = (Keyword)cREAD_SYNC_STATSEnumLiteralDeclaration_74.eContents().get(0); private final EnumLiteralDeclaration cREBOOTEnumLiteralDeclaration_75 = (EnumLiteralDeclaration)cAlternatives.eContents().get(75); private final Keyword cREBOOTREBOOTKeyword_75_0 = (Keyword)cREBOOTEnumLiteralDeclaration_75.eContents().get(0); private final EnumLiteralDeclaration cRECEIVE_BOOT_COMPLETEDEnumLiteralDeclaration_76 = (EnumLiteralDeclaration)cAlternatives.eContents().get(76); private final Keyword cRECEIVE_BOOT_COMPLETEDRECEIVE_BOOT_COMPLETEDKeyword_76_0 = (Keyword)cRECEIVE_BOOT_COMPLETEDEnumLiteralDeclaration_76.eContents().get(0); private final EnumLiteralDeclaration cRECEIVE_MMSEnumLiteralDeclaration_77 = (EnumLiteralDeclaration)cAlternatives.eContents().get(77); private final Keyword cRECEIVE_MMSRECEIVE_MMSKeyword_77_0 = (Keyword)cRECEIVE_MMSEnumLiteralDeclaration_77.eContents().get(0); private final EnumLiteralDeclaration cRECEIVE_SMSEnumLiteralDeclaration_78 = (EnumLiteralDeclaration)cAlternatives.eContents().get(78); private final Keyword cRECEIVE_SMSRECEIVE_SMSKeyword_78_0 = (Keyword)cRECEIVE_SMSEnumLiteralDeclaration_78.eContents().get(0); private final EnumLiteralDeclaration cRECEIVE_WAP_PUSHEnumLiteralDeclaration_79 = (EnumLiteralDeclaration)cAlternatives.eContents().get(79); private final Keyword cRECEIVE_WAP_PUSHRECEIVE_WAP_PUSHKeyword_79_0 = (Keyword)cRECEIVE_WAP_PUSHEnumLiteralDeclaration_79.eContents().get(0); private final EnumLiteralDeclaration cRECORD_AUDIOEnumLiteralDeclaration_80 = (EnumLiteralDeclaration)cAlternatives.eContents().get(80); private final Keyword cRECORD_AUDIORECORD_AUDIOKeyword_80_0 = (Keyword)cRECORD_AUDIOEnumLiteralDeclaration_80.eContents().get(0); private final EnumLiteralDeclaration cREORDER_TASKSEnumLiteralDeclaration_81 = (EnumLiteralDeclaration)cAlternatives.eContents().get(81); private final Keyword cREORDER_TASKSREORDER_TASKSKeyword_81_0 = (Keyword)cREORDER_TASKSEnumLiteralDeclaration_81.eContents().get(0); private final EnumLiteralDeclaration cRESTART_PACKAGESEnumLiteralDeclaration_82 = (EnumLiteralDeclaration)cAlternatives.eContents().get(82); private final Keyword cRESTART_PACKAGESRESTART_PACKAGESKeyword_82_0 = (Keyword)cRESTART_PACKAGESEnumLiteralDeclaration_82.eContents().get(0); private final EnumLiteralDeclaration cSEND_SMSEnumLiteralDeclaration_83 = (EnumLiteralDeclaration)cAlternatives.eContents().get(83); private final Keyword cSEND_SMSSEND_SMSKeyword_83_0 = (Keyword)cSEND_SMSEnumLiteralDeclaration_83.eContents().get(0); private final EnumLiteralDeclaration cSET_ACTIVITY_WATCHEREnumLiteralDeclaration_84 = (EnumLiteralDeclaration)cAlternatives.eContents().get(84); private final Keyword cSET_ACTIVITY_WATCHERSET_ACTIVITY_WATCHERKeyword_84_0 = (Keyword)cSET_ACTIVITY_WATCHEREnumLiteralDeclaration_84.eContents().get(0); private final EnumLiteralDeclaration cSET_ALARMEnumLiteralDeclaration_85 = (EnumLiteralDeclaration)cAlternatives.eContents().get(85); private final Keyword cSET_ALARMSET_ALARMKeyword_85_0 = (Keyword)cSET_ALARMEnumLiteralDeclaration_85.eContents().get(0); private final EnumLiteralDeclaration cSET_ALWAYS_FINISHEnumLiteralDeclaration_86 = (EnumLiteralDeclaration)cAlternatives.eContents().get(86); private final Keyword cSET_ALWAYS_FINISHSET_ALWAYS_FINISHKeyword_86_0 = (Keyword)cSET_ALWAYS_FINISHEnumLiteralDeclaration_86.eContents().get(0); private final EnumLiteralDeclaration cSET_ANIMATION_SCALEEnumLiteralDeclaration_87 = (EnumLiteralDeclaration)cAlternatives.eContents().get(87); private final Keyword cSET_ANIMATION_SCALESET_ANIMATION_SCALEKeyword_87_0 = (Keyword)cSET_ANIMATION_SCALEEnumLiteralDeclaration_87.eContents().get(0); private final EnumLiteralDeclaration cSET_DEBUG_APPEnumLiteralDeclaration_88 = (EnumLiteralDeclaration)cAlternatives.eContents().get(88); private final Keyword cSET_DEBUG_APPSET_DEBUG_APPKeyword_88_0 = (Keyword)cSET_DEBUG_APPEnumLiteralDeclaration_88.eContents().get(0); private final EnumLiteralDeclaration cSET_ORIENTATIONEnumLiteralDeclaration_89 = (EnumLiteralDeclaration)cAlternatives.eContents().get(89); private final Keyword cSET_ORIENTATIONSET_ORIENTATIONKeyword_89_0 = (Keyword)cSET_ORIENTATIONEnumLiteralDeclaration_89.eContents().get(0); private final EnumLiteralDeclaration cSET_PREFERRED_APPLICATIONSEnumLiteralDeclaration_90 = (EnumLiteralDeclaration)cAlternatives.eContents().get(90); private final Keyword cSET_PREFERRED_APPLICATIONSSET_PREFERRED_APPLICATIONSKeyword_90_0 = (Keyword)cSET_PREFERRED_APPLICATIONSEnumLiteralDeclaration_90.eContents().get(0); private final EnumLiteralDeclaration cSET_PROCESS_LIMITEnumLiteralDeclaration_91 = (EnumLiteralDeclaration)cAlternatives.eContents().get(91); private final Keyword cSET_PROCESS_LIMITSET_PROCESS_LIMITKeyword_91_0 = (Keyword)cSET_PROCESS_LIMITEnumLiteralDeclaration_91.eContents().get(0); private final EnumLiteralDeclaration cSET_TIMEEnumLiteralDeclaration_92 = (EnumLiteralDeclaration)cAlternatives.eContents().get(92); private final Keyword cSET_TIMESET_TIMEKeyword_92_0 = (Keyword)cSET_TIMEEnumLiteralDeclaration_92.eContents().get(0); private final EnumLiteralDeclaration cSET_TIME_ZONEEnumLiteralDeclaration_93 = (EnumLiteralDeclaration)cAlternatives.eContents().get(93); private final Keyword cSET_TIME_ZONESET_TIME_ZONEKeyword_93_0 = (Keyword)cSET_TIME_ZONEEnumLiteralDeclaration_93.eContents().get(0); private final EnumLiteralDeclaration cSET_WALLPAPEREnumLiteralDeclaration_94 = (EnumLiteralDeclaration)cAlternatives.eContents().get(94); private final Keyword cSET_WALLPAPERSET_WALLPAPERKeyword_94_0 = (Keyword)cSET_WALLPAPEREnumLiteralDeclaration_94.eContents().get(0); private final EnumLiteralDeclaration cSET_WALLPAPER_HINTSEnumLiteralDeclaration_95 = (EnumLiteralDeclaration)cAlternatives.eContents().get(95); private final Keyword cSET_WALLPAPER_HINTSSET_WALLPAPER_HINTSKeyword_95_0 = (Keyword)cSET_WALLPAPER_HINTSEnumLiteralDeclaration_95.eContents().get(0); private final EnumLiteralDeclaration cSIGNAL_PERSISTENT_PROCESSESEnumLiteralDeclaration_96 = (EnumLiteralDeclaration)cAlternatives.eContents().get(96); private final Keyword cSIGNAL_PERSISTENT_PROCESSESSIGNAL_PERSISTENT_PROCESSESKeyword_96_0 = (Keyword)cSIGNAL_PERSISTENT_PROCESSESEnumLiteralDeclaration_96.eContents().get(0); private final EnumLiteralDeclaration cSTATUS_BAREnumLiteralDeclaration_97 = (EnumLiteralDeclaration)cAlternatives.eContents().get(97); private final Keyword cSTATUS_BARSTATUS_BARKeyword_97_0 = (Keyword)cSTATUS_BAREnumLiteralDeclaration_97.eContents().get(0); private final EnumLiteralDeclaration cSUBSCRIBED_FEEDS_READEnumLiteralDeclaration_98 = (EnumLiteralDeclaration)cAlternatives.eContents().get(98); private final Keyword cSUBSCRIBED_FEEDS_READSUBSCRIBED_FEEDS_READKeyword_98_0 = (Keyword)cSUBSCRIBED_FEEDS_READEnumLiteralDeclaration_98.eContents().get(0); private final EnumLiteralDeclaration cSUBSCRIBED_FEEDS_WRITEEnumLiteralDeclaration_99 = (EnumLiteralDeclaration)cAlternatives.eContents().get(99); private final Keyword cSUBSCRIBED_FEEDS_WRITESUBSCRIBED_FEEDS_WRITEKeyword_99_0 = (Keyword)cSUBSCRIBED_FEEDS_WRITEEnumLiteralDeclaration_99.eContents().get(0); private final EnumLiteralDeclaration cSYSTEM_ALERT_WINDOWEnumLiteralDeclaration_100 = (EnumLiteralDeclaration)cAlternatives.eContents().get(100); private final Keyword cSYSTEM_ALERT_WINDOWSYSTEM_ALERT_WINDOWKeyword_100_0 = (Keyword)cSYSTEM_ALERT_WINDOWEnumLiteralDeclaration_100.eContents().get(0); private final EnumLiteralDeclaration cUPDATE_DEVICE_STATSEnumLiteralDeclaration_101 = (EnumLiteralDeclaration)cAlternatives.eContents().get(101); private final Keyword cUPDATE_DEVICE_STATSUPDATE_DEVICE_STATSKeyword_101_0 = (Keyword)cUPDATE_DEVICE_STATSEnumLiteralDeclaration_101.eContents().get(0); private final EnumLiteralDeclaration cUSE_CREDENTIALSEnumLiteralDeclaration_102 = (EnumLiteralDeclaration)cAlternatives.eContents().get(102); private final Keyword cUSE_CREDENTIALSUSE_CREDENTIALSKeyword_102_0 = (Keyword)cUSE_CREDENTIALSEnumLiteralDeclaration_102.eContents().get(0); private final EnumLiteralDeclaration cUSE_SIPEnumLiteralDeclaration_103 = (EnumLiteralDeclaration)cAlternatives.eContents().get(103); private final Keyword cUSE_SIPUSE_SIPKeyword_103_0 = (Keyword)cUSE_SIPEnumLiteralDeclaration_103.eContents().get(0); private final EnumLiteralDeclaration cVIBRATEEnumLiteralDeclaration_104 = (EnumLiteralDeclaration)cAlternatives.eContents().get(104); private final Keyword cVIBRATEVIBRATEKeyword_104_0 = (Keyword)cVIBRATEEnumLiteralDeclaration_104.eContents().get(0); private final EnumLiteralDeclaration cWAKE_LOCKEnumLiteralDeclaration_105 = (EnumLiteralDeclaration)cAlternatives.eContents().get(105); private final Keyword cWAKE_LOCKWAKE_LOCKKeyword_105_0 = (Keyword)cWAKE_LOCKEnumLiteralDeclaration_105.eContents().get(0); private final EnumLiteralDeclaration cWRITE_APN_SETTINGSEnumLiteralDeclaration_106 = (EnumLiteralDeclaration)cAlternatives.eContents().get(106); private final Keyword cWRITE_APN_SETTINGSWRITE_APN_SETTINGSKeyword_106_0 = (Keyword)cWRITE_APN_SETTINGSEnumLiteralDeclaration_106.eContents().get(0); private final EnumLiteralDeclaration cWRITE_CALENDAREnumLiteralDeclaration_107 = (EnumLiteralDeclaration)cAlternatives.eContents().get(107); private final Keyword cWRITE_CALENDARWRITE_CALENDARKeyword_107_0 = (Keyword)cWRITE_CALENDAREnumLiteralDeclaration_107.eContents().get(0); private final EnumLiteralDeclaration cWRITE_CONTACTSEnumLiteralDeclaration_108 = (EnumLiteralDeclaration)cAlternatives.eContents().get(108); private final Keyword cWRITE_CONTACTSWRITE_CONTACTSKeyword_108_0 = (Keyword)cWRITE_CONTACTSEnumLiteralDeclaration_108.eContents().get(0); private final EnumLiteralDeclaration cWRITE_EXTERNAL_STORAGEEnumLiteralDeclaration_109 = (EnumLiteralDeclaration)cAlternatives.eContents().get(109); private final Keyword cWRITE_EXTERNAL_STORAGEWRITE_EXTERNAL_STORAGEKeyword_109_0 = (Keyword)cWRITE_EXTERNAL_STORAGEEnumLiteralDeclaration_109.eContents().get(0); private final EnumLiteralDeclaration cWRITE_GSERVICESEnumLiteralDeclaration_110 = (EnumLiteralDeclaration)cAlternatives.eContents().get(110); private final Keyword cWRITE_GSERVICESWRITE_GSERVICESKeyword_110_0 = (Keyword)cWRITE_GSERVICESEnumLiteralDeclaration_110.eContents().get(0); private final EnumLiteralDeclaration cWRITE_HISTORY_BOOKMARKSEnumLiteralDeclaration_111 = (EnumLiteralDeclaration)cAlternatives.eContents().get(111); private final Keyword cWRITE_HISTORY_BOOKMARKSWRITE_HISTORY_BOOKMARKSKeyword_111_0 = (Keyword)cWRITE_HISTORY_BOOKMARKSEnumLiteralDeclaration_111.eContents().get(0); private final EnumLiteralDeclaration cWRITE_SECURE_SETTINGSEnumLiteralDeclaration_112 = (EnumLiteralDeclaration)cAlternatives.eContents().get(112); private final Keyword cWRITE_SECURE_SETTINGSWRITE_SECURE_SETTINGSKeyword_112_0 = (Keyword)cWRITE_SECURE_SETTINGSEnumLiteralDeclaration_112.eContents().get(0); private final EnumLiteralDeclaration cWRITE_SETTINGSEnumLiteralDeclaration_113 = (EnumLiteralDeclaration)cAlternatives.eContents().get(113); private final Keyword cWRITE_SETTINGSWRITE_SETTINGSKeyword_113_0 = (Keyword)cWRITE_SETTINGSEnumLiteralDeclaration_113.eContents().get(0); private final EnumLiteralDeclaration cWRITE_SMSEnumLiteralDeclaration_114 = (EnumLiteralDeclaration)cAlternatives.eContents().get(114); private final Keyword cWRITE_SMSWRITE_SMSKeyword_114_0 = (Keyword)cWRITE_SMSEnumLiteralDeclaration_114.eContents().get(0); private final EnumLiteralDeclaration cWRITE_SYNC_SETTINGSEnumLiteralDeclaration_115 = (EnumLiteralDeclaration)cAlternatives.eContents().get(115); private final Keyword cWRITE_SYNC_SETTINGSWRITE_SYNC_SETTINGSKeyword_115_0 = (Keyword)cWRITE_SYNC_SETTINGSEnumLiteralDeclaration_115.eContents().get(0); /// ****************************************************************************** // * Concrete Syntax Stuff // ****************************************************************************** // * // * Enumerations // * /enum BuiltInPermissionType: // ACCESS_CHECKIN_PROPERTIES | ACCESS_COARSE_LOCATION | ACCESS_FINE_LOCATION | ACCESS_LOCATION_EXTRA_COMMANDS | // ACCESS_MOCK_LOCATION | ACCESS_NETWORK_STATE | ACCESS_SURFACE_FLINGER | ACCESS_WIFI_STATE | ACCOUNT_MANAGER | // AUTHENTICATE_ACCOUNTS | BATTERY_STATS | BIND_APPWIDGET | BIND_DEVICE_ADMIN | BIND_INPUT_METHOD | BIND_REMOTEVIEWS | // BIND_WALLPAPER | BLUETOOTH | BLUETOOTH_ADMIN | BRICK | BROADCAST_PACKAGE_REMOVED | BROADCAST_SMS | BROADCAST_STICKY | // BROADCAST_WAP_PUSH | CALL_PHONE | CALL_PRIVILEGED | CAMERA | CHANGE_COMPONENT_ENABLED_STATE | CHANGE_CONFIGURATION | // CHANGE_NETWORK_STATE | CHANGE_WIFI_MULTICAST_STATE | CHANGE_WIFI_STATE | CLEAR_APP_CACHE | CLEAR_APP_USER_DATA | // CONTROL_LOCATION_UPDATES | DELETE_CACHE_FILES | DELETE_PACKAGES | DEVICE_POWER | DIAGNOSTIC | DISABLE_KEYGUARD | DUMP // | EXPAND_STATUS_BAR | FACTORY_TEST | FLASHLIGHT | FORCE_BACK | GET_ACCOUNTS | GET_PACKAGE_SIZE | GET_TASKS | // GLOBAL_SEARCH | HARDWARE_TEST | INJECT_EVENTS | INSTALL_LOCATION_PROVIDER | INSTALL_PACKAGES | INTERNAL_SYSTEM_WINDOW // | INTERNET | KILL_BACKGROUND_PROCESSES | MANAGE_ACCOUNTS | MANAGE_APP_TOKENS | MASTER_CLEAR | MODIFY_AUDIO_SETTINGS | // MODIFY_PHONE_STATE | MOUNT_FORMAT_FILESYSTEMS | MOUNT_UNMOUNT_FILESYSTEMS | NFC | PERSISTENT_ACTIVITY | // PROCESS_OUTGOING_CALLS | READ_CALENDAR | READ_CONTACTS | READ_FRAME_BUFFER | READ_HISTORY_BOOKMARKS | READ_INPUT_STATE // | READ_LOGS | READ_PHONE_STATE | READ_SMS | READ_SYNC_SETTINGS | READ_SYNC_STATS | REBOOT | RECEIVE_BOOT_COMPLETED | // RECEIVE_MMS | RECEIVE_SMS | RECEIVE_WAP_PUSH | RECORD_AUDIO | REORDER_TASKS | RESTART_PACKAGES | SEND_SMS | // SET_ACTIVITY_WATCHER | SET_ALARM | SET_ALWAYS_FINISH | SET_ANIMATION_SCALE | SET_DEBUG_APP | SET_ORIENTATION | // SET_PREFERRED_APPLICATIONS | SET_PROCESS_LIMIT | SET_TIME | SET_TIME_ZONE | SET_WALLPAPER | SET_WALLPAPER_HINTS | // SIGNAL_PERSISTENT_PROCESSES | STATUS_BAR | SUBSCRIBED_FEEDS_READ | SUBSCRIBED_FEEDS_WRITE | SYSTEM_ALERT_WINDOW | // UPDATE_DEVICE_STATS | USE_CREDENTIALS | USE_SIP | VIBRATE | WAKE_LOCK | WRITE_APN_SETTINGS | WRITE_CALENDAR | // WRITE_CONTACTS | WRITE_EXTERNAL_STORAGE | WRITE_GSERVICES | WRITE_HISTORY_BOOKMARKS | WRITE_SECURE_SETTINGS | // WRITE_SETTINGS | WRITE_SMS | WRITE_SYNC_SETTINGS; public EnumRule getRule() { return rule; } //ACCESS_CHECKIN_PROPERTIES | ACCESS_COARSE_LOCATION | ACCESS_FINE_LOCATION | ACCESS_LOCATION_EXTRA_COMMANDS | //ACCESS_MOCK_LOCATION | ACCESS_NETWORK_STATE | ACCESS_SURFACE_FLINGER | ACCESS_WIFI_STATE | ACCOUNT_MANAGER | //AUTHENTICATE_ACCOUNTS | BATTERY_STATS | BIND_APPWIDGET | BIND_DEVICE_ADMIN | BIND_INPUT_METHOD | BIND_REMOTEVIEWS | //BIND_WALLPAPER | BLUETOOTH | BLUETOOTH_ADMIN | BRICK | BROADCAST_PACKAGE_REMOVED | BROADCAST_SMS | BROADCAST_STICKY | //BROADCAST_WAP_PUSH | CALL_PHONE | CALL_PRIVILEGED | CAMERA | CHANGE_COMPONENT_ENABLED_STATE | CHANGE_CONFIGURATION | //CHANGE_NETWORK_STATE | CHANGE_WIFI_MULTICAST_STATE | CHANGE_WIFI_STATE | CLEAR_APP_CACHE | CLEAR_APP_USER_DATA | //CONTROL_LOCATION_UPDATES | DELETE_CACHE_FILES | DELETE_PACKAGES | DEVICE_POWER | DIAGNOSTIC | DISABLE_KEYGUARD | DUMP | //EXPAND_STATUS_BAR | FACTORY_TEST | FLASHLIGHT | FORCE_BACK | GET_ACCOUNTS | GET_PACKAGE_SIZE | GET_TASKS | //GLOBAL_SEARCH | HARDWARE_TEST | INJECT_EVENTS | INSTALL_LOCATION_PROVIDER | INSTALL_PACKAGES | INTERNAL_SYSTEM_WINDOW | //INTERNET | KILL_BACKGROUND_PROCESSES | MANAGE_ACCOUNTS | MANAGE_APP_TOKENS | MASTER_CLEAR | MODIFY_AUDIO_SETTINGS | //MODIFY_PHONE_STATE | MOUNT_FORMAT_FILESYSTEMS | MOUNT_UNMOUNT_FILESYSTEMS | NFC | PERSISTENT_ACTIVITY | //PROCESS_OUTGOING_CALLS | READ_CALENDAR | READ_CONTACTS | READ_FRAME_BUFFER | READ_HISTORY_BOOKMARKS | READ_INPUT_STATE //| READ_LOGS | READ_PHONE_STATE | READ_SMS | READ_SYNC_SETTINGS | READ_SYNC_STATS | REBOOT | RECEIVE_BOOT_COMPLETED | //RECEIVE_MMS | RECEIVE_SMS | RECEIVE_WAP_PUSH | RECORD_AUDIO | REORDER_TASKS | RESTART_PACKAGES | SEND_SMS | //SET_ACTIVITY_WATCHER | SET_ALARM | SET_ALWAYS_FINISH | SET_ANIMATION_SCALE | SET_DEBUG_APP | SET_ORIENTATION | //SET_PREFERRED_APPLICATIONS | SET_PROCESS_LIMIT | SET_TIME | SET_TIME_ZONE | SET_WALLPAPER | SET_WALLPAPER_HINTS | //SIGNAL_PERSISTENT_PROCESSES | STATUS_BAR | SUBSCRIBED_FEEDS_READ | SUBSCRIBED_FEEDS_WRITE | SYSTEM_ALERT_WINDOW | //UPDATE_DEVICE_STATS | USE_CREDENTIALS | USE_SIP | VIBRATE | WAKE_LOCK | WRITE_APN_SETTINGS | WRITE_CALENDAR | //WRITE_CONTACTS | WRITE_EXTERNAL_STORAGE | WRITE_GSERVICES | WRITE_HISTORY_BOOKMARKS | WRITE_SECURE_SETTINGS | //WRITE_SETTINGS | WRITE_SMS | WRITE_SYNC_SETTINGS public Alternatives getAlternatives() { return cAlternatives; } //ACCESS_CHECKIN_PROPERTIES public EnumLiteralDeclaration getACCESS_CHECKIN_PROPERTIESEnumLiteralDeclaration_0() { return cACCESS_CHECKIN_PROPERTIESEnumLiteralDeclaration_0; } //"ACCESS_CHECKIN_PROPERTIES" public Keyword getACCESS_CHECKIN_PROPERTIESACCESS_CHECKIN_PROPERTIESKeyword_0_0() { return cACCESS_CHECKIN_PROPERTIESACCESS_CHECKIN_PROPERTIESKeyword_0_0; } //ACCESS_COARSE_LOCATION public EnumLiteralDeclaration getACCESS_COARSE_LOCATIONEnumLiteralDeclaration_1() { return cACCESS_COARSE_LOCATIONEnumLiteralDeclaration_1; } //"ACCESS_COARSE_LOCATION" public Keyword getACCESS_COARSE_LOCATIONACCESS_COARSE_LOCATIONKeyword_1_0() { return cACCESS_COARSE_LOCATIONACCESS_COARSE_LOCATIONKeyword_1_0; } //ACCESS_FINE_LOCATION public EnumLiteralDeclaration getACCESS_FINE_LOCATIONEnumLiteralDeclaration_2() { return cACCESS_FINE_LOCATIONEnumLiteralDeclaration_2; } //"ACCESS_FINE_LOCATION" public Keyword getACCESS_FINE_LOCATIONACCESS_FINE_LOCATIONKeyword_2_0() { return cACCESS_FINE_LOCATIONACCESS_FINE_LOCATIONKeyword_2_0; } //ACCESS_LOCATION_EXTRA_COMMANDS public EnumLiteralDeclaration getACCESS_LOCATION_EXTRA_COMMANDSEnumLiteralDeclaration_3() { return cACCESS_LOCATION_EXTRA_COMMANDSEnumLiteralDeclaration_3; } //"ACCESS_LOCATION_EXTRA_COMMANDS" public Keyword getACCESS_LOCATION_EXTRA_COMMANDSACCESS_LOCATION_EXTRA_COMMANDSKeyword_3_0() { return cACCESS_LOCATION_EXTRA_COMMANDSACCESS_LOCATION_EXTRA_COMMANDSKeyword_3_0; } //ACCESS_MOCK_LOCATION public EnumLiteralDeclaration getACCESS_MOCK_LOCATIONEnumLiteralDeclaration_4() { return cACCESS_MOCK_LOCATIONEnumLiteralDeclaration_4; } //"ACCESS_MOCK_LOCATION" public Keyword getACCESS_MOCK_LOCATIONACCESS_MOCK_LOCATIONKeyword_4_0() { return cACCESS_MOCK_LOCATIONACCESS_MOCK_LOCATIONKeyword_4_0; } //ACCESS_NETWORK_STATE public EnumLiteralDeclaration getACCESS_NETWORK_STATEEnumLiteralDeclaration_5() { return cACCESS_NETWORK_STATEEnumLiteralDeclaration_5; } //"ACCESS_NETWORK_STATE" public Keyword getACCESS_NETWORK_STATEACCESS_NETWORK_STATEKeyword_5_0() { return cACCESS_NETWORK_STATEACCESS_NETWORK_STATEKeyword_5_0; } //ACCESS_SURFACE_FLINGER public EnumLiteralDeclaration getACCESS_SURFACE_FLINGEREnumLiteralDeclaration_6() { return cACCESS_SURFACE_FLINGEREnumLiteralDeclaration_6; } //"ACCESS_SURFACE_FLINGER" public Keyword getACCESS_SURFACE_FLINGERACCESS_SURFACE_FLINGERKeyword_6_0() { return cACCESS_SURFACE_FLINGERACCESS_SURFACE_FLINGERKeyword_6_0; } //ACCESS_WIFI_STATE public EnumLiteralDeclaration getACCESS_WIFI_STATEEnumLiteralDeclaration_7() { return cACCESS_WIFI_STATEEnumLiteralDeclaration_7; } //"ACCESS_WIFI_STATE" public Keyword getACCESS_WIFI_STATEACCESS_WIFI_STATEKeyword_7_0() { return cACCESS_WIFI_STATEACCESS_WIFI_STATEKeyword_7_0; } //ACCOUNT_MANAGER public EnumLiteralDeclaration getACCOUNT_MANAGEREnumLiteralDeclaration_8() { return cACCOUNT_MANAGEREnumLiteralDeclaration_8; } //"ACCOUNT_MANAGER" public Keyword getACCOUNT_MANAGERACCOUNT_MANAGERKeyword_8_0() { return cACCOUNT_MANAGERACCOUNT_MANAGERKeyword_8_0; } //AUTHENTICATE_ACCOUNTS public EnumLiteralDeclaration getAUTHENTICATE_ACCOUNTSEnumLiteralDeclaration_9() { return cAUTHENTICATE_ACCOUNTSEnumLiteralDeclaration_9; } //"AUTHENTICATE_ACCOUNTS" public Keyword getAUTHENTICATE_ACCOUNTSAUTHENTICATE_ACCOUNTSKeyword_9_0() { return cAUTHENTICATE_ACCOUNTSAUTHENTICATE_ACCOUNTSKeyword_9_0; } //BATTERY_STATS public EnumLiteralDeclaration getBATTERY_STATSEnumLiteralDeclaration_10() { return cBATTERY_STATSEnumLiteralDeclaration_10; } //"BATTERY_STATS" public Keyword getBATTERY_STATSBATTERY_STATSKeyword_10_0() { return cBATTERY_STATSBATTERY_STATSKeyword_10_0; } //BIND_APPWIDGET public EnumLiteralDeclaration getBIND_APPWIDGETEnumLiteralDeclaration_11() { return cBIND_APPWIDGETEnumLiteralDeclaration_11; } //"BIND_APPWIDGET" public Keyword getBIND_APPWIDGETBIND_APPWIDGETKeyword_11_0() { return cBIND_APPWIDGETBIND_APPWIDGETKeyword_11_0; } //BIND_DEVICE_ADMIN public EnumLiteralDeclaration getBIND_DEVICE_ADMINEnumLiteralDeclaration_12() { return cBIND_DEVICE_ADMINEnumLiteralDeclaration_12; } //"BIND_DEVICE_ADMIN" public Keyword getBIND_DEVICE_ADMINBIND_DEVICE_ADMINKeyword_12_0() { return cBIND_DEVICE_ADMINBIND_DEVICE_ADMINKeyword_12_0; } //BIND_INPUT_METHOD public EnumLiteralDeclaration getBIND_INPUT_METHODEnumLiteralDeclaration_13() { return cBIND_INPUT_METHODEnumLiteralDeclaration_13; } //"BIND_INPUT_METHOD" public Keyword getBIND_INPUT_METHODBIND_INPUT_METHODKeyword_13_0() { return cBIND_INPUT_METHODBIND_INPUT_METHODKeyword_13_0; } //BIND_REMOTEVIEWS public EnumLiteralDeclaration getBIND_REMOTEVIEWSEnumLiteralDeclaration_14() { return cBIND_REMOTEVIEWSEnumLiteralDeclaration_14; } //"BIND_REMOTEVIEWS" public Keyword getBIND_REMOTEVIEWSBIND_REMOTEVIEWSKeyword_14_0() { return cBIND_REMOTEVIEWSBIND_REMOTEVIEWSKeyword_14_0; } //BIND_WALLPAPER public EnumLiteralDeclaration getBIND_WALLPAPEREnumLiteralDeclaration_15() { return cBIND_WALLPAPEREnumLiteralDeclaration_15; } //"BIND_WALLPAPER" public Keyword getBIND_WALLPAPERBIND_WALLPAPERKeyword_15_0() { return cBIND_WALLPAPERBIND_WALLPAPERKeyword_15_0; } //BLUETOOTH public EnumLiteralDeclaration getBLUETOOTHEnumLiteralDeclaration_16() { return cBLUETOOTHEnumLiteralDeclaration_16; } //"BLUETOOTH" public Keyword getBLUETOOTHBLUETOOTHKeyword_16_0() { return cBLUETOOTHBLUETOOTHKeyword_16_0; } //BLUETOOTH_ADMIN public EnumLiteralDeclaration getBLUETOOTH_ADMINEnumLiteralDeclaration_17() { return cBLUETOOTH_ADMINEnumLiteralDeclaration_17; } //"BLUETOOTH_ADMIN" public Keyword getBLUETOOTH_ADMINBLUETOOTH_ADMINKeyword_17_0() { return cBLUETOOTH_ADMINBLUETOOTH_ADMINKeyword_17_0; } //BRICK public EnumLiteralDeclaration getBRICKEnumLiteralDeclaration_18() { return cBRICKEnumLiteralDeclaration_18; } //"BRICK" public Keyword getBRICKBRICKKeyword_18_0() { return cBRICKBRICKKeyword_18_0; } //BROADCAST_PACKAGE_REMOVED public EnumLiteralDeclaration getBROADCAST_PACKAGE_REMOVEDEnumLiteralDeclaration_19() { return cBROADCAST_PACKAGE_REMOVEDEnumLiteralDeclaration_19; } //"BROADCAST_PACKAGE_REMOVED" public Keyword getBROADCAST_PACKAGE_REMOVEDBROADCAST_PACKAGE_REMOVEDKeyword_19_0() { return cBROADCAST_PACKAGE_REMOVEDBROADCAST_PACKAGE_REMOVEDKeyword_19_0; } //BROADCAST_SMS public EnumLiteralDeclaration getBROADCAST_SMSEnumLiteralDeclaration_20() { return cBROADCAST_SMSEnumLiteralDeclaration_20; } //"BROADCAST_SMS" public Keyword getBROADCAST_SMSBROADCAST_SMSKeyword_20_0() { return cBROADCAST_SMSBROADCAST_SMSKeyword_20_0; } //BROADCAST_STICKY public EnumLiteralDeclaration getBROADCAST_STICKYEnumLiteralDeclaration_21() { return cBROADCAST_STICKYEnumLiteralDeclaration_21; } //"BROADCAST_STICKY" public Keyword getBROADCAST_STICKYBROADCAST_STICKYKeyword_21_0() { return cBROADCAST_STICKYBROADCAST_STICKYKeyword_21_0; } //BROADCAST_WAP_PUSH public EnumLiteralDeclaration getBROADCAST_WAP_PUSHEnumLiteralDeclaration_22() { return cBROADCAST_WAP_PUSHEnumLiteralDeclaration_22; } //"BROADCAST_WAP_PUSH" public Keyword getBROADCAST_WAP_PUSHBROADCAST_WAP_PUSHKeyword_22_0() { return cBROADCAST_WAP_PUSHBROADCAST_WAP_PUSHKeyword_22_0; } //CALL_PHONE public EnumLiteralDeclaration getCALL_PHONEEnumLiteralDeclaration_23() { return cCALL_PHONEEnumLiteralDeclaration_23; } //"CALL_PHONE" public Keyword getCALL_PHONECALL_PHONEKeyword_23_0() { return cCALL_PHONECALL_PHONEKeyword_23_0; } //CALL_PRIVILEGED public EnumLiteralDeclaration getCALL_PRIVILEGEDEnumLiteralDeclaration_24() { return cCALL_PRIVILEGEDEnumLiteralDeclaration_24; } //"CALL_PRIVILEGED" public Keyword getCALL_PRIVILEGEDCALL_PRIVILEGEDKeyword_24_0() { return cCALL_PRIVILEGEDCALL_PRIVILEGEDKeyword_24_0; } //CAMERA public EnumLiteralDeclaration getCAMERAEnumLiteralDeclaration_25() { return cCAMERAEnumLiteralDeclaration_25; } //"CAMERA" public Keyword getCAMERACAMERAKeyword_25_0() { return cCAMERACAMERAKeyword_25_0; } //CHANGE_COMPONENT_ENABLED_STATE public EnumLiteralDeclaration getCHANGE_COMPONENT_ENABLED_STATEEnumLiteralDeclaration_26() { return cCHANGE_COMPONENT_ENABLED_STATEEnumLiteralDeclaration_26; } //"CHANGE_COMPONENT_ENABLED_STATE" public Keyword getCHANGE_COMPONENT_ENABLED_STATECHANGE_COMPONENT_ENABLED_STATEKeyword_26_0() { return cCHANGE_COMPONENT_ENABLED_STATECHANGE_COMPONENT_ENABLED_STATEKeyword_26_0; } //CHANGE_CONFIGURATION public EnumLiteralDeclaration getCHANGE_CONFIGURATIONEnumLiteralDeclaration_27() { return cCHANGE_CONFIGURATIONEnumLiteralDeclaration_27; } //"CHANGE_CONFIGURATION" public Keyword getCHANGE_CONFIGURATIONCHANGE_CONFIGURATIONKeyword_27_0() { return cCHANGE_CONFIGURATIONCHANGE_CONFIGURATIONKeyword_27_0; } //CHANGE_NETWORK_STATE public EnumLiteralDeclaration getCHANGE_NETWORK_STATEEnumLiteralDeclaration_28() { return cCHANGE_NETWORK_STATEEnumLiteralDeclaration_28; } //"CHANGE_NETWORK_STATE" public Keyword getCHANGE_NETWORK_STATECHANGE_NETWORK_STATEKeyword_28_0() { return cCHANGE_NETWORK_STATECHANGE_NETWORK_STATEKeyword_28_0; } //CHANGE_WIFI_MULTICAST_STATE public EnumLiteralDeclaration getCHANGE_WIFI_MULTICAST_STATEEnumLiteralDeclaration_29() { return cCHANGE_WIFI_MULTICAST_STATEEnumLiteralDeclaration_29; } //"CHANGE_WIFI_MULTICAST_STATE" public Keyword getCHANGE_WIFI_MULTICAST_STATECHANGE_WIFI_MULTICAST_STATEKeyword_29_0() { return cCHANGE_WIFI_MULTICAST_STATECHANGE_WIFI_MULTICAST_STATEKeyword_29_0; } //CHANGE_WIFI_STATE public EnumLiteralDeclaration getCHANGE_WIFI_STATEEnumLiteralDeclaration_30() { return cCHANGE_WIFI_STATEEnumLiteralDeclaration_30; } //"CHANGE_WIFI_STATE" public Keyword getCHANGE_WIFI_STATECHANGE_WIFI_STATEKeyword_30_0() { return cCHANGE_WIFI_STATECHANGE_WIFI_STATEKeyword_30_0; } //CLEAR_APP_CACHE public EnumLiteralDeclaration getCLEAR_APP_CACHEEnumLiteralDeclaration_31() { return cCLEAR_APP_CACHEEnumLiteralDeclaration_31; } //"CLEAR_APP_CACHE" public Keyword getCLEAR_APP_CACHECLEAR_APP_CACHEKeyword_31_0() { return cCLEAR_APP_CACHECLEAR_APP_CACHEKeyword_31_0; } //CLEAR_APP_USER_DATA public EnumLiteralDeclaration getCLEAR_APP_USER_DATAEnumLiteralDeclaration_32() { return cCLEAR_APP_USER_DATAEnumLiteralDeclaration_32; } //"CLEAR_APP_USER_DATA" public Keyword getCLEAR_APP_USER_DATACLEAR_APP_USER_DATAKeyword_32_0() { return cCLEAR_APP_USER_DATACLEAR_APP_USER_DATAKeyword_32_0; } //CONTROL_LOCATION_UPDATES public EnumLiteralDeclaration getCONTROL_LOCATION_UPDATESEnumLiteralDeclaration_33() { return cCONTROL_LOCATION_UPDATESEnumLiteralDeclaration_33; } //"CONTROL_LOCATION_UPDATES" public Keyword getCONTROL_LOCATION_UPDATESCONTROL_LOCATION_UPDATESKeyword_33_0() { return cCONTROL_LOCATION_UPDATESCONTROL_LOCATION_UPDATESKeyword_33_0; } //DELETE_CACHE_FILES public EnumLiteralDeclaration getDELETE_CACHE_FILESEnumLiteralDeclaration_34() { return cDELETE_CACHE_FILESEnumLiteralDeclaration_34; } //"DELETE_CACHE_FILES" public Keyword getDELETE_CACHE_FILESDELETE_CACHE_FILESKeyword_34_0() { return cDELETE_CACHE_FILESDELETE_CACHE_FILESKeyword_34_0; } //DELETE_PACKAGES public EnumLiteralDeclaration getDELETE_PACKAGESEnumLiteralDeclaration_35() { return cDELETE_PACKAGESEnumLiteralDeclaration_35; } //"DELETE_PACKAGES" public Keyword getDELETE_PACKAGESDELETE_PACKAGESKeyword_35_0() { return cDELETE_PACKAGESDELETE_PACKAGESKeyword_35_0; } //DEVICE_POWER public EnumLiteralDeclaration getDEVICE_POWEREnumLiteralDeclaration_36() { return cDEVICE_POWEREnumLiteralDeclaration_36; } //"DEVICE_POWER" public Keyword getDEVICE_POWERDEVICE_POWERKeyword_36_0() { return cDEVICE_POWERDEVICE_POWERKeyword_36_0; } //DIAGNOSTIC public EnumLiteralDeclaration getDIAGNOSTICEnumLiteralDeclaration_37() { return cDIAGNOSTICEnumLiteralDeclaration_37; } //"DIAGNOSTIC" public Keyword getDIAGNOSTICDIAGNOSTICKeyword_37_0() { return cDIAGNOSTICDIAGNOSTICKeyword_37_0; } //DISABLE_KEYGUARD public EnumLiteralDeclaration getDISABLE_KEYGUARDEnumLiteralDeclaration_38() { return cDISABLE_KEYGUARDEnumLiteralDeclaration_38; } //"DISABLE_KEYGUARD" public Keyword getDISABLE_KEYGUARDDISABLE_KEYGUARDKeyword_38_0() { return cDISABLE_KEYGUARDDISABLE_KEYGUARDKeyword_38_0; } //DUMP public EnumLiteralDeclaration getDUMPEnumLiteralDeclaration_39() { return cDUMPEnumLiteralDeclaration_39; } //"DUMP" public Keyword getDUMPDUMPKeyword_39_0() { return cDUMPDUMPKeyword_39_0; } //EXPAND_STATUS_BAR public EnumLiteralDeclaration getEXPAND_STATUS_BAREnumLiteralDeclaration_40() { return cEXPAND_STATUS_BAREnumLiteralDeclaration_40; } //"EXPAND_STATUS_BAR" public Keyword getEXPAND_STATUS_BAREXPAND_STATUS_BARKeyword_40_0() { return cEXPAND_STATUS_BAREXPAND_STATUS_BARKeyword_40_0; } //FACTORY_TEST public EnumLiteralDeclaration getFACTORY_TESTEnumLiteralDeclaration_41() { return cFACTORY_TESTEnumLiteralDeclaration_41; } //"FACTORY_TEST" public Keyword getFACTORY_TESTFACTORY_TESTKeyword_41_0() { return cFACTORY_TESTFACTORY_TESTKeyword_41_0; } //FLASHLIGHT public EnumLiteralDeclaration getFLASHLIGHTEnumLiteralDeclaration_42() { return cFLASHLIGHTEnumLiteralDeclaration_42; } //"FLASHLIGHT" public Keyword getFLASHLIGHTFLASHLIGHTKeyword_42_0() { return cFLASHLIGHTFLASHLIGHTKeyword_42_0; } //FORCE_BACK public EnumLiteralDeclaration getFORCE_BACKEnumLiteralDeclaration_43() { return cFORCE_BACKEnumLiteralDeclaration_43; } //"FORCE_BACK" public Keyword getFORCE_BACKFORCE_BACKKeyword_43_0() { return cFORCE_BACKFORCE_BACKKeyword_43_0; } //GET_ACCOUNTS public EnumLiteralDeclaration getGET_ACCOUNTSEnumLiteralDeclaration_44() { return cGET_ACCOUNTSEnumLiteralDeclaration_44; } //"GET_ACCOUNTS" public Keyword getGET_ACCOUNTSGET_ACCOUNTSKeyword_44_0() { return cGET_ACCOUNTSGET_ACCOUNTSKeyword_44_0; } //GET_PACKAGE_SIZE public EnumLiteralDeclaration getGET_PACKAGE_SIZEEnumLiteralDeclaration_45() { return cGET_PACKAGE_SIZEEnumLiteralDeclaration_45; } //"GET_PACKAGE_SIZE" public Keyword getGET_PACKAGE_SIZEGET_PACKAGE_SIZEKeyword_45_0() { return cGET_PACKAGE_SIZEGET_PACKAGE_SIZEKeyword_45_0; } //GET_TASKS public EnumLiteralDeclaration getGET_TASKSEnumLiteralDeclaration_46() { return cGET_TASKSEnumLiteralDeclaration_46; } //"GET_TASKS" public Keyword getGET_TASKSGET_TASKSKeyword_46_0() { return cGET_TASKSGET_TASKSKeyword_46_0; } //GLOBAL_SEARCH public EnumLiteralDeclaration getGLOBAL_SEARCHEnumLiteralDeclaration_47() { return cGLOBAL_SEARCHEnumLiteralDeclaration_47; } //"GLOBAL_SEARCH" public Keyword getGLOBAL_SEARCHGLOBAL_SEARCHKeyword_47_0() { return cGLOBAL_SEARCHGLOBAL_SEARCHKeyword_47_0; } //HARDWARE_TEST public EnumLiteralDeclaration getHARDWARE_TESTEnumLiteralDeclaration_48() { return cHARDWARE_TESTEnumLiteralDeclaration_48; } //"HARDWARE_TEST" public Keyword getHARDWARE_TESTHARDWARE_TESTKeyword_48_0() { return cHARDWARE_TESTHARDWARE_TESTKeyword_48_0; } //INJECT_EVENTS public EnumLiteralDeclaration getINJECT_EVENTSEnumLiteralDeclaration_49() { return cINJECT_EVENTSEnumLiteralDeclaration_49; } //"INJECT_EVENTS" public Keyword getINJECT_EVENTSINJECT_EVENTSKeyword_49_0() { return cINJECT_EVENTSINJECT_EVENTSKeyword_49_0; } //INSTALL_LOCATION_PROVIDER public EnumLiteralDeclaration getINSTALL_LOCATION_PROVIDEREnumLiteralDeclaration_50() { return cINSTALL_LOCATION_PROVIDEREnumLiteralDeclaration_50; } //"INSTALL_LOCATION_PROVIDER" public Keyword getINSTALL_LOCATION_PROVIDERINSTALL_LOCATION_PROVIDERKeyword_50_0() { return cINSTALL_LOCATION_PROVIDERINSTALL_LOCATION_PROVIDERKeyword_50_0; } //INSTALL_PACKAGES public EnumLiteralDeclaration getINSTALL_PACKAGESEnumLiteralDeclaration_51() { return cINSTALL_PACKAGESEnumLiteralDeclaration_51; } //"INSTALL_PACKAGES" public Keyword getINSTALL_PACKAGESINSTALL_PACKAGESKeyword_51_0() { return cINSTALL_PACKAGESINSTALL_PACKAGESKeyword_51_0; } //INTERNAL_SYSTEM_WINDOW public EnumLiteralDeclaration getINTERNAL_SYSTEM_WINDOWEnumLiteralDeclaration_52() { return cINTERNAL_SYSTEM_WINDOWEnumLiteralDeclaration_52; } //"INTERNAL_SYSTEM_WINDOW" public Keyword getINTERNAL_SYSTEM_WINDOWINTERNAL_SYSTEM_WINDOWKeyword_52_0() { return cINTERNAL_SYSTEM_WINDOWINTERNAL_SYSTEM_WINDOWKeyword_52_0; } //INTERNET public EnumLiteralDeclaration getINTERNETEnumLiteralDeclaration_53() { return cINTERNETEnumLiteralDeclaration_53; } //"INTERNET" public Keyword getINTERNETINTERNETKeyword_53_0() { return cINTERNETINTERNETKeyword_53_0; } //KILL_BACKGROUND_PROCESSES public EnumLiteralDeclaration getKILL_BACKGROUND_PROCESSESEnumLiteralDeclaration_54() { return cKILL_BACKGROUND_PROCESSESEnumLiteralDeclaration_54; } //"KILL_BACKGROUND_PROCESSES" public Keyword getKILL_BACKGROUND_PROCESSESKILL_BACKGROUND_PROCESSESKeyword_54_0() { return cKILL_BACKGROUND_PROCESSESKILL_BACKGROUND_PROCESSESKeyword_54_0; } //MANAGE_ACCOUNTS public EnumLiteralDeclaration getMANAGE_ACCOUNTSEnumLiteralDeclaration_55() { return cMANAGE_ACCOUNTSEnumLiteralDeclaration_55; } //"MANAGE_ACCOUNTS" public Keyword getMANAGE_ACCOUNTSMANAGE_ACCOUNTSKeyword_55_0() { return cMANAGE_ACCOUNTSMANAGE_ACCOUNTSKeyword_55_0; } //MANAGE_APP_TOKENS public EnumLiteralDeclaration getMANAGE_APP_TOKENSEnumLiteralDeclaration_56() { return cMANAGE_APP_TOKENSEnumLiteralDeclaration_56; } //"MANAGE_APP_TOKENS" public Keyword getMANAGE_APP_TOKENSMANAGE_APP_TOKENSKeyword_56_0() { return cMANAGE_APP_TOKENSMANAGE_APP_TOKENSKeyword_56_0; } //MASTER_CLEAR public EnumLiteralDeclaration getMASTER_CLEAREnumLiteralDeclaration_57() { return cMASTER_CLEAREnumLiteralDeclaration_57; } //"MASTER_CLEAR" public Keyword getMASTER_CLEARMASTER_CLEARKeyword_57_0() { return cMASTER_CLEARMASTER_CLEARKeyword_57_0; } //MODIFY_AUDIO_SETTINGS public EnumLiteralDeclaration getMODIFY_AUDIO_SETTINGSEnumLiteralDeclaration_58() { return cMODIFY_AUDIO_SETTINGSEnumLiteralDeclaration_58; } //"MODIFY_AUDIO_SETTINGS" public Keyword getMODIFY_AUDIO_SETTINGSMODIFY_AUDIO_SETTINGSKeyword_58_0() { return cMODIFY_AUDIO_SETTINGSMODIFY_AUDIO_SETTINGSKeyword_58_0; } //MODIFY_PHONE_STATE public EnumLiteralDeclaration getMODIFY_PHONE_STATEEnumLiteralDeclaration_59() { return cMODIFY_PHONE_STATEEnumLiteralDeclaration_59; } //"MODIFY_PHONE_STATE" public Keyword getMODIFY_PHONE_STATEMODIFY_PHONE_STATEKeyword_59_0() { return cMODIFY_PHONE_STATEMODIFY_PHONE_STATEKeyword_59_0; } //MOUNT_FORMAT_FILESYSTEMS public EnumLiteralDeclaration getMOUNT_FORMAT_FILESYSTEMSEnumLiteralDeclaration_60() { return cMOUNT_FORMAT_FILESYSTEMSEnumLiteralDeclaration_60; } //"MOUNT_FORMAT_FILESYSTEMS" public Keyword getMOUNT_FORMAT_FILESYSTEMSMOUNT_FORMAT_FILESYSTEMSKeyword_60_0() { return cMOUNT_FORMAT_FILESYSTEMSMOUNT_FORMAT_FILESYSTEMSKeyword_60_0; } //MOUNT_UNMOUNT_FILESYSTEMS public EnumLiteralDeclaration getMOUNT_UNMOUNT_FILESYSTEMSEnumLiteralDeclaration_61() { return cMOUNT_UNMOUNT_FILESYSTEMSEnumLiteralDeclaration_61; } //"MOUNT_UNMOUNT_FILESYSTEMS" public Keyword getMOUNT_UNMOUNT_FILESYSTEMSMOUNT_UNMOUNT_FILESYSTEMSKeyword_61_0() { return cMOUNT_UNMOUNT_FILESYSTEMSMOUNT_UNMOUNT_FILESYSTEMSKeyword_61_0; } //NFC public EnumLiteralDeclaration getNFCEnumLiteralDeclaration_62() { return cNFCEnumLiteralDeclaration_62; } //"NFC" public Keyword getNFCNFCKeyword_62_0() { return cNFCNFCKeyword_62_0; } //PERSISTENT_ACTIVITY public EnumLiteralDeclaration getPERSISTENT_ACTIVITYEnumLiteralDeclaration_63() { return cPERSISTENT_ACTIVITYEnumLiteralDeclaration_63; } //"PERSISTENT_ACTIVITY" public Keyword getPERSISTENT_ACTIVITYPERSISTENT_ACTIVITYKeyword_63_0() { return cPERSISTENT_ACTIVITYPERSISTENT_ACTIVITYKeyword_63_0; } //PROCESS_OUTGOING_CALLS public EnumLiteralDeclaration getPROCESS_OUTGOING_CALLSEnumLiteralDeclaration_64() { return cPROCESS_OUTGOING_CALLSEnumLiteralDeclaration_64; } //"PROCESS_OUTGOING_CALLS" public Keyword getPROCESS_OUTGOING_CALLSPROCESS_OUTGOING_CALLSKeyword_64_0() { return cPROCESS_OUTGOING_CALLSPROCESS_OUTGOING_CALLSKeyword_64_0; } //READ_CALENDAR public EnumLiteralDeclaration getREAD_CALENDAREnumLiteralDeclaration_65() { return cREAD_CALENDAREnumLiteralDeclaration_65; } //"READ_CALENDAR" public Keyword getREAD_CALENDARREAD_CALENDARKeyword_65_0() { return cREAD_CALENDARREAD_CALENDARKeyword_65_0; } //READ_CONTACTS public EnumLiteralDeclaration getREAD_CONTACTSEnumLiteralDeclaration_66() { return cREAD_CONTACTSEnumLiteralDeclaration_66; } //"READ_CONTACTS" public Keyword getREAD_CONTACTSREAD_CONTACTSKeyword_66_0() { return cREAD_CONTACTSREAD_CONTACTSKeyword_66_0; } //READ_FRAME_BUFFER public EnumLiteralDeclaration getREAD_FRAME_BUFFEREnumLiteralDeclaration_67() { return cREAD_FRAME_BUFFEREnumLiteralDeclaration_67; } //"READ_FRAME_BUFFER" public Keyword getREAD_FRAME_BUFFERREAD_FRAME_BUFFERKeyword_67_0() { return cREAD_FRAME_BUFFERREAD_FRAME_BUFFERKeyword_67_0; } //READ_HISTORY_BOOKMARKS public EnumLiteralDeclaration getREAD_HISTORY_BOOKMARKSEnumLiteralDeclaration_68() { return cREAD_HISTORY_BOOKMARKSEnumLiteralDeclaration_68; } //"READ_HISTORY_BOOKMARKS" public Keyword getREAD_HISTORY_BOOKMARKSREAD_HISTORY_BOOKMARKSKeyword_68_0() { return cREAD_HISTORY_BOOKMARKSREAD_HISTORY_BOOKMARKSKeyword_68_0; } //READ_INPUT_STATE public EnumLiteralDeclaration getREAD_INPUT_STATEEnumLiteralDeclaration_69() { return cREAD_INPUT_STATEEnumLiteralDeclaration_69; } //"READ_INPUT_STATE" public Keyword getREAD_INPUT_STATEREAD_INPUT_STATEKeyword_69_0() { return cREAD_INPUT_STATEREAD_INPUT_STATEKeyword_69_0; } //READ_LOGS public EnumLiteralDeclaration getREAD_LOGSEnumLiteralDeclaration_70() { return cREAD_LOGSEnumLiteralDeclaration_70; } //"READ_LOGS" public Keyword getREAD_LOGSREAD_LOGSKeyword_70_0() { return cREAD_LOGSREAD_LOGSKeyword_70_0; } //READ_PHONE_STATE public EnumLiteralDeclaration getREAD_PHONE_STATEEnumLiteralDeclaration_71() { return cREAD_PHONE_STATEEnumLiteralDeclaration_71; } //"READ_PHONE_STATE" public Keyword getREAD_PHONE_STATEREAD_PHONE_STATEKeyword_71_0() { return cREAD_PHONE_STATEREAD_PHONE_STATEKeyword_71_0; } //READ_SMS public EnumLiteralDeclaration getREAD_SMSEnumLiteralDeclaration_72() { return cREAD_SMSEnumLiteralDeclaration_72; } //"READ_SMS" public Keyword getREAD_SMSREAD_SMSKeyword_72_0() { return cREAD_SMSREAD_SMSKeyword_72_0; } //READ_SYNC_SETTINGS public EnumLiteralDeclaration getREAD_SYNC_SETTINGSEnumLiteralDeclaration_73() { return cREAD_SYNC_SETTINGSEnumLiteralDeclaration_73; } //"READ_SYNC_SETTINGS" public Keyword getREAD_SYNC_SETTINGSREAD_SYNC_SETTINGSKeyword_73_0() { return cREAD_SYNC_SETTINGSREAD_SYNC_SETTINGSKeyword_73_0; } //READ_SYNC_STATS public EnumLiteralDeclaration getREAD_SYNC_STATSEnumLiteralDeclaration_74() { return cREAD_SYNC_STATSEnumLiteralDeclaration_74; } //"READ_SYNC_STATS" public Keyword getREAD_SYNC_STATSREAD_SYNC_STATSKeyword_74_0() { return cREAD_SYNC_STATSREAD_SYNC_STATSKeyword_74_0; } //REBOOT public EnumLiteralDeclaration getREBOOTEnumLiteralDeclaration_75() { return cREBOOTEnumLiteralDeclaration_75; } //"REBOOT" public Keyword getREBOOTREBOOTKeyword_75_0() { return cREBOOTREBOOTKeyword_75_0; } //RECEIVE_BOOT_COMPLETED public EnumLiteralDeclaration getRECEIVE_BOOT_COMPLETEDEnumLiteralDeclaration_76() { return cRECEIVE_BOOT_COMPLETEDEnumLiteralDeclaration_76; } //"RECEIVE_BOOT_COMPLETED" public Keyword getRECEIVE_BOOT_COMPLETEDRECEIVE_BOOT_COMPLETEDKeyword_76_0() { return cRECEIVE_BOOT_COMPLETEDRECEIVE_BOOT_COMPLETEDKeyword_76_0; } //RECEIVE_MMS public EnumLiteralDeclaration getRECEIVE_MMSEnumLiteralDeclaration_77() { return cRECEIVE_MMSEnumLiteralDeclaration_77; } //"RECEIVE_MMS" public Keyword getRECEIVE_MMSRECEIVE_MMSKeyword_77_0() { return cRECEIVE_MMSRECEIVE_MMSKeyword_77_0; } //RECEIVE_SMS public EnumLiteralDeclaration getRECEIVE_SMSEnumLiteralDeclaration_78() { return cRECEIVE_SMSEnumLiteralDeclaration_78; } //"RECEIVE_SMS" public Keyword getRECEIVE_SMSRECEIVE_SMSKeyword_78_0() { return cRECEIVE_SMSRECEIVE_SMSKeyword_78_0; } //RECEIVE_WAP_PUSH public EnumLiteralDeclaration getRECEIVE_WAP_PUSHEnumLiteralDeclaration_79() { return cRECEIVE_WAP_PUSHEnumLiteralDeclaration_79; } //"RECEIVE_WAP_PUSH" public Keyword getRECEIVE_WAP_PUSHRECEIVE_WAP_PUSHKeyword_79_0() { return cRECEIVE_WAP_PUSHRECEIVE_WAP_PUSHKeyword_79_0; } //RECORD_AUDIO public EnumLiteralDeclaration getRECORD_AUDIOEnumLiteralDeclaration_80() { return cRECORD_AUDIOEnumLiteralDeclaration_80; } //"RECORD_AUDIO" public Keyword getRECORD_AUDIORECORD_AUDIOKeyword_80_0() { return cRECORD_AUDIORECORD_AUDIOKeyword_80_0; } //REORDER_TASKS public EnumLiteralDeclaration getREORDER_TASKSEnumLiteralDeclaration_81() { return cREORDER_TASKSEnumLiteralDeclaration_81; } //"REORDER_TASKS" public Keyword getREORDER_TASKSREORDER_TASKSKeyword_81_0() { return cREORDER_TASKSREORDER_TASKSKeyword_81_0; } //RESTART_PACKAGES public EnumLiteralDeclaration getRESTART_PACKAGESEnumLiteralDeclaration_82() { return cRESTART_PACKAGESEnumLiteralDeclaration_82; } //"RESTART_PACKAGES" public Keyword getRESTART_PACKAGESRESTART_PACKAGESKeyword_82_0() { return cRESTART_PACKAGESRESTART_PACKAGESKeyword_82_0; } //SEND_SMS public EnumLiteralDeclaration getSEND_SMSEnumLiteralDeclaration_83() { return cSEND_SMSEnumLiteralDeclaration_83; } //"SEND_SMS" public Keyword getSEND_SMSSEND_SMSKeyword_83_0() { return cSEND_SMSSEND_SMSKeyword_83_0; } //SET_ACTIVITY_WATCHER public EnumLiteralDeclaration getSET_ACTIVITY_WATCHEREnumLiteralDeclaration_84() { return cSET_ACTIVITY_WATCHEREnumLiteralDeclaration_84; } //"SET_ACTIVITY_WATCHER" public Keyword getSET_ACTIVITY_WATCHERSET_ACTIVITY_WATCHERKeyword_84_0() { return cSET_ACTIVITY_WATCHERSET_ACTIVITY_WATCHERKeyword_84_0; } //SET_ALARM public EnumLiteralDeclaration getSET_ALARMEnumLiteralDeclaration_85() { return cSET_ALARMEnumLiteralDeclaration_85; } //"SET_ALARM" public Keyword getSET_ALARMSET_ALARMKeyword_85_0() { return cSET_ALARMSET_ALARMKeyword_85_0; } //SET_ALWAYS_FINISH public EnumLiteralDeclaration getSET_ALWAYS_FINISHEnumLiteralDeclaration_86() { return cSET_ALWAYS_FINISHEnumLiteralDeclaration_86; } //"SET_ALWAYS_FINISH" public Keyword getSET_ALWAYS_FINISHSET_ALWAYS_FINISHKeyword_86_0() { return cSET_ALWAYS_FINISHSET_ALWAYS_FINISHKeyword_86_0; } //SET_ANIMATION_SCALE public EnumLiteralDeclaration getSET_ANIMATION_SCALEEnumLiteralDeclaration_87() { return cSET_ANIMATION_SCALEEnumLiteralDeclaration_87; } //"SET_ANIMATION_SCALE" public Keyword getSET_ANIMATION_SCALESET_ANIMATION_SCALEKeyword_87_0() { return cSET_ANIMATION_SCALESET_ANIMATION_SCALEKeyword_87_0; } //SET_DEBUG_APP public EnumLiteralDeclaration getSET_DEBUG_APPEnumLiteralDeclaration_88() { return cSET_DEBUG_APPEnumLiteralDeclaration_88; } //"SET_DEBUG_APP" public Keyword getSET_DEBUG_APPSET_DEBUG_APPKeyword_88_0() { return cSET_DEBUG_APPSET_DEBUG_APPKeyword_88_0; } //SET_ORIENTATION public EnumLiteralDeclaration getSET_ORIENTATIONEnumLiteralDeclaration_89() { return cSET_ORIENTATIONEnumLiteralDeclaration_89; } //"SET_ORIENTATION" public Keyword getSET_ORIENTATIONSET_ORIENTATIONKeyword_89_0() { return cSET_ORIENTATIONSET_ORIENTATIONKeyword_89_0; } //SET_PREFERRED_APPLICATIONS public EnumLiteralDeclaration getSET_PREFERRED_APPLICATIONSEnumLiteralDeclaration_90() { return cSET_PREFERRED_APPLICATIONSEnumLiteralDeclaration_90; } //"SET_PREFERRED_APPLICATIONS" public Keyword getSET_PREFERRED_APPLICATIONSSET_PREFERRED_APPLICATIONSKeyword_90_0() { return cSET_PREFERRED_APPLICATIONSSET_PREFERRED_APPLICATIONSKeyword_90_0; } //SET_PROCESS_LIMIT public EnumLiteralDeclaration getSET_PROCESS_LIMITEnumLiteralDeclaration_91() { return cSET_PROCESS_LIMITEnumLiteralDeclaration_91; } //"SET_PROCESS_LIMIT" public Keyword getSET_PROCESS_LIMITSET_PROCESS_LIMITKeyword_91_0() { return cSET_PROCESS_LIMITSET_PROCESS_LIMITKeyword_91_0; } //SET_TIME public EnumLiteralDeclaration getSET_TIMEEnumLiteralDeclaration_92() { return cSET_TIMEEnumLiteralDeclaration_92; } //"SET_TIME" public Keyword getSET_TIMESET_TIMEKeyword_92_0() { return cSET_TIMESET_TIMEKeyword_92_0; } //SET_TIME_ZONE public EnumLiteralDeclaration getSET_TIME_ZONEEnumLiteralDeclaration_93() { return cSET_TIME_ZONEEnumLiteralDeclaration_93; } //"SET_TIME_ZONE" public Keyword getSET_TIME_ZONESET_TIME_ZONEKeyword_93_0() { return cSET_TIME_ZONESET_TIME_ZONEKeyword_93_0; } //SET_WALLPAPER public EnumLiteralDeclaration getSET_WALLPAPEREnumLiteralDeclaration_94() { return cSET_WALLPAPEREnumLiteralDeclaration_94; } //"SET_WALLPAPER" public Keyword getSET_WALLPAPERSET_WALLPAPERKeyword_94_0() { return cSET_WALLPAPERSET_WALLPAPERKeyword_94_0; } //SET_WALLPAPER_HINTS public EnumLiteralDeclaration getSET_WALLPAPER_HINTSEnumLiteralDeclaration_95() { return cSET_WALLPAPER_HINTSEnumLiteralDeclaration_95; } //"SET_WALLPAPER_HINTS" public Keyword getSET_WALLPAPER_HINTSSET_WALLPAPER_HINTSKeyword_95_0() { return cSET_WALLPAPER_HINTSSET_WALLPAPER_HINTSKeyword_95_0; } //SIGNAL_PERSISTENT_PROCESSES public EnumLiteralDeclaration getSIGNAL_PERSISTENT_PROCESSESEnumLiteralDeclaration_96() { return cSIGNAL_PERSISTENT_PROCESSESEnumLiteralDeclaration_96; } //"SIGNAL_PERSISTENT_PROCESSES" public Keyword getSIGNAL_PERSISTENT_PROCESSESSIGNAL_PERSISTENT_PROCESSESKeyword_96_0() { return cSIGNAL_PERSISTENT_PROCESSESSIGNAL_PERSISTENT_PROCESSESKeyword_96_0; } //STATUS_BAR public EnumLiteralDeclaration getSTATUS_BAREnumLiteralDeclaration_97() { return cSTATUS_BAREnumLiteralDeclaration_97; } //"STATUS_BAR" public Keyword getSTATUS_BARSTATUS_BARKeyword_97_0() { return cSTATUS_BARSTATUS_BARKeyword_97_0; } //SUBSCRIBED_FEEDS_READ public EnumLiteralDeclaration getSUBSCRIBED_FEEDS_READEnumLiteralDeclaration_98() { return cSUBSCRIBED_FEEDS_READEnumLiteralDeclaration_98; } //"SUBSCRIBED_FEEDS_READ" public Keyword getSUBSCRIBED_FEEDS_READSUBSCRIBED_FEEDS_READKeyword_98_0() { return cSUBSCRIBED_FEEDS_READSUBSCRIBED_FEEDS_READKeyword_98_0; } //SUBSCRIBED_FEEDS_WRITE public EnumLiteralDeclaration getSUBSCRIBED_FEEDS_WRITEEnumLiteralDeclaration_99() { return cSUBSCRIBED_FEEDS_WRITEEnumLiteralDeclaration_99; } //"SUBSCRIBED_FEEDS_WRITE" public Keyword getSUBSCRIBED_FEEDS_WRITESUBSCRIBED_FEEDS_WRITEKeyword_99_0() { return cSUBSCRIBED_FEEDS_WRITESUBSCRIBED_FEEDS_WRITEKeyword_99_0; } //SYSTEM_ALERT_WINDOW public EnumLiteralDeclaration getSYSTEM_ALERT_WINDOWEnumLiteralDeclaration_100() { return cSYSTEM_ALERT_WINDOWEnumLiteralDeclaration_100; } //"SYSTEM_ALERT_WINDOW" public Keyword getSYSTEM_ALERT_WINDOWSYSTEM_ALERT_WINDOWKeyword_100_0() { return cSYSTEM_ALERT_WINDOWSYSTEM_ALERT_WINDOWKeyword_100_0; } //UPDATE_DEVICE_STATS public EnumLiteralDeclaration getUPDATE_DEVICE_STATSEnumLiteralDeclaration_101() { return cUPDATE_DEVICE_STATSEnumLiteralDeclaration_101; } //"UPDATE_DEVICE_STATS" public Keyword getUPDATE_DEVICE_STATSUPDATE_DEVICE_STATSKeyword_101_0() { return cUPDATE_DEVICE_STATSUPDATE_DEVICE_STATSKeyword_101_0; } //USE_CREDENTIALS public EnumLiteralDeclaration getUSE_CREDENTIALSEnumLiteralDeclaration_102() { return cUSE_CREDENTIALSEnumLiteralDeclaration_102; } //"USE_CREDENTIALS" public Keyword getUSE_CREDENTIALSUSE_CREDENTIALSKeyword_102_0() { return cUSE_CREDENTIALSUSE_CREDENTIALSKeyword_102_0; } //USE_SIP public EnumLiteralDeclaration getUSE_SIPEnumLiteralDeclaration_103() { return cUSE_SIPEnumLiteralDeclaration_103; } //"USE_SIP" public Keyword getUSE_SIPUSE_SIPKeyword_103_0() { return cUSE_SIPUSE_SIPKeyword_103_0; } //VIBRATE public EnumLiteralDeclaration getVIBRATEEnumLiteralDeclaration_104() { return cVIBRATEEnumLiteralDeclaration_104; } //"VIBRATE" public Keyword getVIBRATEVIBRATEKeyword_104_0() { return cVIBRATEVIBRATEKeyword_104_0; } //WAKE_LOCK public EnumLiteralDeclaration getWAKE_LOCKEnumLiteralDeclaration_105() { return cWAKE_LOCKEnumLiteralDeclaration_105; } //"WAKE_LOCK" public Keyword getWAKE_LOCKWAKE_LOCKKeyword_105_0() { return cWAKE_LOCKWAKE_LOCKKeyword_105_0; } //WRITE_APN_SETTINGS public EnumLiteralDeclaration getWRITE_APN_SETTINGSEnumLiteralDeclaration_106() { return cWRITE_APN_SETTINGSEnumLiteralDeclaration_106; } //"WRITE_APN_SETTINGS" public Keyword getWRITE_APN_SETTINGSWRITE_APN_SETTINGSKeyword_106_0() { return cWRITE_APN_SETTINGSWRITE_APN_SETTINGSKeyword_106_0; } //WRITE_CALENDAR public EnumLiteralDeclaration getWRITE_CALENDAREnumLiteralDeclaration_107() { return cWRITE_CALENDAREnumLiteralDeclaration_107; } //"WRITE_CALENDAR" public Keyword getWRITE_CALENDARWRITE_CALENDARKeyword_107_0() { return cWRITE_CALENDARWRITE_CALENDARKeyword_107_0; } //WRITE_CONTACTS public EnumLiteralDeclaration getWRITE_CONTACTSEnumLiteralDeclaration_108() { return cWRITE_CONTACTSEnumLiteralDeclaration_108; } //"WRITE_CONTACTS" public Keyword getWRITE_CONTACTSWRITE_CONTACTSKeyword_108_0() { return cWRITE_CONTACTSWRITE_CONTACTSKeyword_108_0; } //WRITE_EXTERNAL_STORAGE public EnumLiteralDeclaration getWRITE_EXTERNAL_STORAGEEnumLiteralDeclaration_109() { return cWRITE_EXTERNAL_STORAGEEnumLiteralDeclaration_109; } //"WRITE_EXTERNAL_STORAGE" public Keyword getWRITE_EXTERNAL_STORAGEWRITE_EXTERNAL_STORAGEKeyword_109_0() { return cWRITE_EXTERNAL_STORAGEWRITE_EXTERNAL_STORAGEKeyword_109_0; } //WRITE_GSERVICES public EnumLiteralDeclaration getWRITE_GSERVICESEnumLiteralDeclaration_110() { return cWRITE_GSERVICESEnumLiteralDeclaration_110; } //"WRITE_GSERVICES" public Keyword getWRITE_GSERVICESWRITE_GSERVICESKeyword_110_0() { return cWRITE_GSERVICESWRITE_GSERVICESKeyword_110_0; } //WRITE_HISTORY_BOOKMARKS public EnumLiteralDeclaration getWRITE_HISTORY_BOOKMARKSEnumLiteralDeclaration_111() { return cWRITE_HISTORY_BOOKMARKSEnumLiteralDeclaration_111; } //"WRITE_HISTORY_BOOKMARKS" public Keyword getWRITE_HISTORY_BOOKMARKSWRITE_HISTORY_BOOKMARKSKeyword_111_0() { return cWRITE_HISTORY_BOOKMARKSWRITE_HISTORY_BOOKMARKSKeyword_111_0; } //WRITE_SECURE_SETTINGS public EnumLiteralDeclaration getWRITE_SECURE_SETTINGSEnumLiteralDeclaration_112() { return cWRITE_SECURE_SETTINGSEnumLiteralDeclaration_112; } //"WRITE_SECURE_SETTINGS" public Keyword getWRITE_SECURE_SETTINGSWRITE_SECURE_SETTINGSKeyword_112_0() { return cWRITE_SECURE_SETTINGSWRITE_SECURE_SETTINGSKeyword_112_0; } //WRITE_SETTINGS public EnumLiteralDeclaration getWRITE_SETTINGSEnumLiteralDeclaration_113() { return cWRITE_SETTINGSEnumLiteralDeclaration_113; } //"WRITE_SETTINGS" public Keyword getWRITE_SETTINGSWRITE_SETTINGSKeyword_113_0() { return cWRITE_SETTINGSWRITE_SETTINGSKeyword_113_0; } //WRITE_SMS public EnumLiteralDeclaration getWRITE_SMSEnumLiteralDeclaration_114() { return cWRITE_SMSEnumLiteralDeclaration_114; } //"WRITE_SMS" public Keyword getWRITE_SMSWRITE_SMSKeyword_114_0() { return cWRITE_SMSWRITE_SMSKeyword_114_0; } //WRITE_SYNC_SETTINGS public EnumLiteralDeclaration getWRITE_SYNC_SETTINGSEnumLiteralDeclaration_115() { return cWRITE_SYNC_SETTINGSEnumLiteralDeclaration_115; } //"WRITE_SYNC_SETTINGS" public Keyword getWRITE_SYNC_SETTINGSWRITE_SYNC_SETTINGSKeyword_115_0() { return cWRITE_SYNC_SETTINGSWRITE_SYNC_SETTINGSKeyword_115_0; } } public class InterpolatorsKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "InterpolatorsKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cAccelerate_decelerateEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cAccelerate_decelerateAccelerate_decelerateKeyword_0_0 = (Keyword)cAccelerate_decelerateEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cAccelerateEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cAccelerateAccelerateKeyword_1_0 = (Keyword)cAccelerateEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cAnticipateEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cAnticipateAnticipateKeyword_2_0 = (Keyword)cAnticipateEnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cAnticipate_overshootEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cAnticipate_overshootAnticipate_overshootKeyword_3_0 = (Keyword)cAnticipate_overshootEnumLiteralDeclaration_3.eContents().get(0); private final EnumLiteralDeclaration cBounceEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); private final Keyword cBounceBounceKeyword_4_0 = (Keyword)cBounceEnumLiteralDeclaration_4.eContents().get(0); private final EnumLiteralDeclaration cCycleEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); private final Keyword cCycleCycleKeyword_5_0 = (Keyword)cCycleEnumLiteralDeclaration_5.eContents().get(0); private final EnumLiteralDeclaration cDecelerateEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); private final Keyword cDecelerateDecelerateKeyword_6_0 = (Keyword)cDecelerateEnumLiteralDeclaration_6.eContents().get(0); private final EnumLiteralDeclaration cLinearEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); private final Keyword cLinearLinearKeyword_7_0 = (Keyword)cLinearEnumLiteralDeclaration_7.eContents().get(0); private final EnumLiteralDeclaration cOvershootEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); private final Keyword cOvershootOvershootKeyword_8_0 = (Keyword)cOvershootEnumLiteralDeclaration_8.eContents().get(0); //enum InterpolatorsKind: // accelerate_decelerate | accelerate | anticipate | anticipate_overshoot | bounce | cycle | decelerate | linear | // overshoot; public EnumRule getRule() { return rule; } //accelerate_decelerate | accelerate | anticipate | anticipate_overshoot | bounce | cycle | decelerate | linear | //overshoot public Alternatives getAlternatives() { return cAlternatives; } //accelerate_decelerate public EnumLiteralDeclaration getAccelerate_decelerateEnumLiteralDeclaration_0() { return cAccelerate_decelerateEnumLiteralDeclaration_0; } //"accelerate_decelerate" public Keyword getAccelerate_decelerateAccelerate_decelerateKeyword_0_0() { return cAccelerate_decelerateAccelerate_decelerateKeyword_0_0; } //accelerate public EnumLiteralDeclaration getAccelerateEnumLiteralDeclaration_1() { return cAccelerateEnumLiteralDeclaration_1; } //"accelerate" public Keyword getAccelerateAccelerateKeyword_1_0() { return cAccelerateAccelerateKeyword_1_0; } //anticipate public EnumLiteralDeclaration getAnticipateEnumLiteralDeclaration_2() { return cAnticipateEnumLiteralDeclaration_2; } //"anticipate" public Keyword getAnticipateAnticipateKeyword_2_0() { return cAnticipateAnticipateKeyword_2_0; } //anticipate_overshoot public EnumLiteralDeclaration getAnticipate_overshootEnumLiteralDeclaration_3() { return cAnticipate_overshootEnumLiteralDeclaration_3; } //"anticipate_overshoot" public Keyword getAnticipate_overshootAnticipate_overshootKeyword_3_0() { return cAnticipate_overshootAnticipate_overshootKeyword_3_0; } //bounce public EnumLiteralDeclaration getBounceEnumLiteralDeclaration_4() { return cBounceEnumLiteralDeclaration_4; } //"bounce" public Keyword getBounceBounceKeyword_4_0() { return cBounceBounceKeyword_4_0; } //cycle public EnumLiteralDeclaration getCycleEnumLiteralDeclaration_5() { return cCycleEnumLiteralDeclaration_5; } //"cycle" public Keyword getCycleCycleKeyword_5_0() { return cCycleCycleKeyword_5_0; } //decelerate public EnumLiteralDeclaration getDecelerateEnumLiteralDeclaration_6() { return cDecelerateEnumLiteralDeclaration_6; } //"decelerate" public Keyword getDecelerateDecelerateKeyword_6_0() { return cDecelerateDecelerateKeyword_6_0; } //linear public EnumLiteralDeclaration getLinearEnumLiteralDeclaration_7() { return cLinearEnumLiteralDeclaration_7; } //"linear" public Keyword getLinearLinearKeyword_7_0() { return cLinearLinearKeyword_7_0; } //overshoot public EnumLiteralDeclaration getOvershootEnumLiteralDeclaration_8() { return cOvershootEnumLiteralDeclaration_8; } //"overshoot" public Keyword getOvershootOvershootKeyword_8_0() { return cOvershootOvershootKeyword_8_0; } } public class LayoutDimensionKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LayoutDimensionKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cFill_parentEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cFill_parentFill_parentKeyword_0_0 = (Keyword)cFill_parentEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cMatch_parentEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cMatch_parentMatch_parentKeyword_1_0 = (Keyword)cMatch_parentEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cWrap_contentEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cWrap_contentWrap_contentKeyword_2_0 = (Keyword)cWrap_contentEnumLiteralDeclaration_2.eContents().get(0); //enum LayoutDimensionKind: // fill_parent | match_parent | wrap_content; public EnumRule getRule() { return rule; } //fill_parent | match_parent | wrap_content public Alternatives getAlternatives() { return cAlternatives; } //fill_parent public EnumLiteralDeclaration getFill_parentEnumLiteralDeclaration_0() { return cFill_parentEnumLiteralDeclaration_0; } //"fill_parent" public Keyword getFill_parentFill_parentKeyword_0_0() { return cFill_parentFill_parentKeyword_0_0; } //match_parent public EnumLiteralDeclaration getMatch_parentEnumLiteralDeclaration_1() { return cMatch_parentEnumLiteralDeclaration_1; } //"match_parent" public Keyword getMatch_parentMatch_parentKeyword_1_0() { return cMatch_parentMatch_parentKeyword_1_0; } //wrap_content public EnumLiteralDeclaration getWrap_contentEnumLiteralDeclaration_2() { return cWrap_contentEnumLiteralDeclaration_2; } //"wrap_content" public Keyword getWrap_contentWrap_contentKeyword_2_0() { return cWrap_contentWrap_contentKeyword_2_0; } } public class LayoutGravityKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LayoutGravityKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cTopEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cTopTopKeyword_0_0 = (Keyword)cTopEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cBottomEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cBottomBottomKeyword_1_0 = (Keyword)cBottomEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cLeftEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cLeftLeftKeyword_2_0 = (Keyword)cLeftEnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cRightEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cRightRightKeyword_3_0 = (Keyword)cRightEnumLiteralDeclaration_3.eContents().get(0); private final EnumLiteralDeclaration cCenterEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); private final Keyword cCenterCenterKeyword_4_0 = (Keyword)cCenterEnumLiteralDeclaration_4.eContents().get(0); private final EnumLiteralDeclaration cCenter_verticalEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); private final Keyword cCenter_verticalCenter_verticalKeyword_5_0 = (Keyword)cCenter_verticalEnumLiteralDeclaration_5.eContents().get(0); private final EnumLiteralDeclaration cCenter_horizontalEnumLiteralDeclaration_6 = (EnumLiteralDeclaration)cAlternatives.eContents().get(6); private final Keyword cCenter_horizontalCenter_horizontalKeyword_6_0 = (Keyword)cCenter_horizontalEnumLiteralDeclaration_6.eContents().get(0); private final EnumLiteralDeclaration cFillEnumLiteralDeclaration_7 = (EnumLiteralDeclaration)cAlternatives.eContents().get(7); private final Keyword cFillFillKeyword_7_0 = (Keyword)cFillEnumLiteralDeclaration_7.eContents().get(0); private final EnumLiteralDeclaration cFill_verticalEnumLiteralDeclaration_8 = (EnumLiteralDeclaration)cAlternatives.eContents().get(8); private final Keyword cFill_verticalFill_verticalKeyword_8_0 = (Keyword)cFill_verticalEnumLiteralDeclaration_8.eContents().get(0); private final EnumLiteralDeclaration cFill_horizontalEnumLiteralDeclaration_9 = (EnumLiteralDeclaration)cAlternatives.eContents().get(9); private final Keyword cFill_horizontalFill_horizontalKeyword_9_0 = (Keyword)cFill_horizontalEnumLiteralDeclaration_9.eContents().get(0); private final EnumLiteralDeclaration cClip_verticalEnumLiteralDeclaration_10 = (EnumLiteralDeclaration)cAlternatives.eContents().get(10); private final Keyword cClip_verticalClip_verticalKeyword_10_0 = (Keyword)cClip_verticalEnumLiteralDeclaration_10.eContents().get(0); private final EnumLiteralDeclaration cClip_horizontalEnumLiteralDeclaration_11 = (EnumLiteralDeclaration)cAlternatives.eContents().get(11); private final Keyword cClip_horizontalClip_horizontalKeyword_11_0 = (Keyword)cClip_horizontalEnumLiteralDeclaration_11.eContents().get(0); //enum LayoutGravityKind: // top | bottom | left | right | center | center_vertical | center_horizontal | fill | fill_vertical | fill_horizontal | // clip_vertical | clip_horizontal; public EnumRule getRule() { return rule; } //top | bottom | left | right | center | center_vertical | center_horizontal | fill | fill_vertical | fill_horizontal | //clip_vertical | clip_horizontal public Alternatives getAlternatives() { return cAlternatives; } //top public EnumLiteralDeclaration getTopEnumLiteralDeclaration_0() { return cTopEnumLiteralDeclaration_0; } //"top" public Keyword getTopTopKeyword_0_0() { return cTopTopKeyword_0_0; } //bottom public EnumLiteralDeclaration getBottomEnumLiteralDeclaration_1() { return cBottomEnumLiteralDeclaration_1; } //"bottom" public Keyword getBottomBottomKeyword_1_0() { return cBottomBottomKeyword_1_0; } //left public EnumLiteralDeclaration getLeftEnumLiteralDeclaration_2() { return cLeftEnumLiteralDeclaration_2; } //"left" public Keyword getLeftLeftKeyword_2_0() { return cLeftLeftKeyword_2_0; } //right public EnumLiteralDeclaration getRightEnumLiteralDeclaration_3() { return cRightEnumLiteralDeclaration_3; } //"right" public Keyword getRightRightKeyword_3_0() { return cRightRightKeyword_3_0; } //center public EnumLiteralDeclaration getCenterEnumLiteralDeclaration_4() { return cCenterEnumLiteralDeclaration_4; } //"center" public Keyword getCenterCenterKeyword_4_0() { return cCenterCenterKeyword_4_0; } //center_vertical public EnumLiteralDeclaration getCenter_verticalEnumLiteralDeclaration_5() { return cCenter_verticalEnumLiteralDeclaration_5; } //"center_vertical" public Keyword getCenter_verticalCenter_verticalKeyword_5_0() { return cCenter_verticalCenter_verticalKeyword_5_0; } //center_horizontal public EnumLiteralDeclaration getCenter_horizontalEnumLiteralDeclaration_6() { return cCenter_horizontalEnumLiteralDeclaration_6; } //"center_horizontal" public Keyword getCenter_horizontalCenter_horizontalKeyword_6_0() { return cCenter_horizontalCenter_horizontalKeyword_6_0; } //fill public EnumLiteralDeclaration getFillEnumLiteralDeclaration_7() { return cFillEnumLiteralDeclaration_7; } //"fill" public Keyword getFillFillKeyword_7_0() { return cFillFillKeyword_7_0; } //fill_vertical public EnumLiteralDeclaration getFill_verticalEnumLiteralDeclaration_8() { return cFill_verticalEnumLiteralDeclaration_8; } //"fill_vertical" public Keyword getFill_verticalFill_verticalKeyword_8_0() { return cFill_verticalFill_verticalKeyword_8_0; } //fill_horizontal public EnumLiteralDeclaration getFill_horizontalEnumLiteralDeclaration_9() { return cFill_horizontalEnumLiteralDeclaration_9; } //"fill_horizontal" public Keyword getFill_horizontalFill_horizontalKeyword_9_0() { return cFill_horizontalFill_horizontalKeyword_9_0; } //clip_vertical public EnumLiteralDeclaration getClip_verticalEnumLiteralDeclaration_10() { return cClip_verticalEnumLiteralDeclaration_10; } //"clip_vertical" public Keyword getClip_verticalClip_verticalKeyword_10_0() { return cClip_verticalClip_verticalKeyword_10_0; } //clip_horizontal public EnumLiteralDeclaration getClip_horizontalEnumLiteralDeclaration_11() { return cClip_horizontalEnumLiteralDeclaration_11; } //"clip_horizontal" public Keyword getClip_horizontalClip_horizontalKeyword_11_0() { return cClip_horizontalClip_horizontalKeyword_11_0; } } public class LayoutOrientationKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LayoutOrientationKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cHorizontalEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cHorizontalHorizontalKeyword_0_0 = (Keyword)cHorizontalEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cVerticalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cVerticalVerticalKeyword_1_0 = (Keyword)cVerticalEnumLiteralDeclaration_1.eContents().get(0); //enum LayoutOrientationKind: // horizontal | vertical; public EnumRule getRule() { return rule; } //horizontal | vertical public Alternatives getAlternatives() { return cAlternatives; } //horizontal public EnumLiteralDeclaration getHorizontalEnumLiteralDeclaration_0() { return cHorizontalEnumLiteralDeclaration_0; } //"horizontal" public Keyword getHorizontalHorizontalKeyword_0_0() { return cHorizontalHorizontalKeyword_0_0; } //vertical public EnumLiteralDeclaration getVerticalEnumLiteralDeclaration_1() { return cVerticalEnumLiteralDeclaration_1; } //"vertical" public Keyword getVerticalVerticalKeyword_1_0() { return cVerticalVerticalKeyword_1_0; } } public class LayoutVisibilityKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "LayoutVisibilityKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cVisibleEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cVisibleVisibleKeyword_0_0 = (Keyword)cVisibleEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cInvisibleEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cInvisibleInvisibleKeyword_1_0 = (Keyword)cInvisibleEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cGoneEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cGoneGoneKeyword_2_0 = (Keyword)cGoneEnumLiteralDeclaration_2.eContents().get(0); //enum LayoutVisibilityKind: // visible | invisible | gone; public EnumRule getRule() { return rule; } //visible | invisible | gone public Alternatives getAlternatives() { return cAlternatives; } //visible public EnumLiteralDeclaration getVisibleEnumLiteralDeclaration_0() { return cVisibleEnumLiteralDeclaration_0; } //"visible" public Keyword getVisibleVisibleKeyword_0_0() { return cVisibleVisibleKeyword_0_0; } //invisible public EnumLiteralDeclaration getInvisibleEnumLiteralDeclaration_1() { return cInvisibleEnumLiteralDeclaration_1; } //"invisible" public Keyword getInvisibleInvisibleKeyword_1_0() { return cInvisibleInvisibleKeyword_1_0; } //gone public EnumLiteralDeclaration getGoneEnumLiteralDeclaration_2() { return cGoneEnumLiteralDeclaration_2; } //"gone" public Keyword getGoneGoneKeyword_2_0() { return cGoneGoneKeyword_2_0; } } public class TypefaceKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "TypefaceKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cNormalNormalKeyword_0_0 = (Keyword)cNormalEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cSansEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cSansSansKeyword_1_0 = (Keyword)cSansEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cSerifEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cSerifSerifKeyword_2_0 = (Keyword)cSerifEnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cMonospaceEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cMonospaceMonospaceKeyword_3_0 = (Keyword)cMonospaceEnumLiteralDeclaration_3.eContents().get(0); //enum TypefaceKind: // normal | sans | serif | monospace; public EnumRule getRule() { return rule; } //normal | sans | serif | monospace public Alternatives getAlternatives() { return cAlternatives; } //normal public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_0() { return cNormalEnumLiteralDeclaration_0; } //"normal" public Keyword getNormalNormalKeyword_0_0() { return cNormalNormalKeyword_0_0; } //sans public EnumLiteralDeclaration getSansEnumLiteralDeclaration_1() { return cSansEnumLiteralDeclaration_1; } //"sans" public Keyword getSansSansKeyword_1_0() { return cSansSansKeyword_1_0; } //serif public EnumLiteralDeclaration getSerifEnumLiteralDeclaration_2() { return cSerifEnumLiteralDeclaration_2; } //"serif" public Keyword getSerifSerifKeyword_2_0() { return cSerifSerifKeyword_2_0; } //monospace public EnumLiteralDeclaration getMonospaceEnumLiteralDeclaration_3() { return cMonospaceEnumLiteralDeclaration_3; } //"monospace" public Keyword getMonospaceMonospaceKeyword_3_0() { return cMonospaceMonospaceKeyword_3_0; } } public class TextStyleKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "TextStyleKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cNormalNormalKeyword_0_0 = (Keyword)cNormalEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cBoldEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cBoldBoldKeyword_1_0 = (Keyword)cBoldEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cItalicEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cItalicItalicKeyword_2_0 = (Keyword)cItalicEnumLiteralDeclaration_2.eContents().get(0); //enum TextStyleKind: // normal | bold | italic; public EnumRule getRule() { return rule; } //normal | bold | italic public Alternatives getAlternatives() { return cAlternatives; } //normal public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_0() { return cNormalEnumLiteralDeclaration_0; } //"normal" public Keyword getNormalNormalKeyword_0_0() { return cNormalNormalKeyword_0_0; } //bold public EnumLiteralDeclaration getBoldEnumLiteralDeclaration_1() { return cBoldEnumLiteralDeclaration_1; } //"bold" public Keyword getBoldBoldKeyword_1_0() { return cBoldBoldKeyword_1_0; } //italic public EnumLiteralDeclaration getItalicEnumLiteralDeclaration_2() { return cItalicEnumLiteralDeclaration_2; } //"italic" public Keyword getItalicItalicKeyword_2_0() { return cItalicItalicKeyword_2_0; } } public class AutoLinkKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "AutoLinkKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cWebEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cWebWebKeyword_1_0 = (Keyword)cWebEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cEmailEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cEmailEmailKeyword_2_0 = (Keyword)cEmailEnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cPhoneEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cPhonePhoneKeyword_3_0 = (Keyword)cPhoneEnumLiteralDeclaration_3.eContents().get(0); private final EnumLiteralDeclaration cMapEnumLiteralDeclaration_4 = (EnumLiteralDeclaration)cAlternatives.eContents().get(4); private final Keyword cMapMapKeyword_4_0 = (Keyword)cMapEnumLiteralDeclaration_4.eContents().get(0); private final EnumLiteralDeclaration cAllEnumLiteralDeclaration_5 = (EnumLiteralDeclaration)cAlternatives.eContents().get(5); private final Keyword cAllAllKeyword_5_0 = (Keyword)cAllEnumLiteralDeclaration_5.eContents().get(0); //enum AutoLinkKind: // none | web | email | phone | map | all; public EnumRule getRule() { return rule; } //none | web | email | phone | map | all public Alternatives getAlternatives() { return cAlternatives; } //none public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } //"none" public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } //web public EnumLiteralDeclaration getWebEnumLiteralDeclaration_1() { return cWebEnumLiteralDeclaration_1; } //"web" public Keyword getWebWebKeyword_1_0() { return cWebWebKeyword_1_0; } //email public EnumLiteralDeclaration getEmailEnumLiteralDeclaration_2() { return cEmailEnumLiteralDeclaration_2; } //"email" public Keyword getEmailEmailKeyword_2_0() { return cEmailEmailKeyword_2_0; } //phone public EnumLiteralDeclaration getPhoneEnumLiteralDeclaration_3() { return cPhoneEnumLiteralDeclaration_3; } //"phone" public Keyword getPhonePhoneKeyword_3_0() { return cPhonePhoneKeyword_3_0; } //map public EnumLiteralDeclaration getMapEnumLiteralDeclaration_4() { return cMapEnumLiteralDeclaration_4; } //"map" public Keyword getMapMapKeyword_4_0() { return cMapMapKeyword_4_0; } //all public EnumLiteralDeclaration getAllEnumLiteralDeclaration_5() { return cAllEnumLiteralDeclaration_5; } //"all" public Keyword getAllAllKeyword_5_0() { return cAllAllKeyword_5_0; } } public class CapitalizeKindElements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "CapitalizeKind"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); private final EnumLiteralDeclaration cSentencesEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); private final Keyword cSentencesSentencesKeyword_1_0 = (Keyword)cSentencesEnumLiteralDeclaration_1.eContents().get(0); private final EnumLiteralDeclaration cWordsEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); private final Keyword cWordsWordsKeyword_2_0 = (Keyword)cWordsEnumLiteralDeclaration_2.eContents().get(0); private final EnumLiteralDeclaration cCharactersEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cCharactersCharactersKeyword_3_0 = (Keyword)cCharactersEnumLiteralDeclaration_3.eContents().get(0); //enum CapitalizeKind: // none | sentences | words | characters; public EnumRule getRule() { return rule; } //none | sentences | words | characters public Alternatives getAlternatives() { return cAlternatives; } //none public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } //"none" public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } //sentences public EnumLiteralDeclaration getSentencesEnumLiteralDeclaration_1() { return cSentencesEnumLiteralDeclaration_1; } //"sentences" public Keyword getSentencesSentencesKeyword_1_0() { return cSentencesSentencesKeyword_1_0; } //words public EnumLiteralDeclaration getWordsEnumLiteralDeclaration_2() { return cWordsEnumLiteralDeclaration_2; } //"words" public Keyword getWordsWordsKeyword_2_0() { return cWordsWordsKeyword_2_0; } //characters public EnumLiteralDeclaration getCharactersEnumLiteralDeclaration_3() { return cCharactersEnumLiteralDeclaration_3; } //"characters" public Keyword getCharactersCharactersKeyword_3_0() { return cCharactersCharactersKeyword_3_0; } } private ApplicationElements pApplication; private ApplicationUsesSDKElements pApplicationUsesSDK; private ResourceElements pResource; private LayoutElements pLayout; private AbstractActivityElements pAbstractActivity; private ActivityElements pActivity; private GenericActivityElements pGenericActivity; private ViewCollectionElements pViewCollection; private ListActivityElements pListActivity; private TabActivityElements pTabActivity; private TabElements pTab; private ActionSetElements pActionSet; private ActionElements pAction; private GoToURLActionElements pGoToURLAction; private ShowLayoutActionElements pShowLayoutAction; private InvokeActivityActionElements pInvokeActivityAction; private AbstractLinearLayoutElements pAbstractLinearLayout; private AbstractViewElements pAbstractView; private ViewElements pView; private LinearLayoutElements pLinearLayout; private RelativeLayoutElements pRelativeLayout; private TabHostElements pTabHost; private TabWidgetElements pTabWidget; private FrameLayoutElements pFrameLayout; private LayoutParamsElements pLayoutParams; private WidgetElements pWidget; private AbstractTextViewElements pAbstractTextView; private TextViewElements pTextView; private ImageViewElements pImageView; private ButtonElements pButton; private SpinnerElements pSpinner; private EditTextElements pEditText; private ValueAccessElements pValueAccess; private StringVAElements pStringVA; private IntegerVAElements pIntegerVA; private BooleanVAElements pBooleanVA; private ColorVAElements pColorVA; private DimensionVAElements pDimensionVA; private LayoutDimensionVAElements pLayoutDimensionVA; private AnyDrawableVAElements pAnyDrawableVA; private DrawableVAElements pDrawableVA; private AnimationVAElements pAnimationVA; private InterpolatorVAElements pInterpolatorVA; private ValueDefinitionElements pValueDefinition; private StringVDElements pStringVD; private IntegerVDElements pIntegerVD; private BooleanVDElements pBooleanVD; private ColorVDElements pColorVD; private DimensionVDElements pDimensionVD; private ValueResourceElements pValueResource; private StringResourceElements pStringResource; private IntegerResourceElements pIntegerResource; private BooleanResourceElements pBooleanResource; private ColorResourceElements pColorResource; private DimensionResourceElements pDimensionResource; private ArrayResourceElements pArrayResource; private IntegerArrayResourceElements pIntegerArrayResource; private StringArrayResourceElements pStringArrayResource; private TypedArrayResourceElements pTypedArrayResource; private DrawableResourceElements pDrawableResource; private BitmapDrawableResourceElements pBitmapDrawableResource; private TransitionDrawableResourceElements pTransitionDrawableResource; private MenuResourceElements pMenuResource; private MenuItemElements pMenuItem; private MenuItemGroupElements pMenuItemGroup; private SubMenuElements pSubMenu; private AnimationResourceElements pAnimationResource; private FrameAnimationElementElements pFrameAnimationElement; private TerminalAnimationElementsElements pTerminalAnimationElements; private TerminalAnimationSetElements pTerminalAnimationSet; private AlphaAnimationElements pAlphaAnimation; private ScaleAnimationElements pScaleAnimation; private TranslateAnimationElements pTranslateAnimation; private RotateAnimationElements pRotateAnimation; private TweenAnimationResourceElements pTweenAnimationResource; private FrameAnimationResourceElements pFrameAnimationResource; private AnimationFrameElements pAnimationFrame; private AbstractResourceAccessElements pAbstractResourceAccess; private ResourceAccessElements pResourceAccess; private StringRAElements pStringRA; private IntegerRAElements pIntegerRA; private BooleanRAElements pBooleanRA; private ColorRAElements pColorRA; private DimensionRAElements pDimensionRA; private DrawableRAElements pDrawableRA; private AnimationRAElements pAnimationRA; private InterpolatorRAElements pInterpolatorRA; private CheckBoxElements pCheckBox; private RadioButtonElements pRadioButton; private RadioGroupElements pRadioGroup; private BuiltInPermissionTypeElements unknownRuleBuiltInPermissionType; private InterpolatorsKindElements unknownRuleInterpolatorsKind; private LayoutDimensionKindElements unknownRuleLayoutDimensionKind; private LayoutGravityKindElements unknownRuleLayoutGravityKind; private LayoutOrientationKindElements unknownRuleLayoutOrientationKind; private LayoutVisibilityKindElements unknownRuleLayoutVisibilityKind; private TypefaceKindElements unknownRuleTypefaceKind; private TextStyleKindElements unknownRuleTextStyleKind; private AutoLinkKindElements unknownRuleAutoLinkKind; private CapitalizeKindElements unknownRuleCapitalizeKind; private QualifiedNameElements pQualifiedName; private RelativePercentualElements pRelativePercentual; private URLElements pURL; private DimensionValueElements pDimensionValue; private TerminalRule tBOOL; private TerminalRule tFLOAT; private TerminalRule tHEX_COLOR; private final GrammarProvider grammarProvider; private TerminalsGrammarAccess gaTerminals; @Inject public DroidGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammarProvider = grammarProvider; this.gaTerminals = gaTerminals; } public Grammar getGrammar() { return grammarProvider.getGrammar(this); } public TerminalsGrammarAccess getTerminalsGrammarAccess() { return gaTerminals; } ////generate droid "http://www.eclipse.org/amalgam/tutorials/xtext/Droid" ////The ammount of available RAM to the JVM is a restriction to the ////DSL generation. The usage of unordered groups tend to increase the RAM needed ////in order to generate the language ////Debug is a big problem. For example, if you forget to add an & during the ////definition of a unordered-Group yout WILL get memory problems ////(stack overflows, heap out of memory, etc) /// ****************************************************************************** // * Application // ****************************************************************************** /Application: // "application" name=STRING "=>" packageName=QualifiedName "{" (("version:" versionCode=INT "=>" versionName=STRING)? & // sdkVersion=ApplicationUsesSDK?) (resources+=Resource | activities+=Activity | layouts+=Layout)+ "}"; public ApplicationElements getApplicationAccess() { return (pApplication != null) ? pApplication : (pApplication = new ApplicationElements()); } public ParserRule getApplicationRule() { return getApplicationAccess().getRule(); } //ApplicationUsesSDK: // "sdk:" "{" {ApplicationUsesSDK} (("min:" minSdkVersion=INT ";")? & ("max:" maxSdkVersion=INT ";")? & ("target:" // targetSdkVersion=INT ";")?) "}"; public ApplicationUsesSDKElements getApplicationUsesSDKAccess() { return (pApplicationUsesSDK != null) ? pApplicationUsesSDK : (pApplicationUsesSDK = new ApplicationUsesSDKElements()); } public ParserRule getApplicationUsesSDKRule() { return getApplicationUsesSDKAccess().getRule(); } //Resource: // ValueResource | MenuResource; public ResourceElements getResourceAccess() { return (pResource != null) ? pResource : (pResource = new ResourceElements()); } public ParserRule getResourceRule() { return getResourceAccess().getRule(); } //Layout: // AbstractLinearLayout | RelativeLayout | TabHost | //| SlideDrawer | AdapterView // // FrameLayout; public LayoutElements getLayoutAccess() { return (pLayout != null) ? pLayout : (pLayout = new LayoutElements()); } public ParserRule getLayoutRule() { return getLayoutAccess().getRule(); } /// ****************************************************************************** // * Activities // ****************************************************************************** ///TODO: change widgets to viewCollection //AbstractActivity: // Activity | referencedLayout=[Layout] widgets=ViewCollection; public AbstractActivityElements getAbstractActivityAccess() { return (pAbstractActivity != null) ? pAbstractActivity : (pAbstractActivity = new AbstractActivityElements()); } public ParserRule getAbstractActivityRule() { return getAbstractActivityAccess().getRule(); } //Activity: // GenericActivity | ListActivity | TabActivity; public ActivityElements getActivityAccess() { return (pActivity != null) ? pActivity : (pActivity = new ActivityElements()); } public ParserRule getActivityRule() { return getActivityAccess().getRule(); } //GenericActivity: // "screen" name=QualifiedName "{" ("layout:" referencedLayout=[Layout] | widgets=ViewCollection) //(actions+=Action)* // "}"; public GenericActivityElements getGenericActivityAccess() { return (pGenericActivity != null) ? pGenericActivity : (pGenericActivity = new GenericActivityElements()); } public ParserRule getGenericActivityRule() { return getGenericActivityAccess().getRule(); } //ViewCollection: // ("#" views+=View)+; public ViewCollectionElements getViewCollectionAccess() { return (pViewCollection != null) ? pViewCollection : (pViewCollection = new ViewCollectionElements()); } public ParserRule getViewCollectionRule() { return getViewCollectionAccess().getRule(); } ////NOT tested //ListActivity: // "listActivity" name=QualifiedName "{" "data:" dataSource=ID ("layout:" referencedLayout=[Layout] | // widgets=ViewCollection)? "item:" itemLayout=[Layout] actions+=Action* "}"; public ListActivityElements getListActivityAccess() { return (pListActivity != null) ? pListActivity : (pListActivity = new ListActivityElements()); } public ParserRule getListActivityRule() { return getListActivityAccess().getRule(); } ////NOT tested //TabActivity: // "tabActivity" name=QualifiedName "{" ("layout:" referencedLayout=[Layout] | widgets=ViewCollection)? tabs+=Tab+ // actions+=Action* "}"; public TabActivityElements getTabActivityAccess() { return (pTabActivity != null) ? pTabActivity : (pTabActivity = new TabActivityElements()); } public ParserRule getTabActivityRule() { return getTabActivityAccess().getRule(); } ////NOT tested //Tab: // "tab:" caption=StringVA name=QualifiedName? "{" (("icon:" icon=DrawableRA)? & ("selectedIcon:" // selectedIcon=DrawableRA)? & ("activity:" activity=[Activity|QualifiedName])? & ("layout:" layout=[Layout])?) // actions+=Action* "}"; public TabElements getTabAccess() { return (pTab != null) ? pTab : (pTab = new TabElements()); } public ParserRule getTabRule() { return getTabAccess().getRule(); } //// ////Actions //// //ActionSet: // "actions:" "{" actions+=Action+ "}"; public ActionSetElements getActionSetAccess() { return (pActionSet != null) ? pActionSet : (pActionSet = new ActionSetElements()); } public ParserRule getActionSetRule() { return getActionSetAccess().getRule(); } //// => (invoke second_activity) //Action: // "=>" (GoToURLAction / *| LoadResourceAction| LoadURLAction * / | ShowLayoutAction | InvokeActivityAction); public ActionElements getActionAccess() { return (pAction != null) ? pAction : (pAction = new ActionElements()); } public ParserRule getActionRule() { return getActionAccess().getRule(); } ////NOT tested //GoToURLAction: // "goTo" url=STRING; public GoToURLActionElements getGoToURLActionAccess() { return (pGoToURLAction != null) ? pGoToURLAction : (pGoToURLAction = new GoToURLActionElements()); } public ParserRule getGoToURLActionRule() { return getGoToURLActionAccess().getRule(); } ////NOT tested //ShowLayoutAction: // "show" layout=[Layout]; public ShowLayoutActionElements getShowLayoutActionAccess() { return (pShowLayoutAction != null) ? pShowLayoutAction : (pShowLayoutAction = new ShowLayoutActionElements()); } public ParserRule getShowLayoutActionRule() { return getShowLayoutActionAccess().getRule(); } ////NOT tested //InvokeActivityAction: // "invoke" activity=[Activity|QualifiedName]; public InvokeActivityActionElements getInvokeActivityActionAccess() { return (pInvokeActivityAction != null) ? pInvokeActivityAction : (pInvokeActivityAction = new InvokeActivityActionElements()); } public ParserRule getInvokeActivityActionRule() { return getInvokeActivityActionAccess().getRule(); } /// ****************************************************************************** // * Layouts // ****************************************************************************** /AbstractLinearLayout: // LinearLayout | //| RadioGroup // TabWidget; public AbstractLinearLayoutElements getAbstractLinearLayoutAccess() { return (pAbstractLinearLayout != null) ? pAbstractLinearLayout : (pAbstractLinearLayout = new AbstractLinearLayoutElements()); } public ParserRule getAbstractLinearLayoutRule() { return getAbstractLinearLayoutAccess().getRule(); } //AbstractView: // View //Enforces properties inside AbstractView interface // | name=ID widgets=ViewCollection; public AbstractViewElements getAbstractViewAccess() { return (pAbstractView != null) ? pAbstractView : (pAbstractView = new AbstractViewElements()); } public ParserRule getAbstractViewRule() { return getAbstractViewAccess().getRule(); } //View: // Widget | Layout; public ViewElements getViewAccess() { return (pView != null) ? pView : (pView = new ViewElements()); } public ParserRule getViewRule() { return getViewAccess().getRule(); } //LinearLayout: // "linear"? "layout" {LinearLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? //View Properties // // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // //ViewGroup // //LinearLayout // // & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & // ("orientation:" orientation=LayoutOrientationKind ";")?) widgets=ViewCollection? "}"; public LinearLayoutElements getLinearLayoutAccess() { return (pLinearLayout != null) ? pLinearLayout : (pLinearLayout = new LinearLayoutElements()); } public ParserRule getLinearLayoutRule() { return getLinearLayoutAccess().getRule(); } //RelativeLayout: // "relative" "layout" {RelativeLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? //View Properties // // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // //ViewGroup // //RelativeLayout // // & ('gravity:' gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")? & // ("orientation:" orientation=LayoutOrientationKind ";")?) widgets=ViewCollection? "}"; public RelativeLayoutElements getRelativeLayoutAccess() { return (pRelativeLayout != null) ? pRelativeLayout : (pRelativeLayout = new RelativeLayoutElements()); } public ParserRule getRelativeLayoutRule() { return getRelativeLayoutAccess().getRule(); } ////OCL restriction: Must have a TabWidget and a FrameLayout ////NOT tested //TabHost: // "tab" "layout" {TabHost} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // // & ('layout:' layoutParams=LinearLayoutParams ';' )? // //ViewGroup // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & layoutParams=LayoutParams? & ("animation:" layoutAnimation=AnimationVA ";")?) // layout=Layout // widgets=ViewCollection? "}"; public TabHostElements getTabHostAccess() { return (pTabHost != null) ? pTabHost : (pTabHost = new TabHostElements()); } public ParserRule getTabHostRule() { return getTabHostAccess().getRule(); } ////NOT tested //TabWidget: // "tabWidget" {TabWidget} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // //LinearLayout.LayoutParams // //NOTE: All its children can have this layout parameters too // // & ('layout:' layoutParams=LinearLayoutParams ';' )? // // //ViewGroup // //LinearLayout // //TabWidget // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")? & ("gravity:" // gravity+=LayoutGravityKind ("|" gravity+=LayoutGravityKind)* ";")? & ("orientation:" orientation=LayoutOrientationKind // ";")? & ("divider:" divider=AnyDrawableVA ";")? & ("tabStrip:" trabStripEnabled=BooleanVA ";")? & ("tabStripLeft:" // trabStripLeft=AnyDrawableVA ";")? & ("tabStripRight:" tabStripRight=AnyDrawableVA ";")?) widgets=ViewCollection? "}"; public TabWidgetElements getTabWidgetAccess() { return (pTabWidget != null) ? pTabWidget : (pTabWidget = new TabWidgetElements()); } public ParserRule getTabWidgetRule() { return getTabWidgetAccess().getRule(); } ////NOT tested //FrameLayout: // "frame" "layout" {FrameLayout} name=ID? "{" (("alpha:" alpha=FLOAT ";")? // & ('rotation:' rotation=DimensionVA';' )? // // & ('rotationX:' rotationX=DimensionVA';' )? // // & ('rotationY:' rotationY=DimensionVA';' )? // // & ('saveEnabled:' saveEnabled=BooleanVA';' )? // // & ('scaleX:' scaleX=DimensionVA';' )? // // & ('scaleY:' scaleY=DimensionVA';' )? // // & ('scrollX:' scrollX=DimensionVA';' )? // // & ('scrollY:' scrollY=DimensionVA';' )? // // & ('transformPivotX:' transformPivotX=DimensionVA';' )? // // & ('transformPivotY:' transformPivotY=DimensionVA';' )? // // & ('translationX:' translationX=DimensionVA';' )? // // & ('translationY:' translationY=DimensionVA';' )? // // & ('layout:' layoutParams=FrameLayoutParams ';' )? // // //ViewGroup // & ("background:" background=AnyDrawableVA ";")? & ("minHeight:" minHeight=DimensionVA ";")? & ("minWidth:" // minWidth=DimensionVA ";")? & ("nextFocusDown:" nextFocusDown=[View] ";")? & ("nextFocusLeft:" nextFocusLeft=[View] // ";")? & ("nextFocusRight:" nextFocusRight=[View] ";")? & ("nextFocusUp:" nextFocusUp=[View] ";")? & ("onClick:" // onClick=Action ";")? & ("padding:" padding=DimensionVA ";")? & ("paddingBottom:" paddingBottom=DimensionVA ";")? & // ("paddingLeft:" paddingLeft=DimensionVA ";")? & ("paddingRight:" paddingRight=DimensionVA ";")? & ("paddingTop:" // paddingTop=DimensionVA ";")? & ("scrollbars:" scrollbars=BooleanVA ";")? & ("visibility:" // visibility=LayoutVisibilityKind ";")? & ("animation:" layoutAnimation=AnimationVA ";")?) // layout=Layout // widgets=ViewCollection? "}"; public FrameLayoutElements getFrameLayoutAccess() { return (pFrameLayout != null) ? pFrameLayout : (pFrameLayout = new FrameLayoutElements()); } public ParserRule getFrameLayoutRule() { return getFrameLayoutAccess().getRule(); } //LayoutParams: // "layout:" "{" {LayoutParams} (("height:" layout_height=LayoutDimensionVA ";")? //LinearLayoutParams // //& ('gravity:' layout_gravity+=LayoutGravityKind ('|' gravity+=LayoutGravityKind)* ';' )? // //RelativeLayoutParams // & ("width:" layout_width=LayoutDimensionVA ";")? & ("weight:" layout_weight=IntegerVA ";")? & ("marginBottom:" // layout_marginBottom=DimensionVA ";")? & ("marginLeft:" layout_marginLeft=DimensionVA ";")? & ("marginRight:" // layout_marginRight=DimensionVA ";")? & ("marginTop:" layout_marginTop=DimensionVA ";")? & ("above:" // layout_above=[View] ";")? & ("alignBaseline:" layout_alignBaseline=[View] ";")? & ("alignBottom:" // layout_alignBottom=[View] ";")? & ("alignLeft:" layout_alignLeft=[View] ";")? & ("alignParentBottom:" // layout_alignParentBottom=BooleanVA ";")? & ("alignParentLeft:" layout_alignParentLeft=BooleanVA ";")? & // ("alignParentRight:" layout_alignParentRight=BooleanVA ";")? & ("alignParentTop:" layout_alignParentTop=BooleanVA // ";")? & ("alignTop:" layout_alignTop=[View] ";")? & ("alignWithParentIfMissing:" // layout_alignWithParentIfMissing=BooleanVA ";")? & ("below:" layout_below=[View] ";")? & ("centerHorizontal:" // layout_centerHorizontal=BooleanVA ";")? & ("centerInParent:" layout_centerInParent=BooleanVA ";")? & // ("centerVertical:" layout_centerVertical=BooleanVA ";")? & ("toLeftOf:" layout_toLeftOf=[View] ";")? & ("toRightOf:" // layout_toRightOf=[View] ";")?) "}"; public LayoutParamsElements getLayoutParamsAccess() { return (pLayoutParams != null) ? pLayoutParams : (pLayoutParams = new LayoutParamsElements()); } public ParserRule getLayoutParamsRule() { return getLayoutParamsAccess().getRule(); } /// ****************************************************************************** // * Widgets // ****************************************************************************** /Widget: // TextView | Button | ImageView | EditText | Spinner; public WidgetElements getWidgetAccess() { return (pWidget != null) ? pWidget : (pWidget = new WidgetElements()); } public ParserRule getWidgetRule() { return getWidgetAccess().getRule(); } //AbstractTextView: // TextView | Button | EditText; public AbstractTextViewElements getAbstractTextViewAccess() { return (pAbstractTextView != null) ? pAbstractTextView : (pAbstractTextView = new AbstractTextViewElements()); } public ParserRule getAbstractTextViewRule() { return getAbstractTextViewAccess().getRule(); } //TextView: // "textView" name=ID? text=StringVA ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" // autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & // ("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? // & ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & // ("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" // textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & // ("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) //Test HERE // //& (layoutParams=LayoutParams)? // "}")?; public TextViewElements getTextViewAccess() { return (pTextView != null) ? pTextView : (pTextView = new TextViewElements()); } public ParserRule getTextViewRule() { return getTextViewAccess().getRule(); } ////NOT tested //ImageView: // "imageView" name=ID? src=AnyDrawableVA ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & ("left:" // left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & ("background:" // background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" fadeScrollBars=BooleanVA // ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")?) "}")?; public ImageViewElements getImageViewAccess() { return (pImageView != null) ? pImageView : (pImageView = new ImageViewElements()); } public ParserRule getImageViewRule() { return getImageViewAccess().getRule(); } ////Button and ImageButton (depending on parameters) //Button: // "button" name=ID? (text=StringVA | src=AnyDrawableVA) ("to" target=[Activity|QualifiedName])? ("{" // layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? // Specific properties // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("hint:" hint=StringVA // ";")?) "}")?; public ButtonElements getButtonAccess() { return (pButton != null) ? pButton : (pButton = new ButtonElements()); } public ParserRule getButtonRule() { return getButtonAccess().getRule(); } ////Todo: look at http://developer.android.com/resources/tutorials/views/hello-spinner.html ////NOT tested //Spinner: // "spinner" {Spinner} name=ID? prompt=StringVA? ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? & // ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")?) // Specific properties // // & ('gravity:' gravity+=SpinnerGravityKind ('|' gravity+=SpinnerGravityKind )* ';' )? // "}")?; public SpinnerElements getSpinnerAccess() { return (pSpinner != null) ? pSpinner : (pSpinner = new SpinnerElements()); } public ParserRule getSpinnerRule() { return getSpinnerAccess().getRule(); } ////NOT tested //EditText: // "editText" {EditText} name=ID? text=StringVA? ("{" layoutParams=LayoutParams? (("top:" top=DimensionVA ";")? //TextView attributes // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" // autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & // ("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? // & ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & // ("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" // textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & // ("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")?) "}")?; public EditTextElements getEditTextAccess() { return (pEditText != null) ? pEditText : (pEditText = new EditTextElements()); } public ParserRule getEditTextRule() { return getEditTextAccess().getRule(); } /// ****************************************************************************** // * Value Access // ****************************************************************************** // * If something (like a property) have a value of any resource kind, this value // * is a value access. Always have as associated type. // ****************************************************************************** ///| IntegerArrayVA | StringArrayVA | TypedArrayVA //ValueAccess: // StringVA | IntegerVA | BooleanVA | ColorVA | DimensionVA | DrawableVA | AnimationVA | InterpolatorVA; public ValueAccessElements getValueAccessAccess() { return (pValueAccess != null) ? pValueAccess : (pValueAccess = new ValueAccessElements()); } public ParserRule getValueAccessRule() { return getValueAccessAccess().getRule(); } ////This delegation pattern is only making the things harder because I can not ////put an abstract property (access) in the ValueAccess abstract class //StringVA: //(StringRA | StringVD) // access=StringRA | value=StringVD; public StringVAElements getStringVAAccess() { return (pStringVA != null) ? pStringVA : (pStringVA = new StringVAElements()); } public ParserRule getStringVARule() { return getStringVAAccess().getRule(); } //IntegerVA: //(IntegerRA | IntegerVD) // access=IntegerRA | value=IntegerVD; public IntegerVAElements getIntegerVAAccess() { return (pIntegerVA != null) ? pIntegerVA : (pIntegerVA = new IntegerVAElements()); } public ParserRule getIntegerVARule() { return getIntegerVAAccess().getRule(); } //BooleanVA: //(BooleanRA | BooleanVD) // access=BooleanRA | value=BooleanVD; public BooleanVAElements getBooleanVAAccess() { return (pBooleanVA != null) ? pBooleanVA : (pBooleanVA = new BooleanVAElements()); } public ParserRule getBooleanVARule() { return getBooleanVAAccess().getRule(); } //ColorVA: //(ColorRA | ColorVD) // access=ColorRA | value=ColorVD; public ColorVAElements getColorVAAccess() { return (pColorVA != null) ? pColorVA : (pColorVA = new ColorVAElements()); } public ParserRule getColorVARule() { return getColorVAAccess().getRule(); } //DimensionVA: //(DimensionRA | DimensionVD) // access=DimensionRA | value=DimensionVD; public DimensionVAElements getDimensionVAAccess() { return (pDimensionVA != null) ? pDimensionVA : (pDimensionVA = new DimensionVAElements()); } public ParserRule getDimensionVARule() { return getDimensionVAAccess().getRule(); } ////Used only in layout_width and layout_height //LayoutDimensionVA: // DimensionVA | constant_value=LayoutDimensionKind; public LayoutDimensionVAElements getLayoutDimensionVAAccess() { return (pLayoutDimensionVA != null) ? pLayoutDimensionVA : (pLayoutDimensionVA = new LayoutDimensionVAElements()); } public ParserRule getLayoutDimensionVARule() { return getLayoutDimensionVAAccess().getRule(); } ////TODO: StyleRA ////http://developer.android.com/guide/topics/ui/themes.html //AnyDrawableVA: // DrawableVA | ColorVA; public AnyDrawableVAElements getAnyDrawableVAAccess() { return (pAnyDrawableVA != null) ? pAnyDrawableVA : (pAnyDrawableVA = new AnyDrawableVAElements()); } public ParserRule getAnyDrawableVARule() { return getAnyDrawableVAAccess().getRule(); } //DrawableVA: // access=DrawableRA; public DrawableVAElements getDrawableVAAccess() { return (pDrawableVA != null) ? pDrawableVA : (pDrawableVA = new DrawableVAElements()); } public ParserRule getDrawableVARule() { return getDrawableVAAccess().getRule(); } //AnimationVA: //(AnimationRA) // access= //| AnimationVD // AnimationRA; public AnimationVAElements getAnimationVAAccess() { return (pAnimationVA != null) ? pAnimationVA : (pAnimationVA = new AnimationVAElements()); } public ParserRule getAnimationVARule() { return getAnimationVAAccess().getRule(); } //InterpolatorVA: //(InterpolatorRA) // access=InterpolatorRA; public InterpolatorVAElements getInterpolatorVAAccess() { return (pInterpolatorVA != null) ? pInterpolatorVA : (pInterpolatorVA = new InterpolatorVAElements()); } public ParserRule getInterpolatorVARule() { return getInterpolatorVAAccess().getRule(); } /// ****************************************************************************** // * Value Definitions (always typed) // ****************************************************************************** // * IntegerArrayVD | StringArrayVD | TypedArrayVD * / //ValueDefinition: // StringVD | IntegerVD | BooleanVD | ColorVD | DimensionVD; public ValueDefinitionElements getValueDefinitionAccess() { return (pValueDefinition != null) ? pValueDefinition : (pValueDefinition = new ValueDefinitionElements()); } public ParserRule getValueDefinitionRule() { return getValueDefinitionAccess().getRule(); } //StringVD: // value=STRING; public StringVDElements getStringVDAccess() { return (pStringVD != null) ? pStringVD : (pStringVD = new StringVDElements()); } public ParserRule getStringVDRule() { return getStringVDAccess().getRule(); } //IntegerVD: // value=INT; public IntegerVDElements getIntegerVDAccess() { return (pIntegerVD != null) ? pIntegerVD : (pIntegerVD = new IntegerVDElements()); } public ParserRule getIntegerVDRule() { return getIntegerVDAccess().getRule(); } //BooleanVD: // value=BOOL; public BooleanVDElements getBooleanVDAccess() { return (pBooleanVD != null) ? pBooleanVD : (pBooleanVD = new BooleanVDElements()); } public ParserRule getBooleanVDRule() { return getBooleanVDAccess().getRule(); } //ColorVD: // value=HEX_COLOR; public ColorVDElements getColorVDAccess() { return (pColorVD != null) ? pColorVD : (pColorVD = new ColorVDElements()); } public ParserRule getColorVDRule() { return getColorVDAccess().getRule(); } //DimensionVD: // value=DimensionValue; public DimensionVDElements getDimensionVDAccess() { return (pDimensionVD != null) ? pDimensionVD : (pDimensionVD = new DimensionVDElements()); } public ParserRule getDimensionVDRule() { return getDimensionVDAccess().getRule(); } /// * //No need //InterpolatorVD: // shareInterpolator?='shared' // 'interpolator' interpolator=InterpolatorRA //; // * // ****************************************************************************** // * Resource Definition (for resources which can be defined as property value) // ****************************************************************************** // * TODO: Verify if ALL resources can be defined as property value =D // ****************************************************************************** ///| InterpolatorResource //ValueResource: // StringResource | IntegerResource | BooleanResource | ColorResource | DimensionResource | ArrayResource | // DrawableResource | AnimationResource; public ValueResourceElements getValueResourceAccess() { return (pValueResource != null) ? pValueResource : (pValueResource = new ValueResourceElements()); } public ParserRule getValueResourceRule() { return getValueResourceAccess().getRule(); } //StringResource: // "string" name=ID "=" value=STRING; public StringResourceElements getStringResourceAccess() { return (pStringResource != null) ? pStringResource : (pStringResource = new StringResourceElements()); } public ParserRule getStringResourceRule() { return getStringResourceAccess().getRule(); } //IntegerResource: // "integer" name=ID "=" value=INT; public IntegerResourceElements getIntegerResourceAccess() { return (pIntegerResource != null) ? pIntegerResource : (pIntegerResource = new IntegerResourceElements()); } public ParserRule getIntegerResourceRule() { return getIntegerResourceAccess().getRule(); } //BooleanResource: // "bool" name=ID "=" value=BOOL; public BooleanResourceElements getBooleanResourceAccess() { return (pBooleanResource != null) ? pBooleanResource : (pBooleanResource = new BooleanResourceElements()); } public ParserRule getBooleanResourceRule() { return getBooleanResourceAccess().getRule(); } //ColorResource: // "color" name=ID "=" value=HEX_COLOR; public ColorResourceElements getColorResourceAccess() { return (pColorResource != null) ? pColorResource : (pColorResource = new ColorResourceElements()); } public ParserRule getColorResourceRule() { return getColorResourceAccess().getRule(); } //DimensionResource: // "dimension" name=ID "=" value=DimensionValue; public DimensionResourceElements getDimensionResourceAccess() { return (pDimensionResource != null) ? pDimensionResource : (pDimensionResource = new DimensionResourceElements()); } public ParserRule getDimensionResourceRule() { return getDimensionResourceAccess().getRule(); } //// ////Array Resource //// //ArrayResource: // "array" (IntegerArrayResource | StringArrayResource | TypedArrayResource); public ArrayResourceElements getArrayResourceAccess() { return (pArrayResource != null) ? pArrayResource : (pArrayResource = new ArrayResourceElements()); } public ParserRule getArrayResourceRule() { return getArrayResourceAccess().getRule(); } //IntegerArrayResource: // "(integer)" name=ID "=" "[" (items+=INT ("," items+=INT)*)? "]"; public IntegerArrayResourceElements getIntegerArrayResourceAccess() { return (pIntegerArrayResource != null) ? pIntegerArrayResource : (pIntegerArrayResource = new IntegerArrayResourceElements()); } public ParserRule getIntegerArrayResourceRule() { return getIntegerArrayResourceAccess().getRule(); } //StringArrayResource: // "(string)" name=ID "=" "[" (items+=STRING ("," items+=STRING)*)? "]"; public StringArrayResourceElements getStringArrayResourceAccess() { return (pStringArrayResource != null) ? pStringArrayResource : (pStringArrayResource = new StringArrayResourceElements()); } public ParserRule getStringArrayResourceRule() { return getStringArrayResourceAccess().getRule(); } ////That is going to generate some crazy rules =D //TypedArrayResource: // name=ID "=" "[" (values+=ValueAccess ("," values+=ValueAccess)*)? "]"; public TypedArrayResourceElements getTypedArrayResourceAccess() { return (pTypedArrayResource != null) ? pTypedArrayResource : (pTypedArrayResource = new TypedArrayResourceElements()); } public ParserRule getTypedArrayResourceRule() { return getTypedArrayResourceAccess().getRule(); } //// ////DrawableResource //// ////http://developer.android.com/guide/topics/resources/drawable-resource.html //DrawableResource: // BitmapDrawableResource | TransitionDrawableResource; public DrawableResourceElements getDrawableResourceAccess() { return (pDrawableResource != null) ? pDrawableResource : (pDrawableResource = new DrawableResourceElements()); } public ParserRule getDrawableResourceRule() { return getDrawableResourceAccess().getRule(); } ////http://developer.android.com/guide/topics/resources/drawable-resource.html#Bitmap //BitmapDrawableResource: // "bitmap" {BitmapDrawableResource} name=ID "=" filename=ID; public BitmapDrawableResourceElements getBitmapDrawableResourceAccess() { return (pBitmapDrawableResource != null) ? pBitmapDrawableResource : (pBitmapDrawableResource = new BitmapDrawableResourceElements()); } public ParserRule getBitmapDrawableResourceRule() { return getBitmapDrawableResourceAccess().getRule(); } ////http://developer.android.com/guide/topics/resources/drawable-resource.html#Transition //TransitionDrawableResource: // "transition" {TransitionDrawableResource} name=ID from=[BitmapDrawableResource] "<->" to=[BitmapDrawableResource]; public TransitionDrawableResourceElements getTransitionDrawableResourceAccess() { return (pTransitionDrawableResource != null) ? pTransitionDrawableResource : (pTransitionDrawableResource = new TransitionDrawableResourceElements()); } public ParserRule getTransitionDrawableResourceRule() { return getTransitionDrawableResourceAccess().getRule(); } //// ////Menu Resource //// ////PENDING ////Implement attributes: http://developer.android.com/guide/topics/resources/menu-resource.html //MenuResource: // "menu" {MenuResource} name=ID "{" (menuItems+=MenuItem | subMenus+=SubMenu | groups+=MenuItemGroup)* "}"; public MenuResourceElements getMenuResourceAccess() { return (pMenuResource != null) ? pMenuResource : (pMenuResource = new MenuResourceElements()); } public ParserRule getMenuResourceRule() { return getMenuResourceAccess().getRule(); } //MenuItem: // "item" {MenuItem} "{" subMenus+=SubMenu* "}"; public MenuItemElements getMenuItemAccess() { return (pMenuItem != null) ? pMenuItem : (pMenuItem = new MenuItemElements()); } public ParserRule getMenuItemRule() { return getMenuItemAccess().getRule(); } //MenuItemGroup: // "group" {MenuGroup} "{" items+=MenuItem+ "}"; public MenuItemGroupElements getMenuItemGroupAccess() { return (pMenuItemGroup != null) ? pMenuItemGroup : (pMenuItemGroup = new MenuItemGroupElements()); } public ParserRule getMenuItemGroupRule() { return getMenuItemGroupAccess().getRule(); } //SubMenu: // "submenu" {SubMenu} "{" (menuItems+=MenuItem | groups+=MenuItemGroup)* "}"; public SubMenuElements getSubMenuAccess() { return (pSubMenu != null) ? pSubMenu : (pSubMenu = new SubMenuElements()); } public ParserRule getSubMenuRule() { return getSubMenuAccess().getRule(); } //// ////Animation Resource //// //AnimationResource: // TweenAnimationResource | FrameAnimationResource; public AnimationResourceElements getAnimationResourceAccess() { return (pAnimationResource != null) ? pAnimationResource : (pAnimationResource = new AnimationResourceElements()); } public ParserRule getAnimationResourceRule() { return getAnimationResourceAccess().getRule(); } //FrameAnimationElement: // TerminalAnimationElements | TerminalAnimationSet; public FrameAnimationElementElements getFrameAnimationElementAccess() { return (pFrameAnimationElement != null) ? pFrameAnimationElement : (pFrameAnimationElement = new FrameAnimationElementElements()); } public ParserRule getFrameAnimationElementRule() { return getFrameAnimationElementAccess().getRule(); } //TerminalAnimationElements: // AlphaAnimation | ScaleAnimation | TranslateAnimation | RotateAnimation; public TerminalAnimationElementsElements getTerminalAnimationElementsAccess() { return (pTerminalAnimationElements != null) ? pTerminalAnimationElements : (pTerminalAnimationElements = new TerminalAnimationElementsElements()); } public ParserRule getTerminalAnimationElementsRule() { return getTerminalAnimationElementsAccess().getRule(); } //TerminalAnimationSet: // "set" "{" (shareInterpolator?="shared" interpolator=InterpolatorVA)? elements+=FrameAnimationElement+ "}"; public TerminalAnimationSetElements getTerminalAnimationSetAccess() { return (pTerminalAnimationSet != null) ? pTerminalAnimationSet : (pTerminalAnimationSet = new TerminalAnimationSetElements()); } public ParserRule getTerminalAnimationSetRule() { return getTerminalAnimationSetAccess().getRule(); } //AlphaAnimation: // "fade:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public AlphaAnimationElements getAlphaAnimationAccess() { return (pAlphaAnimation != null) ? pAlphaAnimation : (pAlphaAnimation = new AlphaAnimationElements()); } public ParserRule getAlphaAnimationRule() { return getAlphaAnimationAccess().getRule(); } //ScaleAnimation: // "scale:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public ScaleAnimationElements getScaleAnimationAccess() { return (pScaleAnimation != null) ? pScaleAnimation : (pScaleAnimation = new ScaleAnimationElements()); } public ParserRule getScaleAnimationRule() { return getScaleAnimationAccess().getRule(); } //TranslateAnimation: // "translate:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public TranslateAnimationElements getTranslateAnimationAccess() { return (pTranslateAnimation != null) ? pTranslateAnimation : (pTranslateAnimation = new TranslateAnimationElements()); } public ParserRule getTranslateAnimationRule() { return getTranslateAnimationAccess().getRule(); } //RotateAnimation: // "rotate:" ("from" fromAlpha=FLOAT & "to" toAlpha=FLOAT); public RotateAnimationElements getRotateAnimationAccess() { return (pRotateAnimation != null) ? pRotateAnimation : (pRotateAnimation = new RotateAnimationElements()); } public ParserRule getRotateAnimationRule() { return getRotateAnimationAccess().getRule(); } //TweenAnimationResource: // "tweenAnimation" name=ID "{" elements+=FrameAnimationElement+ "}"; public TweenAnimationResourceElements getTweenAnimationResourceAccess() { return (pTweenAnimationResource != null) ? pTweenAnimationResource : (pTweenAnimationResource = new TweenAnimationResourceElements()); } public ParserRule getTweenAnimationResourceRule() { return getTweenAnimationResourceAccess().getRule(); } //FrameAnimationResource: // oneShot?="oneShot" "frameAnimation" name=ID "{" frames+=AnimationFrame+ "}"; public FrameAnimationResourceElements getFrameAnimationResourceAccess() { return (pFrameAnimationResource != null) ? pFrameAnimationResource : (pFrameAnimationResource = new FrameAnimationResourceElements()); } public ParserRule getFrameAnimationResourceRule() { return getFrameAnimationResourceAccess().getRule(); } //AnimationFrame: // "frame:" drawable=AnyDrawableVA ("->" duration=INT)?; public AnimationFrameElements getAnimationFrameAccess() { return (pAnimationFrame != null) ? pAnimationFrame : (pAnimationFrame = new AnimationFrameElements()); } public ParserRule getAnimationFrameRule() { return getAnimationFrameAccess().getRule(); } /// ****************************************************************************** // * Resource Access // ****************************************************************************** ///TODO: exemplify this behaviour in a blog post and report eventual bug ////BUG: all the subclasses have a commond attribute but it was not especified in //// the parent common class because the attributes were not of the same //// concrete type (they were of the same abstract type) ////Used only to enforce the abstract property (resource) in the Abstract Class ////BUG?: Why when using this the concrete class's resource attribute don't //// override the abstract resource attribute? ////AbstractResourceAccess: //// (ResourceAccess) | ( resource=[Resource] | externalResource=STRING ) ////; ////I putted this @<type> just to allow the parser to resolve the ambiguity. ////So, I followed the Android Conventions to typed resource references //AbstractResourceAccess: // ResourceAccess | externalResource=STRING; public AbstractResourceAccessElements getAbstractResourceAccessAccess() { return (pAbstractResourceAccess != null) ? pAbstractResourceAccess : (pAbstractResourceAccess = new AbstractResourceAccessElements()); } public ParserRule getAbstractResourceAccessRule() { return getAbstractResourceAccessAccess().getRule(); } //ResourceAccess: // StringRA | IntegerRA | BooleanRA | ColorRA | DimensionRA | DrawableRA | AnimationRA | InterpolatorRA; public ResourceAccessElements getResourceAccessAccess() { return (pResourceAccess != null) ? pResourceAccess : (pResourceAccess = new ResourceAccessElements()); } public ParserRule getResourceAccessRule() { return getResourceAccessAccess().getRule(); } //StringRA: // "@string" (resource=[StringResource] | externalResource=STRING); public StringRAElements getStringRAAccess() { return (pStringRA != null) ? pStringRA : (pStringRA = new StringRAElements()); } public ParserRule getStringRARule() { return getStringRAAccess().getRule(); } //IntegerRA: // "@integer" (resource=[IntegerResource] | externalResource=STRING); public IntegerRAElements getIntegerRAAccess() { return (pIntegerRA != null) ? pIntegerRA : (pIntegerRA = new IntegerRAElements()); } public ParserRule getIntegerRARule() { return getIntegerRAAccess().getRule(); } //BooleanRA: // "@bool" (resource=[BooleanResource] | externalResource=STRING); public BooleanRAElements getBooleanRAAccess() { return (pBooleanRA != null) ? pBooleanRA : (pBooleanRA = new BooleanRAElements()); } public ParserRule getBooleanRARule() { return getBooleanRAAccess().getRule(); } //ColorRA: // "@color" (resource=[ColorResource] | externalResource=STRING); public ColorRAElements getColorRAAccess() { return (pColorRA != null) ? pColorRA : (pColorRA = new ColorRAElements()); } public ParserRule getColorRARule() { return getColorRAAccess().getRule(); } //DimensionRA: // "@dimen" (resource=[DimensionResource] | externalResource=STRING); public DimensionRAElements getDimensionRAAccess() { return (pDimensionRA != null) ? pDimensionRA : (pDimensionRA = new DimensionRAElements()); } public ParserRule getDimensionRARule() { return getDimensionRAAccess().getRule(); } /// * ////TODO: verify if this is valid //ArrayRA: // '@array' // ( resource=[ArrayResource] | externalResource=STRING ) //; // * /DrawableRA: // "@drawable" (resource=[DrawableResource] | externalResource=STRING); public DrawableRAElements getDrawableRAAccess() { return (pDrawableRA != null) ? pDrawableRA : (pDrawableRA = new DrawableRAElements()); } public ParserRule getDrawableRARule() { return getDrawableRAAccess().getRule(); } //AnimationRA: // "@anim" (resource=[AnimationResource] | externalResource=STRING); public AnimationRAElements getAnimationRAAccess() { return (pAnimationRA != null) ? pAnimationRA : (pAnimationRA = new AnimationRAElements()); } public ParserRule getAnimationRARule() { return getAnimationRAAccess().getRule(); } //InterpolatorRA: // "@interpolator" (interpolatorName=InterpolatorsKind | externalResource=STRING); public InterpolatorRAElements getInterpolatorRAAccess() { return (pInterpolatorRA != null) ? pInterpolatorRA : (pInterpolatorRA = new InterpolatorRAElements()); } public ParserRule getInterpolatorRARule() { return getInterpolatorRAAccess().getRule(); } ////CheckBox < TextView //CheckBox: // "check:" ("<" name=ID ">")? text=StringVA ("{" (("top:" top=DimensionVA ";")? //TextView attributes // //TODO: Decide how will it be defined // //Idea: To create an ActionVA // & ("left:" left=DimensionVA ";")? & ("width:" width=DimensionVA ";")? & ("height:" height=DimensionVA ";")? & // ("background:" background=AnyDrawableVA ";")? & ("clickable:" clickable=BooleanVA ";")? & ("fadeScrollBars:" // fadeScrollBars=BooleanVA ";")? & ("isScrollContainer:" isScrollContainer=BooleanVA ";")? & ("autoLink:" // autoLink=AutoLinkKind ";")? & ("autoText:" autoText=BooleanVA ";")? & ("capitalize:" capitalize=CapitalizeKind ";")? & // ("digits:" digits=StringVA ";")? & ("editable:" editable=BooleanVA ";")? & ("gravity:" gravity=LayoutGravityKind ";")? // & ("hint:" hint=StringVA ";")? & ("numeric:" numeric=BooleanVA ";")? & ("password:" password=BooleanVA ";")? & // ("phoneNumber:" phoneNumber=BooleanVA ";")? & ("singleLine:" singleLine=BooleanVA ";")? & ("textColor:" // textColor=ColorVA ";")? & ("typeface:" typeface=TypefaceKind ";")? & ("textSize:" textSize=DimensionVA ";")? & // ("textStyle:" textStyle+=TextStyleKind ("|" textStyle+=TextStyleKind)* ";")? & ("onCheck:" onCheck=Action ";")?) // "}")?; public CheckBoxElements getCheckBoxAccess() { return (pCheckBox != null) ? pCheckBox : (pCheckBox = new CheckBoxElements()); } public ParserRule getCheckBoxRule() { return getCheckBoxAccess().getRule(); } ////EditText < TextView //RadioButton: // "radio:" ("<" name=ID ">")? text=StringVA ("{" ("onCheck:" onClick=Action ";")? "}")?; public RadioButtonElements getRadioButtonAccess() { return (pRadioButton != null) ? pRadioButton : (pRadioButton = new RadioButtonElements()); } public ParserRule getRadioButtonRule() { return getRadioButtonAccess().getRule(); } ////EditText < TextView //RadioGroup: // "radioGroup:" ("<" name=ID ">")? "{" radioButtons+=[RadioButton]+ "}"; public RadioGroupElements getRadioGroupAccess() { return (pRadioGroup != null) ? pRadioGroup : (pRadioGroup = new RadioGroupElements()); } public ParserRule getRadioGroupRule() { return getRadioGroupAccess().getRule(); } /// ****************************************************************************** // * Concrete Syntax Stuff // ****************************************************************************** // * // * Enumerations // * /enum BuiltInPermissionType: // ACCESS_CHECKIN_PROPERTIES | ACCESS_COARSE_LOCATION | ACCESS_FINE_LOCATION | ACCESS_LOCATION_EXTRA_COMMANDS | // ACCESS_MOCK_LOCATION | ACCESS_NETWORK_STATE | ACCESS_SURFACE_FLINGER | ACCESS_WIFI_STATE | ACCOUNT_MANAGER | // AUTHENTICATE_ACCOUNTS | BATTERY_STATS | BIND_APPWIDGET | BIND_DEVICE_ADMIN | BIND_INPUT_METHOD | BIND_REMOTEVIEWS | // BIND_WALLPAPER | BLUETOOTH | BLUETOOTH_ADMIN | BRICK | BROADCAST_PACKAGE_REMOVED | BROADCAST_SMS | BROADCAST_STICKY | // BROADCAST_WAP_PUSH | CALL_PHONE | CALL_PRIVILEGED | CAMERA | CHANGE_COMPONENT_ENABLED_STATE | CHANGE_CONFIGURATION | // CHANGE_NETWORK_STATE | CHANGE_WIFI_MULTICAST_STATE | CHANGE_WIFI_STATE | CLEAR_APP_CACHE | CLEAR_APP_USER_DATA | // CONTROL_LOCATION_UPDATES | DELETE_CACHE_FILES | DELETE_PACKAGES | DEVICE_POWER | DIAGNOSTIC | DISABLE_KEYGUARD | DUMP // | EXPAND_STATUS_BAR | FACTORY_TEST | FLASHLIGHT | FORCE_BACK | GET_ACCOUNTS | GET_PACKAGE_SIZE | GET_TASKS | // GLOBAL_SEARCH | HARDWARE_TEST | INJECT_EVENTS | INSTALL_LOCATION_PROVIDER | INSTALL_PACKAGES | INTERNAL_SYSTEM_WINDOW // | INTERNET | KILL_BACKGROUND_PROCESSES | MANAGE_ACCOUNTS | MANAGE_APP_TOKENS | MASTER_CLEAR | MODIFY_AUDIO_SETTINGS | // MODIFY_PHONE_STATE | MOUNT_FORMAT_FILESYSTEMS | MOUNT_UNMOUNT_FILESYSTEMS | NFC | PERSISTENT_ACTIVITY | // PROCESS_OUTGOING_CALLS | READ_CALENDAR | READ_CONTACTS | READ_FRAME_BUFFER | READ_HISTORY_BOOKMARKS | READ_INPUT_STATE // | READ_LOGS | READ_PHONE_STATE | READ_SMS | READ_SYNC_SETTINGS | READ_SYNC_STATS | REBOOT | RECEIVE_BOOT_COMPLETED | // RECEIVE_MMS | RECEIVE_SMS | RECEIVE_WAP_PUSH | RECORD_AUDIO | REORDER_TASKS | RESTART_PACKAGES | SEND_SMS | // SET_ACTIVITY_WATCHER | SET_ALARM | SET_ALWAYS_FINISH | SET_ANIMATION_SCALE | SET_DEBUG_APP | SET_ORIENTATION | // SET_PREFERRED_APPLICATIONS | SET_PROCESS_LIMIT | SET_TIME | SET_TIME_ZONE | SET_WALLPAPER | SET_WALLPAPER_HINTS | // SIGNAL_PERSISTENT_PROCESSES | STATUS_BAR | SUBSCRIBED_FEEDS_READ | SUBSCRIBED_FEEDS_WRITE | SYSTEM_ALERT_WINDOW | // UPDATE_DEVICE_STATS | USE_CREDENTIALS | USE_SIP | VIBRATE | WAKE_LOCK | WRITE_APN_SETTINGS | WRITE_CALENDAR | // WRITE_CONTACTS | WRITE_EXTERNAL_STORAGE | WRITE_GSERVICES | WRITE_HISTORY_BOOKMARKS | WRITE_SECURE_SETTINGS | // WRITE_SETTINGS | WRITE_SMS | WRITE_SYNC_SETTINGS; public BuiltInPermissionTypeElements getBuiltInPermissionTypeAccess() { return (unknownRuleBuiltInPermissionType != null) ? unknownRuleBuiltInPermissionType : (unknownRuleBuiltInPermissionType = new BuiltInPermissionTypeElements()); } public EnumRule getBuiltInPermissionTypeRule() { return getBuiltInPermissionTypeAccess().getRule(); } //enum InterpolatorsKind: // accelerate_decelerate | accelerate | anticipate | anticipate_overshoot | bounce | cycle | decelerate | linear | // overshoot; public InterpolatorsKindElements getInterpolatorsKindAccess() { return (unknownRuleInterpolatorsKind != null) ? unknownRuleInterpolatorsKind : (unknownRuleInterpolatorsKind = new InterpolatorsKindElements()); } public EnumRule getInterpolatorsKindRule() { return getInterpolatorsKindAccess().getRule(); } //enum LayoutDimensionKind: // fill_parent | match_parent | wrap_content; public LayoutDimensionKindElements getLayoutDimensionKindAccess() { return (unknownRuleLayoutDimensionKind != null) ? unknownRuleLayoutDimensionKind : (unknownRuleLayoutDimensionKind = new LayoutDimensionKindElements()); } public EnumRule getLayoutDimensionKindRule() { return getLayoutDimensionKindAccess().getRule(); } //enum LayoutGravityKind: // top | bottom | left | right | center | center_vertical | center_horizontal | fill | fill_vertical | fill_horizontal | // clip_vertical | clip_horizontal; public LayoutGravityKindElements getLayoutGravityKindAccess() { return (unknownRuleLayoutGravityKind != null) ? unknownRuleLayoutGravityKind : (unknownRuleLayoutGravityKind = new LayoutGravityKindElements()); } public EnumRule getLayoutGravityKindRule() { return getLayoutGravityKindAccess().getRule(); } //enum LayoutOrientationKind: // horizontal | vertical; public LayoutOrientationKindElements getLayoutOrientationKindAccess() { return (unknownRuleLayoutOrientationKind != null) ? unknownRuleLayoutOrientationKind : (unknownRuleLayoutOrientationKind = new LayoutOrientationKindElements()); } public EnumRule getLayoutOrientationKindRule() { return getLayoutOrientationKindAccess().getRule(); } //enum LayoutVisibilityKind: // visible | invisible | gone; public LayoutVisibilityKindElements getLayoutVisibilityKindAccess() { return (unknownRuleLayoutVisibilityKind != null) ? unknownRuleLayoutVisibilityKind : (unknownRuleLayoutVisibilityKind = new LayoutVisibilityKindElements()); } public EnumRule getLayoutVisibilityKindRule() { return getLayoutVisibilityKindAccess().getRule(); } //enum TypefaceKind: // normal | sans | serif | monospace; public TypefaceKindElements getTypefaceKindAccess() { return (unknownRuleTypefaceKind != null) ? unknownRuleTypefaceKind : (unknownRuleTypefaceKind = new TypefaceKindElements()); } public EnumRule getTypefaceKindRule() { return getTypefaceKindAccess().getRule(); } //enum TextStyleKind: // normal | bold | italic; public TextStyleKindElements getTextStyleKindAccess() { return (unknownRuleTextStyleKind != null) ? unknownRuleTextStyleKind : (unknownRuleTextStyleKind = new TextStyleKindElements()); } public EnumRule getTextStyleKindRule() { return getTextStyleKindAccess().getRule(); } //enum AutoLinkKind: // none | web | email | phone | map | all; public AutoLinkKindElements getAutoLinkKindAccess() { return (unknownRuleAutoLinkKind != null) ? unknownRuleAutoLinkKind : (unknownRuleAutoLinkKind = new AutoLinkKindElements()); } public EnumRule getAutoLinkKindRule() { return getAutoLinkKindAccess().getRule(); } //enum CapitalizeKind: // none | sentences | words | characters; public CapitalizeKindElements getCapitalizeKindAccess() { return (unknownRuleCapitalizeKind != null) ? unknownRuleCapitalizeKind : (unknownRuleCapitalizeKind = new CapitalizeKindElements()); } public EnumRule getCapitalizeKindRule() { return getCapitalizeKindAccess().getRule(); } /// * // * Datatypes // * (returns EDataType instead EClass) // * /QualifiedName returns ecore::EString: // ID ("." ID)*; public QualifiedNameElements getQualifiedNameAccess() { return (pQualifiedName != null) ? pQualifiedName : (pQualifiedName = new QualifiedNameElements()); } public ParserRule getQualifiedNameRule() { return getQualifiedNameAccess().getRule(); } //RelativePercentual returns ecore::EString: // (INT | FLOAT) ("%" | "%p"); public RelativePercentualElements getRelativePercentualAccess() { return (pRelativePercentual != null) ? pRelativePercentual : (pRelativePercentual = new RelativePercentualElements()); } public ParserRule getRelativePercentualRule() { return getRelativePercentualAccess().getRule(); } //URL returns ecore::EString: // ID "://" QualifiedName ("/" (QualifiedName "/")*)?; public URLElements getURLAccess() { return (pURL != null) ? pURL : (pURL = new URLElements()); } public ParserRule getURLRule() { return getURLAccess().getRule(); } //DimensionValue returns ecore::EString: // (FLOAT | INT) ("dp" | "sp" | "pt" | "px" | "mm" | "in"); public DimensionValueElements getDimensionValueAccess() { return (pDimensionValue != null) ? pDimensionValue : (pDimensionValue = new DimensionValueElements()); } public ParserRule getDimensionValueRule() { return getDimensionValueAccess().getRule(); } /// * // * Terminals // * ///TODO: Value Converter //terminal BOOL returns ecore::EBooleanObject: // 'YES' | 'NO' // "TRUE" | "FALSE"; public TerminalRule getBOOLRule() { return (tBOOL != null) ? tBOOL : (tBOOL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "BOOL")); } ////TODO: ValueConverter //terminal FLOAT returns ecore::EFloatObject: // INT "." INT; public TerminalRule getFLOATRule() { return (tFLOAT != null) ? tFLOAT : (tFLOAT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "FLOAT")); } //terminal HEX_COLOR: // "#" ("0".."9" | "A".."F" | "a".."f") ("0".."9" | "A".."F" | "a".."f") ("0".."9" | "A".."F" | "a".."f") ("0".."9" | // "A".."F" | "a".."f") ("0".."9" | "A".."F" | "a".."f") ("0".."9" | "A".."F" | "a".."f") (("0".."9" | "A".."F" | // "a".."f") ("0".."9" | "A".."F" | "a".."f"))?; public TerminalRule getHEX_COLORRule() { return (tHEX_COLOR != null) ? tHEX_COLOR : (tHEX_COLOR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "HEX_COLOR")); } //terminal ID: // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; public TerminalRule getIDRule() { return gaTerminals.getIDRule(); } //terminal INT returns ecore::EInt: // "0".."9"+; public TerminalRule getINTRule() { return gaTerminals.getINTRule(); } //terminal STRING: // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" | // "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'"; public TerminalRule getSTRINGRule() { return gaTerminals.getSTRINGRule(); } //terminal ML_COMMENT: // "/ *"->"* /"; public TerminalRule getML_COMMENTRule() { return gaTerminals.getML_COMMENTRule(); } //terminal SL_COMMENT: // "//" !("\n" | "\r")* ("\r"? "\n")?; public TerminalRule getSL_COMMENTRule() { return gaTerminals.getSL_COMMENTRule(); } //terminal WS: // (" " | "\t" | "\r" | "\n")+; public TerminalRule getWSRule() { return gaTerminals.getWSRule(); } //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { return gaTerminals.getANY_OTHERRule(); } }