-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: Merge pull request #6 from DSD-DBS/msg-regex-description
Extract File level comments using RegEx
- Loading branch information
Showing
5 changed files
with
101 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
tests/data/data_model/description_regex_msgs/package/msg/SampleClassEnum.msg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# SPDX-FileCopyrightText: Copyright DB InfraGO AG | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Decision | ||
# | ||
# Created: 2023-08-29 | ||
# Modified: 2023-08-29 | ||
# Version: 0.1 | ||
# Status: Draft | ||
# | ||
# Description: Message type for providing the made decision. | ||
# An additional description line. | ||
# | ||
# Expect linebreak | ||
|
||
# This block comment is added to the | ||
# enum description of SampleClassEnumStatus. | ||
uint8 OK = 0 | ||
uint8 WARN = 1 | ||
uint8 ERROR = 2 | ||
uint8 STALE = 3 | ||
|
||
# This block comment is added to the | ||
# enum description of Color. | ||
uint8 COLOR_RED = 0 | ||
uint8 COLOR_BLUE = 1 | ||
uint8 COLOR_YELLOW = 2 | ||
|
||
uint8 status # The property status is of type | ||
# SampleClassEnumStatus. | ||
uint8 color # The property color is of type Color. | ||
uint8 field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters