mirror of
https://github.com/Minres/RDL-Editor.git
synced 2024-12-22 07:28:02 +01:00
updates by running MWE2
This commit is contained in:
parent
ae91be7619
commit
7c603c65f3
@ -206,7 +206,7 @@ public class RDLParser extends AbstractContentAssistParser {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String[] getInitialHiddenTokens() {
|
protected String[] getInitialHiddenTokens() {
|
||||||
return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
|
return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL" };
|
||||||
}
|
}
|
||||||
|
|
||||||
public RDLGrammarAccess getGrammarAccess() {
|
public RDLGrammarAccess getGrammarAccess() {
|
||||||
|
@ -7643,10 +7643,14 @@ RULE_ID : '\\'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
|
|||||||
|
|
||||||
RULE_WS : (' '|'\t'|'\r'|'\n')+;
|
RULE_WS : (' '|'\t'|'\r'|'\n')+;
|
||||||
|
|
||||||
RULE_ML_COMMENT : ('/*' ( options {greedy=false;} : . )*'*/'|'<%' ( options {greedy=false;} : . )*'%>'|'(' ( options {greedy=false;} : . )*')');
|
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
|
||||||
|
|
||||||
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
|
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
|
||||||
|
|
||||||
|
RULE_ESCAPE_JSP : '<%' ( options {greedy=false;} : . )*'%>';
|
||||||
|
|
||||||
|
RULE_ESCAPE_ORDL : '(' ( options {greedy=false;} : . )*')';
|
||||||
|
|
||||||
RULE_NUM : (('0'..'9')+ '\'b' ('0'|'1'|'_')+|('0'..'9')+ '\'o' ('0'..'7'|'_')+|('0'..'9')+ '\'h' ('0'..'9'|'a'..'f'|'A'..'F'|'_')+|('0'..'9')+ '\'d' ('0'..'9'|'_')+|'0x' ('0'..'9'|'a'..'f'|'A'..'F')+|('0'..'9')+);
|
RULE_NUM : (('0'..'9')+ '\'b' ('0'|'1'|'_')+|('0'..'9')+ '\'o' ('0'..'7'|'_')+|('0'..'9')+ '\'h' ('0'..'9'|'a'..'f'|'A'..'F'|'_')+|('0'..'9')+ '\'d' ('0'..'9'|'_')+|'0x' ('0'..'9'|'a'..'f'|'A'..'F')+|('0'..'9')+);
|
||||||
|
|
||||||
RULE_STR : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
|
RULE_STR : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
|
||||||
|
@ -1,126 +1,128 @@
|
|||||||
'%='=125
|
'%='=127
|
||||||
'+='=124
|
'+='=126
|
||||||
','=122
|
','=124
|
||||||
'->'=129
|
'->'=131
|
||||||
'.'=130
|
'.'=132
|
||||||
':'=128
|
':'=130
|
||||||
';'=115
|
';'=117
|
||||||
'='=117
|
'='=119
|
||||||
'@'=123
|
'@'=125
|
||||||
'UNDEFINED'=95
|
'UNDEFINED'=97
|
||||||
'['=126
|
'['=128
|
||||||
']'=127
|
']'=129
|
||||||
'`include'=111
|
'`include'=113
|
||||||
'accesswidth'=79
|
'accesswidth'=81
|
||||||
'activehigh'=58
|
'activehigh'=60
|
||||||
'activelow'=59
|
'activelow'=61
|
||||||
'addressing'=82
|
'addressing'=84
|
||||||
'addrmap'=13
|
'addrmap'=15
|
||||||
'alias'=121
|
'alias'=123
|
||||||
'alignment'=75
|
'alignment'=77
|
||||||
'all'=19
|
'all'=21
|
||||||
'anded'=38
|
'anded'=40
|
||||||
'arbiter'=22
|
'arbiter'=24
|
||||||
'async'=55
|
'async'=57
|
||||||
'bigendian'=47
|
'bigendian'=49
|
||||||
'boolean'=12
|
'boolean'=14
|
||||||
'bothedge'=108
|
'bothedge'=110
|
||||||
'bridge'=50
|
'bridge'=52
|
||||||
'clock'=86
|
'clock'=88
|
||||||
'compact'=103
|
'compact'=105
|
||||||
'component'=119
|
'component'=121
|
||||||
'counter'=41
|
'counter'=43
|
||||||
'cpuif_reset'=56
|
'cpuif_reset'=58
|
||||||
'decr'=63
|
'decr'=65
|
||||||
'decrsaturate'=69
|
'decrsaturate'=71
|
||||||
'decrthreshold'=71
|
'decrthreshold'=73
|
||||||
'decrvalue'=67
|
'decrvalue'=69
|
||||||
'decrwidth'=65
|
'decrwidth'=67
|
||||||
'default'=118
|
'default'=120
|
||||||
'desc'=21
|
'desc'=23
|
||||||
'dontcompare'=72
|
'dontcompare'=74
|
||||||
'donttest'=73
|
'donttest'=75
|
||||||
'enable'=88
|
'enable'=90
|
||||||
'encode'=84
|
'encode'=86
|
||||||
'enum'=131
|
'enum'=133
|
||||||
'errextbus'=44
|
'errextbus'=46
|
||||||
'external'=132
|
'external'=134
|
||||||
'false'=97
|
'false'=99
|
||||||
'field'=16
|
'field'=18
|
||||||
'field_reset'=57
|
'field_reset'=59
|
||||||
'fieldwidth'=77
|
'fieldwidth'=79
|
||||||
'fullalign'=105
|
'fullalign'=107
|
||||||
'halt'=93
|
'halt'=95
|
||||||
'haltenable'=92
|
'haltenable'=94
|
||||||
'haltmask'=91
|
'haltmask'=93
|
||||||
'hw'=81
|
'hw'=83
|
||||||
'hwclr'=32
|
'hwclr'=34
|
||||||
'hwenable'=89
|
'hwenable'=91
|
||||||
'hwmask'=90
|
'hwmask'=92
|
||||||
'hwset'=31
|
'hwset'=33
|
||||||
'incr'=62
|
'incr'=64
|
||||||
'incrvalue'=66
|
'incrvalue'=68
|
||||||
'incrwidth'=64
|
'incrwidth'=66
|
||||||
'internal'=74
|
'internal'=76
|
||||||
'intr'=37
|
'intr'=39
|
||||||
'level'=109
|
'level'=111
|
||||||
'littleendian'=46
|
'littleendian'=48
|
||||||
'lsb0'=53
|
'lsb0'=55
|
||||||
'mask'=87
|
'mask'=89
|
||||||
'msb0'=52
|
'msb0'=54
|
||||||
'na'=102
|
'na'=104
|
||||||
'name'=20
|
'name'=22
|
||||||
'negedge'=107
|
'negedge'=109
|
||||||
'next'=94
|
'next'=96
|
||||||
'nonsticky'=110
|
'nonsticky'=112
|
||||||
'number'=11
|
'number'=13
|
||||||
'ored'=39
|
'ored'=41
|
||||||
'overflow'=42
|
'overflow'=44
|
||||||
'posedge'=106
|
'posedge'=108
|
||||||
'precedence'=83
|
'precedence'=85
|
||||||
'property'=112
|
'property'=114
|
||||||
'r'=100
|
'r'=102
|
||||||
'rclr'=24
|
'rclr'=26
|
||||||
'ref'=17
|
'ref'=19
|
||||||
'reg'=14
|
'reg'=16
|
||||||
'regalign'=104
|
'regalign'=106
|
||||||
'regfile'=15
|
'regfile'=17
|
||||||
'regwidth'=76
|
'regwidth'=78
|
||||||
'reset'=45
|
'reset'=47
|
||||||
'resetsignal'=85
|
'resetsignal'=87
|
||||||
'rset'=23
|
'rset'=25
|
||||||
'rsvdset'=48
|
'rsvdset'=50
|
||||||
'rsvdsetX'=49
|
'rsvdsetX'=51
|
||||||
'rw'=98
|
'rw'=100
|
||||||
'saturate'=68
|
'saturate'=70
|
||||||
'shared'=51
|
'shared'=53
|
||||||
'sharedextbus'=43
|
'sharedextbus'=45
|
||||||
'signal'=18
|
'signal'=20
|
||||||
'signalwidth'=78
|
'signalwidth'=80
|
||||||
'singlepulse'=60
|
'singlepulse'=62
|
||||||
'sticky'=35
|
'sticky'=37
|
||||||
'stickybit'=36
|
'stickybit'=38
|
||||||
'string'=10
|
'string'=12
|
||||||
'sw'=80
|
'sw'=82
|
||||||
'swacc'=34
|
'swacc'=36
|
||||||
'swmod'=33
|
'swmod'=35
|
||||||
'swwe'=29
|
'swwe'=31
|
||||||
'swwel'=30
|
'swwel'=32
|
||||||
'sync'=54
|
'sync'=56
|
||||||
'threshold'=70
|
'threshold'=72
|
||||||
'true'=96
|
'true'=98
|
||||||
'type'=116
|
'type'=118
|
||||||
'underflow'=61
|
'underflow'=63
|
||||||
'w'=101
|
'w'=103
|
||||||
'we'=27
|
'we'=29
|
||||||
'wel'=28
|
'wel'=30
|
||||||
'woclr'=25
|
'woclr'=27
|
||||||
'woset'=26
|
'woset'=28
|
||||||
'wr'=99
|
'wr'=101
|
||||||
'xored'=40
|
'xored'=42
|
||||||
'{'=113
|
'{'=115
|
||||||
'|'=120
|
'|'=122
|
||||||
'}'=114
|
'}'=116
|
||||||
|
RULE_ESCAPE_JSP=10
|
||||||
|
RULE_ESCAPE_ORDL=11
|
||||||
RULE_ID=5
|
RULE_ID=5
|
||||||
RULE_ML_COMMENT=8
|
RULE_ML_COMMENT=8
|
||||||
RULE_NUM=6
|
RULE_NUM=6
|
||||||
@ -137,7 +139,6 @@ T__106=106
|
|||||||
T__107=107
|
T__107=107
|
||||||
T__108=108
|
T__108=108
|
||||||
T__109=109
|
T__109=109
|
||||||
T__10=10
|
|
||||||
T__110=110
|
T__110=110
|
||||||
T__111=111
|
T__111=111
|
||||||
T__112=112
|
T__112=112
|
||||||
@ -148,7 +149,6 @@ T__116=116
|
|||||||
T__117=117
|
T__117=117
|
||||||
T__118=118
|
T__118=118
|
||||||
T__119=119
|
T__119=119
|
||||||
T__11=11
|
|
||||||
T__120=120
|
T__120=120
|
||||||
T__121=121
|
T__121=121
|
||||||
T__122=122
|
T__122=122
|
||||||
@ -163,6 +163,8 @@ T__12=12
|
|||||||
T__130=130
|
T__130=130
|
||||||
T__131=131
|
T__131=131
|
||||||
T__132=132
|
T__132=132
|
||||||
|
T__133=133
|
||||||
|
T__134=134
|
||||||
T__13=13
|
T__13=13
|
||||||
T__14=14
|
T__14=14
|
||||||
T__15=15
|
T__15=15
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -346,6 +346,12 @@ public abstract class AbstractRDLProposalProvider extends AbstractJavaBasedConte
|
|||||||
public void complete_SL_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
public void complete_SL_COMMENT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
||||||
// subclasses may override
|
// subclasses may override
|
||||||
}
|
}
|
||||||
|
public void complete_ESCAPE_JSP(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
||||||
|
// subclasses may override
|
||||||
|
}
|
||||||
|
public void complete_ESCAPE_ORDL(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
||||||
|
// subclasses may override
|
||||||
|
}
|
||||||
public void complete_NUM(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
public void complete_NUM(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
|
||||||
// subclasses may override
|
// subclasses may override
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ public class RDLParser extends AbstractAntlrParser {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
|
protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
|
||||||
tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
|
tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_ESCAPE_JSP", "RULE_ESCAPE_ORDL");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3576,10 +3576,14 @@ RULE_ID : '\\'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
|
|||||||
|
|
||||||
RULE_WS : (' '|'\t'|'\r'|'\n')+;
|
RULE_WS : (' '|'\t'|'\r'|'\n')+;
|
||||||
|
|
||||||
RULE_ML_COMMENT : ('/*' ( options {greedy=false;} : . )*'*/'|'<%' ( options {greedy=false;} : . )*'%>'|'(' ( options {greedy=false;} : . )*')');
|
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
|
||||||
|
|
||||||
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
|
RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
|
||||||
|
|
||||||
|
RULE_ESCAPE_JSP : '<%' ( options {greedy=false;} : . )*'%>';
|
||||||
|
|
||||||
|
RULE_ESCAPE_ORDL : '(' ( options {greedy=false;} : . )*')';
|
||||||
|
|
||||||
RULE_NUM : (('0'..'9')+ '\'b' ('0'|'1'|'_')+|('0'..'9')+ '\'o' ('0'..'7'|'_')+|('0'..'9')+ '\'h' ('0'..'9'|'a'..'f'|'A'..'F'|'_')+|('0'..'9')+ '\'d' ('0'..'9'|'_')+|'0x' ('0'..'9'|'a'..'f'|'A'..'F')+|('0'..'9')+);
|
RULE_NUM : (('0'..'9')+ '\'b' ('0'|'1'|'_')+|('0'..'9')+ '\'o' ('0'..'7'|'_')+|('0'..'9')+ '\'h' ('0'..'9'|'a'..'f'|'A'..'F'|'_')+|('0'..'9')+ '\'d' ('0'..'9'|'_')+|'0x' ('0'..'9'|'a'..'f'|'A'..'F')+|('0'..'9')+);
|
||||||
|
|
||||||
RULE_STR : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
|
RULE_STR : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
|
||||||
|
@ -1,126 +1,128 @@
|
|||||||
'%='=28
|
'%='=30
|
||||||
'+='=27
|
'+='=29
|
||||||
','=25
|
','=27
|
||||||
'->'=32
|
'->'=34
|
||||||
'.'=33
|
'.'=35
|
||||||
':'=30
|
':'=32
|
||||||
';'=15
|
';'=17
|
||||||
'='=14
|
'='=16
|
||||||
'@'=26
|
'@'=28
|
||||||
'UNDEFINED'=119
|
'UNDEFINED'=121
|
||||||
'['=29
|
'['=31
|
||||||
']'=31
|
']'=33
|
||||||
'`include'=10
|
'`include'=12
|
||||||
'accesswidth'=103
|
'accesswidth'=105
|
||||||
'activehigh'=83
|
'activehigh'=85
|
||||||
'activelow'=84
|
'activelow'=86
|
||||||
'addressing'=106
|
'addressing'=108
|
||||||
'addrmap'=40
|
'addrmap'=42
|
||||||
'alias'=24
|
'alias'=26
|
||||||
'alignment'=99
|
'alignment'=101
|
||||||
'all'=46
|
'all'=48
|
||||||
'anded'=63
|
'anded'=65
|
||||||
'arbiter'=47
|
'arbiter'=49
|
||||||
'async'=80
|
'async'=82
|
||||||
'bigendian'=72
|
'bigendian'=74
|
||||||
'boolean'=39
|
'boolean'=41
|
||||||
'bothedge'=130
|
'bothedge'=132
|
||||||
'bridge'=75
|
'bridge'=77
|
||||||
'clock'=110
|
'clock'=112
|
||||||
'compact'=125
|
'compact'=127
|
||||||
'component'=20
|
'component'=22
|
||||||
'counter'=66
|
'counter'=68
|
||||||
'cpuif_reset'=81
|
'cpuif_reset'=83
|
||||||
'decr'=88
|
'decr'=90
|
||||||
'decrsaturate'=94
|
'decrsaturate'=96
|
||||||
'decrthreshold'=96
|
'decrthreshold'=98
|
||||||
'decrvalue'=92
|
'decrvalue'=94
|
||||||
'decrwidth'=90
|
'decrwidth'=92
|
||||||
'default'=17
|
'default'=19
|
||||||
'desc'=36
|
'desc'=38
|
||||||
'dontcompare'=97
|
'dontcompare'=99
|
||||||
'donttest'=98
|
'donttest'=100
|
||||||
'enable'=112
|
'enable'=114
|
||||||
'encode'=108
|
'encode'=110
|
||||||
'enum'=34
|
'enum'=36
|
||||||
'errextbus'=69
|
'errextbus'=71
|
||||||
'external'=22
|
'external'=24
|
||||||
'false'=19
|
'false'=21
|
||||||
'field'=43
|
'field'=45
|
||||||
'field_reset'=82
|
'field_reset'=84
|
||||||
'fieldwidth'=101
|
'fieldwidth'=103
|
||||||
'fullalign'=127
|
'fullalign'=129
|
||||||
'halt'=117
|
'halt'=119
|
||||||
'haltenable'=116
|
'haltenable'=118
|
||||||
'haltmask'=115
|
'haltmask'=117
|
||||||
'hw'=105
|
'hw'=107
|
||||||
'hwclr'=57
|
'hwclr'=59
|
||||||
'hwenable'=113
|
'hwenable'=115
|
||||||
'hwmask'=114
|
'hwmask'=116
|
||||||
'hwset'=56
|
'hwset'=58
|
||||||
'incr'=87
|
'incr'=89
|
||||||
'incrvalue'=91
|
'incrvalue'=93
|
||||||
'incrwidth'=89
|
'incrwidth'=91
|
||||||
'internal'=23
|
'internal'=25
|
||||||
'intr'=62
|
'intr'=64
|
||||||
'level'=131
|
'level'=133
|
||||||
'littleendian'=71
|
'littleendian'=73
|
||||||
'lsb0'=78
|
'lsb0'=80
|
||||||
'mask'=111
|
'mask'=113
|
||||||
'msb0'=77
|
'msb0'=79
|
||||||
'na'=124
|
'na'=126
|
||||||
'name'=35
|
'name'=37
|
||||||
'negedge'=129
|
'negedge'=131
|
||||||
'next'=118
|
'next'=120
|
||||||
'nonsticky'=132
|
'nonsticky'=134
|
||||||
'number'=38
|
'number'=40
|
||||||
'ored'=64
|
'ored'=66
|
||||||
'overflow'=67
|
'overflow'=69
|
||||||
'posedge'=128
|
'posedge'=130
|
||||||
'precedence'=107
|
'precedence'=109
|
||||||
'property'=11
|
'property'=13
|
||||||
'r'=122
|
'r'=124
|
||||||
'rclr'=49
|
'rclr'=51
|
||||||
'ref'=44
|
'ref'=46
|
||||||
'reg'=41
|
'reg'=43
|
||||||
'regalign'=126
|
'regalign'=128
|
||||||
'regfile'=42
|
'regfile'=44
|
||||||
'regwidth'=100
|
'regwidth'=102
|
||||||
'reset'=70
|
'reset'=72
|
||||||
'resetsignal'=109
|
'resetsignal'=111
|
||||||
'rset'=48
|
'rset'=50
|
||||||
'rsvdset'=73
|
'rsvdset'=75
|
||||||
'rsvdsetX'=74
|
'rsvdsetX'=76
|
||||||
'rw'=120
|
'rw'=122
|
||||||
'saturate'=93
|
'saturate'=95
|
||||||
'shared'=76
|
'shared'=78
|
||||||
'sharedextbus'=68
|
'sharedextbus'=70
|
||||||
'signal'=45
|
'signal'=47
|
||||||
'signalwidth'=102
|
'signalwidth'=104
|
||||||
'singlepulse'=85
|
'singlepulse'=87
|
||||||
'sticky'=60
|
'sticky'=62
|
||||||
'stickybit'=61
|
'stickybit'=63
|
||||||
'string'=37
|
'string'=39
|
||||||
'sw'=104
|
'sw'=106
|
||||||
'swacc'=59
|
'swacc'=61
|
||||||
'swmod'=58
|
'swmod'=60
|
||||||
'swwe'=54
|
'swwe'=56
|
||||||
'swwel'=55
|
'swwel'=57
|
||||||
'sync'=79
|
'sync'=81
|
||||||
'threshold'=95
|
'threshold'=97
|
||||||
'true'=18
|
'true'=20
|
||||||
'type'=13
|
'type'=15
|
||||||
'underflow'=86
|
'underflow'=88
|
||||||
'w'=123
|
'w'=125
|
||||||
'we'=52
|
'we'=54
|
||||||
'wel'=53
|
'wel'=55
|
||||||
'woclr'=50
|
'woclr'=52
|
||||||
'woset'=51
|
'woset'=53
|
||||||
'wr'=121
|
'wr'=123
|
||||||
'xored'=65
|
'xored'=67
|
||||||
'{'=12
|
'{'=14
|
||||||
'|'=21
|
'|'=23
|
||||||
'}'=16
|
'}'=18
|
||||||
|
RULE_ESCAPE_JSP=10
|
||||||
|
RULE_ESCAPE_ORDL=11
|
||||||
RULE_ID=5
|
RULE_ID=5
|
||||||
RULE_ML_COMMENT=8
|
RULE_ML_COMMENT=8
|
||||||
RULE_NUM=6
|
RULE_NUM=6
|
||||||
@ -137,7 +139,6 @@ T__106=106
|
|||||||
T__107=107
|
T__107=107
|
||||||
T__108=108
|
T__108=108
|
||||||
T__109=109
|
T__109=109
|
||||||
T__10=10
|
|
||||||
T__110=110
|
T__110=110
|
||||||
T__111=111
|
T__111=111
|
||||||
T__112=112
|
T__112=112
|
||||||
@ -148,7 +149,6 @@ T__116=116
|
|||||||
T__117=117
|
T__117=117
|
||||||
T__118=118
|
T__118=118
|
||||||
T__119=119
|
T__119=119
|
||||||
T__11=11
|
|
||||||
T__120=120
|
T__120=120
|
||||||
T__121=121
|
T__121=121
|
||||||
T__122=122
|
T__122=122
|
||||||
@ -163,6 +163,8 @@ T__12=12
|
|||||||
T__130=130
|
T__130=130
|
||||||
T__131=131
|
T__131=131
|
||||||
T__132=132
|
T__132=132
|
||||||
|
T__133=133
|
||||||
|
T__134=134
|
||||||
T__13=13
|
T__13=13
|
||||||
T__14=14
|
T__14=14
|
||||||
T__15=15
|
T__15=15
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -3381,6 +3381,8 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
|
|||||||
private final TerminalRule tWS;
|
private final TerminalRule tWS;
|
||||||
private final TerminalRule tML_COMMENT;
|
private final TerminalRule tML_COMMENT;
|
||||||
private final TerminalRule tSL_COMMENT;
|
private final TerminalRule tSL_COMMENT;
|
||||||
|
private final TerminalRule tESCAPE_JSP;
|
||||||
|
private final TerminalRule tESCAPE_ORDL;
|
||||||
private final TerminalRule tNUM;
|
private final TerminalRule tNUM;
|
||||||
private final TerminalRule tSTR;
|
private final TerminalRule tSTR;
|
||||||
|
|
||||||
@ -3426,6 +3428,8 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
|
|||||||
this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.WS");
|
this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.WS");
|
||||||
this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ML_COMMENT");
|
this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ML_COMMENT");
|
||||||
this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.SL_COMMENT");
|
this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.SL_COMMENT");
|
||||||
|
this.tESCAPE_JSP = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ESCAPE_JSP");
|
||||||
|
this.tESCAPE_ORDL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.ESCAPE_ORDL");
|
||||||
this.tNUM = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.NUM");
|
this.tNUM = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.NUM");
|
||||||
this.tSTR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.STR");
|
this.tSTR = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "com.minres.rdl.RDL.STR");
|
||||||
}
|
}
|
||||||
@ -3962,7 +3966,7 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//terminal ML_COMMENT:
|
//terminal ML_COMMENT:
|
||||||
// '/*'->'*/' | '<%'->'%>' | '('->')';
|
// '/*'->'*/';
|
||||||
public TerminalRule getML_COMMENTRule() {
|
public TerminalRule getML_COMMENTRule() {
|
||||||
return tML_COMMENT;
|
return tML_COMMENT;
|
||||||
}
|
}
|
||||||
@ -3973,6 +3977,18 @@ public class RDLGrammarAccess extends AbstractGrammarElementFinder {
|
|||||||
return tSL_COMMENT;
|
return tSL_COMMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//terminal ESCAPE_JSP:
|
||||||
|
// '<%'->'%>';
|
||||||
|
public TerminalRule getESCAPE_JSPRule() {
|
||||||
|
return tESCAPE_JSP;
|
||||||
|
}
|
||||||
|
|
||||||
|
//terminal ESCAPE_ORDL:
|
||||||
|
// '('->')';
|
||||||
|
public TerminalRule getESCAPE_ORDLRule() {
|
||||||
|
return tESCAPE_ORDL;
|
||||||
|
}
|
||||||
|
|
||||||
//terminal NUM returns ecore::EJavaObject: // <= verilog like numbers with size and base (16'123 'h1fff, ...====================================================================================> <= hexa decimal numbers =============> <numbers>
|
//terminal NUM returns ecore::EJavaObject: // <= verilog like numbers with size and base (16'123 'h1fff, ...====================================================================================> <= hexa decimal numbers =============> <numbers>
|
||||||
////'0'..'9'* '\'' ( 'b' ('0' | '1' | '_')+ | 'd'? ('0'..'9' | '_')+ | 'o' ('0'..'7' | '_')+ | 'h' ('0'..'9' | 'a'..'f' | 'A'..'F' | '_')+) | "0x" ('0'..'9' | 'a'..'f' | 'A'..'F')+ | '0'..'9'+;
|
////'0'..'9'* '\'' ( 'b' ('0' | '1' | '_')+ | 'd'? ('0'..'9' | '_')+ | 'o' ('0'..'7' | '_')+ | 'h' ('0'..'9' | 'a'..'f' | 'A'..'F' | '_')+) | "0x" ('0'..'9' | 'a'..'f' | 'A'..'F')+ | '0'..'9'+;
|
||||||
// '0'..'9'+ '\'b' ('0' | '1' | '_')+ | '0'..'9'+ '\'o' ('0'..'7' | '_')+ | '0'..'9'+ '\'h' ('0'..'9' | 'a'..'f' |
|
// '0'..'9'+ '\'b' ('0' | '1' | '_')+ | '0'..'9'+ '\'o' ('0'..'7' | '_')+ | '0'..'9'+ '\'h' ('0'..'9' | 'a'..'f' |
|
||||||
|
Loading…
Reference in New Issue
Block a user