Changeset 88 in default for v2/trunk/de.ugoe.cs.swe.bnftools.ebnf
- Timestamp:
- 11/05/14 15:50:59 (10 years ago)
- Location:
- v2/trunk/de.ugoe.cs.swe.bnftools.ebnf
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/model/generated/Ebnf.genmodel
r61 r88 5 5 forceOverwrite="true" modelName="Ebnf" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" 6 6 complianceLevel="5.0" copyrightFields="false" editPluginID="de.ugoe.cs.swe.bnftools.ebnf.edit" 7 editorPluginID="de.ugoe.cs.swe.bnftools.ebnf.editor" runtimeVersion="2. 9">7 editorPluginID="de.ugoe.cs.swe.bnftools.ebnf.editor" runtimeVersion="2.10"> 8 8 <genPackages prefix="Ebnf" basePackage="de.ugoe.cs.swe.bnftools" disposableProviderFactory="true" 9 9 fileExtensions="bnf" ecorePackage="Ebnf.ecore#/"> -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.tokens
r61 r88 1 RULE_STRING=6 2 RULE_SL_COMMENT=11 3 T__19=19 4 RULE_SECTIONHEADER=5 5 T__15=15 6 T__37=37 7 T__16=16 8 T__38=38 9 T__17=17 10 T__39=39 11 T__18=18 12 T__33=33 13 T__34=34 14 T__13=13 15 T__35=35 16 T__14=14 17 T__36=36 18 T__30=30 19 T__31=31 20 T__32=32 1 21 RULE_ID=4 2 RULE_SECTIONHEADER=5 22 RULE_WS=10 23 RULE_COLON=9 24 RULE_LOGIC=8 25 T__26=26 26 T__27=27 27 T__28=28 28 RULE_INT=7 3 29 T__29=29 4 T__28=28 5 T__27=27 6 T__26=26 30 T__22=22 31 RULE_ML_COMMENT=12 32 T__23=23 33 T__24=24 7 34 T__25=25 8 T__24=24 9 T__23=23 10 T__22=22 35 T__20=20 11 36 T__21=21 12 T__20=20 13 RULE_SL_COMMENT=11 14 RULE_ML_COMMENT=12 15 T__30=30 16 T__19=19 17 RULE_COLON=9 18 T__31=31 19 RULE_STRING=6 20 T__32=32 21 T__33=33 22 T__16=16 23 T__34=34 24 T__15=15 25 T__35=35 26 T__18=18 27 T__36=36 28 T__17=17 29 RULE_LOGIC=8 30 T__37=37 31 T__38=38 32 T__39=39 33 T__14=14 34 T__13=13 35 RULE_INT=7 36 RULE_WS=10 37 '/merge'=17 38 'import'=18 39 'grammar'=13 40 '+'=35 41 ')'=27 42 ']'=29 43 '|'=31 44 'label:'=23 45 '['=32 46 'core'=20 47 'global'=36 48 '<-'=28 49 '.'=24 37 50 'update'=22 38 '|'=31 51 '/bnf'=14 52 '*'=34 53 'package'=21 54 '('=26 55 'hook'=39 56 '/delta'=16 57 'rule'=38 39 58 '::='=25 59 '}'=30 60 ';'=15 61 '{'=33 40 62 '/'=19 41 ';'=1542 'grammar'=1343 'global'=3644 'core'=2045 '+'=3546 '.'=2447 ')'=2748 'import'=1849 'hook'=3950 '<-'=2851 '}'=3052 'rule'=3853 '/delta'=1654 '/merge'=1755 '/bnf'=1456 '{'=3357 'package'=2158 'label:'=2359 63 'combinator:'=37 60 '('=2661 '['=3262 '*'=3463 ']'=29 -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnfLexer.java
r61 r88 13 13 @SuppressWarnings("all") 14 14 public class InternalEbnfLexer extends Lexer { 15 public static final int RULE_ID=4; 15 public static final int RULE_STRING=6; 16 public static final int RULE_SL_COMMENT=11; 17 public static final int T__19=19; 16 18 public static final int RULE_SECTIONHEADER=5; 17 public static final int T__29=29; 18 public static final int T__28=28; 19 public static final int T__27=27; 20 public static final int T__26=26; 21 public static final int T__25=25; 22 public static final int T__24=24; 23 public static final int T__23=23; 24 public static final int T__22=22; 25 public static final int T__21=21; 26 public static final int T__20=20; 19 public static final int T__15=15; 20 public static final int T__37=37; 21 public static final int T__16=16; 22 public static final int T__38=38; 23 public static final int T__17=17; 24 public static final int T__39=39; 25 public static final int T__18=18; 26 public static final int T__33=33; 27 public static final int T__34=34; 28 public static final int T__13=13; 29 public static final int T__35=35; 30 public static final int T__14=14; 31 public static final int T__36=36; 27 32 public static final int EOF=-1; 28 public static final int RULE_SL_COMMENT=11;29 public static final int RULE_ML_COMMENT=12;30 public static final int T__19=19;31 33 public static final int T__30=30; 32 34 public static final int T__31=31; 35 public static final int T__32=32; 36 public static final int RULE_ID=4; 37 public static final int RULE_WS=10; 33 38 public static final int RULE_COLON=9; 34 public static final int T__32=32;35 public static final int RULE_STRING=6;36 public static final int T__16=16;37 public static final int T__33=33;38 public static final int T__15=15;39 public static final int T__34=34;40 public static final int T__18=18;41 public static final int T__35=35;42 public static final int T__17=17;43 public static final int T__36=36;44 public static final int T__37=37;45 39 public static final int RULE_LOGIC=8; 46 public static final int T__38=38; 47 public static final int T__14=14; 48 public static final int T__39=39; 49 public static final int T__13=13; 40 public static final int T__26=26; 41 public static final int T__27=27; 42 public static final int T__28=28; 50 43 public static final int RULE_INT=7; 51 public static final int RULE_WS=10; 44 public static final int T__29=29; 45 public static final int T__22=22; 46 public static final int RULE_ML_COMMENT=12; 47 public static final int T__23=23; 48 public static final int T__24=24; 49 public static final int T__25=25; 50 public static final int T__20=20; 51 public static final int T__21=21; 52 52 53 53 // delegates … … 1651 1651 "\142\uffff"; 1652 1652 static final String DFA16_minS = 1653 "\1\11\1\56\1\52\1\uffff\5\56\14\uffff\3\56\2\uffff\1\0\2\uffff "+1654 "\1 \141\1\157\1\11\10\uffff\1\160\1\155\1\143\1\144\1\142\1\154\1"+1655 "\1 57\1\42\1\155\1\142\1\157\1\145\1\142\1\153\1\141\2\145\1\153"+1656 "\1\ uffff\1\155\1\141\1\162\1\60\1\151\1\141\1\164\1\154\2\60\1\141"+1657 "\1\1 54\1\164\1\uffff\1\156\1\147\1\145\1\72\2\uffff\1\162\2\60\1"+1658 "\14 1\1\145\1\60\1\uffff\1\60\2\uffff\1\164\1\60\2\uffff\1\157\1"+1659 "\ uffff\1\162\1\72\1\uffff";1653 "\1\11\1\56\1\52\1\uffff\5\56\14\uffff\3\56\2\uffff\1\0\2\uffff\1"+ 1654 "\141\1\157\1\11\10\uffff\1\160\1\155\1\143\1\144\1\142\1\154\1\157"+ 1655 "\1\42\1\155\1\142\1\157\1\145\1\142\1\153\1\141\2\145\1\153\1\uffff"+ 1656 "\1\155\1\141\1\162\1\60\1\151\1\141\1\164\1\154\2\60\1\141\1\154"+ 1657 "\1\164\1\uffff\1\156\1\147\1\145\1\72\2\uffff\1\162\2\60\1\141\1"+ 1658 "\145\1\60\1\uffff\1\60\2\uffff\1\164\1\60\2\uffff\1\157\1\uffff"+ 1659 "\1\162\1\72\1\uffff"; 1660 1660 static final String DFA16_maxS = 1661 1661 "\1\175\1\162\1\164\1\uffff\1\155\1\157\1\141\1\160\1\141\14\uffff"+ … … 1667 1667 "\1\172\2\uffff\1\164\1\172\2\uffff\1\157\1\uffff\1\162\1\72\1\uffff"; 1668 1668 static final String DFA16_acceptS = 1669 "\3\uffff\1\3\5\uffff\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1 "+1670 "\ 24\1\25\1\26\1\27\3\uffff\1\35\1\36\1\uffff\1\40\1\34\3\uffff\1"+1671 "\ 41\1\2\1\4\1\5\1\42\1\43\1\44\1\7\22\uffff\1\37\15\uffff\1\10\4"+1672 "\ uffff\1\32\1\33\6\uffff\1\13\1\uffff\1\30\1\6\2\uffff\1\12\1\1"+1673 "\1\ uffff\1\11\2\uffff\1\31";1669 "\3\uffff\1\3\5\uffff\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24"+ 1670 "\1\25\1\26\1\27\3\uffff\1\35\1\36\1\uffff\1\40\1\34\3\uffff\1\41"+ 1671 "\1\2\1\4\1\5\1\42\1\43\1\44\1\7\22\uffff\1\37\15\uffff\1\10\4\uffff"+ 1672 "\1\32\1\33\6\uffff\1\13\1\uffff\1\30\1\6\2\uffff\1\12\1\1\1\uffff"+ 1673 "\1\11\2\uffff\1\31"; 1674 1674 static final String DFA16_specialS = 1675 1675 "\32\uffff\1\0\107\uffff}>"; 1676 1676 static final String[] DFA16_transitionS = { 1677 "\2\31\2\uffff\1\31\22\uffff\1\31\1\uffff\1\32\4\uffff\1\33 "+1678 "\1 \13\1\14\1\23\1\24\2\uffff\1\11\1\2\12\30\1\12\1\3\1\15\4"+1679 "\ uffff\32\27\1\21\1\uffff\1\16\1\uffff\1\34\1\uffff\2\27\1\5"+1680 "\ 3\27\1\1\1\26\1\4\2\27\1\10\3\27\1\6\1\27\1\25\2\27\1\7\5\27"+1681 "\1\2 2\1\20\1\17",1677 "\2\31\2\uffff\1\31\22\uffff\1\31\1\uffff\1\32\4\uffff\1\33\1"+ 1678 "\13\1\14\1\23\1\24\2\uffff\1\11\1\2\12\30\1\12\1\3\1\15\4\uffff"+ 1679 "\32\27\1\21\1\uffff\1\16\1\uffff\1\34\1\uffff\2\27\1\5\3\27"+ 1680 "\1\1\1\26\1\4\2\27\1\10\3\27\1\6\1\27\1\25\2\27\1\7\5\27\1\22"+ 1681 "\1\20\1\17", 1682 1682 "\1\40\1\uffff\12\37\62\uffff\1\36\5\uffff\1\35", 1683 1683 "\1\45\4\uffff\1\44\61\uffff\1\46\1\41\1\uffff\1\42\10\uffff"+ -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnfParser.java
r61 r88 24 24 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_SECTIONHEADER", "RULE_STRING", "RULE_INT", "RULE_LOGIC", "RULE_COLON", "RULE_WS", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "'grammar'", "'/bnf'", "';'", "'/delta'", "'/merge'", "'import'", "'/'", "'core'", "'package'", "'update'", "'label:'", "'.'", "'::='", "'('", "')'", "'<-'", "']'", "'}'", "'|'", "'['", "'{'", "'*'", "'+'", "'global'", "'combinator:'", "'rule'", "'hook'" 25 25 }; 26 public static final int RULE_STRING=6; 27 public static final int RULE_SL_COMMENT=11; 28 public static final int T__19=19; 29 public static final int RULE_SECTIONHEADER=5; 30 public static final int T__15=15; 31 public static final int T__37=37; 32 public static final int T__16=16; 33 public static final int T__38=38; 34 public static final int T__17=17; 35 public static final int T__39=39; 36 public static final int T__18=18; 37 public static final int T__33=33; 38 public static final int T__34=34; 39 public static final int T__13=13; 40 public static final int T__35=35; 41 public static final int T__14=14; 42 public static final int T__36=36; 43 public static final int EOF=-1; 44 public static final int T__30=30; 45 public static final int T__31=31; 46 public static final int T__32=32; 26 47 public static final int RULE_ID=4; 27 public static final int RULE_SECTIONHEADER=5; 48 public static final int RULE_WS=10; 49 public static final int RULE_COLON=9; 50 public static final int RULE_LOGIC=8; 51 public static final int T__26=26; 52 public static final int T__27=27; 53 public static final int T__28=28; 54 public static final int RULE_INT=7; 28 55 public static final int T__29=29; 29 public static final int T__28=28; 30 public static final int T__27=27; 31 public static final int T__26=26; 56 public static final int T__22=22; 57 public static final int RULE_ML_COMMENT=12; 58 public static final int T__23=23; 59 public static final int T__24=24; 32 60 public static final int T__25=25; 33 public static final int T__24=24; 34 public static final int T__23=23; 35 public static final int T__22=22; 61 public static final int T__20=20; 36 62 public static final int T__21=21; 37 public static final int T__20=20;38 public static final int RULE_SL_COMMENT=11;39 public static final int EOF=-1;40 public static final int RULE_ML_COMMENT=12;41 public static final int T__30=30;42 public static final int T__19=19;43 public static final int RULE_COLON=9;44 public static final int T__31=31;45 public static final int RULE_STRING=6;46 public static final int T__32=32;47 public static final int T__33=33;48 public static final int T__16=16;49 public static final int T__34=34;50 public static final int T__15=15;51 public static final int T__35=35;52 public static final int T__18=18;53 public static final int T__36=36;54 public static final int T__17=17;55 public static final int RULE_LOGIC=8;56 public static final int T__37=37;57 public static final int T__38=38;58 public static final int T__39=39;59 public static final int T__14=14;60 public static final int T__13=13;61 public static final int RULE_INT=7;62 public static final int RULE_WS=10;63 63 64 64 // delegates … … 1007 1007 int LA11_2 = input.LA(5); 1008 1008 1009 if ( (LA11_2==25) ) { 1009 if ( (LA11_2==26) ) { 1010 alt11=3; 1011 } 1012 else if ( (LA11_2==25) ) { 1010 1013 alt11=1; 1011 }1012 else if ( (LA11_2==26) ) {1013 alt11=3;1014 1014 } 1015 1015 else { … … 1040 1040 int LA11_2 = input.LA(4); 1041 1041 1042 if ( (LA11_2==25) ) { 1042 if ( (LA11_2==26) ) { 1043 alt11=3; 1044 } 1045 else if ( (LA11_2==25) ) { 1043 1046 alt11=1; 1044 }1045 else if ( (LA11_2==26) ) {1046 alt11=3;1047 1047 } 1048 1048 else { … … 1072 1072 int LA11_2 = input.LA(2); 1073 1073 1074 if ( (LA11_2==25) ) { 1074 if ( (LA11_2==26) ) { 1075 alt11=3; 1076 } 1077 else if ( (LA11_2==25) ) { 1075 1078 alt11=1; 1076 }1077 else if ( (LA11_2==26) ) {1078 alt11=3;1079 1079 } 1080 1080 else { … … 4613 4613 "\17\uffff}>"; 4614 4614 static final String[] DFA22_transitionS = { 4615 "\1\2\1\1\1\3\1\1\1\uffff\1\3\5\uffff\1\1\12\uffff\1\10\1\4 "+4616 "\ 1\uffff\1\5\1\6\1\7\1\11\1\12\1\13\1\14",4615 "\1\2\1\1\1\3\1\1\1\uffff\1\3\5\uffff\1\1\12\uffff\1\10\1\4\1"+ 4616 "\uffff\1\5\1\6\1\7\1\11\1\12\1\13\1\14", 4617 4617 "", 4618 4618 "\4\3\1\uffff\1\3\5\uffff\1\3\11\uffff\1\1\1\15\1\3\1\uffff"+ -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/serializer/EbnfSyntacticSequencer.java
r82 r88 76 76 * Syntax: 77 77 * ( 78 '{' | 79 '}' | 80 '[' | 81 ']' | 82 '*' | 83 '+' | 78 84 '|' | 79 ']' |80 '[' |81 ')' |82 85 '(' | 83 '+' | 84 '{' | 85 '*' | 86 '}' 86 ')' 87 87 )* 88 88 */ -
v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/services/EbnfGrammarAccess.java
r65 r88 458 458 459 459 //ExtRule: 460 // (rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | 461 // "("| "[" | "{" | "*" | "+")* ";"?;460 // (rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | "(" 461 // | "[" | "{" | "*" | "+")* ";"?; 462 462 public ParserRule getRule() { return rule; } 463 463 … … 1167 1167 1168 1168 //ExtRule: 1169 // (rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | 1170 // "("| "[" | "{" | "*" | "+")* ";"?;1169 // (rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | "(" 1170 // | "[" | "{" | "*" | "+")* ";"?; 1171 1171 public ExtRuleElements getExtRuleAccess() { 1172 1172 return (pExtRule != null) ? pExtRule : (pExtRule = new ExtRuleElements());
Note: See TracChangeset
for help on using the changeset viewer.