Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TOP IDE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDL Open Source
TOP IDE
Commits
cdecf96f
Commit
cdecf96f
authored
3 years ago
by
Philip Makedonski
Committed by
Philip Makedonski
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
+ minor fixes (ordering, spacing, consistency, time out->timeout, TestDesc -> Test Desc)
parent
bf2ba882
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/Prototypes/org.etsi.mts.tdl.tx/src/org/etsi/mts/tdl/TDLtx.xtext
+13
-13
13 additions, 13 deletions
...ypes/org.etsi.mts.tdl.tx/src/org/etsi/mts/tdl/TDLtx.xtext
with
13 additions
and
13 deletions
plugins/Prototypes/org.etsi.mts.tdl.tx/src/org/etsi/mts/tdl/TDLtx.xtext
+
13
−
13
View file @
cdecf96f
...
...
@@ -190,7 +190,7 @@ StructuredDataInstance returns tdl::StructuredDataInstance:
AnnotationCommentFragment
dataType=[tdl::DataType|Identifier]
name=Identifier
(unassignedMember=UnassignedMemberTreatment)?
(
'<'
unassignedMember=UnassignedMemberTreatment
'>'
)?
LParen (memberAssignment+=MemberAssignment (',' memberAssignment+=MemberAssignment)*)? RParen
;
...
...
@@ -454,9 +454,15 @@ DataElementUse returns tdl::DataElementUse:
//instance x x x
(
//anonymous - split in case of problems
// (ParameterBindingFragment | CollectionItemFragment)
// ) | (
// //anonymous - split in case of problems
//// (ParameterBindingFragment | CollectionItemFragment)
//// ) | (
//instance
dataElement=[tdl::NamedElement|Identifier]
UnassignedFragmentNamedElement?
ParameterBindingFragment?
ReductionFragment
) | (
//type / anonymous (simplified, avoid duplication, otherwise remove "?")
//DONE: empty parameters / collections? -> added
//DONE: support simple data types as well? -> use any value instead
...
...
@@ -469,12 +475,6 @@ DataElementUse returns tdl::DataElementUse:
)?
UnassignedFragmentNamedElement?
(ParameterBindingFragment | CollectionItemFragment)
) | (
//instance
dataElement=[tdl::NamedElement|Identifier]
UnassignedFragmentNamedElement?
ParameterBindingFragment?
ReductionFragment
)
;
...
...
@@ -559,7 +559,7 @@ TimerStop returns tdl::TimerStop:
TimeOut returns tdl::TimeOut:
AtomicPrefixFragment
'time
' '
out' 'on' componentInstance=[tdl::ComponentInstance|Identifier]
'timeout' 'on' componentInstance=[tdl::ComponentInstance|Identifier]
'::' timer=[tdl::Timer|Identifier]
;
...
...
@@ -636,7 +636,7 @@ TestConfiguration returns tdl::TestConfiguration:
TestDescription returns tdl::TestDescription:
TDPrefixFragment
('TestDescription' | isLocallyOrdered?='Test')
('Test
' '
Description' | isLocallyOrdered?='Test')
name=Identifier
(LParen formalParameter+=FormalParameter ( ',' formalParameter+=FormalParameter)* RParen )?
'uses' testConfiguration=[tdl::TestConfiguration|Identifier]
...
...
@@ -650,7 +650,7 @@ fragment TDPrefixFragment returns tdl::TestDescription:
fragment TDObjectiveFragment returns tdl::TestDescription:
'Objective:' testObjective+=[tdl::TestObjective|Identifier]
( ',' testObjective+=[tdl::TestObjective|Identifier])*
( ',' testObjective+=[tdl::TestObjective|Identifier])*
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment