Ignore:
Timestamp:
10/12/16 14:34:24 (8 years ago)
Author:
phdmakk
Message:

+ generated resources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/services/EbnfGrammarAccess.java

    r88 r95  
    985985                private final RuleCall cDefinitionsDefinitionListParserRuleCall_1_0 = (RuleCall)cDefinitionsAssignment_1.eContents().get(0); 
    986986                private final Keyword cRightCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); 
    987                 private final Assignment cMorethanonceAssignment_3 = (Assignment)cGroup.eContents().get(3); 
    988                 private final Keyword cMorethanoncePlusSignKeyword_3_0 = (Keyword)cMorethanonceAssignment_3.eContents().get(0); 
     987                private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); 
     988                private final Assignment cMorethanonceAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); 
     989                private final Keyword cMorethanoncePlusSignKeyword_3_0_0 = (Keyword)cMorethanonceAssignment_3_0.eContents().get(0); 
     990                private final Assignment cRangeAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); 
     991                private final RuleCall cRangeRepeatRangeParserRuleCall_3_1_0 = (RuleCall)cRangeAssignment_3_1.eContents().get(0); 
    989992                 
    990993                //RepeatedSequence: 
    991                 //      "{" definitions+=DefinitionList "}" morethanonce?="+"?; 
    992                 public ParserRule getRule() { return rule; } 
    993  
    994                 //"{" definitions+=DefinitionList "}" morethanonce?="+"? 
     994                //      "{" definitions+=DefinitionList "}" (morethanonce?="+"? | range=RepeatRange?); 
     995                public ParserRule getRule() { return rule; } 
     996 
     997                //"{" definitions+=DefinitionList "}" (morethanonce?="+"? | range=RepeatRange?) 
    995998                public Group getGroup() { return cGroup; } 
    996999 
     
    10071010                public Keyword getRightCurlyBracketKeyword_2() { return cRightCurlyBracketKeyword_2; } 
    10081011 
     1012                //morethanonce?="+"? | range=RepeatRange? 
     1013                public Alternatives getAlternatives_3() { return cAlternatives_3; } 
     1014 
    10091015                //morethanonce?="+"? 
    1010                 public Assignment getMorethanonceAssignment_3() { return cMorethanonceAssignment_3; } 
     1016                public Assignment getMorethanonceAssignment_3_0() { return cMorethanonceAssignment_3_0; } 
    10111017 
    10121018                //"+" 
    1013                 public Keyword getMorethanoncePlusSignKeyword_3_0() { return cMorethanoncePlusSignKeyword_3_0; } 
     1019                public Keyword getMorethanoncePlusSignKeyword_3_0_0() { return cMorethanoncePlusSignKeyword_3_0_0; } 
     1020 
     1021                //range=RepeatRange? 
     1022                public Assignment getRangeAssignment_3_1() { return cRangeAssignment_3_1; } 
     1023 
     1024                //RepeatRange 
     1025                public RuleCall getRangeRepeatRangeParserRuleCall_3_1_0() { return cRangeRepeatRangeParserRuleCall_3_1_0; } 
     1026        } 
     1027 
     1028        public class RepeatRangeElements extends AbstractParserRuleElementFinder { 
     1029                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RepeatRange"); 
     1030                private final Group cGroup = (Group)rule.eContents().get(1); 
     1031                private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 
     1032                private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); 
     1033                private final Assignment cFromAssignment_2 = (Assignment)cGroup.eContents().get(2); 
     1034                private final RuleCall cFromINTTerminalRuleCall_2_0 = (RuleCall)cFromAssignment_2.eContents().get(0); 
     1035                private final Keyword cCommaKeyword_3 = (Keyword)cGroup.eContents().get(3); 
     1036                private final Assignment cToAssignment_4 = (Assignment)cGroup.eContents().get(4); 
     1037                private final RuleCall cToINTTerminalRuleCall_4_0 = (RuleCall)cToAssignment_4.eContents().get(0); 
     1038                private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5); 
     1039                 
     1040                //RepeatRange: 
     1041                //      "#" "(" from=INT "," to=INT ")"; 
     1042                public ParserRule getRule() { return rule; } 
     1043 
     1044                //"#" "(" from=INT "," to=INT ")" 
     1045                public Group getGroup() { return cGroup; } 
     1046 
     1047                //"#" 
     1048                public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } 
     1049 
     1050                //"(" 
     1051                public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } 
     1052 
     1053                //from=INT 
     1054                public Assignment getFromAssignment_2() { return cFromAssignment_2; } 
     1055 
     1056                //INT 
     1057                public RuleCall getFromINTTerminalRuleCall_2_0() { return cFromINTTerminalRuleCall_2_0; } 
     1058 
     1059                //"," 
     1060                public Keyword getCommaKeyword_3() { return cCommaKeyword_3; } 
     1061 
     1062                //to=INT 
     1063                public Assignment getToAssignment_4() { return cToAssignment_4; } 
     1064 
     1065                //INT 
     1066                public RuleCall getToINTTerminalRuleCall_4_0() { return cToINTTerminalRuleCall_4_0; } 
     1067 
     1068                //")" 
     1069                public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; } 
    10141070        } 
    10151071         
     
    10371093        private OptionalSequenceElements pOptionalSequence; 
    10381094        private RepeatedSequenceElements pRepeatedSequence; 
     1095        private RepeatRangeElements pRepeatRange; 
    10391096        private TerminalRule tID; 
    10401097        private TerminalRule tINT; 
     
    12991356 
    13001357        //RepeatedSequence: 
    1301         //      "{" definitions+=DefinitionList "}" morethanonce?="+"?; 
     1358        //      "{" definitions+=DefinitionList "}" (morethanonce?="+"? | range=RepeatRange?); 
    13021359        public RepeatedSequenceElements getRepeatedSequenceAccess() { 
    13031360                return (pRepeatedSequence != null) ? pRepeatedSequence : (pRepeatedSequence = new RepeatedSequenceElements()); 
     
    13061363        public ParserRule getRepeatedSequenceRule() { 
    13071364                return getRepeatedSequenceAccess().getRule(); 
     1365        } 
     1366 
     1367        //RepeatRange: 
     1368        //      "#" "(" from=INT "," to=INT ")"; 
     1369        public RepeatRangeElements getRepeatRangeAccess() { 
     1370                return (pRepeatRange != null) ? pRepeatRange : (pRepeatRange = new RepeatRangeElements()); 
     1371        } 
     1372         
     1373        public ParserRule getRepeatRangeRule() { 
     1374                return getRepeatRangeAccess().getRule(); 
    13081375        } 
    13091376 
Note: See TracChangeset for help on using the changeset viewer.