You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2021/10/31 21:44:00 UTC

[plc4x-build-tools] branch feature/mspec-ng updated: - Made plc4c build again

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch feature/mspec-ng
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git


The following commit(s) were added to refs/heads/feature/mspec-ng by this push:
     new 5f3c986  - Made plc4c build again
5f3c986 is described below

commit 5f3c986c0a780500c85ddcc875aecdd17a5ef79c
Author: cdutz <ch...@c-ware.de>
AuthorDate: Sun Oct 31 22:43:40 2021 +0100

    - Made plc4c build again
---
 .../plugins/codegenerator/types/definitions/TypeDefinition.java     | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java
index db36647..a5ca373 100644
--- a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java
+++ b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java
@@ -42,6 +42,12 @@ public interface TypeDefinition extends TypeDefinitionConversions {
 
     Optional<List<Argument>> getParserArguments();
 
+    /**
+     * @return Concatenation of this type's parser arguments, prefixed by the parent types
+     *         parser arguments.
+     */
+    Optional<List<Argument>> getAllParserArguments();
+
     // TODO: replace with Optional
     // TODO: should this be move to ComplexTypeDefinition? Can a normal type definition have a parent type
     // TODO: check if this can be moved down.