Skip to content

Commit 0bcab7d

Browse files
committed
Merge simplified version of the ROS DSL grammar
1 parent b486253 commit 0bcab7d

9 files changed

Lines changed: 639 additions & 515 deletions

File tree

plugins/de.fraunhofer.ipa.ros.xtext.ide/src-gen/de/fraunhofer/ipa/ros/ide/contentassist/antlr/internal/InternalRos.tokens

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'ServiceSpec'=49
3737
'Specs'=45
3838
'String'=28
39-
'Struc'=77
39+
'Struct'=77
4040
'Subscriber'=65
4141
'Subscribers'=57
4242
'TopicSpec'=52

plugins/de.fraunhofer.ipa.ros.xtext.ide/src-gen/de/fraunhofer/ipa/ros/ide/contentassist/antlr/internal/InternalRosLexer.java

Lines changed: 190 additions & 189 deletions
Large diffs are not rendered by default.

plugins/de.fraunhofer.ipa.ros.xtext.ide/src-gen/de/fraunhofer/ipa/ros/ide/contentassist/antlr/internal/InternalRosParser.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@SuppressWarnings("all")
2323
public class InternalRosParser extends AbstractInternalContentAssistParser {
2424
public static final String[] tokenNames = new String[] {
25-
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_BINARY", "RULE_BOOLEAN", "RULE_DOUBLE", "RULE_DECINT", "RULE_DATE_TIME", "RULE_STRING", "RULE_ID", "RULE_ROS_CONVENTION_A", "RULE_MESSAGE_ASIGMENT", "RULE_ROS_CONVENTION_PARAM", "RULE_DIGIT", "RULE_DAY", "RULE_MONTH", "RULE_YEAR", "RULE_HOUR", "RULE_MIN_SEC", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'GraphName'", "'node'", "'Header'", "'String'", "'goal'", "'message'", "'result'", "'feedback'", "'name'", "'value'", "'service'", "'type'", "'action'", "'duration'", "'time'", "'PackageSet'", "'{'", "'}'", "','", "'Package'", "'Specs'", "'Artifact'", "'CatkinPackage'", "'Dependencies'", "'ServiceSpec'", "'request'", "'response'", "'TopicSpec'", "'ActionSpec'", "'Node'", "'ServiceServers'", "'Publishers'", "'Subscribers'", "'ServiceClients'", "'ActionServers'", "'ActionClients'", "'Parameters'", "'ServiceServer'", "'namespace'", "'Publisher'", "'Subscriber'", "'ServiceClient'", "'ActionServer'", "'ActionClient'", "'PackageDependency'", "'ExternalDependency'", "'GlobalNamespace'", "'parts'", "'RelativeNamespace'", "'PrivateNamespace'", "'Parameter'", "'List'", "'Struc'", "'Integer'", "'default'", "'Double'", "'Boolean'", "'Base64'", "'Array'", "'ParameterAny'", "'ParameterStructMember'", "'bool'", "'int8'", "'uint8'", "'int16'", "'uint16'", "'int32'", "'uint32'", "'int64'", "'uint64'", "'float32'", "'float64'", "'string'", "'byte'", "'bool[]'", "'int8[]'", "'uint8[]'", "'int16[]'", "'uint16[]'", "'int32[]'", "'uint32[]'", "'int64[]'", "'uint64[]'", "'float32[]'", "'float64[]'", "'string[]'", "'byte[]'", "'[]'"
25+
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_BINARY", "RULE_BOOLEAN", "RULE_DOUBLE", "RULE_DECINT", "RULE_DATE_TIME", "RULE_STRING", "RULE_ID", "RULE_ROS_CONVENTION_A", "RULE_MESSAGE_ASIGMENT", "RULE_ROS_CONVENTION_PARAM", "RULE_DIGIT", "RULE_DAY", "RULE_MONTH", "RULE_YEAR", "RULE_HOUR", "RULE_MIN_SEC", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'GraphName'", "'node'", "'Header'", "'String'", "'goal'", "'message'", "'result'", "'feedback'", "'name'", "'value'", "'service'", "'type'", "'action'", "'duration'", "'time'", "'PackageSet'", "'{'", "'}'", "','", "'Package'", "'Specs'", "'Artifact'", "'CatkinPackage'", "'Dependencies'", "'ServiceSpec'", "'request'", "'response'", "'TopicSpec'", "'ActionSpec'", "'Node'", "'ServiceServers'", "'Publishers'", "'Subscribers'", "'ServiceClients'", "'ActionServers'", "'ActionClients'", "'Parameters'", "'ServiceServer'", "'namespace'", "'Publisher'", "'Subscriber'", "'ServiceClient'", "'ActionServer'", "'ActionClient'", "'PackageDependency'", "'ExternalDependency'", "'GlobalNamespace'", "'parts'", "'RelativeNamespace'", "'PrivateNamespace'", "'Parameter'", "'List'", "'Struct'", "'Integer'", "'default'", "'Double'", "'Boolean'", "'Base64'", "'Array'", "'ParameterAny'", "'ParameterStructMember'", "'bool'", "'int8'", "'uint8'", "'int16'", "'uint16'", "'int32'", "'uint32'", "'int64'", "'uint64'", "'float32'", "'float64'", "'string'", "'byte'", "'bool[]'", "'int8[]'", "'uint8[]'", "'int16[]'", "'uint16[]'", "'int32[]'", "'uint32[]'", "'int64[]'", "'uint64[]'", "'float32[]'", "'float64[]'", "'string[]'", "'byte[]'", "'[]'"
2626
};
2727
public static final int T__50=50;
2828
public static final int RULE_DATE_TIME=8;
@@ -31440,21 +31440,21 @@ public final void rule__ParameterStructType__Group__1() throws RecognitionExcept
3144031440

3144131441

3144231442
// $ANTLR start "rule__ParameterStructType__Group__1__Impl"
31443-
// InternalRos.g:10373:1: rule__ParameterStructType__Group__1__Impl : ( 'Struc' ) ;
31443+
// InternalRos.g:10373:1: rule__ParameterStructType__Group__1__Impl : ( 'Struct' ) ;
3144431444
public final void rule__ParameterStructType__Group__1__Impl() throws RecognitionException {
3144531445

3144631446
int stackSize = keepStackSize();
3144731447

3144831448
try {
31449-
// InternalRos.g:10377:1: ( ( 'Struc' ) )
31450-
// InternalRos.g:10378:1: ( 'Struc' )
31449+
// InternalRos.g:10377:1: ( ( 'Struct' ) )
31450+
// InternalRos.g:10378:1: ( 'Struct' )
3145131451
{
31452-
// InternalRos.g:10378:1: ( 'Struc' )
31453-
// InternalRos.g:10379:2: 'Struc'
31452+
// InternalRos.g:10378:1: ( 'Struct' )
31453+
// InternalRos.g:10379:2: 'Struct'
3145431454
{
31455-
before(grammarAccess.getParameterStructTypeAccess().getStrucKeyword_1());
31455+
before(grammarAccess.getParameterStructTypeAccess().getStructKeyword_1());
3145631456
match(input,77,FOLLOW_2);
31457-
after(grammarAccess.getParameterStructTypeAccess().getStrucKeyword_1());
31457+
after(grammarAccess.getParameterStructTypeAccess().getStructKeyword_1());
3145831458

3145931459
}
3146031460

@@ -46790,4 +46790,4 @@ public String getDescription() {
4679046790
public static final BitSet FOLLOW_97 = new BitSet(new long[]{0x0000000008000000L});
4679146791
public static final BitSet FOLLOW_98 = new BitSet(new long[]{0x0000000000000000L,0x0001000000000000L});
4679246792

46793-
}
46793+
}
Binary file not shown.

plugins/de.fraunhofer.ipa.ros.xtext/src-gen/de/fraunhofer/ipa/ros/parser/antlr/internal/InternalRos.tokens

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'ServiceSpec'=35
3737
'Specs'=30
3838
'String'=40
39-
'Struc'=74
39+
'Struct'=74
4040
'Subscriber'=59
4141
'Subscribers'=50
4242
'TopicSpec'=38

0 commit comments

Comments
 (0)