|
|
@ -22,7 +22,7 @@ import java.util.ArrayList; |
|
|
|
@SuppressWarnings("all") |
|
|
|
@SuppressWarnings("all") |
|
|
|
public class InternalPatternParser extends AbstractInternalAntlrParser { |
|
|
|
public class InternalPatternParser extends AbstractInternalAntlrParser { |
|
|
|
public static final String[] tokenNames = new String[] { |
|
|
|
public static final String[] tokenNames = new String[] { |
|
|
|
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'pattern'", "'('", "','", "')'", "'{'", "'}'", "'component'", "'['", "']'", "'--{'", "'}->'", "'.'", "'unspec'", "'in'", "'out'", "'inout'", "'Transpose'", "'Identity'", "'First'", "'Rotate'", "'ShiftC'", "'ShiftP'", "'FlattenC'", "'ForkC'", "'ForkP'", "'JoinC'", "'JoinP'", "'Last'" |
|
|
|
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'pattern'", "'('", "','", "')'", "'{'", "'}'", "'component'", "'['", "']'", "'-{'", "'}->'", "'.'", "'unspec'", "'in'", "'out'", "'inout'", "'Transpose'", "'Identity'", "'First'", "'Rotate'", "'ShiftC'", "'ShiftP'", "'FlattenC'", "'ForkC'", "'ForkP'", "'JoinC'", "'JoinP'", "'Last'" |
|
|
|
}; |
|
|
|
}; |
|
|
|
public static final int RULE_STRING=6; |
|
|
|
public static final int RULE_STRING=6; |
|
|
|
public static final int RULE_SL_COMMENT=8; |
|
|
|
public static final int RULE_SL_COMMENT=8; |
|
|
@ -1290,7 +1290,7 @@ public class InternalPatternParser extends AbstractInternalAntlrParser { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// $ANTLR start "rulePatternLink"
|
|
|
|
// $ANTLR start "rulePatternLink"
|
|
|
|
// InternalPattern.g:543:1: rulePatternLink returns [EObject current=null] : ( ( ( ruleQualifiedID ) ) otherlv_1= '--{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) ) ;
|
|
|
|
// InternalPattern.g:543:1: rulePatternLink returns [EObject current=null] : ( ( ( ruleQualifiedID ) ) otherlv_1= '-{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) ) ;
|
|
|
|
public final EObject rulePatternLink() throws RecognitionException { |
|
|
|
public final EObject rulePatternLink() throws RecognitionException { |
|
|
|
EObject current = null; |
|
|
|
EObject current = null; |
|
|
|
|
|
|
|
|
|
|
@ -1303,11 +1303,11 @@ public class InternalPatternParser extends AbstractInternalAntlrParser { |
|
|
|
enterRule(); |
|
|
|
enterRule(); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
// InternalPattern.g:549:2: ( ( ( ( ruleQualifiedID ) ) otherlv_1= '--{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) ) )
|
|
|
|
// InternalPattern.g:549:2: ( ( ( ( ruleQualifiedID ) ) otherlv_1= '-{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) ) )
|
|
|
|
// InternalPattern.g:550:2: ( ( ( ruleQualifiedID ) ) otherlv_1= '--{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) )
|
|
|
|
// InternalPattern.g:550:2: ( ( ( ruleQualifiedID ) ) otherlv_1= '-{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) )
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:550:2: ( ( ( ruleQualifiedID ) ) otherlv_1= '--{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) )
|
|
|
|
// InternalPattern.g:550:2: ( ( ( ruleQualifiedID ) ) otherlv_1= '-{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) ) )
|
|
|
|
// InternalPattern.g:551:3: ( ( ruleQualifiedID ) ) otherlv_1= '--{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) )
|
|
|
|
// InternalPattern.g:551:3: ( ( ruleQualifiedID ) ) otherlv_1= '-{' ( (lv_linkType_2_0= ruleLinkType ) ) otherlv_3= '}->' ( ( ruleQualifiedID ) )
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// InternalPattern.g:551:3: ( ( ruleQualifiedID ) )
|
|
|
|
// InternalPattern.g:551:3: ( ( ruleQualifiedID ) )
|
|
|
|
// InternalPattern.g:552:4: ( ruleQualifiedID )
|
|
|
|
// InternalPattern.g:552:4: ( ruleQualifiedID )
|
|
|
@ -1339,7 +1339,7 @@ public class InternalPatternParser extends AbstractInternalAntlrParser { |
|
|
|
|
|
|
|
|
|
|
|
otherlv_1=(Token)match(input,20,FOLLOW_16); |
|
|
|
otherlv_1=(Token)match(input,20,FOLLOW_16); |
|
|
|
|
|
|
|
|
|
|
|
newLeafNode(otherlv_1, grammarAccess.getPatternLinkAccess().getHyphenMinusHyphenMinusLeftCurlyBracketKeyword_1()); |
|
|
|
newLeafNode(otherlv_1, grammarAccess.getPatternLinkAccess().getHyphenMinusLeftCurlyBracketKeyword_1()); |
|
|
|
|
|
|
|
|
|
|
|
// InternalPattern.g:571:3: ( (lv_linkType_2_0= ruleLinkType ) )
|
|
|
|
// InternalPattern.g:571:3: ( (lv_linkType_2_0= ruleLinkType ) )
|
|
|
|
// InternalPattern.g:572:4: (lv_linkType_2_0= ruleLinkType )
|
|
|
|
// InternalPattern.g:572:4: (lv_linkType_2_0= ruleLinkType )
|
|
|
|