Commit 312aa166 authored by Maxime Perrotin's avatar Maxime Perrotin

Update Demo-opengeode

parent a32b3a33
#!/bin/bash
#!/bin/bash -e
# This script will build your TASTE system.
# You should check it before running it to make it fit with your context:
# 1) You may need to fix some paths and filenames (path to interface/deployment views)
# 2) You may need to specify additional paths for the compiler to find .h file
# (e.g. "export C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH")
# 3) You may need to link with pre-built libraries, using the -l option
# (e.g. -l /usr/lib/libanalogy.a,/usr/lib/librtdm.a)
# 4) You may need to change the runtime (add -p flag to select PolyORB-HI-C)
# etc.
# You should not change this file as it was automatically generated.
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
# If you need additional preprocessing, there are three hook files
# that you can provide and that are called dring the build:
# user_init_pre.sh, user_init_post.sh and user_init_last.sh
# These files will never get overwritten by TASTE.'
# Inside these files you may set some environment variables:
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
CWD=$(pwd)
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
COLOROFF="\e[0m"
else
COLORON=""
COLOROFF=""
fi
INFO="${COLORON}[INFO]${COLOROFF}"
if [ -f user_init_pre.sh ]
then
echo -e "${INFO} Executing user-defined init script"
source user_init_pre.sh
fi
# Set up the cache to limit the calls to ASN1SCC in DMT tools
mkdir -p .cache
export PROJECT_CACHE=$(pwd)/.cache
# Use PolyORB-HI-C runtime
USE_POHIC=1
# Set Debug mode by default
DEBUG_MODE=--debug
# Detect models from Ellidiss tools v2, and convert them to 1.3
INTERFACEVIEW=InterfaceView.aadl
grep "version => \"2" InterfaceView.aadl >/dev/null && {
echo -e "${INFO} Converting interface view from V2 to V1.3"
TASTE --load-interface-view InterfaceView.aadl --export-interface-view-to-1_3 __iv_1_3.aadl
INTERFACEVIEW=__iv_1_3.aadl
};
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
fi
# Detect models from Ellidiss tools v2, and convert them to 1.3
grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
echo -e "${INFO} Converting deployment view from V2 to V1.3"
TASTE --load-deployment-view "$DEPLOYMENTVIEW" --export-deployment-view-to-1_3 __dv_1_3.aadl
DEPLOYMENTVIEW=__dv_1_3.aadl
};
SKELS="./"
# Check if Dataview references existing files
mono $(which taste-extract-asn-from-design.exe) -i "$INTERFACEVIEW" -j /tmp/dv.asn
# Generate code for OpenGEODE function orchestrator
cd "$SKELS"/orchestrator || exit 1
opengeode --toAda orchestrator.pr system_structure.pr || exit 1
cd $OLDPWD
cd "$SKELS"/orchestrator && opengeode --toAda orchestrator.pr system_structure.pr && cd $OLDPWD || exit -1
# Generate code for OpenGEODE function memoryscrub
cd "$SKELS"/memoryscrub || exit 1
opengeode --toAda memoryscrub.pr system_structure.pr || exit 1
cd $OLDPWD
cd "$SKELS"/memoryscrub && opengeode --toAda memoryscrub.pr system_structure.pr && cd $OLDPWD || exit -1
cd "$SKELS" || exit 1
rm -f orchestrator.zip || exit 1
zip orchestrator orchestrator/* || exit 1
cd $OLDPWD
cd "$SKELS" && rm -f orchestrator.zip && zip -r orchestrator orchestrator/* && cd $OLDPWD || exit -1
cd "$SKELS" || exit 1
rm -f passivefunction.zip || exit 1
zip passivefunction passivefunction/* || exit 1
cd $OLDPWD || exit 1
cd "$SKELS" && rm -f passivefunction.zip && zip -r passivefunction passivefunction/* && cd $OLDPWD || exit -1
cd "$SKELS" || exit 1
rm -f memoryscrub.zip || exit 1
zip memoryscrub memoryscrub/* || exit 1
cd $OLDPWD || exit 1
cd "$SKELS" && rm -f memoryscrub.zip && zip -r memoryscrub memoryscrub/* && cd $OLDPWD || exit -1
[ ! -z "$CLEANUP" ] && rm -rf binary*
if [ -f ConcurrencyView.pro ]
then
ORCHESTRATOR_OPTIONS+=" -w ConcurrencyView.pro "
elif [ -f ConcurrencyView_Properties.aadl ]
then
ORCHESTRATOR_OPTIONS+=" -w ConcurrencyView_Properties.aadl "
fi
if [ -f user_init_post.sh ]
then
echo -e "${INFO} Executing user-defined post-init script"
source user_init_post.sh
fi
# This demo cannot be built with Ada runtime (no Check queue implemented)
export USE_POHIC=1
if [ -f additionalCommands.sh ]
then
source additionalCommands.sh
fi
if [ ! -z "$USE_POHIC" ]
then
OUTPUTDIR=binary.pohic
OUTPUTDIR=binary.c
ORCHESTRATOR_OPTIONS+=" -p "
elif [ ! -z "$USE_POHIADA" ]
then
OUTPUTDIR=binary.pohiada
OUTPUTDIR=binary.ada
else
OUTPUTDIR=binary
fi
assert-builder-ocarina.py \
cd "$CWD" && assert-builder-ocarina.py \
--fast \
--debug \
$DEBUG_MODE \
--aadlv2 \
--keep-case \
--interfaceView InterfaceView.aadl \
--interfaceView "$INTERFACEVIEW" \
--deploymentView "$DEPLOYMENTVIEW" \
-o "$OUTPUTDIR" \
--subAda orchestrator:"$SKELS"/orchestrator.zip \
--subC passivefunction:"$SKELS"/passivefunction.zip \
--subAda memoryscrub:"$SKELS"/memoryscrub.zip \
$ORCHESTRATOR_OPTIONS
if [ -f user_init_last.sh ]
then
echo -e "${INFO} Executing user-defined post-build script"
source user_init_last.sh
fi
TASTE-BasicTypes DEFINITIONS ::=
BEGIN
-- Set of TASTE predefined basic types
T-Int32 ::= INTEGER (-2147483648 .. 2147483647)
T-UInt32 ::= INTEGER (0 .. 4294967295)
T-Int8 ::= INTEGER (-128 .. 127)
T-UInt8 ::= INTEGER (0 .. 255)
T-Boolean ::= BOOLEAN
END
TASTE-Dataview DEFINITIONS ::=
BEGIN
......@@ -51,20 +68,3 @@ MyChoice2 ::= CHOICE {
END
TASTE-BasicTypes DEFINITIONS ::=
BEGIN
-- Set of TASTE predefined basic types
T-Int32 ::= INTEGER (-2147483648 .. 2147483647)
T-UInt32 ::= INTEGER (0 .. 4294967295)
T-Int8 ::= INTEGER (-128 .. 127)
T-UInt8 ::= INTEGER (0 .. 255)
T-Boolean ::= BOOLEAN
END
#!/usr/bin/env python
# ASN.1 Data model
asn1Files = []
asn1Modules = []
exportedTypes = {}
exportedVariables = {}
importedModules = {}
types = {}
variables = {}
asn1Files.append("./dataview-uniq.asn")
asn1Modules.append("TASTE-Dataview")
exportedTypes["TASTE-Dataview"] = ["MyComplexType", "MyComplexSeqOf", "MyComplexChoice", "EnableDisable", "MyRefSeqOf", "MyInteger", "MyReal", "MyEnum", "MySeq", "MyChoice", "MySeqOf", "MyPossiblyEmptySeqOf", "MySeqWithEmbeddedSeqOf", "MyOctStr", "MyChoice2", "MyChoice2-b", "MySeqWithEmbeddedSeqOf-a", "MyPossiblyEmptySeqOf-elm", "MySeq-b", "MyComplexChoice-a", "MyComplexSeqOf-elm", "MyComplexType-a", "MyComplexType-a-x", "MyComplexSeqOf-elm-x", "MyComplexChoice-a-x"]
exportedVariables["TASTE-Dataview"] = []
importedModules["TASTE-Dataview"] = []
types["MyComplexType"] = type("MyComplexType", (object,), {
"Line": 4, "CharPositionInLine": 0, "type": type("MyComplexType_type", (object,), {
"Line": 4, "CharPositionInLine": 18, "kind": "SequenceType", "Children": {
"a": type("a", (object,), {
"Optional": "False", "Line": 5, "CharPositionInLine": 1, "type": type("a_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyComplexType-a"
})
})
}
})
})
types["MyComplexSeqOf"] = type("MyComplexSeqOf", (object,), {
"Line": 8, "CharPositionInLine": 0, "type": type("MyComplexSeqOf_type", (object,), {
"Line": 8, "CharPositionInLine": 19, "kind": "SequenceOfType", "Min": "2", "Max": "2", "type": type("SeqOf_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyComplexSeqOf-elm"
})
})
})
types["MyComplexChoice"] = type("MyComplexChoice", (object,), {
"Line": 10, "CharPositionInLine": 0, "type": type("MyComplexChoice_type", (object,), {
"Line": 10, "CharPositionInLine": 20, "kind": "ChoiceType", "Children": {
"a": type("MyComplexChoice_a_PRESENT", (object,), {
"Line": 10, "CharPositionInLine": 29, "EnumID": "MyComplexChoice_a_PRESENT", "type": type("MyComplexChoice_a_PRESENT_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyComplexChoice-a"
})
})
}
})
})
types["EnableDisable"] = type("EnableDisable", (object,), {
"Line": 12, "CharPositionInLine": 0, "type": type("EnableDisable_type", (object,), {
"Line": 12, "CharPositionInLine": 18, "kind": "EnumeratedType", "Extensible": "False", "ValuesAutoCalculated": "False", "EnumValues": {
"scrubon": type("scrubon", (object,), {
"IntValue": 0, "Line": 12, "CharPositionInLine": 30, "EnumID": "scrubon"
}),
"scruboff": type("scruboff", (object,), {
"IntValue": 1, "Line": 12, "CharPositionInLine": 39, "EnumID": "scruboff"
})
}
})
})
types["MyRefSeqOf"] = type("MyRefSeqOf", (object,), {
"Line": 14, "CharPositionInLine": 0, "type": type("MyRefSeqOf_type", (object,), {
"Line": 14, "CharPositionInLine": 15, "kind": "SequenceType", "Children": {
"seqof": type("seqof", (object,), {
"Optional": "False", "Line": 14, "CharPositionInLine": 26, "type": type("seqof_type", (object,), {
"Line": 14, "CharPositionInLine": 32, "kind": "ReferenceType", "ReferencedTypeName": "MySeqOf", "Min": "2", "Max": "2"
})
})
}
})
})
types["MyInteger"] = type("MyInteger", (object,), {
"Line": 17, "CharPositionInLine": 0, "type": type("MyInteger_type", (object,), {
"Line": 17, "CharPositionInLine": 16, "kind": "IntegerType", "Min": "-255", "Max": "255"
})
})
types["MyReal"] = type("MyReal", (object,), {
"Line": 19, "CharPositionInLine": 0, "type": type("MyReal_type", (object,), {
"Line": 19, "CharPositionInLine": 15, "kind": "RealType", "Min": "-1.00000000000000000000E+001", "Max": "1.00000000000000000000E+003"
})
})
types["MyEnum"] = type("MyEnum", (object,), {
"Line": 21, "CharPositionInLine": 0, "type": type("MyEnum_type", (object,), {
"Line": 21, "CharPositionInLine": 15, "kind": "EnumeratedType", "Extensible": "False", "ValuesAutoCalculated": "False", "EnumValues": {
"hello": type("hello", (object,), {
"IntValue": 0, "Line": 21, "CharPositionInLine": 28, "EnumID": "hello"
}),
"world": type("world", (object,), {
"IntValue": 1, "Line": 21, "CharPositionInLine": 35, "EnumID": "world"
}),
"howareyou": type("howareyou", (object,), {
"IntValue": 2, "Line": 21, "CharPositionInLine": 42, "EnumID": "howareyou"
})
}
})
})
types["MySeq"] = type("MySeq", (object,), {
"Line": 23, "CharPositionInLine": 0, "type": type("MySeq_type", (object,), {
"Line": 23, "CharPositionInLine": 14, "kind": "SequenceType", "Children": {
"a": type("a", (object,), {
"Optional": "False", "Line": 24, "CharPositionInLine": 6, "type": type("a_type", (object,), {
"Line": 24, "CharPositionInLine": 8, "kind": "ReferenceType", "ReferencedTypeName": "MyInteger", "Min": "-255", "Max": "255"
})
}),
"b": type("b", (object,), {
"Optional": "False", "Line": 25, "CharPositionInLine": 6, "type": type("b_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MySeq-b"
})
})
}
})
})
types["MyChoice"] = type("MyChoice", (object,), {
"Line": 28, "CharPositionInLine": 0, "type": type("MyChoice_type", (object,), {
"Line": 28, "CharPositionInLine": 16, "kind": "ChoiceType", "Children": {
"a": type("MyChoice_a_PRESENT", (object,), {
"Line": 29, "CharPositionInLine": 6, "EnumID": "MyChoice_a_PRESENT", "type": type("MyChoice_a_PRESENT_type", (object,), {
"Line": 29, "CharPositionInLine": 8, "kind": "BooleanType"
})
}),
"b": type("MyChoice_b_PRESENT", (object,), {
"Line": 30, "CharPositionInLine": 6, "EnumID": "MyChoice_b_PRESENT", "type": type("MyChoice_b_PRESENT_type", (object,), {
"Line": 30, "CharPositionInLine": 8, "kind": "ReferenceType", "ReferencedTypeName": "MySeq"
})
})
}
})
})
types["MySeqOf"] = type("MySeqOf", (object,), {
"Line": 33, "CharPositionInLine": 0, "type": type("MySeqOf_type", (object,), {
"Line": 33, "CharPositionInLine": 16, "kind": "SequenceOfType", "Min": "2", "Max": "2", "type": type("SeqOf_type", (object,), {
"Line": 33, "CharPositionInLine": 39, "kind": "ReferenceType", "ReferencedTypeName": "MyEnum"
})
})
})
types["MyPossiblyEmptySeqOf"] = type("MyPossiblyEmptySeqOf", (object,), {
"Line": 34, "CharPositionInLine": 0, "type": type("MyPossiblyEmptySeqOf_type", (object,), {
"Line": 34, "CharPositionInLine": 25, "kind": "SequenceOfType", "Min": "0", "Max": "2", "type": type("SeqOf_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyPossiblyEmptySeqOf-elm", "Min": "1", "Max": "2"
})
})
})
types["MySeqWithEmbeddedSeqOf"] = type("MySeqWithEmbeddedSeqOf", (object,), {
"Line": 36, "CharPositionInLine": 0, "type": type("MySeqWithEmbeddedSeqOf_type", (object,), {
"Line": 36, "CharPositionInLine": 27, "kind": "SequenceType", "Children": {
"a": type("a", (object,), {
"Optional": "False", "Line": 37, "CharPositionInLine": 4, "type": type("a_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MySeqWithEmbeddedSeqOf-a", "Min": "0", "Max": "2"
})
})
}
})
})
types["MyOctStr"] = type("MyOctStr", (object,), {
"Line": 41, "CharPositionInLine": 0, "type": type("MyOctStr_type", (object,), {
"Line": 41, "CharPositionInLine": 16, "kind": "OctetStringType", "Min": "3", "Max": "3"
})
})
types["MyChoice2"] = type("MyChoice2", (object,), {
"Line": 44, "CharPositionInLine": 0, "type": type("MyChoice2_type", (object,), {
"Line": 44, "CharPositionInLine": 14, "kind": "ChoiceType", "Children": {
"a": type("MyChoice2_a_PRESENT", (object,), {
"Line": 45, "CharPositionInLine": 4, "EnumID": "MyChoice2_a_PRESENT", "type": type("MyChoice2_a_PRESENT_type", (object,), {
"Line": 45, "CharPositionInLine": 6, "kind": "BooleanType"
})
}),
"b": type("MyChoice2_b_PRESENT", (object,), {
"Line": 46, "CharPositionInLine": 4, "EnumID": "MyChoice2_b_PRESENT", "type": type("MyChoice2_b_PRESENT_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyChoice2-b"
})
})
}
})
})
types["MyChoice2-b"] = type("MyChoice2-b", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyChoice2-b_type", (object,), {
"Line": 46, "CharPositionInLine": 6, "kind": "ChoiceType", "Children": {
"c": type("c_PRESENT", (object,), {
"Line": 47, "CharPositionInLine": 1, "EnumID": "c_PRESENT", "type": type("c_PRESENT_type", (object,), {
"Line": 47, "CharPositionInLine": 3, "kind": "BooleanType"
})
}),
"d": type("d_PRESENT", (object,), {
"Line": 48, "CharPositionInLine": 1, "EnumID": "d_PRESENT", "type": type("d_PRESENT_type", (object,), {
"Line": 48, "CharPositionInLine": 3, "kind": "ReferenceType", "ReferencedTypeName": "MyInteger", "Min": "-255", "Max": "255"
})
})
}
})
})
types["MySeqWithEmbeddedSeqOf-a"] = type("MySeqWithEmbeddedSeqOf-a", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MySeqWithEmbeddedSeqOf-a_type", (object,), {
"Line": 37, "CharPositionInLine": 6, "kind": "SequenceOfType", "Min": "0", "Max": "2", "type": type("SeqOf_type", (object,), {
"Line": 37, "CharPositionInLine": 30, "kind": "BooleanType"
})
})
})
types["MyPossiblyEmptySeqOf-elm"] = type("MyPossiblyEmptySeqOf-elm", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyPossiblyEmptySeqOf-elm_type", (object,), {
"Line": 34, "CharPositionInLine": 49, "kind": "IntegerType", "Min": "1", "Max": "2"
})
})
types["MySeq-b"] = type("MySeq-b", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MySeq-b_type", (object,), {
"Line": 25, "CharPositionInLine": 8, "kind": "EnumeratedType", "Extensible": "False", "ValuesAutoCalculated": "False", "EnumValues": {
"taste": type("taste", (object,), {
"IntValue": 1, "Line": 25, "CharPositionInLine": 21, "EnumID": "taste"
}),
"welcomes": type("welcomes", (object,), {
"IntValue": 2, "Line": 25, "CharPositionInLine": 31, "EnumID": "welcomes"
}),
"you": type("you", (object,), {
"IntValue": 3, "Line": 25, "CharPositionInLine": 44, "EnumID": "you"
})
}
})
})
types["MyComplexChoice-a"] = type("MyComplexChoice-a", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyComplexChoice-a_type", (object,), {
"Line": 10, "CharPositionInLine": 31, "kind": "SequenceType", "Children": {
"x": type("x", (object,), {
"Optional": "False", "Line": 10, "CharPositionInLine": 42, "type": type("x_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyComplexChoice-a-x", "Min": "0", "Max": "255"
})
})
}
})
})
types["MyComplexSeqOf-elm"] = type("MyComplexSeqOf-elm", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyComplexSeqOf-elm_type", (object,), {
"Line": 8, "CharPositionInLine": 40, "kind": "SequenceType", "Children": {
"x": type("x", (object,), {
"Optional": "False", "Line": 8, "CharPositionInLine": 51, "type": type("x_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyComplexSeqOf-elm-x", "Min": "0", "Max": "255"
})
})
}
})
})
types["MyComplexType-a"] = type("MyComplexType-a", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyComplexType-a_type", (object,), {
"Line": 5, "CharPositionInLine": 3, "kind": "SequenceType", "Children": {
"x": type("x", (object,), {
"Optional": "False", "Line": 5, "CharPositionInLine": 14, "type": type("x_type", (object,), {
"Line": 0, "CharPositionInLine": 0, "kind": "ReferenceType", "ReferencedTypeName": "MyComplexType-a-x", "Min": "0", "Max": "255"
})
}),
"y": type("y", (object,), {
"Optional": "False", "Line": 5, "CharPositionInLine": 33, "type": type("y_type", (object,), {
"Line": 5, "CharPositionInLine": 35, "kind": "ReferenceType", "ReferencedTypeName": "MyInteger", "Min": "-255", "Max": "255"
})
})
}
})
})
types["MyComplexType-a-x"] = type("MyComplexType-a-x", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyComplexType-a-x_type", (object,), {
"Line": 5, "CharPositionInLine": 16, "kind": "IntegerType", "Min": "0", "Max": "255"
})
})
types["MyComplexSeqOf-elm-x"] = type("MyComplexSeqOf-elm-x", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyComplexSeqOf-elm-x_type", (object,), {
"Line": 8, "CharPositionInLine": 53, "kind": "IntegerType", "Min": "0", "Max": "255"
})
})
types["MyComplexChoice-a-x"] = type("MyComplexChoice-a-x", (object,), {
"Line": 0, "CharPositionInLine": 0, "type": type("MyComplexChoice-a-x_type", (object,), {
"Line": 10, "CharPositionInLine": 44, "kind": "IntegerType", "Min": "0", "Max": "255"
})
})
asn1Modules.append("TASTE-BasicTypes")
exportedTypes["TASTE-BasicTypes"] = ["T-Int32", "T-UInt32", "T-Int8", "T-UInt8", "T-Boolean"]
exportedVariables["TASTE-BasicTypes"] = []
importedModules["TASTE-BasicTypes"] = []
types["T-Int32"] = type("T-Int32", (object,), {
"Line": 59, "CharPositionInLine": 0, "type": type("T-Int32_type", (object,), {
"Line": 59, "CharPositionInLine": 13, "kind": "IntegerType", "Min": "-2147483648", "Max": "2147483647"
})
})
types["T-UInt32"] = type("T-UInt32", (object,), {
"Line": 61, "CharPositionInLine": 0, "type": type("T-UInt32_type", (object,), {
"Line": 61, "CharPositionInLine": 13, "kind": "IntegerType", "Min": "0", "Max": "4294967295"
})
})
types["T-Int8"] = type("T-Int8", (object,), {
"Line": 63, "CharPositionInLine": 0, "type": type("T-Int8_type", (object,), {
"Line": 63, "CharPositionInLine": 11, "kind": "IntegerType", "Min": "-128", "Max": "127"
})
})
types["T-UInt8"] = type("T-UInt8", (object,), {
"Line": 65, "CharPositionInLine": 0, "type": type("T-UInt8_type", (object,), {
"Line": 65, "CharPositionInLine": 12, "kind": "IntegerType", "Min": "0", "Max": "255"
})
})
types["T-Boolean"] = type("T-Boolean", (object,), {
"Line": 67, "CharPositionInLine": 0, "type": type("T-Boolean_type", (object,), {
"Line": 67, "CharPositionInLine": 14, "kind": "BooleanType"
})
})
TASTE-BasicTypes DEFINITIONS ::=
BEGIN
-- Set of TASTE predefined basic types
T-Int32 ::= INTEGER (-2147483648 .. 2147483647)
T-UInt32 ::= INTEGER (0 .. 4294967295)
T-Int8 ::= INTEGER (-128 .. 127)
T-UInt8 ::= INTEGER (0 .. 255)
T-Boolean ::= BOOLEAN
END
TASTE-Dataview DEFINITIONS ::=
BEGIN
......@@ -51,20 +68,3 @@ MyChoice2 ::= CHOICE {
END
TASTE-BasicTypes DEFINITIONS ::=
BEGIN
-- Set of TASTE predefined basic types
T-Int32 ::= INTEGER (-2147483648 .. 2147483647)
T-UInt32 ::= INTEGER (0 .. 4294967295)
T-Int8 ::= INTEGER (-128 .. 127)
T-UInt8 ::= INTEGER (0 .. 255)
T-Boolean ::= BOOLEAN
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment