diff --git a/.github/actions/build-native-images/native-images b/.github/actions/build-native-images/native-images index 9e42178ed0..801a3c0c18 100755 --- a/.github/actions/build-native-images/native-images +++ b/.github/actions/build-native-images/native-images @@ -45,7 +45,7 @@ do echo "Building $out_file" class_path="${CLASSPATH}" evalp "$FPP_GRAALVM_JAVA_HOME/bin/native-image" -H:PageSize=65536 -cp "${class_path}" $FPP_NATIVE_IMAGE_FLAGS \ - --no-fallback --install-exit-handlers \ + --sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED \ -jar "$jar_file" "$out_file" if [ $? -ne 0 ] then diff --git a/.github/actions/native-tools-setup/env-setup b/.github/actions/native-tools-setup/env-setup index 54f79bf298..3d1e1313f4 100755 --- a/.github/actions/native-tools-setup/env-setup +++ b/.github/actions/native-tools-setup/env-setup @@ -1,22 +1,38 @@ #!/bin/bash -# Resolve architecture. Note: this is dependent on the graal version -graal_arch="$(uname -m)" +set -e + +# Map uname output to the OS name used by GraalVM release assets +graal_os="$( uname -s | tr "[:upper:]" "[:lower:]")" +if [[ "$graal_os" == "darwin" ]] +then + graal_os="macos" +fi -# Override graal_arch when on amd64 +# Map uname output to the architecture name used by GraalVM release assets +graal_arch="$(uname -m)" if [[ "$graal_arch" == "x86_64" ]] || [[ "$graal_arch" == "x64" ]] then - graal_arch="amd64" + graal_arch="x64" elif [[ "$graal_arch" == "arm64" ]] || [[ "$graal_arch" == "aarch64" ]] then graal_arch="aarch64" fi -graal_ver="22.3.0" -graal_os="$( uname -s | tr "[:upper:]" "[:lower:]")" -graal_ar="graalvm-ce-java11-${graal_os}-${graal_arch}-${graal_ver}.tar.gz" -graal_dir="$(pwd)/graalvm-ce-java11-${graal_ver}" -graal_url="https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-${graal_ver}/${graal_ar}" +# The GraalVM Community Edition release to use: graal_tag is the tag of the +# GitHub release, and graal_jdk is the JDK version that it provides +graal_tag="graal-25.3.4.1" +graal_jdk="25i3-25.0.4.1" +graal_ar="graalvm-community-jdk-${graal_jdk}_${graal_os}-${graal_arch}_bin.tar.gz" +graal_url="https://github.com/graalvm/graalvm-ce-builds/releases/download/${graal_tag}/${graal_ar}" + +# Download Graal +echo "Downloading GraalVM from: ${graal_url}" +curl -fL -o "${graal_ar}" "${graal_url}" + +# The name of the extracted directory does not match the name of the archive, +# so read it out of the archive +graal_dir="$(pwd)/$(tar -tzf "${graal_ar}" | head -1 | cut -d/ -f1)" # Start fresh if [ -d "${graal_dir}" ] @@ -24,23 +40,29 @@ then rm -r "${graal_dir}" fi - -# Download Graal -echo "Downloading GraalVM from: ${graal_url}" -curl -L "${graal_url}" > "${graal_ar}" tar -xzf "${graal_ar}" graal_bin="${graal_dir}/bin" if [ ! -d "${graal_bin}" ] then graal_bin="${graal_dir}/Contents/Home/bin" fi + +# native-image is bundled with GraalVM for JDK 21 and later, so there is +# nothing to install. Check that we resolved the layout of the release +# correctly. +if [ ! -x "${graal_bin}/native-image" ] +then + echo "[ERROR] native-image not found in ${graal_bin}" 1>&2 + exit 1 +fi + export PATH="${graal_bin}:${PATH}" +export JAVA_HOME="$(dirname ${graal_bin})" export FPP_GRAALVM_JAVA_HOME="$(dirname ${graal_bin})" -# Install native image -${graal_bin}/gu install native-image if [ -n "$GITHUB_ENV" ] then echo PATH="${PATH}" >> $GITHUB_ENV + echo JAVA_HOME="${JAVA_HOME}" >> $GITHUB_ENV echo FPP_GRAALVM_JAVA_HOME="${FPP_GRAALVM_JAVA_HOME}" >> $GITHUB_ENV fi diff --git a/.github/scripts/test-wheels b/.github/scripts/test-wheels new file mode 100755 index 0000000000..a3414c7ee8 --- /dev/null +++ b/.github/scripts/test-wheels @@ -0,0 +1,68 @@ +#!/bin/sh + +# ---------------------------------------------------------------------- +# Install the FPP wheel found in a directory and check that each tool runs +# +# Usage: test-wheels wheel-dir +# +# Run this with the target Python virtual environment already activated. +# ---------------------------------------------------------------------- + +if test $# -ne 1 +then + echo "usage: test-wheels wheel-dir" 1>&2 + exit 1 +fi + +wheel_dir="$1" +repo_root=$(cd $(dirname $0)/../..; pwd) + +if test ! -d "$wheel_dir" +then + echo "[ERROR] no such directory: $wheel_dir" 1>&2 + exit 1 +fi + +wheels=$(find "$wheel_dir" -name "*.whl") +if test -z "$wheels" +then + echo "[ERROR] no wheel files in $wheel_dir" 1>&2 + exit 1 +fi + +# The FPP package has no dependencies, so install without consulting an index +echo "[INFO] Installing $wheels" +python3 -m pip install --no-index $wheels || exit 1 + +# Report which tools we are about to test, so that a wheel that installs no +# entry points is easy to diagnose +echo "[INFO] Using fpp at $(command -v fpp)" + +# Build the list of tool names +tools="fpp" +for tool in $(cat "$repo_root/compiler/tools.txt") +do + tools="$tools fpp-$tool" +done + +# Check that each tool runs. Every tool exits 0 on --help; note that --version +# does not work for the subcommand wrappers. +num_failed=0 +for tool in $tools +do + if $tool --help > /dev/null < /dev/null + then + echo "[INFO] $tool --help: ok" + else + echo "[ERROR] $tool --help failed" 1>&2 + num_failed=$(expr $num_failed + 1) + fi +done + +if test $num_failed -ne 0 +then + echo "[ERROR] $num_failed tools failed" 1>&2 + exit 1 +fi + +echo "[INFO] All tools passed" diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 9c061efbab..66ea5f135a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -17,10 +17,10 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Set up JDK 11 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: - java-version: '11' + java-version: '25' distribution: 'temurin' cache: 'sbt' - name: Install Scala diff --git a/.github/workflows/deploy-wiki.yml b/.github/workflows/deploy-wiki.yml new file mode 100644 index 0000000000..cceabaa50a --- /dev/null +++ b/.github/workflows/deploy-wiki.yml @@ -0,0 +1,45 @@ +name: Deploy Wiki + +on: + push: + branches: [ "main" ] + paths: [ "docs/wiki/**" ] + workflow_dispatch: + +permissions: + contents: write + +concurrency: + group: deploy-wiki + cancel-in-progress: false + +jobs: + deploy: + if: github.repository == 'nasa/fpp' + runs-on: ubuntu-22.04 + + steps: + - name: Check out repository + uses: actions/checkout@v6 + with: + path: fpp + - name: Check out wiki + uses: actions/checkout@v6 + with: + repository: ${{ github.repository }}.wiki + path: wiki + - name: Copy wiki sources + run: rsync -a --delete --exclude .git fpp/docs/wiki/ wiki/ + - name: Commit and push + working-directory: wiki + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add -A + if git diff --cached --quiet + then + echo "Wiki is up to date" + exit 0 + fi + git commit -m "Deploy docs/wiki from ${GITHUB_REPOSITORY}@${GITHUB_SHA}" + git push diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index 79f254995b..bfd9492136 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -92,12 +92,8 @@ jobs: matrix = { "run": [ { - "runner": "macos-14", - "tag": "macosx_14_0_arm64" - }, - { - "runner": "macos-15-intel", - "tag": "macosx_15_0_x86_64" + "runner": "macos-15", + "tag": "macosx_15_0_arm64" }, { "runner": "ubuntu-22.04", @@ -191,6 +187,10 @@ jobs: name: build-jar path: ${{ inputs.output-directory }} - name: "Run Builder" + env: + # Pin the version to the release tag; `git describe` may pick an older + # tag on the same commit. Empty (non-release) values are ignored. + SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event.release.tag_name }} run: | pip install build cp -vr ${{ inputs.output-directory }}/*.jar python/fprime_fpp/ @@ -217,8 +217,12 @@ jobs: matrix: ${{ fromJson(needs.generate-run-matricies.outputs.native) }} runs-on: ${{ matrix.run.runner }} steps: + - name: "Checkout repository" + uses: actions/checkout@v6 + with: + submodules: recursive - name: "Setup Native Image Tools" - uses: fprime-community/native-images-action@unified-tool + uses: ./.github/actions/native-tools-setup - name: "Download Native Wheels" uses: actions/download-artifact@v8 with: @@ -235,8 +239,11 @@ jobs: do python3 -m venv ./test-${subdir} . ./test-${subdir}/bin/activate - echo "[INFO] Testin ${subdir} Wheels" - $NATIVE_IMAGE_TOOLS_PATH/test-wheels "${{ inputs.output-directory }}/${subdir}" "${{ inputs.meta-package }}" || exit $? + echo "[INFO] Testing ${subdir} wheels" + .github/scripts/test-wheels "${{ inputs.output-directory }}/${subdir}" || exit $? + # Leave the virtual environment, so that the next iteration does + # not find this one's tools on the PATH + deactivate done shell: bash publish-wheels: diff --git a/compiler/.jvmopts b/compiler/.jvmopts index 4b07f94897..21766a2bde 100644 --- a/compiler/.jvmopts +++ b/compiler/.jvmopts @@ -1,2 +1,3 @@ --XX:+CMSClassUnloadingEnabled -Xss2M +--sun-misc-unsafe-memory-access=allow +--enable-native-access=ALL-UNNAMED diff --git a/compiler/README.adoc b/compiler/README.adoc index 93d9e368ff..cecdaa1058 100644 --- a/compiler/README.adoc +++ b/compiler/README.adoc @@ -6,16 +6,16 @@ . The https://www.scala-sbt.org[Simple Build Tool (sbt)] for Scala. -. Version 11 of the Java Development Kit (JDK). +. Version 25 of the Java Development Kit (JDK). If you have a different version of Java installed on your system, then you can do the following: -.. Install version 11 of the JDK. +.. Install version 25 of the JDK. For example, in MacPorts you can run + [source,bash] ---- -% sudo port install openjdk11-graalvm +% sudo port install openjdk25-graalvm ---- .. Set the environment variable `FPP_JAVA_HOME` to the home directory associated @@ -24,7 +24,7 @@ For example, on Mac OS: + [source,bash] ---- -% export FPP_JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk11-graalvm/Contents/Home +% export FPP_JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-25-graalvm-community.jdk/Contents/Home ---- == Installing @@ -50,12 +50,12 @@ That way you can run the tools from anywhere. * `fpp-check` * `fpp-depend` * `fpp-filenames` -* `fpp-format` * `fpp-from-xml` * `fpp-locate-defs` * `fpp-locate-uses` * `fpp-syntax` * `fpp-to-cpp` +* `fpp-to-fpp` * `fpp-to-dict` * `fpp-to-layout` @@ -135,7 +135,7 @@ For example, using MacPorts on Mac OS: + [source,bash] ---- -% sudo port install openjdk11-graalvm +% sudo port install openjdk25-graalvm ---- . Set the global environment variable `FPP_GRAALVM_JAVA_HOME` to the `Home` directory @@ -144,15 +144,9 @@ For example, on Mac OS: + [source,bash] ---- -% export FPP_GRAALVM_JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk11-graalvm/Contents/Home +% export FPP_GRAALVM_JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-25-graalvm-community.jdk/Contents/Home ---- -. Run `sudo $FPP_GRAALVM_JAVA_HOME/bin/gu install native-image` -*You must rerun this step every time you update or reinstall GraalVM (step 1).* -If you update or reinstall GraalVM, and you forget to re-install `native-image`, -then your GraalVM installation and your `native-image` installation will be out -of sync, and the native image build may not work. - . Run `./release` in this directory. The script will build the native binary tools and install them at `native-fpp-[platform name]`. @@ -178,16 +172,14 @@ Occasionally when developing FPP, you may need to re-run the tracing agent to capture new runtime behavior. To do that, use the following procedure: -. Ensure that `native-image` is installed and up-to-date, -as described above. +. Ensure that GraalVM is installed, as described above. . Run `./install-trace` to install JVM versions of the FPP tools with tracing enabled in the `bin` directory. -. Edit the file -`compiler/lib/src/main/resources/META-INF/native-image/reflect-config.json` -so that it contains a pair of square brackets `[]` and nothing else. -This will clear out any old trace information. +. Delete all files in the directory +`compiler/lib/src/main/resources/META-INF/native-image`. +This step will clear out any old trace information. . Run `./test` to use the installed tools to run the unit tests. This step will run the tracing agent and update the trace files. diff --git a/compiler/build.sbt b/compiler/build.sbt index cfc1c0dfce..69122571fd 100644 --- a/compiler/build.sbt +++ b/compiler/build.sbt @@ -2,27 +2,27 @@ name := "fpp-compiler" ThisBuild / organization := "gov.nasa.jpl" -ThisBuild / scalaVersion := "3.1.2" +ThisBuild / scalaVersion := "3.9.0" lazy val settings = Seq( scalacOptions ++= Seq( "-deprecation", "-unchecked", - "-Xfatal-warnings", "-Xmax-inlines:100" ), - libraryDependencies ++= dependencies, + libraryDependencies ++= dependencies, Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-oNCXELOPQRM"), + Test / parallelExecution := false, ) lazy val dependencies = Seq( - "com.github.scopt" %% "scopt" % "4.0.1", + "com.github.scopt" %% "scopt" % "4.1.0", "io.circe" %% "circe-core" % "0.14.3", "io.circe" %% "circe-generic" % "0.14.3", "io.circe" %% "circe-parser" % "0.14.3", - "org.scala-lang.modules" %% "scala-parser-combinators" % "2.1.1", - "org.scala-lang.modules" %% "scala-xml" % "2.1.0", - "org.scalatest" %% "scalatest" % "3.2.12" % "test", + "org.scala-lang.modules" %% "scala-parser-combinators" % "2.5.0", + "org.scala-lang.modules" %% "scala-xml" % "2.5.0", + "org.scalatest" %% "scalatest" % "3.2.20" % "test", ) lazy val root = (project in file(".")) diff --git a/compiler/install b/compiler/install index 3e01f77cbb..33c95fd35a 100755 --- a/compiler/install +++ b/compiler/install @@ -39,15 +39,18 @@ cd $wd # Pull in the version info . ../version.sh -scala_version="3.1.2" +scala_version="3.9.0" + +# Flags that suppress JVM warnings. These require JDK 23 or later. +java_warning_flags="--sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED" if test -n "$FPP_JAVA_HOME" then sbt="sbt --java-home $FPP_JAVA_HOME $FPP_SBT_FLAGS" - java="$FPP_JAVA_HOME/bin/java $FPP_JAVA_FLAGS" + java="$FPP_JAVA_HOME/bin/java $java_warning_flags $FPP_JAVA_FLAGS" else sbt="sbt $FPP_SBT_FLAGS" - java=java $FPP_JAVA_FLAGS + java="java $java_warning_flags $FPP_JAVA_FLAGS" fi echo "sbt command: $sbt" echo "java command: $java" diff --git a/compiler/lib/src/main/resources/META-INF/native-image/jni-config.json b/compiler/lib/src/main/resources/META-INF/native-image/jni-config.json deleted file mode 100644 index f8aba73d87..0000000000 --- a/compiler/lib/src/main/resources/META-INF/native-image/jni-config.json +++ /dev/null @@ -1,37 +0,0 @@ -[ -{ - "name":"fpp.compiler.tools.FPP", - "methods":[{"name":"main","parameterTypes":["java.lang.String[]"] }] -}, -{ - "name":"java.lang.ClassLoader", - "methods":[ - {"name":"getPlatformClassLoader","parameterTypes":[] }, - {"name":"loadClass","parameterTypes":["java.lang.String"] } - ] -}, -{ - "name":"java.lang.NoSuchMethodError" -}, -{ - "name":"java.lang.String", - "methods":[ - {"name":"lastIndexOf","parameterTypes":["int"] }, - {"name":"substring","parameterTypes":["int"] } - ] -}, -{ - "name":"java.lang.System", - "methods":[ - {"name":"getProperty","parameterTypes":["java.lang.String"] }, - {"name":"setProperty","parameterTypes":["java.lang.String","java.lang.String"] } - ] -}, -{ - "name":"jdk.internal.loader.ClassLoaders$PlatformClassLoader" -}, -{ - "name":"org.graalvm.jniutils.JNIExceptionWrapperEntryPoints", - "methods":[{"name":"getClassName","parameterTypes":["java.lang.Class"] }] -} -] diff --git a/compiler/lib/src/main/resources/META-INF/native-image/predefined-classes-config.json b/compiler/lib/src/main/resources/META-INF/native-image/predefined-classes-config.json deleted file mode 100644 index 0e79b2c5d8..0000000000 --- a/compiler/lib/src/main/resources/META-INF/native-image/predefined-classes-config.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - { - "type":"agent-extracted", - "classes":[ - ] - } -] - diff --git a/compiler/lib/src/main/resources/META-INF/native-image/proxy-config.json b/compiler/lib/src/main/resources/META-INF/native-image/proxy-config.json deleted file mode 100644 index 0d4f101c7a..0000000000 --- a/compiler/lib/src/main/resources/META-INF/native-image/proxy-config.json +++ /dev/null @@ -1,2 +0,0 @@ -[ -] diff --git a/compiler/lib/src/main/resources/META-INF/native-image/reachability-metadata.json b/compiler/lib/src/main/resources/META-INF/native-image/reachability-metadata.json new file mode 100644 index 0000000000..fa61403042 --- /dev/null +++ b/compiler/lib/src/main/resources/META-INF/native-image/reachability-metadata.json @@ -0,0 +1,8063 @@ +{ + "reflection": [ + { + "type": "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "type": "fpp.compiler.analysis.Connection[]" + }, + { + "type": "fpp.compiler.analysis.Format$Parser$", + "fields": [ + { + "name": "$tilde$lzy1" + }, + { + "name": "Error$lzy1" + }, + { + "name": "Failure$lzy1" + }, + { + "name": "NoSuccess$lzy1" + }, + { + "name": "Success$lzy1" + } + ] + }, + { + "type": "fpp.compiler.analysis.Topology", + "fields": [ + { + "name": "componentInstanceMap$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1", + "fields": [ + { + "name": "elemEncoders$lzy407" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1000", + "fields": [ + { + "name": "elemEncoders$lzy914" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1001", + "fields": [ + { + "name": "elemEncoders$lzy906" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1002", + "fields": [ + { + "name": "elemEncoders$lzy907" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1003", + "fields": [ + { + "name": "elemEncoders$lzy908" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1004", + "fields": [ + { + "name": "elemEncoders$lzy909" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1005", + "fields": [ + { + "name": "elemEncoders$lzy910" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1006", + "fields": [ + { + "name": "elemEncoders$lzy911" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1007", + "fields": [ + { + "name": "elemEncoders$lzy912" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1008", + "fields": [ + { + "name": "elemEncoders$lzy913" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1010", + "fields": [ + { + "name": "elemEncoders$lzy934" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1011", + "fields": [ + { + "name": "elemEncoders$lzy918" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1013", + "fields": [ + { + "name": "elemEncoders$lzy919" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1014", + "fields": [ + { + "name": "elemEncoders$lzy933" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1015", + "fields": [ + { + "name": "elemEncoders$lzy932" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1016", + "fields": [ + { + "name": "elemEncoders$lzy920" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1017", + "fields": [ + { + "name": "elemEncoders$lzy926" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1018", + "fields": [ + { + "name": "elemEncoders$lzy925" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1019", + "fields": [ + { + "name": "elemEncoders$lzy921" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1020", + "fields": [ + { + "name": "elemEncoders$lzy922" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1021", + "fields": [ + { + "name": "elemEncoders$lzy923" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1022", + "fields": [ + { + "name": "elemEncoders$lzy924" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1024", + "fields": [ + { + "name": "elemEncoders$lzy931" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1025", + "fields": [ + { + "name": "elemEncoders$lzy930" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1026", + "fields": [ + { + "name": "elemEncoders$lzy927" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1027", + "fields": [ + { + "name": "elemEncoders$lzy928" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1028", + "fields": [ + { + "name": "elemEncoders$lzy929" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1030", + "fields": [ + { + "name": "elemEncoders$lzy935" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1031", + "fields": [ + { + "name": "elemEncoders$lzy936" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1032", + "fields": [ + { + "name": "elemEncoders$lzy980" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1033", + "fields": [ + { + "name": "elemEncoders$lzy958" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1034", + "fields": [ + { + "name": "elemEncoders$lzy947" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1035", + "fields": [ + { + "name": "elemEncoders$lzy946" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1036", + "fields": [ + { + "name": "elemEncoders$lzy938" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1037", + "fields": [ + { + "name": "elemEncoders$lzy939" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1038", + "fields": [ + { + "name": "elemEncoders$lzy940" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1039", + "fields": [ + { + "name": "elemEncoders$lzy941" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1040", + "fields": [ + { + "name": "elemEncoders$lzy942" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1041", + "fields": [ + { + "name": "elemEncoders$lzy943" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1042", + "fields": [ + { + "name": "elemEncoders$lzy944" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1043", + "fields": [ + { + "name": "elemEncoders$lzy945" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1045", + "fields": [ + { + "name": "elemEncoders$lzy948" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1046", + "fields": [ + { + "name": "elemEncoders$lzy952" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1047", + "fields": [ + { + "name": "elemEncoders$lzy951" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1048", + "fields": [ + { + "name": "elemEncoders$lzy949" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1049", + "fields": [ + { + "name": "elemEncoders$lzy950" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1051", + "fields": [ + { + "name": "elemEncoders$lzy953" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1052", + "fields": [ + { + "name": "elemEncoders$lzy954" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1053", + "fields": [ + { + "name": "elemEncoders$lzy957" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1054", + "fields": [ + { + "name": "elemEncoders$lzy956" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1055", + "fields": [ + { + "name": "elemEncoders$lzy955" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1056", + "fields": [ + { + "name": "elemEncoders$lzy979" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1079", + "fields": [ + { + "name": "elemEncoders$lzy1002" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1080", + "fields": [ + { + "name": "elemEncoders$lzy1001" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1081", + "fields": [ + { + "name": "elemEncoders$lzy990" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1082", + "fields": [ + { + "name": "elemEncoders$lzy989" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1083", + "fields": [ + { + "name": "elemEncoders$lzy981" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1084", + "fields": [ + { + "name": "elemEncoders$lzy982" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1085", + "fields": [ + { + "name": "elemEncoders$lzy983" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1086", + "fields": [ + { + "name": "elemEncoders$lzy984" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1087", + "fields": [ + { + "name": "elemEncoders$lzy985" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1088", + "fields": [ + { + "name": "elemEncoders$lzy986" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1089", + "fields": [ + { + "name": "elemEncoders$lzy987" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1090", + "fields": [ + { + "name": "elemEncoders$lzy988" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1092", + "fields": [ + { + "name": "elemEncoders$lzy991" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1093", + "fields": [ + { + "name": "elemEncoders$lzy995" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1094", + "fields": [ + { + "name": "elemEncoders$lzy994" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1095", + "fields": [ + { + "name": "elemEncoders$lzy992" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1096", + "fields": [ + { + "name": "elemEncoders$lzy993" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1098", + "fields": [ + { + "name": "elemEncoders$lzy996" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1099", + "fields": [ + { + "name": "elemEncoders$lzy997" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1100", + "fields": [ + { + "name": "elemEncoders$lzy1000" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1101", + "fields": [ + { + "name": "elemEncoders$lzy999" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1102", + "fields": [ + { + "name": "elemEncoders$lzy998" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1103", + "fields": [ + { + "name": "elemEncoders$lzy1020" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1104", + "fields": [ + { + "name": "elemEncoders$lzy1019" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1105", + "fields": [ + { + "name": "elemEncoders$lzy1003" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1106", + "fields": [ + { + "name": "elemEncoders$lzy1004" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1107", + "fields": [ + { + "name": "elemEncoders$lzy1018" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1123", + "fields": [ + { + "name": "elemEncoders$lzy1039" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1124", + "fields": [ + { + "name": "elemEncoders$lzy1038" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1125", + "fields": [ + { + "name": "elemEncoders$lzy1022" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1127", + "fields": [ + { + "name": "elemEncoders$lzy1023" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1128", + "fields": [ + { + "name": "elemEncoders$lzy1037" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1144", + "fields": [ + { + "name": "elemEncoders$lzy1060" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1145", + "fields": [ + { + "name": "elemEncoders$lzy1049" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1156", + "fields": [ + { + "name": "elemEncoders$lzy1050" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1157", + "fields": [ + { + "name": "elemEncoders$lzy1054" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1162", + "fields": [ + { + "name": "elemEncoders$lzy1055" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1163", + "fields": [ + { + "name": "elemEncoders$lzy1056" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1164", + "fields": [ + { + "name": "elemEncoders$lzy1059" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1167", + "fields": [ + { + "name": "elemEncoders$lzy1061" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1168", + "fields": [ + { + "name": "elemEncoders$lzy1085" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1169", + "fields": [ + { + "name": "elemEncoders$lzy1075" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1184", + "fields": [ + { + "name": "elemEncoders$lzy1084" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1185", + "fields": [ + { + "name": "elemEncoders$lzy1083" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1186", + "fields": [ + { + "name": "elemEncoders$lzy1076" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1187", + "fields": [ + { + "name": "elemEncoders$lzy1077" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1188", + "fields": [ + { + "name": "elemEncoders$lzy1078" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1189", + "fields": [ + { + "name": "elemEncoders$lzy1079" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1190", + "fields": [ + { + "name": "elemEncoders$lzy1080" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1191", + "fields": [ + { + "name": "elemEncoders$lzy1081" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1192", + "fields": [ + { + "name": "elemEncoders$lzy1082" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1194", + "fields": [ + { + "name": "elemEncoders$lzy1151" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1195", + "fields": [ + { + "name": "elemEncoders$lzy1121" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1234", + "fields": [ + { + "name": "elemEncoders$lzy1145" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1235", + "fields": [ + { + "name": "elemEncoders$lzy1125" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1236", + "fields": [ + { + "name": "elemEncoders$lzy1122" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1237", + "fields": [ + { + "name": "elemEncoders$lzy1123" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1238", + "fields": [ + { + "name": "elemEncoders$lzy1124" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1240", + "fields": [ + { + "name": "elemEncoders$lzy1139" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1241", + "fields": [ + { + "name": "elemEncoders$lzy1126" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1242", + "fields": [ + { + "name": "elemEncoders$lzy1127" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1243", + "fields": [ + { + "name": "elemEncoders$lzy1128" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1244", + "fields": [ + { + "name": "elemEncoders$lzy1129" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1245", + "fields": [ + { + "name": "elemEncoders$lzy1130" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1246", + "fields": [ + { + "name": "elemEncoders$lzy1131" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1247", + "fields": [ + { + "name": "elemEncoders$lzy1132" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1248", + "fields": [ + { + "name": "elemEncoders$lzy1133" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1249", + "fields": [ + { + "name": "elemEncoders$lzy1134" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1250", + "fields": [ + { + "name": "elemEncoders$lzy1135" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1251", + "fields": [ + { + "name": "elemEncoders$lzy1136" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1252", + "fields": [ + { + "name": "elemEncoders$lzy1137" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1253", + "fields": [ + { + "name": "elemEncoders$lzy1138" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1255", + "fields": [ + { + "name": "elemEncoders$lzy1144" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1260", + "fields": [ + { + "name": "elemEncoders$lzy1150" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1261", + "fields": [ + { + "name": "elemEncoders$lzy1146" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1262", + "fields": [ + { + "name": "elemEncoders$lzy1147" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1263", + "fields": [ + { + "name": "elemEncoders$lzy1148" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1264", + "fields": [ + { + "name": "elemEncoders$lzy1149" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1265", + "fields": [ + { + "name": "elemEncoders$lzy1152" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1266", + "fields": [ + { + "name": "elemEncoders$lzy1169" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1267", + "fields": [ + { + "name": "elemEncoders$lzy1165" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1268", + "fields": [ + { + "name": "elemEncoders$lzy1154" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1269", + "fields": [ + { + "name": "elemEncoders$lzy1153" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1270", + "fields": [ + { + "name": "elemEncoders$lzy1164" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1271", + "fields": [ + { + "name": "elemEncoders$lzy1158" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1272", + "fields": [ + { + "name": "elemEncoders$lzy1157" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1273", + "fields": [ + { + "name": "elemEncoders$lzy1156" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1275", + "fields": [ + { + "name": "elemEncoders$lzy1163" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1276", + "fields": [ + { + "name": "elemEncoders$lzy1162" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1277", + "fields": [ + { + "name": "elemEncoders$lzy1161" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1280", + "fields": [ + { + "name": "elemEncoders$lzy1168" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1283", + "fields": [ + { + "name": "elemEncoders$lzy1224" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1284", + "fields": [ + { + "name": "elemEncoders$lzy1186" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1285", + "fields": [ + { + "name": "elemEncoders$lzy1172" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1286", + "fields": [ + { + "name": "elemEncoders$lzy1171" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1288", + "fields": [ + { + "name": "elemEncoders$lzy1174" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1290", + "fields": [ + { + "name": "elemEncoders$lzy1185" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1291", + "fields": [ + { + "name": "elemEncoders$lzy1184" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1292", + "fields": [ + { + "name": "elemEncoders$lzy1178" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1293", + "fields": [ + { + "name": "elemEncoders$lzy1177" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1294", + "fields": [ + { + "name": "elemEncoders$lzy1176" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1296", + "fields": [ + { + "name": "elemEncoders$lzy1183" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1297", + "fields": [ + { + "name": "elemEncoders$lzy1182" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1298", + "fields": [ + { + "name": "elemEncoders$lzy1181" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1301", + "fields": [ + { + "name": "elemEncoders$lzy1206" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1302", + "fields": [ + { + "name": "elemEncoders$lzy1189" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1303", + "fields": [ + { + "name": "elemEncoders$lzy1188" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1305", + "fields": [ + { + "name": "elemEncoders$lzy1194" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1310", + "fields": [ + { + "name": "elemEncoders$lzy1205" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1311", + "fields": [ + { + "name": "elemEncoders$lzy1204" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1312", + "fields": [ + { + "name": "elemEncoders$lzy1198" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1313", + "fields": [ + { + "name": "elemEncoders$lzy1197" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1314", + "fields": [ + { + "name": "elemEncoders$lzy1196" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1316", + "fields": [ + { + "name": "elemEncoders$lzy1203" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1317", + "fields": [ + { + "name": "elemEncoders$lzy1202" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1318", + "fields": [ + { + "name": "elemEncoders$lzy1201" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1321", + "fields": [ + { + "name": "elemEncoders$lzy1223" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1322", + "fields": [ + { + "name": "elemEncoders$lzy1210" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1323", + "fields": [ + { + "name": "elemEncoders$lzy1209" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1326", + "fields": [ + { + "name": "elemEncoders$lzy1211" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1327", + "fields": [ + { + "name": "elemEncoders$lzy1222" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1328", + "fields": [ + { + "name": "elemEncoders$lzy1221" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1329", + "fields": [ + { + "name": "elemEncoders$lzy1215" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1330", + "fields": [ + { + "name": "elemEncoders$lzy1214" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1331", + "fields": [ + { + "name": "elemEncoders$lzy1213" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1333", + "fields": [ + { + "name": "elemEncoders$lzy1220" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1334", + "fields": [ + { + "name": "elemEncoders$lzy1219" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1335", + "fields": [ + { + "name": "elemEncoders$lzy1218" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1338", + "fields": [ + { + "name": "elemEncoders$lzy1225" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1340", + "fields": [ + { + "name": "elemEncoders$lzy1226" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1341", + "fields": [ + { + "name": "elemEncoders$lzy1236" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1342", + "fields": [ + { + "name": "elemEncoders$lzy1227" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1343", + "fields": [ + { + "name": "elemEncoders$lzy1228" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1344", + "fields": [ + { + "name": "elemEncoders$lzy1229" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1345", + "fields": [ + { + "name": "elemEncoders$lzy1230" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1346", + "fields": [ + { + "name": "elemEncoders$lzy1231" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1347", + "fields": [ + { + "name": "elemEncoders$lzy1232" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1348", + "fields": [ + { + "name": "elemEncoders$lzy1233" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1349", + "fields": [ + { + "name": "elemEncoders$lzy1234" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1350", + "fields": [ + { + "name": "elemEncoders$lzy1235" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1352", + "fields": [ + { + "name": "elemEncoders$lzy1237" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1353", + "fields": [ + { + "name": "elemEncoders$lzy1248" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1365", + "fields": [ + { + "name": "elemEncoders$lzy1249" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1366", + "fields": [ + { + "name": "elemEncoders$lzy1252" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1367", + "fields": [ + { + "name": "elemEncoders$lzy1251" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1369", + "fields": [ + { + "name": "elemEncoders$lzy1253" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1370", + "fields": [ + { + "name": "elemEncoders$lzy1265" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1371", + "fields": [ + { + "name": "elemEncoders$lzy1264" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1372", + "fields": [ + { + "name": "elemEncoders$lzy1263" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1373", + "fields": [ + { + "name": "elemEncoders$lzy1257" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1374", + "fields": [ + { + "name": "elemEncoders$lzy1256" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1375", + "fields": [ + { + "name": "elemEncoders$lzy1255" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1377", + "fields": [ + { + "name": "elemEncoders$lzy1262" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1378", + "fields": [ + { + "name": "elemEncoders$lzy1261" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1379", + "fields": [ + { + "name": "elemEncoders$lzy1260" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1382", + "fields": [ + { + "name": "elemEncoders$lzy1277" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1383", + "fields": [ + { + "name": "elemEncoders$lzy1276" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1384", + "fields": [ + { + "name": "elemEncoders$lzy1275" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1385", + "fields": [ + { + "name": "elemEncoders$lzy1269" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1386", + "fields": [ + { + "name": "elemEncoders$lzy1268" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1387", + "fields": [ + { + "name": "elemEncoders$lzy1267" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1389", + "fields": [ + { + "name": "elemEncoders$lzy1274" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1390", + "fields": [ + { + "name": "elemEncoders$lzy1273" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1391", + "fields": [ + { + "name": "elemEncoders$lzy1272" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1394", + "fields": [ + { + "name": "elemEncoders$lzy1297" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1395", + "fields": [ + { + "name": "elemEncoders$lzy1279" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1396", + "fields": [ + { + "name": "elemEncoders$lzy1278" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1397", + "fields": [ + { + "name": "elemEncoders$lzy1296" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1398", + "fields": [ + { + "name": "elemEncoders$lzy1292" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1399", + "fields": [ + { + "name": "elemEncoders$lzy1281" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1400", + "fields": [ + { + "name": "elemEncoders$lzy1280" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1401", + "fields": [ + { + "name": "elemEncoders$lzy1291" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1402", + "fields": [ + { + "name": "elemEncoders$lzy1285" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1403", + "fields": [ + { + "name": "elemEncoders$lzy1284" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1404", + "fields": [ + { + "name": "elemEncoders$lzy1283" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1406", + "fields": [ + { + "name": "elemEncoders$lzy1290" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1407", + "fields": [ + { + "name": "elemEncoders$lzy1289" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1408", + "fields": [ + { + "name": "elemEncoders$lzy1288" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1411", + "fields": [ + { + "name": "elemEncoders$lzy1295" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1412", + "fields": [ + { + "name": "elemEncoders$lzy1294" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1413", + "fields": [ + { + "name": "elemEncoders$lzy1293" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1416", + "fields": [ + { + "name": "elemEncoders$lzy1698" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1417", + "fields": [ + { + "name": "elemEncoders$lzy1430" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$151", + "fields": [ + { + "name": "elemEncoders$lzy166" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1562", + "fields": [ + { + "name": "elemEncoders$lzy1460" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1563", + "fields": [ + { + "name": "elemEncoders$lzy1454" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1564", + "fields": [ + { + "name": "elemEncoders$lzy1444" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1580", + "fields": [ + { + "name": "elemEncoders$lzy1453" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1581", + "fields": [ + { + "name": "elemEncoders$lzy1450" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1582", + "fields": [ + { + "name": "elemEncoders$lzy1449" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1583", + "fields": [ + { + "name": "elemEncoders$lzy1445" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1584", + "fields": [ + { + "name": "elemEncoders$lzy1446" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1585", + "fields": [ + { + "name": "elemEncoders$lzy1447" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1586", + "fields": [ + { + "name": "elemEncoders$lzy1448" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1587", + "fields": [ + { + "name": "elemEncoders$lzy1451" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1588", + "fields": [ + { + "name": "elemEncoders$lzy1452" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1590", + "fields": [ + { + "name": "elemEncoders$lzy1459" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1591", + "fields": [ + { + "name": "elemEncoders$lzy1455" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1592", + "fields": [ + { + "name": "elemEncoders$lzy1458" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1593", + "fields": [ + { + "name": "elemEncoders$lzy1456" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1594", + "fields": [ + { + "name": "elemEncoders$lzy1457" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1596", + "fields": [ + { + "name": "elemEncoders$lzy1490" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1597", + "fields": [ + { + "name": "elemEncoders$lzy1472" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1612", + "fields": [ + { + "name": "elemEncoders$lzy1475" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1613", + "fields": [ + { + "name": "elemEncoders$lzy1473" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1614", + "fields": [ + { + "name": "elemEncoders$lzy1474" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1616", + "fields": [ + { + "name": "elemEncoders$lzy1489" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1617", + "fields": [ + { + "name": "elemEncoders$lzy1488" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1618", + "fields": [ + { + "name": "elemEncoders$lzy1476" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1619", + "fields": [ + { + "name": "elemEncoders$lzy1482" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1626", + "fields": [ + { + "name": "elemEncoders$lzy1487" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1627", + "fields": [ + { + "name": "elemEncoders$lzy1486" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1628", + "fields": [ + { + "name": "elemEncoders$lzy1483" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1629", + "fields": [ + { + "name": "elemEncoders$lzy1484" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1630", + "fields": [ + { + "name": "elemEncoders$lzy1485" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1632", + "fields": [ + { + "name": "elemEncoders$lzy1520" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1633", + "fields": [ + { + "name": "elemEncoders$lzy1502" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1648", + "fields": [ + { + "name": "elemEncoders$lzy1505" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1649", + "fields": [ + { + "name": "elemEncoders$lzy1503" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1650", + "fields": [ + { + "name": "elemEncoders$lzy1504" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1652", + "fields": [ + { + "name": "elemEncoders$lzy1519" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1653", + "fields": [ + { + "name": "elemEncoders$lzy1518" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1654", + "fields": [ + { + "name": "elemEncoders$lzy1506" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1655", + "fields": [ + { + "name": "elemEncoders$lzy1512" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1662", + "fields": [ + { + "name": "elemEncoders$lzy1517" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1663", + "fields": [ + { + "name": "elemEncoders$lzy1516" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1664", + "fields": [ + { + "name": "elemEncoders$lzy1513" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1665", + "fields": [ + { + "name": "elemEncoders$lzy1514" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1666", + "fields": [ + { + "name": "elemEncoders$lzy1515" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1668", + "fields": [ + { + "name": "elemEncoders$lzy1550" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1669", + "fields": [ + { + "name": "elemEncoders$lzy1533" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1684", + "fields": [ + { + "name": "elemEncoders$lzy1547" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1685", + "fields": [ + { + "name": "elemEncoders$lzy1546" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1686", + "fields": [ + { + "name": "elemEncoders$lzy1534" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1687", + "fields": [ + { + "name": "elemEncoders$lzy1540" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1688", + "fields": [ + { + "name": "elemEncoders$lzy1539" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1689", + "fields": [ + { + "name": "elemEncoders$lzy1535" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1690", + "fields": [ + { + "name": "elemEncoders$lzy1536" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1691", + "fields": [ + { + "name": "elemEncoders$lzy1537" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1692", + "fields": [ + { + "name": "elemEncoders$lzy1538" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1694", + "fields": [ + { + "name": "elemEncoders$lzy1545" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1695", + "fields": [ + { + "name": "elemEncoders$lzy1544" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1696", + "fields": [ + { + "name": "elemEncoders$lzy1541" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1697", + "fields": [ + { + "name": "elemEncoders$lzy1542" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1698", + "fields": [ + { + "name": "elemEncoders$lzy1543" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1700", + "fields": [ + { + "name": "elemEncoders$lzy1549" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1701", + "fields": [ + { + "name": "elemEncoders$lzy1548" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1702", + "fields": [ + { + "name": "elemEncoders$lzy1573" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1703", + "fields": [ + { + "name": "elemEncoders$lzy1551" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1704", + "fields": [ + { + "name": "elemEncoders$lzy1572" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1705", + "fields": [ + { + "name": "elemEncoders$lzy1561" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1706", + "fields": [ + { + "name": "elemEncoders$lzy1560" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1707", + "fields": [ + { + "name": "elemEncoders$lzy1552" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1708", + "fields": [ + { + "name": "elemEncoders$lzy1553" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1709", + "fields": [ + { + "name": "elemEncoders$lzy1554" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1710", + "fields": [ + { + "name": "elemEncoders$lzy1555" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1711", + "fields": [ + { + "name": "elemEncoders$lzy1556" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1712", + "fields": [ + { + "name": "elemEncoders$lzy1557" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1713", + "fields": [ + { + "name": "elemEncoders$lzy1558" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1714", + "fields": [ + { + "name": "elemEncoders$lzy1559" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1716", + "fields": [ + { + "name": "elemEncoders$lzy1562" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1717", + "fields": [ + { + "name": "elemEncoders$lzy1566" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1718", + "fields": [ + { + "name": "elemEncoders$lzy1565" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1719", + "fields": [ + { + "name": "elemEncoders$lzy1563" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1720", + "fields": [ + { + "name": "elemEncoders$lzy1564" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1722", + "fields": [ + { + "name": "elemEncoders$lzy1567" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1723", + "fields": [ + { + "name": "elemEncoders$lzy1568" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1724", + "fields": [ + { + "name": "elemEncoders$lzy1571" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1727", + "fields": [ + { + "name": "elemEncoders$lzy1574" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1728", + "fields": [ + { + "name": "elemEncoders$lzy1589" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1729", + "fields": [ + { + "name": "elemEncoders$lzy1580" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1735", + "fields": [ + { + "name": "elemEncoders$lzy1583" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1736", + "fields": [ + { + "name": "elemEncoders$lzy1582" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1738", + "fields": [ + { + "name": "elemEncoders$lzy1588" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1739", + "fields": [ + { + "name": "elemEncoders$lzy1584" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1740", + "fields": [ + { + "name": "elemEncoders$lzy1585" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1741", + "fields": [ + { + "name": "elemEncoders$lzy1586" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1742", + "fields": [ + { + "name": "elemEncoders$lzy1587" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1743", + "fields": [ + { + "name": "elemEncoders$lzy1693" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1744", + "fields": [ + { + "name": "elemEncoders$lzy1590" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1745", + "fields": [ + { + "name": "elemEncoders$lzy1641" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1746", + "fields": [ + { + "name": "elemEncoders$lzy1626" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1785", + "fields": [ + { + "name": "elemEncoders$lzy1637" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1786", + "fields": [ + { + "name": "elemEncoders$lzy1631" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1787", + "fields": [ + { + "name": "elemEncoders$lzy1627" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1788", + "fields": [ + { + "name": "elemEncoders$lzy1628" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1789", + "fields": [ + { + "name": "elemEncoders$lzy1629" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1790", + "fields": [ + { + "name": "elemEncoders$lzy1630" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1792", + "fields": [ + { + "name": "elemEncoders$lzy1636" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1797", + "fields": [ + { + "name": "elemEncoders$lzy1640" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1798", + "fields": [ + { + "name": "elemEncoders$lzy1638" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1799", + "fields": [ + { + "name": "elemEncoders$lzy1639" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1800", + "fields": [ + { + "name": "elemEncoders$lzy1692" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1801", + "fields": [ + { + "name": "elemEncoders$lzy1677" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1840", + "fields": [ + { + "name": "elemEncoders$lzy1688" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1841", + "fields": [ + { + "name": "elemEncoders$lzy1682" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1842", + "fields": [ + { + "name": "elemEncoders$lzy1678" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1843", + "fields": [ + { + "name": "elemEncoders$lzy1679" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1844", + "fields": [ + { + "name": "elemEncoders$lzy1680" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1845", + "fields": [ + { + "name": "elemEncoders$lzy1681" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1847", + "fields": [ + { + "name": "elemEncoders$lzy1687" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$185", + "fields": [ + { + "name": "elemEncoders$lzy196" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1852", + "fields": [ + { + "name": "elemEncoders$lzy1691" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1853", + "fields": [ + { + "name": "elemEncoders$lzy1689" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1854", + "fields": [ + { + "name": "elemEncoders$lzy1690" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1855", + "fields": [ + { + "name": "elemEncoders$lzy1695" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1856", + "fields": [ + { + "name": "elemEncoders$lzy1694" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1857", + "fields": [ + { + "name": "elemEncoders$lzy1697" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1858", + "fields": [ + { + "name": "elemEncoders$lzy1696" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1859", + "fields": [ + { + "name": "elemEncoders$lzy1714" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$186", + "fields": [ + { + "name": "elemEncoders$lzy178" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1860", + "fields": [ + { + "name": "elemEncoders$lzy1700" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1861", + "fields": [ + { + "name": "elemEncoders$lzy1699" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1862", + "fields": [ + { + "name": "elemEncoders$lzy1713" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1863", + "fields": [ + { + "name": "elemEncoders$lzy1702" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1865", + "fields": [ + { + "name": "elemEncoders$lzy1704" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1866", + "fields": [ + { + "name": "elemEncoders$lzy1703" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1867", + "fields": [ + { + "name": "elemEncoders$lzy1706" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1869", + "fields": [ + { + "name": "elemEncoders$lzy1709" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1870", + "fields": [ + { + "name": "elemEncoders$lzy1708" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1872", + "fields": [ + { + "name": "elemEncoders$lzy1712" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1876", + "fields": [ + { + "name": "elemEncoders$lzy1715" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1877", + "fields": [ + { + "name": "elemEncoders$lzy1803" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1878", + "fields": [ + { + "name": "elemEncoders$lzy1754" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1920", + "fields": [ + { + "name": "elemEncoders$lzy1755" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1921", + "fields": [ + { + "name": "elemEncoders$lzy1795" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1922", + "fields": [ + { + "name": "elemEncoders$lzy1794" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1964", + "fields": [ + { + "name": "elemEncoders$lzy1797" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1966", + "fields": [ + { + "name": "elemEncoders$lzy1800" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1967", + "fields": [ + { + "name": "elemEncoders$lzy1799" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1969", + "fields": [ + { + "name": "elemEncoders$lzy1801" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1970", + "fields": [ + { + "name": "elemEncoders$lzy1802" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1971", + "fields": [ + { + "name": "elemEncoders$lzy1824" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1972", + "fields": [ + { + "name": "elemEncoders$lzy1813" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1973", + "fields": [ + { + "name": "elemEncoders$lzy1812" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1974", + "fields": [ + { + "name": "elemEncoders$lzy1804" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1975", + "fields": [ + { + "name": "elemEncoders$lzy1805" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1976", + "fields": [ + { + "name": "elemEncoders$lzy1806" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1977", + "fields": [ + { + "name": "elemEncoders$lzy1807" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1978", + "fields": [ + { + "name": "elemEncoders$lzy1808" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1979", + "fields": [ + { + "name": "elemEncoders$lzy1809" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1980", + "fields": [ + { + "name": "elemEncoders$lzy1810" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1981", + "fields": [ + { + "name": "elemEncoders$lzy1811" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1983", + "fields": [ + { + "name": "elemEncoders$lzy1814" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1984", + "fields": [ + { + "name": "elemEncoders$lzy1818" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1985", + "fields": [ + { + "name": "elemEncoders$lzy1817" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1986", + "fields": [ + { + "name": "elemEncoders$lzy1815" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1987", + "fields": [ + { + "name": "elemEncoders$lzy1816" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1989", + "fields": [ + { + "name": "elemEncoders$lzy1819" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1990", + "fields": [ + { + "name": "elemEncoders$lzy1820" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1991", + "fields": [ + { + "name": "elemEncoders$lzy1823" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1994", + "fields": [ + { + "name": "elemEncoders$lzy1827" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1995", + "fields": [ + { + "name": "elemEncoders$lzy1826" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1997", + "fields": [ + { + "name": "elemEncoders$lzy1870" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1998", + "fields": [ + { + "name": "elemEncoders$lzy1869" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2", + "fields": [ + { + "name": "elemEncoders$lzy2" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$201", + "fields": [ + { + "name": "elemEncoders$lzy181" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$202", + "fields": [ + { + "name": "elemEncoders$lzy179" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$203", + "fields": [ + { + "name": "elemEncoders$lzy180" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$205", + "fields": [ + { + "name": "elemEncoders$lzy195" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$206", + "fields": [ + { + "name": "elemEncoders$lzy194" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$207", + "fields": [ + { + "name": "elemEncoders$lzy182" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$208", + "fields": [ + { + "name": "elemEncoders$lzy188" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$215", + "fields": [ + { + "name": "elemEncoders$lzy193" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$216", + "fields": [ + { + "name": "elemEncoders$lzy192" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$217", + "fields": [ + { + "name": "elemEncoders$lzy189" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$218", + "fields": [ + { + "name": "elemEncoders$lzy190" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$219", + "fields": [ + { + "name": "elemEncoders$lzy191" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$221", + "fields": [ + { + "name": "elemEncoders$lzy226" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$222", + "fields": [ + { + "name": "elemEncoders$lzy208" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$237", + "fields": [ + { + "name": "elemEncoders$lzy211" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$238", + "fields": [ + { + "name": "elemEncoders$lzy209" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$239", + "fields": [ + { + "name": "elemEncoders$lzy210" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$241", + "fields": [ + { + "name": "elemEncoders$lzy225" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$242", + "fields": [ + { + "name": "elemEncoders$lzy224" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$243", + "fields": [ + { + "name": "elemEncoders$lzy212" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$244", + "fields": [ + { + "name": "elemEncoders$lzy218" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$251", + "fields": [ + { + "name": "elemEncoders$lzy223" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$252", + "fields": [ + { + "name": "elemEncoders$lzy222" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$253", + "fields": [ + { + "name": "elemEncoders$lzy219" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$254", + "fields": [ + { + "name": "elemEncoders$lzy220" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$255", + "fields": [ + { + "name": "elemEncoders$lzy221" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$257", + "fields": [ + { + "name": "elemEncoders$lzy256" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$291", + "fields": [ + { + "name": "elemEncoders$lzy279" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$316", + "fields": [ + { + "name": "elemEncoders$lzy280" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$317", + "fields": [ + { + "name": "elemEncoders$lzy295" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$318", + "fields": [ + { + "name": "elemEncoders$lzy286" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$324", + "fields": [ + { + "name": "elemEncoders$lzy289" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$325", + "fields": [ + { + "name": "elemEncoders$lzy288" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$327", + "fields": [ + { + "name": "elemEncoders$lzy294" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$328", + "fields": [ + { + "name": "elemEncoders$lzy290" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$329", + "fields": [ + { + "name": "elemEncoders$lzy291" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$330", + "fields": [ + { + "name": "elemEncoders$lzy292" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$331", + "fields": [ + { + "name": "elemEncoders$lzy293" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$332", + "fields": [ + { + "name": "elemEncoders$lzy399" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$333", + "fields": [ + { + "name": "elemEncoders$lzy296" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$334", + "fields": [ + { + "name": "elemEncoders$lzy347" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$335", + "fields": [ + { + "name": "elemEncoders$lzy332" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$374", + "fields": [ + { + "name": "elemEncoders$lzy343" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$375", + "fields": [ + { + "name": "elemEncoders$lzy337" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$376", + "fields": [ + { + "name": "elemEncoders$lzy333" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$377", + "fields": [ + { + "name": "elemEncoders$lzy334" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$378", + "fields": [ + { + "name": "elemEncoders$lzy335" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$379", + "fields": [ + { + "name": "elemEncoders$lzy336" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$381", + "fields": [ + { + "name": "elemEncoders$lzy342" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$386", + "fields": [ + { + "name": "elemEncoders$lzy346" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$387", + "fields": [ + { + "name": "elemEncoders$lzy344" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$388", + "fields": [ + { + "name": "elemEncoders$lzy345" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$389", + "fields": [ + { + "name": "elemEncoders$lzy398" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$390", + "fields": [ + { + "name": "elemEncoders$lzy383" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$4", + "fields": [ + { + "name": "elemEncoders$lzy3" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$429", + "fields": [ + { + "name": "elemEncoders$lzy394" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$430", + "fields": [ + { + "name": "elemEncoders$lzy388" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$431", + "fields": [ + { + "name": "elemEncoders$lzy384" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$432", + "fields": [ + { + "name": "elemEncoders$lzy385" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$433", + "fields": [ + { + "name": "elemEncoders$lzy386" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$434", + "fields": [ + { + "name": "elemEncoders$lzy387" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$436", + "fields": [ + { + "name": "elemEncoders$lzy393" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$441", + "fields": [ + { + "name": "elemEncoders$lzy397" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$442", + "fields": [ + { + "name": "elemEncoders$lzy395" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$443", + "fields": [ + { + "name": "elemEncoders$lzy396" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$444", + "fields": [ + { + "name": "elemEncoders$lzy401" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$446", + "fields": [ + { + "name": "elemEncoders$lzy403" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$448", + "fields": [ + { + "name": "elemEncoders$lzy406" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$449", + "fields": [ + { + "name": "elemEncoders$lzy405" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$450", + "fields": [ + { + "name": "elemEncoders$lzy540" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$5", + "fields": [ + { + "name": "elemEncoders$lzy404" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$595", + "fields": [ + { + "name": "elemEncoders$lzy571" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$6", + "fields": [ + { + "name": "elemEncoders$lzy136" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$630", + "fields": [ + { + "name": "elemEncoders$lzy602" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$631", + "fields": [ + { + "name": "elemEncoders$lzy601" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$632", + "fields": [ + { + "name": "elemEncoders$lzy583" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$647", + "fields": [ + { + "name": "elemEncoders$lzy586" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$648", + "fields": [ + { + "name": "elemEncoders$lzy584" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$649", + "fields": [ + { + "name": "elemEncoders$lzy585" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$651", + "fields": [ + { + "name": "elemEncoders$lzy600" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$667", + "fields": [ + { + "name": "elemEncoders$lzy633" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$702", + "fields": [ + { + "name": "elemEncoders$lzy657" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$728", + "fields": [ + { + "name": "elemEncoders$lzy660" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$731", + "fields": [ + { + "name": "elemEncoders$lzy663" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$734", + "fields": [ + { + "name": "elemEncoders$lzy684" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$735", + "fields": [ + { + "name": "elemEncoders$lzy676" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$749", + "fields": [ + { + "name": "elemEncoders$lzy683" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$750", + "fields": [ + { + "name": "elemEncoders$lzy682" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$756", + "fields": [ + { + "name": "elemEncoders$lzy698" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$757", + "fields": [ + { + "name": "elemEncoders$lzy697" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$758", + "fields": [ + { + "name": "elemEncoders$lzy686" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$760", + "fields": [ + { + "name": "elemEncoders$lzy696" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$761", + "fields": [ + { + "name": "elemEncoders$lzy695" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$762", + "fields": [ + { + "name": "elemEncoders$lzy687" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$763", + "fields": [ + { + "name": "elemEncoders$lzy688" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$764", + "fields": [ + { + "name": "elemEncoders$lzy689" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$765", + "fields": [ + { + "name": "elemEncoders$lzy690" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$766", + "fields": [ + { + "name": "elemEncoders$lzy691" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$767", + "fields": [ + { + "name": "elemEncoders$lzy692" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$768", + "fields": [ + { + "name": "elemEncoders$lzy693" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$769", + "fields": [ + { + "name": "elemEncoders$lzy694" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$771", + "fields": [ + { + "name": "elemEncoders$lzy699" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$772", + "fields": [ + { + "name": "elemEncoders$lzy836" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$773", + "fields": [ + { + "name": "elemEncoders$lzy750" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$774", + "fields": [ + { + "name": "elemEncoders$lzy735" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$813", + "fields": [ + { + "name": "elemEncoders$lzy746" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$814", + "fields": [ + { + "name": "elemEncoders$lzy740" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$815", + "fields": [ + { + "name": "elemEncoders$lzy736" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$816", + "fields": [ + { + "name": "elemEncoders$lzy737" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$817", + "fields": [ + { + "name": "elemEncoders$lzy738" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$818", + "fields": [ + { + "name": "elemEncoders$lzy739" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$820", + "fields": [ + { + "name": "elemEncoders$lzy745" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$825", + "fields": [ + { + "name": "elemEncoders$lzy749" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$826", + "fields": [ + { + "name": "elemEncoders$lzy747" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$827", + "fields": [ + { + "name": "elemEncoders$lzy748" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$828", + "fields": [ + { + "name": "elemEncoders$lzy753" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$829", + "fields": [ + { + "name": "elemEncoders$lzy752" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$831", + "fields": [ + { + "name": "elemEncoders$lzy819" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$832", + "fields": [ + { + "name": "elemEncoders$lzy789" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$871", + "fields": [ + { + "name": "elemEncoders$lzy813" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$872", + "fields": [ + { + "name": "elemEncoders$lzy793" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$873", + "fields": [ + { + "name": "elemEncoders$lzy790" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$874", + "fields": [ + { + "name": "elemEncoders$lzy791" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$875", + "fields": [ + { + "name": "elemEncoders$lzy792" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$877", + "fields": [ + { + "name": "elemEncoders$lzy807" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$878", + "fields": [ + { + "name": "elemEncoders$lzy794" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$879", + "fields": [ + { + "name": "elemEncoders$lzy795" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$880", + "fields": [ + { + "name": "elemEncoders$lzy796" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$881", + "fields": [ + { + "name": "elemEncoders$lzy797" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$882", + "fields": [ + { + "name": "elemEncoders$lzy798" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$883", + "fields": [ + { + "name": "elemEncoders$lzy799" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$884", + "fields": [ + { + "name": "elemEncoders$lzy800" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$885", + "fields": [ + { + "name": "elemEncoders$lzy801" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$886", + "fields": [ + { + "name": "elemEncoders$lzy802" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$887", + "fields": [ + { + "name": "elemEncoders$lzy803" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$888", + "fields": [ + { + "name": "elemEncoders$lzy804" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$889", + "fields": [ + { + "name": "elemEncoders$lzy805" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$890", + "fields": [ + { + "name": "elemEncoders$lzy806" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$892", + "fields": [ + { + "name": "elemEncoders$lzy812" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$897", + "fields": [ + { + "name": "elemEncoders$lzy818" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$898", + "fields": [ + { + "name": "elemEncoders$lzy814" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$899", + "fields": [ + { + "name": "elemEncoders$lzy815" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$900", + "fields": [ + { + "name": "elemEncoders$lzy816" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$901", + "fields": [ + { + "name": "elemEncoders$lzy817" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$902", + "fields": [ + { + "name": "elemEncoders$lzy835" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$903", + "fields": [ + { + "name": "elemEncoders$lzy829" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$914", + "fields": [ + { + "name": "elemEncoders$lzy834" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$915", + "fields": [ + { + "name": "elemEncoders$lzy830" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$916", + "fields": [ + { + "name": "elemEncoders$lzy831" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$917", + "fields": [ + { + "name": "elemEncoders$lzy832" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$918", + "fields": [ + { + "name": "elemEncoders$lzy833" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$919", + "fields": [ + { + "name": "elemEncoders$lzy837" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$920", + "fields": [ + { + "name": "elemEncoders$lzy937" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$921", + "fields": [ + { + "name": "elemEncoders$lzy849" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$922", + "fields": [ + { + "name": "elemEncoders$lzy847" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$923", + "fields": [ + { + "name": "elemEncoders$lzy846" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$924", + "fields": [ + { + "name": "elemEncoders$lzy838" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$925", + "fields": [ + { + "name": "elemEncoders$lzy839" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$926", + "fields": [ + { + "name": "elemEncoders$lzy840" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$927", + "fields": [ + { + "name": "elemEncoders$lzy841" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$928", + "fields": [ + { + "name": "elemEncoders$lzy842" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$929", + "fields": [ + { + "name": "elemEncoders$lzy843" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$930", + "fields": [ + { + "name": "elemEncoders$lzy844" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$931", + "fields": [ + { + "name": "elemEncoders$lzy845" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$933", + "fields": [ + { + "name": "elemEncoders$lzy848" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$935", + "fields": [ + { + "name": "elemEncoders$lzy865" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$936", + "fields": [ + { + "name": "elemEncoders$lzy859" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$947", + "fields": [ + { + "name": "elemEncoders$lzy863" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$948", + "fields": [ + { + "name": "elemEncoders$lzy862" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$949", + "fields": [ + { + "name": "elemEncoders$lzy860" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$950", + "fields": [ + { + "name": "elemEncoders$lzy861" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$952", + "fields": [ + { + "name": "elemEncoders$lzy864" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$954", + "fields": [ + { + "name": "elemEncoders$lzy875" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$965", + "fields": [ + { + "name": "elemEncoders$lzy879" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$970", + "fields": [ + { + "name": "elemEncoders$lzy880" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$971", + "fields": [ + { + "name": "elemEncoders$lzy881" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$972", + "fields": [ + { + "name": "elemEncoders$lzy882" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$973", + "fields": [ + { + "name": "elemEncoders$lzy884" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$974", + "fields": [ + { + "name": "elemEncoders$lzy883" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$975", + "fields": [ + { + "name": "elemEncoders$lzy886" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$976", + "fields": [ + { + "name": "elemEncoders$lzy885" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$977", + "fields": [ + { + "name": "elemEncoders$lzy903" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$978", + "fields": [ + { + "name": "elemEncoders$lzy887" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$979", + "fields": [ + { + "name": "elemEncoders$lzy888" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$980", + "fields": [ + { + "name": "elemEncoders$lzy902" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$981", + "fields": [ + { + "name": "elemEncoders$lzy901" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$982", + "fields": [ + { + "name": "elemEncoders$lzy889" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$983", + "fields": [ + { + "name": "elemEncoders$lzy895" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$984", + "fields": [ + { + "name": "elemEncoders$lzy894" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$985", + "fields": [ + { + "name": "elemEncoders$lzy890" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$986", + "fields": [ + { + "name": "elemEncoders$lzy891" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$987", + "fields": [ + { + "name": "elemEncoders$lzy892" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$988", + "fields": [ + { + "name": "elemEncoders$lzy893" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$990", + "fields": [ + { + "name": "elemEncoders$lzy900" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$991", + "fields": [ + { + "name": "elemEncoders$lzy899" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$992", + "fields": [ + { + "name": "elemEncoders$lzy896" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$993", + "fields": [ + { + "name": "elemEncoders$lzy897" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$994", + "fields": [ + { + "name": "elemEncoders$lzy898" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$996", + "fields": [ + { + "name": "elemEncoders$lzy916" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$997", + "fields": [ + { + "name": "elemEncoders$lzy905" + } + ] + }, + { + "type": "fpp.compiler.codegen.AnalysisJsonEncoder$$anon$999", + "fields": [ + { + "name": "elemEncoders$lzy915" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$", + "fields": [ + { + "name": "componentMemberEncoder$lzy1" + }, + { + "name": "exprEncoder$lzy1" + }, + { + "name": "moduleMemberEncoder$lzy1" + }, + { + "name": "moduleMemberNodeEncoder$lzy1" + }, + { + "name": "qualIdentEncoder$lzy1" + }, + { + "name": "stateMachineMemberEncoder$lzy1" + }, + { + "name": "stateMachineMemberNodeEncoder$lzy1" + }, + { + "name": "stateMemberEncoder$lzy1" + }, + { + "name": "stateMemberNodeEncoder$lzy1" + }, + { + "name": "topologyMemberEncoder$lzy1" + }, + { + "name": "typeNameEncoder$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$1", + "fields": [ + { + "name": "elemEncoders$lzy28" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$10", + "fields": [ + { + "name": "elemEncoders$lzy299" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$100", + "fields": [ + { + "name": "elemEncoders$lzy42" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$101", + "fields": [ + { + "name": "elemEncoders$lzy41" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$102", + "fields": [ + { + "name": "elemEncoders$lzy45" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$103", + "fields": [ + { + "name": "elemEncoders$lzy44" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$104", + "fields": [ + { + "name": "elemEncoders$lzy48" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$105", + "fields": [ + { + "name": "elemEncoders$lzy47" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$106", + "fields": [ + { + "name": "elemEncoders$lzy46" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$107", + "fields": [ + { + "name": "elemEncoders$lzy50" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$108", + "fields": [ + { + "name": "elemEncoders$lzy49" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$109", + "fields": [ + { + "name": "elemEncoders$lzy52" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$110", + "fields": [ + { + "name": "elemEncoders$lzy51" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$111", + "fields": [ + { + "name": "elemEncoders$lzy58" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$112", + "fields": [ + { + "name": "elemEncoders$lzy57" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$113", + "fields": [ + { + "name": "elemEncoders$lzy56" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$114", + "fields": [ + { + "name": "elemEncoders$lzy53" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$115", + "fields": [ + { + "name": "elemEncoders$lzy54" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$116", + "fields": [ + { + "name": "elemEncoders$lzy55" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$117", + "fields": [ + { + "name": "elemEncoders$lzy64" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$118", + "fields": [ + { + "name": "elemEncoders$lzy63" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$119", + "fields": [ + { + "name": "elemEncoders$lzy62" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$12", + "fields": [ + { + "name": "elemEncoders$lzy305" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$120", + "fields": [ + { + "name": "elemEncoders$lzy61" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$121", + "fields": [ + { + "name": "elemEncoders$lzy59" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$122", + "fields": [ + { + "name": "elemEncoders$lzy60" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$124", + "fields": [ + { + "name": "elemEncoders$lzy66" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$125", + "fields": [ + { + "name": "elemEncoders$lzy65" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$126", + "fields": [ + { + "name": "elemEncoders$lzy69" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$127", + "fields": [ + { + "name": "elemEncoders$lzy68" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$128", + "fields": [ + { + "name": "elemEncoders$lzy67" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$129", + "fields": [ + { + "name": "elemEncoders$lzy71" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$130", + "fields": [ + { + "name": "elemEncoders$lzy70" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$131", + "fields": [ + { + "name": "elemEncoders$lzy73" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$132", + "fields": [ + { + "name": "elemEncoders$lzy72" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$133", + "fields": [ + { + "name": "elemEncoders$lzy75" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$135", + "fields": [ + { + "name": "elemEncoders$lzy87" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$136", + "fields": [ + { + "name": "elemEncoders$lzy86" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$137", + "fields": [ + { + "name": "elemEncoders$lzy85" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$138", + "fields": [ + { + "name": "elemEncoders$lzy76" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$139", + "fields": [ + { + "name": "elemEncoders$lzy77" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$140", + "fields": [ + { + "name": "elemEncoders$lzy78" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$141", + "fields": [ + { + "name": "elemEncoders$lzy79" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$142", + "fields": [ + { + "name": "elemEncoders$lzy80" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$143", + "fields": [ + { + "name": "elemEncoders$lzy81" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$144", + "fields": [ + { + "name": "elemEncoders$lzy82" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$145", + "fields": [ + { + "name": "elemEncoders$lzy83" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$146", + "fields": [ + { + "name": "elemEncoders$lzy84" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$148", + "fields": [ + { + "name": "elemEncoders$lzy93" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$149", + "fields": [ + { + "name": "elemEncoders$lzy92" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$150", + "fields": [ + { + "name": "elemEncoders$lzy91" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$151", + "fields": [ + { + "name": "elemEncoders$lzy88" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$152", + "fields": [ + { + "name": "elemEncoders$lzy89" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$153", + "fields": [ + { + "name": "elemEncoders$lzy90" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$155", + "fields": [ + { + "name": "elemEncoders$lzy97" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$156", + "fields": [ + { + "name": "elemEncoders$lzy95" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$157", + "fields": [ + { + "name": "elemEncoders$lzy96" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$158", + "fields": [ + { + "name": "elemEncoders$lzy129" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$159", + "fields": [ + { + "name": "elemEncoders$lzy99" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$160", + "fields": [ + { + "name": "elemEncoders$lzy98" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$161", + "fields": [ + { + "name": "elemEncoders$lzy101" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$162", + "fields": [ + { + "name": "elemEncoders$lzy100" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$163", + "fields": [ + { + "name": "elemEncoders$lzy103" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$164", + "fields": [ + { + "name": "elemEncoders$lzy102" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$165", + "fields": [ + { + "name": "elemEncoders$lzy105" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$166", + "fields": [ + { + "name": "elemEncoders$lzy104" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$167", + "fields": [ + { + "name": "elemEncoders$lzy109" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$168", + "fields": [ + { + "name": "elemEncoders$lzy108" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$169", + "fields": [ + { + "name": "elemEncoders$lzy106" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$17", + "fields": [ + { + "name": "elemEncoders$lzy330" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$170", + "fields": [ + { + "name": "elemEncoders$lzy107" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$171", + "fields": [ + { + "name": "elemEncoders$lzy111" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$172", + "fields": [ + { + "name": "elemEncoders$lzy110" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$173", + "fields": [ + { + "name": "elemEncoders$lzy114" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$174", + "fields": [ + { + "name": "elemEncoders$lzy113" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$175", + "fields": [ + { + "name": "elemEncoders$lzy112" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$176", + "fields": [ + { + "name": "elemEncoders$lzy116" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$177", + "fields": [ + { + "name": "elemEncoders$lzy115" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$178", + "fields": [ + { + "name": "elemEncoders$lzy118" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$179", + "fields": [ + { + "name": "elemEncoders$lzy117" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$18", + "fields": [ + { + "name": "elemEncoders$lzy310" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$180", + "fields": [ + { + "name": "elemEncoders$lzy120" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$181", + "fields": [ + { + "name": "elemEncoders$lzy119" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$182", + "fields": [ + { + "name": "elemEncoders$lzy123" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$183", + "fields": [ + { + "name": "elemEncoders$lzy122" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$184", + "fields": [ + { + "name": "elemEncoders$lzy121" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$185", + "fields": [ + { + "name": "elemEncoders$lzy125" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$187", + "fields": [ + { + "name": "elemEncoders$lzy128" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$188", + "fields": [ + { + "name": "elemEncoders$lzy127" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$189", + "fields": [ + { + "name": "elemEncoders$lzy126" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$191", + "fields": [ + { + "name": "elemEncoders$lzy151" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$192", + "fields": [ + { + "name": "elemEncoders$lzy133" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$193", + "fields": [ + { + "name": "elemEncoders$lzy132" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$194", + "fields": [ + { + "name": "elemEncoders$lzy130" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$195", + "fields": [ + { + "name": "elemEncoders$lzy131" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$196", + "fields": [ + { + "name": "elemEncoders$lzy135" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$197", + "fields": [ + { + "name": "elemEncoders$lzy134" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$198", + "fields": [ + { + "name": "elemEncoders$lzy137" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$2", + "fields": [ + { + "name": "elemEncoders$lzy335" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$200", + "fields": [ + { + "name": "elemEncoders$lzy140" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$201", + "fields": [ + { + "name": "elemEncoders$lzy139" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$202", + "fields": [ + { + "name": "elemEncoders$lzy138" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$203", + "fields": [ + { + "name": "elemEncoders$lzy142" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$204", + "fields": [ + { + "name": "elemEncoders$lzy141" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$205", + "fields": [ + { + "name": "elemEncoders$lzy144" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$206", + "fields": [ + { + "name": "elemEncoders$lzy143" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$207", + "fields": [ + { + "name": "elemEncoders$lzy150" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$208", + "fields": [ + { + "name": "elemEncoders$lzy149" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$209", + "fields": [ + { + "name": "elemEncoders$lzy148" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$210", + "fields": [ + { + "name": "elemEncoders$lzy146" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$211", + "fields": [ + { + "name": "elemEncoders$lzy145" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$212", + "fields": [ + { + "name": "elemEncoders$lzy147" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$214", + "fields": [ + { + "name": "elemEncoders$lzy169" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$215", + "fields": [ + { + "name": "elemEncoders$lzy155" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$216", + "fields": [ + { + "name": "elemEncoders$lzy154" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$217", + "fields": [ + { + "name": "elemEncoders$lzy152" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$218", + "fields": [ + { + "name": "elemEncoders$lzy153" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$220", + "fields": [ + { + "name": "elemEncoders$lzy165" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$221", + "fields": [ + { + "name": "elemEncoders$lzy164" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$222", + "fields": [ + { + "name": "elemEncoders$lzy156" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$223", + "fields": [ + { + "name": "elemEncoders$lzy157" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$224", + "fields": [ + { + "name": "elemEncoders$lzy158" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$225", + "fields": [ + { + "name": "elemEncoders$lzy159" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$226", + "fields": [ + { + "name": "elemEncoders$lzy160" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$227", + "fields": [ + { + "name": "elemEncoders$lzy161" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$228", + "fields": [ + { + "name": "elemEncoders$lzy162" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$229", + "fields": [ + { + "name": "elemEncoders$lzy163" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$23", + "fields": [ + { + "name": "elemEncoders$lzy324" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$231", + "fields": [ + { + "name": "elemEncoders$lzy166" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$232", + "fields": [ + { + "name": "elemEncoders$lzy167" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$233", + "fields": [ + { + "name": "elemEncoders$lzy168" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$235", + "fields": [ + { + "name": "elemEncoders$lzy295" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$236", + "fields": [ + { + "name": "elemEncoders$lzy171" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$237", + "fields": [ + { + "name": "elemEncoders$lzy170" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$238", + "fields": [ + { + "name": "elemEncoders$lzy173" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$24", + "fields": [ + { + "name": "elemEncoders$lzy311" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$240", + "fields": [ + { + "name": "elemEncoders$lzy175" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$241", + "fields": [ + { + "name": "elemEncoders$lzy174" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$242", + "fields": [ + { + "name": "elemEncoders$lzy177" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$243", + "fields": [ + { + "name": "elemEncoders$lzy176" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$244", + "fields": [ + { + "name": "elemEncoders$lzy180" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$245", + "fields": [ + { + "name": "elemEncoders$lzy179" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$246", + "fields": [ + { + "name": "elemEncoders$lzy178" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$247", + "fields": [ + { + "name": "elemEncoders$lzy182" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$248", + "fields": [ + { + "name": "elemEncoders$lzy181" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$249", + "fields": [ + { + "name": "elemEncoders$lzy185" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$25", + "fields": [ + { + "name": "elemEncoders$lzy312" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$250", + "fields": [ + { + "name": "elemEncoders$lzy184" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$251", + "fields": [ + { + "name": "elemEncoders$lzy183" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$252", + "fields": [ + { + "name": "elemEncoders$lzy200" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$253", + "fields": [ + { + "name": "elemEncoders$lzy199" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$254", + "fields": [ + { + "name": "elemEncoders$lzy189" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$255", + "fields": [ + { + "name": "elemEncoders$lzy186" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$256", + "fields": [ + { + "name": "elemEncoders$lzy187" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$257", + "fields": [ + { + "name": "elemEncoders$lzy188" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$259", + "fields": [ + { + "name": "elemEncoders$lzy193" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$26", + "fields": [ + { + "name": "elemEncoders$lzy313" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$260", + "fields": [ + { + "name": "elemEncoders$lzy192" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$261", + "fields": [ + { + "name": "elemEncoders$lzy190" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$262", + "fields": [ + { + "name": "elemEncoders$lzy191" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$264", + "fields": [ + { + "name": "elemEncoders$lzy198" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$265", + "fields": [ + { + "name": "elemEncoders$lzy194" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$266", + "fields": [ + { + "name": "elemEncoders$lzy195" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$267", + "fields": [ + { + "name": "elemEncoders$lzy196" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$268", + "fields": [ + { + "name": "elemEncoders$lzy197" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$269", + "fields": [ + { + "name": "elemEncoders$lzy202" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$27", + "fields": [ + { + "name": "elemEncoders$lzy314" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$270", + "fields": [ + { + "name": "elemEncoders$lzy201" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$271", + "fields": [ + { + "name": "elemEncoders$lzy216" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$272", + "fields": [ + { + "name": "elemEncoders$lzy215" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$273", + "fields": [ + { + "name": "elemEncoders$lzy206" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$274", + "fields": [ + { + "name": "elemEncoders$lzy205" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$275", + "fields": [ + { + "name": "elemEncoders$lzy203" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$276", + "fields": [ + { + "name": "elemEncoders$lzy204" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$278", + "fields": [ + { + "name": "elemEncoders$lzy214" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$279", + "fields": [ + { + "name": "elemEncoders$lzy207" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$28", + "fields": [ + { + "name": "elemEncoders$lzy315" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$280", + "fields": [ + { + "name": "elemEncoders$lzy208" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$281", + "fields": [ + { + "name": "elemEncoders$lzy209" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$282", + "fields": [ + { + "name": "elemEncoders$lzy210" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$283", + "fields": [ + { + "name": "elemEncoders$lzy211" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$284", + "fields": [ + { + "name": "elemEncoders$lzy212" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$285", + "fields": [ + { + "name": "elemEncoders$lzy213" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$287", + "fields": [ + { + "name": "elemEncoders$lzy218" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$289", + "fields": [ + { + "name": "elemEncoders$lzy229" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$29", + "fields": [ + { + "name": "elemEncoders$lzy316" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$290", + "fields": [ + { + "name": "elemEncoders$lzy228" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$291", + "fields": [ + { + "name": "elemEncoders$lzy222" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$292", + "fields": [ + { + "name": "elemEncoders$lzy221" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$293", + "fields": [ + { + "name": "elemEncoders$lzy219" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$294", + "fields": [ + { + "name": "elemEncoders$lzy220" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$296", + "fields": [ + { + "name": "elemEncoders$lzy227" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$297", + "fields": [ + { + "name": "elemEncoders$lzy223" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$298", + "fields": [ + { + "name": "elemEncoders$lzy224" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$299", + "fields": [ + { + "name": "elemEncoders$lzy225" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$3", + "fields": [ + { + "name": "elemEncoders$lzy332" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$30", + "fields": [ + { + "name": "elemEncoders$lzy317" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$300", + "fields": [ + { + "name": "elemEncoders$lzy226" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$301", + "fields": [ + { + "name": "elemEncoders$lzy231" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$302", + "fields": [ + { + "name": "elemEncoders$lzy230" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$303", + "fields": [ + { + "name": "elemEncoders$lzy268" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$304", + "fields": [ + { + "name": "elemEncoders$lzy267" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$305", + "fields": [ + { + "name": "elemEncoders$lzy242" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$306", + "fields": [ + { + "name": "elemEncoders$lzy236" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$307", + "fields": [ + { + "name": "elemEncoders$lzy232" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$308", + "fields": [ + { + "name": "elemEncoders$lzy233" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$309", + "fields": [ + { + "name": "elemEncoders$lzy234" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$31", + "fields": [ + { + "name": "elemEncoders$lzy318" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$310", + "fields": [ + { + "name": "elemEncoders$lzy235" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$312", + "fields": [ + { + "name": "elemEncoders$lzy241" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$313", + "fields": [ + { + "name": "elemEncoders$lzy237" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$314", + "fields": [ + { + "name": "elemEncoders$lzy238" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$315", + "fields": [ + { + "name": "elemEncoders$lzy239" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$316", + "fields": [ + { + "name": "elemEncoders$lzy240" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$317", + "fields": [ + { + "name": "elemEncoders$lzy266" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$318", + "fields": [ + { + "name": "elemEncoders$lzy246" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$319", + "fields": [ + { + "name": "elemEncoders$lzy243" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$32", + "fields": [ + { + "name": "elemEncoders$lzy319" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$320", + "fields": [ + { + "name": "elemEncoders$lzy244" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$321", + "fields": [ + { + "name": "elemEncoders$lzy245" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$323", + "fields": [ + { + "name": "elemEncoders$lzy260" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$324", + "fields": [ + { + "name": "elemEncoders$lzy247" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$325", + "fields": [ + { + "name": "elemEncoders$lzy248" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$326", + "fields": [ + { + "name": "elemEncoders$lzy249" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$327", + "fields": [ + { + "name": "elemEncoders$lzy250" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$328", + "fields": [ + { + "name": "elemEncoders$lzy251" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$329", + "fields": [ + { + "name": "elemEncoders$lzy252" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$33", + "fields": [ + { + "name": "elemEncoders$lzy320" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$330", + "fields": [ + { + "name": "elemEncoders$lzy253" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$331", + "fields": [ + { + "name": "elemEncoders$lzy254" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$332", + "fields": [ + { + "name": "elemEncoders$lzy255" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$333", + "fields": [ + { + "name": "elemEncoders$lzy256" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$334", + "fields": [ + { + "name": "elemEncoders$lzy257" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$335", + "fields": [ + { + "name": "elemEncoders$lzy258" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$336", + "fields": [ + { + "name": "elemEncoders$lzy259" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$338", + "fields": [ + { + "name": "elemEncoders$lzy265" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$339", + "fields": [ + { + "name": "elemEncoders$lzy261" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$34", + "fields": [ + { + "name": "elemEncoders$lzy321" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$340", + "fields": [ + { + "name": "elemEncoders$lzy262" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$341", + "fields": [ + { + "name": "elemEncoders$lzy263" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$342", + "fields": [ + { + "name": "elemEncoders$lzy264" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$343", + "fields": [ + { + "name": "elemEncoders$lzy270" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$344", + "fields": [ + { + "name": "elemEncoders$lzy269" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$345", + "fields": [ + { + "name": "elemEncoders$lzy272" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$346", + "fields": [ + { + "name": "elemEncoders$lzy271" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$347", + "fields": [ + { + "name": "elemEncoders$lzy279" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$348", + "fields": [ + { + "name": "elemEncoders$lzy278" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$349", + "fields": [ + { + "name": "elemEncoders$lzy277" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$35", + "fields": [ + { + "name": "elemEncoders$lzy322" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$350", + "fields": [ + { + "name": "elemEncoders$lzy273" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$351", + "fields": [ + { + "name": "elemEncoders$lzy274" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$352", + "fields": [ + { + "name": "elemEncoders$lzy275" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$353", + "fields": [ + { + "name": "elemEncoders$lzy276" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$354", + "fields": [ + { + "name": "elemEncoders$lzy292" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$355", + "fields": [ + { + "name": "elemEncoders$lzy291" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$356", + "fields": [ + { + "name": "elemEncoders$lzy282" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$357", + "fields": [ + { + "name": "elemEncoders$lzy280" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$358", + "fields": [ + { + "name": "elemEncoders$lzy281" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$36", + "fields": [ + { + "name": "elemEncoders$lzy323" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$360", + "fields": [ + { + "name": "elemEncoders$lzy286" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$361", + "fields": [ + { + "name": "elemEncoders$lzy283" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$362", + "fields": [ + { + "name": "elemEncoders$lzy284" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$363", + "fields": [ + { + "name": "elemEncoders$lzy285" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$365", + "fields": [ + { + "name": "elemEncoders$lzy290" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$366", + "fields": [ + { + "name": "elemEncoders$lzy287" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$367", + "fields": [ + { + "name": "elemEncoders$lzy288" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$368", + "fields": [ + { + "name": "elemEncoders$lzy289" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$370", + "fields": [ + { + "name": "elemEncoders$lzy294" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$371", + "fields": [ + { + "name": "elemEncoders$lzy293" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$373", + "fields": [ + { + "name": "elemEncoders$lzy371" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$374", + "fields": [ + { + "name": "elemEncoders$lzy347" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$375", + "fields": [ + { + "name": "elemEncoders$lzy346" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$376", + "fields": [ + { + "name": "elemEncoders$lzy362" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$377", + "fields": [ + { + "name": "elemEncoders$lzy361" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$378", + "fields": [ + { + "name": "elemEncoders$lzy351" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$379", + "fields": [ + { + "name": "elemEncoders$lzy350" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$38", + "fields": [ + { + "name": "elemEncoders$lzy329" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$380", + "fields": [ + { + "name": "elemEncoders$lzy348" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$381", + "fields": [ + { + "name": "elemEncoders$lzy349" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$382", + "fields": [ + { + "name": "elemEncoders$lzy360" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$383", + "fields": [ + { + "name": "elemEncoders$lzy359" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$384", + "fields": [ + { + "name": "elemEncoders$lzy352" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$385", + "fields": [ + { + "name": "elemEncoders$lzy353" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$386", + "fields": [ + { + "name": "elemEncoders$lzy354" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$387", + "fields": [ + { + "name": "elemEncoders$lzy355" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$388", + "fields": [ + { + "name": "elemEncoders$lzy356" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$389", + "fields": [ + { + "name": "elemEncoders$lzy357" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$390", + "fields": [ + { + "name": "elemEncoders$lzy358" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$392", + "fields": [ + { + "name": "elemEncoders$lzy364" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$394", + "fields": [ + { + "name": "elemEncoders$lzy367" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$395", + "fields": [ + { + "name": "elemEncoders$lzy366" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$396", + "fields": [ + { + "name": "elemEncoders$lzy365" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$397", + "fields": [ + { + "name": "elemEncoders$lzy370" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$398", + "fields": [ + { + "name": "elemEncoders$lzy369" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$399", + "fields": [ + { + "name": "elemEncoders$lzy368" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$4", + "fields": [ + { + "name": "elemEncoders$lzy331" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$401", + "fields": [ + { + "name": "elemEncoders$lzy372" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$43", + "fields": [ + { + "name": "elemEncoders$lzy334" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$44", + "fields": [ + { + "name": "elemEncoders$lzy333" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$46", + "fields": [ + { + "name": "elemEncoders$lzy345" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$47", + "fields": [ + { + "name": "elemEncoders$lzy337" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$49", + "fields": [ + { + "name": "elemEncoders$lzy344" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$5", + "fields": [ + { + "name": "elemEncoders$lzy306" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$50", + "fields": [ + { + "name": "elemEncoders$lzy343" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$51", + "fields": [ + { + "name": "elemEncoders$lzy342" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$52", + "fields": [ + { + "name": "elemEncoders$lzy339" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$54", + "fields": [ + { + "name": "elemEncoders$lzy341" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$55", + "fields": [ + { + "name": "elemEncoders$lzy340" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$58", + "fields": [ + { + "name": "elemEncoders$lzy27" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$59", + "fields": [ + { + "name": "elemEncoders$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$6", + "fields": [ + { + "name": "elemEncoders$lzy300" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$60", + "fields": [ + { + "name": "elemEncoders$lzy2" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$61", + "fields": [ + { + "name": "elemEncoders$lzy10" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$62", + "fields": [ + { + "name": "elemEncoders$lzy9" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$63", + "fields": [ + { + "name": "elemEncoders$lzy3" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$64", + "fields": [ + { + "name": "elemEncoders$lzy4" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$65", + "fields": [ + { + "name": "elemEncoders$lzy5" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$66", + "fields": [ + { + "name": "elemEncoders$lzy6" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$67", + "fields": [ + { + "name": "elemEncoders$lzy7" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$68", + "fields": [ + { + "name": "elemEncoders$lzy8" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$69", + "fields": [ + { + "name": "elemEncoders$lzy11" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$7", + "fields": [ + { + "name": "elemEncoders$lzy296" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$70", + "fields": [ + { + "name": "elemEncoders$lzy12" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$71", + "fields": [ + { + "name": "elemEncoders$lzy16" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$72", + "fields": [ + { + "name": "elemEncoders$lzy15" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$73", + "fields": [ + { + "name": "elemEncoders$lzy13" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$74", + "fields": [ + { + "name": "elemEncoders$lzy14" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$75", + "fields": [ + { + "name": "elemEncoders$lzy17" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$76", + "fields": [ + { + "name": "elemEncoders$lzy18" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$77", + "fields": [ + { + "name": "elemEncoders$lzy19" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$78", + "fields": [ + { + "name": "elemEncoders$lzy20" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$79", + "fields": [ + { + "name": "elemEncoders$lzy21" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$8", + "fields": [ + { + "name": "elemEncoders$lzy297" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$80", + "fields": [ + { + "name": "elemEncoders$lzy23" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$81", + "fields": [ + { + "name": "elemEncoders$lzy22" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$82", + "fields": [ + { + "name": "elemEncoders$lzy26" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$83", + "fields": [ + { + "name": "elemEncoders$lzy25" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$84", + "fields": [ + { + "name": "elemEncoders$lzy24" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$86", + "fields": [ + { + "name": "elemEncoders$lzy94" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$87", + "fields": [ + { + "name": "elemEncoders$lzy30" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$88", + "fields": [ + { + "name": "elemEncoders$lzy29" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$89", + "fields": [ + { + "name": "elemEncoders$lzy32" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$9", + "fields": [ + { + "name": "elemEncoders$lzy298" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$90", + "fields": [ + { + "name": "elemEncoders$lzy31" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$91", + "fields": [ + { + "name": "elemEncoders$lzy34" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$92", + "fields": [ + { + "name": "elemEncoders$lzy33" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$93", + "fields": [ + { + "name": "elemEncoders$lzy40" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$94", + "fields": [ + { + "name": "elemEncoders$lzy39" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$95", + "fields": [ + { + "name": "elemEncoders$lzy38" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$96", + "fields": [ + { + "name": "elemEncoders$lzy35" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$97", + "fields": [ + { + "name": "elemEncoders$lzy36" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$98", + "fields": [ + { + "name": "elemEncoders$lzy37" + } + ] + }, + { + "type": "fpp.compiler.codegen.AstJsonEncoder$$anon$99", + "fields": [ + { + "name": "elemEncoders$lzy43" + } + ] + }, + { + "type": "fpp.compiler.codegen.ComponentDataProducts", + "fields": [ + { + "name": "Container$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.ComponentInternalStateMachines", + "fields": [ + { + "name": "SignalBufferWriter$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.CppDocCppWriter$", + "fields": [ + { + "name": "Input$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.CppDocHppWriter$", + "fields": [ + { + "name": "Input$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.EnumCppWriter", + "fields": [ + { + "name": "MemberFunctionMembers$lzy1" + }, + { + "name": "StaticFunctionMembers$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.Line[]" + }, + { + "type": "fpp.compiler.codegen.LocMapJsonEncoder$$anon$1", + "fields": [ + { + "name": "elemEncoders$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.StructCppWriter", + "fields": [ + { + "name": "EqualityOperator$lzy1" + }, + { + "name": "SerializedSizeFunctionMember$lzy1" + }, + { + "name": "ToStringFunctionMember$lzy1" + } + ] + }, + { + "type": "fpp.compiler.codegen.TypeCppWriter", + "fields": [ + { + "name": "NameVisitor$lzy1" + } + ] + }, + { + "type": "fpp.compiler.syntax.Parser$", + "fields": [ + { + "name": "$tilde$lzy1" + }, + { + "name": "Error$lzy1" + }, + { + "name": "Failure$lzy1" + }, + { + "name": "NoSuccess$lzy1" + }, + { + "name": "Success$lzy1" + } + ] + }, + { + "type": "io.circe.Encoder$", + "fields": [ + { + "name": "0bitmap$1" + } + ] + }, + { + "type": "io.circe.Encoder[]" + }, + { + "type": "java.io.File[]" + }, + { + "type": "java.lang.ClassValue" + }, + { + "type": "java.lang.String[]" + }, + { + "type": "scala.Enumeration", + "fields": [ + { + "name": "ValueOrdering$lzy1" + }, + { + "name": "ValueSet$lzy1" + } + ] + }, + { + "type": "scala.collection.immutable.ArraySeq$", + "fields": [ + { + "name": "emptyImpl$lzy1" + } + ] + }, + { + "type": "scala.collection.immutable.NumericRange", + "fields": [ + { + "name": "hashCode$lzy1" + }, + { + "name": "isEmpty$lzy1" + }, + { + "name": "length$lzy1" + } + ] + }, + { + "type": "scala.io.BufferedSource", + "fields": [ + { + "name": "charReader$lzy1" + } + ] + }, + { + "type": "scala.io.Codec$", + "fields": [ + { + "name": "fallbackSystemCodec$lzy1" + } + ] + }, + { + "type": "scala.io.Source", + "fields": [ + { + "name": "NoPositioner$lzy1" + }, + { + "name": "RelaxedPosition$lzy1" + }, + { + "name": "RelaxedPositioner$lzy1" + } + ] + }, + { + "type": "scala.math.BigDecimal$", + "fields": [ + { + "name": "cache$lzy1" + } + ] + }, + { + "type": "scala.util.matching.Regex$Match", + "fields": [ + { + "name": "ends$lzy1" + }, + { + "name": "scala$util$matching$Regex$MatchData$$nameToIndex$lzy1" + }, + { + "name": "starts$lzy1" + } + ] + }, + { + "type": "scala.util.matching.Regex$MatchIterator", + "fields": [ + { + "name": "scala$util$matching$Regex$MatchData$$nameToIndex$lzy2" + } + ] + }, + { + "type": "scala.util.parsing.combinator.Parsers$NoSuccess$", + "fields": [ + { + "name": "I$lzy1" + } + ] + }, + { + "type": "scala.util.parsing.input.OffsetPosition", + "fields": [ + { + "name": "index$lzy1" + } + ] + }, + { + "type": "scala.util.parsing.input.OffsetPosition$", + "fields": [ + { + "name": "scala$util$parsing$input$PositionCache$$indexCacheTL$lzy1" + } + ] + }, + { + "type": "scala.xml.XML$", + "fields": [ + { + "name": "scala$xml$factory$XMLLoader$$parserInstance$lzy3" + } + ] + }, + { + "type": "scala.xml.parsing.FactoryAdapter", + "fields": [ + { + "name": "scala$xml$factory$XMLLoader$$parserInstance$lzy1" + } + ] + }, + { + "type": "scopt.OParser$", + "fields": [ + { + "name": "0bitmap$1" + } + ] + }, + { + "type": "sun.misc.Unsafe", + "fields": [ + { + "name": "theUnsafe" + } + ] + } + ], + "resources": [ + { + "glob": "META-INF/services/javax.xml.parsers.SAXParserFactory" + }, + { + "module": "java.xml", + "glob": "com/sun/org/apache/xerces/internal/impl/msg/XMLMessages.properties" + }, + { + "module": "java.xml", + "glob": "com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_en.properties" + }, + { + "module": "java.xml", + "glob": "com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_en_US.properties" + }, + { + "bundle": "com.sun.org.apache.xerces.internal.impl.msg.XMLMessages" + } + ] +} \ No newline at end of file diff --git a/compiler/lib/src/main/resources/META-INF/native-image/reflect-config.json b/compiler/lib/src/main/resources/META-INF/native-image/reflect-config.json deleted file mode 100644 index 670648caba..0000000000 --- a/compiler/lib/src/main/resources/META-INF/native-image/reflect-config.json +++ /dev/null @@ -1,3868 +0,0 @@ -[ -{ - "name":"[Lfpp.compiler.analysis.Connection;" -}, -{ - "name":"[Lfpp.compiler.codegen.Line;" -}, -{ - "name":"[Lio.circe.Encoder;" -}, -{ - "name":"[Ljava.io.File;" -}, -{ - "name":"[Ljava.lang.String;" -}, -{ - "name":"com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl", - "methods":[{"name":"","parameterTypes":[] }] -}, -{ - "name":"fpp.compiler.analysis.Format$Parser$", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.analysis.Topology", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1", - "fields":[{"name":"0bitmap$2"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1009", - "fields":[{"name":"0bitmap$920"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1014", - "fields":[{"name":"0bitmap$921"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1015", - "fields":[{"name":"0bitmap$922"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1016", - "fields":[{"name":"0bitmap$923"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1017", - "fields":[{"name":"0bitmap$925"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1018", - "fields":[{"name":"0bitmap$924"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1019", - "fields":[{"name":"0bitmap$927"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1020", - "fields":[{"name":"0bitmap$926"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1021", - "fields":[{"name":"0bitmap$944"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1022", - "fields":[{"name":"0bitmap$928"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1023", - "fields":[{"name":"0bitmap$929"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1024", - "fields":[{"name":"0bitmap$943"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1025", - "fields":[{"name":"0bitmap$942"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1026", - "fields":[{"name":"0bitmap$930"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1027", - "fields":[{"name":"0bitmap$936"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1028", - "fields":[{"name":"0bitmap$935"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1029", - "fields":[{"name":"0bitmap$931"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1030", - "fields":[{"name":"0bitmap$932"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1031", - "fields":[{"name":"0bitmap$933"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1032", - "fields":[{"name":"0bitmap$934"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1034", - "fields":[{"name":"0bitmap$941"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1035", - "fields":[{"name":"0bitmap$940"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1036", - "fields":[{"name":"0bitmap$937"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1037", - "fields":[{"name":"0bitmap$938"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1038", - "fields":[{"name":"0bitmap$939"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1040", - "fields":[{"name":"0bitmap$957"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1041", - "fields":[{"name":"0bitmap$946"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1043", - "fields":[{"name":"0bitmap$956"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1044", - "fields":[{"name":"0bitmap$955"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1045", - "fields":[{"name":"0bitmap$947"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1046", - "fields":[{"name":"0bitmap$948"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1047", - "fields":[{"name":"0bitmap$949"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1048", - "fields":[{"name":"0bitmap$950"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1049", - "fields":[{"name":"0bitmap$951"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1050", - "fields":[{"name":"0bitmap$952"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1051", - "fields":[{"name":"0bitmap$953"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1052", - "fields":[{"name":"0bitmap$954"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1054", - "fields":[{"name":"0bitmap$975"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1055", - "fields":[{"name":"0bitmap$959"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1057", - "fields":[{"name":"0bitmap$960"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1058", - "fields":[{"name":"0bitmap$974"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1059", - "fields":[{"name":"0bitmap$973"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1060", - "fields":[{"name":"0bitmap$961"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1061", - "fields":[{"name":"0bitmap$967"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1062", - "fields":[{"name":"0bitmap$966"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1063", - "fields":[{"name":"0bitmap$962"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1064", - "fields":[{"name":"0bitmap$963"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1065", - "fields":[{"name":"0bitmap$964"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1066", - "fields":[{"name":"0bitmap$965"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1068", - "fields":[{"name":"0bitmap$972"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1069", - "fields":[{"name":"0bitmap$971"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1070", - "fields":[{"name":"0bitmap$968"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1071", - "fields":[{"name":"0bitmap$969"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1072", - "fields":[{"name":"0bitmap$970"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1074", - "fields":[{"name":"0bitmap$976"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1075", - "fields":[{"name":"0bitmap$977"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1076", - "fields":[{"name":"0bitmap$1000"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1077", - "fields":[{"name":"0bitmap$999"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1078", - "fields":[{"name":"0bitmap$988"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1079", - "fields":[{"name":"0bitmap$987"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1080", - "fields":[{"name":"0bitmap$979"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1081", - "fields":[{"name":"0bitmap$980"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1082", - "fields":[{"name":"0bitmap$981"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1083", - "fields":[{"name":"0bitmap$982"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1084", - "fields":[{"name":"0bitmap$983"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1085", - "fields":[{"name":"0bitmap$984"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1086", - "fields":[{"name":"0bitmap$985"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1087", - "fields":[{"name":"0bitmap$986"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1089", - "fields":[{"name":"0bitmap$989"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1090", - "fields":[{"name":"0bitmap$993"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1091", - "fields":[{"name":"0bitmap$992"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1092", - "fields":[{"name":"0bitmap$990"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1093", - "fields":[{"name":"0bitmap$991"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1095", - "fields":[{"name":"0bitmap$994"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1096", - "fields":[{"name":"0bitmap$995"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1097", - "fields":[{"name":"0bitmap$998"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1098", - "fields":[{"name":"0bitmap$997"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1099", - "fields":[{"name":"0bitmap$996"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1100", - "fields":[{"name":"0bitmap$1022"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1101", - "fields":[{"name":"0bitmap$1021"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1102", - "fields":[{"name":"0bitmap$1010"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1103", - "fields":[{"name":"0bitmap$1009"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1104", - "fields":[{"name":"0bitmap$1001"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1105", - "fields":[{"name":"0bitmap$1002"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1106", - "fields":[{"name":"0bitmap$1003"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1107", - "fields":[{"name":"0bitmap$1004"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1108", - "fields":[{"name":"0bitmap$1005"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1109", - "fields":[{"name":"0bitmap$1006"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1110", - "fields":[{"name":"0bitmap$1007"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1111", - "fields":[{"name":"0bitmap$1008"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1113", - "fields":[{"name":"0bitmap$1011"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1114", - "fields":[{"name":"0bitmap$1015"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1115", - "fields":[{"name":"0bitmap$1014"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1116", - "fields":[{"name":"0bitmap$1012"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1117", - "fields":[{"name":"0bitmap$1013"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1119", - "fields":[{"name":"0bitmap$1016"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1120", - "fields":[{"name":"0bitmap$1017"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1121", - "fields":[{"name":"0bitmap$1020"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1122", - "fields":[{"name":"0bitmap$1019"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1123", - "fields":[{"name":"0bitmap$1018"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1124", - "fields":[{"name":"0bitmap$1040"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1125", - "fields":[{"name":"0bitmap$1039"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1126", - "fields":[{"name":"0bitmap$1023"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1127", - "fields":[{"name":"0bitmap$1024"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1128", - "fields":[{"name":"0bitmap$1038"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1144", - "fields":[{"name":"0bitmap$1059"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1145", - "fields":[{"name":"0bitmap$1058"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1146", - "fields":[{"name":"0bitmap$1042"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1148", - "fields":[{"name":"0bitmap$1043"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1149", - "fields":[{"name":"0bitmap$1057"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1165", - "fields":[{"name":"0bitmap$1080"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1166", - "fields":[{"name":"0bitmap$1069"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1177", - "fields":[{"name":"0bitmap$1070"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1178", - "fields":[{"name":"0bitmap$1074"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1183", - "fields":[{"name":"0bitmap$1075"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1184", - "fields":[{"name":"0bitmap$1076"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1185", - "fields":[{"name":"0bitmap$1079"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1188", - "fields":[{"name":"0bitmap$1081"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1189", - "fields":[{"name":"0bitmap$1105"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1190", - "fields":[{"name":"0bitmap$1095"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1205", - "fields":[{"name":"0bitmap$1104"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1206", - "fields":[{"name":"0bitmap$1103"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1207", - "fields":[{"name":"0bitmap$1096"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1208", - "fields":[{"name":"0bitmap$1097"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1209", - "fields":[{"name":"0bitmap$1098"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1210", - "fields":[{"name":"0bitmap$1099"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1211", - "fields":[{"name":"0bitmap$1100"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1212", - "fields":[{"name":"0bitmap$1101"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1213", - "fields":[{"name":"0bitmap$1102"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1215", - "fields":[{"name":"0bitmap$1171"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1216", - "fields":[{"name":"0bitmap$1141"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1255", - "fields":[{"name":"0bitmap$1165"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1256", - "fields":[{"name":"0bitmap$1145"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1257", - "fields":[{"name":"0bitmap$1142"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1258", - "fields":[{"name":"0bitmap$1143"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1259", - "fields":[{"name":"0bitmap$1144"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1261", - "fields":[{"name":"0bitmap$1159"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1262", - "fields":[{"name":"0bitmap$1146"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1263", - "fields":[{"name":"0bitmap$1147"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1264", - "fields":[{"name":"0bitmap$1148"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1265", - "fields":[{"name":"0bitmap$1149"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1266", - "fields":[{"name":"0bitmap$1150"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1267", - "fields":[{"name":"0bitmap$1151"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1268", - "fields":[{"name":"0bitmap$1152"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1269", - "fields":[{"name":"0bitmap$1153"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1270", - "fields":[{"name":"0bitmap$1154"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1271", - "fields":[{"name":"0bitmap$1155"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1272", - "fields":[{"name":"0bitmap$1156"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1273", - "fields":[{"name":"0bitmap$1157"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1274", - "fields":[{"name":"0bitmap$1158"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1276", - "fields":[{"name":"0bitmap$1164"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1281", - "fields":[{"name":"0bitmap$1170"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1282", - "fields":[{"name":"0bitmap$1166"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1283", - "fields":[{"name":"0bitmap$1167"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1284", - "fields":[{"name":"0bitmap$1168"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1285", - "fields":[{"name":"0bitmap$1169"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1286", - "fields":[{"name":"0bitmap$1172"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1287", - "fields":[{"name":"0bitmap$1189"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1288", - "fields":[{"name":"0bitmap$1185"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1289", - "fields":[{"name":"0bitmap$1174"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1290", - "fields":[{"name":"0bitmap$1173"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1291", - "fields":[{"name":"0bitmap$1184"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1292", - "fields":[{"name":"0bitmap$1178"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1293", - "fields":[{"name":"0bitmap$1177"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1294", - "fields":[{"name":"0bitmap$1176"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1296", - "fields":[{"name":"0bitmap$1183"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1297", - "fields":[{"name":"0bitmap$1182"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1298", - "fields":[{"name":"0bitmap$1181"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1301", - "fields":[{"name":"0bitmap$1188"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1304", - "fields":[{"name":"0bitmap$1244"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1305", - "fields":[{"name":"0bitmap$1206"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1306", - "fields":[{"name":"0bitmap$1192"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1307", - "fields":[{"name":"0bitmap$1191"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1309", - "fields":[{"name":"0bitmap$1194"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1311", - "fields":[{"name":"0bitmap$1205"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1312", - "fields":[{"name":"0bitmap$1204"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1313", - "fields":[{"name":"0bitmap$1198"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1314", - "fields":[{"name":"0bitmap$1197"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1315", - "fields":[{"name":"0bitmap$1196"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1317", - "fields":[{"name":"0bitmap$1203"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1318", - "fields":[{"name":"0bitmap$1202"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1319", - "fields":[{"name":"0bitmap$1201"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1322", - "fields":[{"name":"0bitmap$1226"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1323", - "fields":[{"name":"0bitmap$1209"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1324", - "fields":[{"name":"0bitmap$1208"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1326", - "fields":[{"name":"0bitmap$1214"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1331", - "fields":[{"name":"0bitmap$1225"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1332", - "fields":[{"name":"0bitmap$1224"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1333", - "fields":[{"name":"0bitmap$1218"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1334", - "fields":[{"name":"0bitmap$1217"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1335", - "fields":[{"name":"0bitmap$1216"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1337", - "fields":[{"name":"0bitmap$1223"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1338", - "fields":[{"name":"0bitmap$1222"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1339", - "fields":[{"name":"0bitmap$1221"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1342", - "fields":[{"name":"0bitmap$1243"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1343", - "fields":[{"name":"0bitmap$1230"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1344", - "fields":[{"name":"0bitmap$1229"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1347", - "fields":[{"name":"0bitmap$1231"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1348", - "fields":[{"name":"0bitmap$1242"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1349", - "fields":[{"name":"0bitmap$1241"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1350", - "fields":[{"name":"0bitmap$1235"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1351", - "fields":[{"name":"0bitmap$1234"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1352", - "fields":[{"name":"0bitmap$1233"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1354", - "fields":[{"name":"0bitmap$1240"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1355", - "fields":[{"name":"0bitmap$1239"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1356", - "fields":[{"name":"0bitmap$1238"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1359", - "fields":[{"name":"0bitmap$1245"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1361", - "fields":[{"name":"0bitmap$1246"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1362", - "fields":[{"name":"0bitmap$1255"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1363", - "fields":[{"name":"0bitmap$1247"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1364", - "fields":[{"name":"0bitmap$1248"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1365", - "fields":[{"name":"0bitmap$1249"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1366", - "fields":[{"name":"0bitmap$1250"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1367", - "fields":[{"name":"0bitmap$1251"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1368", - "fields":[{"name":"0bitmap$1252"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1369", - "fields":[{"name":"0bitmap$1253"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1370", - "fields":[{"name":"0bitmap$1254"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1372", - "fields":[{"name":"0bitmap$1256"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1373", - "fields":[{"name":"0bitmap$1266"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1384", - "fields":[{"name":"0bitmap$1267"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1385", - "fields":[{"name":"0bitmap$1270"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1386", - "fields":[{"name":"0bitmap$1269"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1388", - "fields":[{"name":"0bitmap$1271"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1389", - "fields":[{"name":"0bitmap$1283"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1390", - "fields":[{"name":"0bitmap$1282"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1391", - "fields":[{"name":"0bitmap$1281"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1392", - "fields":[{"name":"0bitmap$1275"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1393", - "fields":[{"name":"0bitmap$1274"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1394", - "fields":[{"name":"0bitmap$1273"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1396", - "fields":[{"name":"0bitmap$1280"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1397", - "fields":[{"name":"0bitmap$1279"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1398", - "fields":[{"name":"0bitmap$1278"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1401", - "fields":[{"name":"0bitmap$1295"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1402", - "fields":[{"name":"0bitmap$1294"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1403", - "fields":[{"name":"0bitmap$1293"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1404", - "fields":[{"name":"0bitmap$1287"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1405", - "fields":[{"name":"0bitmap$1286"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1406", - "fields":[{"name":"0bitmap$1285"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1408", - "fields":[{"name":"0bitmap$1292"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1409", - "fields":[{"name":"0bitmap$1291"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1410", - "fields":[{"name":"0bitmap$1290"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1413", - "fields":[{"name":"0bitmap$1315"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1414", - "fields":[{"name":"0bitmap$1297"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1415", - "fields":[{"name":"0bitmap$1296"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1416", - "fields":[{"name":"0bitmap$1314"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1417", - "fields":[{"name":"0bitmap$1310"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1418", - "fields":[{"name":"0bitmap$1299"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1419", - "fields":[{"name":"0bitmap$1298"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1420", - "fields":[{"name":"0bitmap$1309"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1421", - "fields":[{"name":"0bitmap$1303"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1422", - "fields":[{"name":"0bitmap$1302"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1423", - "fields":[{"name":"0bitmap$1301"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1425", - "fields":[{"name":"0bitmap$1308"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1426", - "fields":[{"name":"0bitmap$1307"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1427", - "fields":[{"name":"0bitmap$1306"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1430", - "fields":[{"name":"0bitmap$1313"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1431", - "fields":[{"name":"0bitmap$1312"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1432", - "fields":[{"name":"0bitmap$1311"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1435", - "fields":[{"name":"0bitmap$1716"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1436", - "fields":[{"name":"0bitmap$1448"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1581", - "fields":[{"name":"0bitmap$1478"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1582", - "fields":[{"name":"0bitmap$1472"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1583", - "fields":[{"name":"0bitmap$1462"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1599", - "fields":[{"name":"0bitmap$1471"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1600", - "fields":[{"name":"0bitmap$1468"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1601", - "fields":[{"name":"0bitmap$1467"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1602", - "fields":[{"name":"0bitmap$1463"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1603", - "fields":[{"name":"0bitmap$1464"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1604", - "fields":[{"name":"0bitmap$1465"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1605", - "fields":[{"name":"0bitmap$1466"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1606", - "fields":[{"name":"0bitmap$1469"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1607", - "fields":[{"name":"0bitmap$1470"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1609", - "fields":[{"name":"0bitmap$1477"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1610", - "fields":[{"name":"0bitmap$1473"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1611", - "fields":[{"name":"0bitmap$1476"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1612", - "fields":[{"name":"0bitmap$1474"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1613", - "fields":[{"name":"0bitmap$1475"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1615", - "fields":[{"name":"0bitmap$1508"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1616", - "fields":[{"name":"0bitmap$1490"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1631", - "fields":[{"name":"0bitmap$1493"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1632", - "fields":[{"name":"0bitmap$1491"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1633", - "fields":[{"name":"0bitmap$1492"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1635", - "fields":[{"name":"0bitmap$1507"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1636", - "fields":[{"name":"0bitmap$1506"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1637", - "fields":[{"name":"0bitmap$1494"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1638", - "fields":[{"name":"0bitmap$1500"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1645", - "fields":[{"name":"0bitmap$1505"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1646", - "fields":[{"name":"0bitmap$1504"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1647", - "fields":[{"name":"0bitmap$1501"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1648", - "fields":[{"name":"0bitmap$1502"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1649", - "fields":[{"name":"0bitmap$1503"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1651", - "fields":[{"name":"0bitmap$1538"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1652", - "fields":[{"name":"0bitmap$1520"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1667", - "fields":[{"name":"0bitmap$1523"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1668", - "fields":[{"name":"0bitmap$1521"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1669", - "fields":[{"name":"0bitmap$1522"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1671", - "fields":[{"name":"0bitmap$1537"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1672", - "fields":[{"name":"0bitmap$1536"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1673", - "fields":[{"name":"0bitmap$1524"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1674", - "fields":[{"name":"0bitmap$1530"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1681", - "fields":[{"name":"0bitmap$1535"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1682", - "fields":[{"name":"0bitmap$1534"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1683", - "fields":[{"name":"0bitmap$1531"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1684", - "fields":[{"name":"0bitmap$1532"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1685", - "fields":[{"name":"0bitmap$1533"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1687", - "fields":[{"name":"0bitmap$1568"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1688", - "fields":[{"name":"0bitmap$1551"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1703", - "fields":[{"name":"0bitmap$1565"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1704", - "fields":[{"name":"0bitmap$1564"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1705", - "fields":[{"name":"0bitmap$1552"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1706", - "fields":[{"name":"0bitmap$1558"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1707", - "fields":[{"name":"0bitmap$1557"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1708", - "fields":[{"name":"0bitmap$1553"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1709", - "fields":[{"name":"0bitmap$1554"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1710", - "fields":[{"name":"0bitmap$1555"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1711", - "fields":[{"name":"0bitmap$1556"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1713", - "fields":[{"name":"0bitmap$1563"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1714", - "fields":[{"name":"0bitmap$1562"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1715", - "fields":[{"name":"0bitmap$1559"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1716", - "fields":[{"name":"0bitmap$1560"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1717", - "fields":[{"name":"0bitmap$1561"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1719", - "fields":[{"name":"0bitmap$1567"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1720", - "fields":[{"name":"0bitmap$1566"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1721", - "fields":[{"name":"0bitmap$1591"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1722", - "fields":[{"name":"0bitmap$1569"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1723", - "fields":[{"name":"0bitmap$1590"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1724", - "fields":[{"name":"0bitmap$1579"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1725", - "fields":[{"name":"0bitmap$1578"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1726", - "fields":[{"name":"0bitmap$1570"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1727", - "fields":[{"name":"0bitmap$1571"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1728", - "fields":[{"name":"0bitmap$1572"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1729", - "fields":[{"name":"0bitmap$1573"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1730", - "fields":[{"name":"0bitmap$1574"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1731", - "fields":[{"name":"0bitmap$1575"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1732", - "fields":[{"name":"0bitmap$1576"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1733", - "fields":[{"name":"0bitmap$1577"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1735", - "fields":[{"name":"0bitmap$1580"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1736", - "fields":[{"name":"0bitmap$1584"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1737", - "fields":[{"name":"0bitmap$1583"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1738", - "fields":[{"name":"0bitmap$1581"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1739", - "fields":[{"name":"0bitmap$1582"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1741", - "fields":[{"name":"0bitmap$1585"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1742", - "fields":[{"name":"0bitmap$1586"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1743", - "fields":[{"name":"0bitmap$1589"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1746", - "fields":[{"name":"0bitmap$1592"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1747", - "fields":[{"name":"0bitmap$1607"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1748", - "fields":[{"name":"0bitmap$1598"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1754", - "fields":[{"name":"0bitmap$1601"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1755", - "fields":[{"name":"0bitmap$1600"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1757", - "fields":[{"name":"0bitmap$1606"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1758", - "fields":[{"name":"0bitmap$1602"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1759", - "fields":[{"name":"0bitmap$1603"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1760", - "fields":[{"name":"0bitmap$1604"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1761", - "fields":[{"name":"0bitmap$1605"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1762", - "fields":[{"name":"0bitmap$1711"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1763", - "fields":[{"name":"0bitmap$1608"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1764", - "fields":[{"name":"0bitmap$1659"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1765", - "fields":[{"name":"0bitmap$1644"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1804", - "fields":[{"name":"0bitmap$1655"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1805", - "fields":[{"name":"0bitmap$1649"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1806", - "fields":[{"name":"0bitmap$1645"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1807", - "fields":[{"name":"0bitmap$1646"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1808", - "fields":[{"name":"0bitmap$1647"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1809", - "fields":[{"name":"0bitmap$1648"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1811", - "fields":[{"name":"0bitmap$1654"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1816", - "fields":[{"name":"0bitmap$1658"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1817", - "fields":[{"name":"0bitmap$1656"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1818", - "fields":[{"name":"0bitmap$1657"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1819", - "fields":[{"name":"0bitmap$1710"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1820", - "fields":[{"name":"0bitmap$1695"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1859", - "fields":[{"name":"0bitmap$1706"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1860", - "fields":[{"name":"0bitmap$1700"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1861", - "fields":[{"name":"0bitmap$1696"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1862", - "fields":[{"name":"0bitmap$1697"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1863", - "fields":[{"name":"0bitmap$1698"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1864", - "fields":[{"name":"0bitmap$1699"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1866", - "fields":[{"name":"0bitmap$1705"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1871", - "fields":[{"name":"0bitmap$1709"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1872", - "fields":[{"name":"0bitmap$1707"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1873", - "fields":[{"name":"0bitmap$1708"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1874", - "fields":[{"name":"0bitmap$1713"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1875", - "fields":[{"name":"0bitmap$1712"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1876", - "fields":[{"name":"0bitmap$1715"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1877", - "fields":[{"name":"0bitmap$1714"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1878", - "fields":[{"name":"0bitmap$1732"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1879", - "fields":[{"name":"0bitmap$1718"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1880", - "fields":[{"name":"0bitmap$1717"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1881", - "fields":[{"name":"0bitmap$1731"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1882", - "fields":[{"name":"0bitmap$1720"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1884", - "fields":[{"name":"0bitmap$1722"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1885", - "fields":[{"name":"0bitmap$1721"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1886", - "fields":[{"name":"0bitmap$1724"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1888", - "fields":[{"name":"0bitmap$1727"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1889", - "fields":[{"name":"0bitmap$1726"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1891", - "fields":[{"name":"0bitmap$1730"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1895", - "fields":[{"name":"0bitmap$1733"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1896", - "fields":[{"name":"0bitmap$1821"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1897", - "fields":[{"name":"0bitmap$1772"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1939", - "fields":[{"name":"0bitmap$1773"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1940", - "fields":[{"name":"0bitmap$1813"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1941", - "fields":[{"name":"0bitmap$1812"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$195", - "fields":[{"name":"0bitmap$207"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1983", - "fields":[{"name":"0bitmap$1815"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1985", - "fields":[{"name":"0bitmap$1818"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1986", - "fields":[{"name":"0bitmap$1817"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1988", - "fields":[{"name":"0bitmap$1819"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1989", - "fields":[{"name":"0bitmap$1820"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1990", - "fields":[{"name":"0bitmap$1842"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$1991", - "fields":[{"name":"0bitmap$1831"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2002", - "fields":[{"name":"0bitmap$1832"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2003", - "fields":[{"name":"0bitmap$1836"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2004", - "fields":[{"name":"0bitmap$1835"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2005", - "fields":[{"name":"0bitmap$1833"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2006", - "fields":[{"name":"0bitmap$1834"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2008", - "fields":[{"name":"0bitmap$1837"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2009", - "fields":[{"name":"0bitmap$1838"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2010", - "fields":[{"name":"0bitmap$1841"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2013", - "fields":[{"name":"0bitmap$1845"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2014", - "fields":[{"name":"0bitmap$1844"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2016", - "fields":[{"name":"0bitmap$1888"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$2017", - "fields":[{"name":"0bitmap$1887"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$229", - "fields":[{"name":"0bitmap$237"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$230", - "fields":[{"name":"0bitmap$219"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$245", - "fields":[{"name":"0bitmap$222"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$246", - "fields":[{"name":"0bitmap$220"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$247", - "fields":[{"name":"0bitmap$221"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$249", - "fields":[{"name":"0bitmap$236"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$250", - "fields":[{"name":"0bitmap$235"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$251", - "fields":[{"name":"0bitmap$223"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$252", - "fields":[{"name":"0bitmap$229"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$259", - "fields":[{"name":"0bitmap$234"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$260", - "fields":[{"name":"0bitmap$233"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$261", - "fields":[{"name":"0bitmap$230"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$262", - "fields":[{"name":"0bitmap$231"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$263", - "fields":[{"name":"0bitmap$232"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$265", - "fields":[{"name":"0bitmap$267"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$266", - "fields":[{"name":"0bitmap$249"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$281", - "fields":[{"name":"0bitmap$252"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$282", - "fields":[{"name":"0bitmap$250"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$283", - "fields":[{"name":"0bitmap$251"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$285", - "fields":[{"name":"0bitmap$266"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$286", - "fields":[{"name":"0bitmap$265"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$287", - "fields":[{"name":"0bitmap$253"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$288", - "fields":[{"name":"0bitmap$259"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$295", - "fields":[{"name":"0bitmap$264"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$296", - "fields":[{"name":"0bitmap$263"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$297", - "fields":[{"name":"0bitmap$260"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$298", - "fields":[{"name":"0bitmap$261"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$299", - "fields":[{"name":"0bitmap$262"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$3", - "fields":[{"name":"0bitmap$41"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$301", - "fields":[{"name":"0bitmap$297"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$335", - "fields":[{"name":"0bitmap$320"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$360", - "fields":[{"name":"0bitmap$321"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$361", - "fields":[{"name":"0bitmap$336"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$362", - "fields":[{"name":"0bitmap$327"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$368", - "fields":[{"name":"0bitmap$330"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$369", - "fields":[{"name":"0bitmap$329"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$371", - "fields":[{"name":"0bitmap$335"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$372", - "fields":[{"name":"0bitmap$331"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$373", - "fields":[{"name":"0bitmap$332"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$374", - "fields":[{"name":"0bitmap$333"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$375", - "fields":[{"name":"0bitmap$334"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$376", - "fields":[{"name":"0bitmap$440"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$377", - "fields":[{"name":"0bitmap$337"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$378", - "fields":[{"name":"0bitmap$388"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$379", - "fields":[{"name":"0bitmap$373"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$418", - "fields":[{"name":"0bitmap$384"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$419", - "fields":[{"name":"0bitmap$378"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$420", - "fields":[{"name":"0bitmap$374"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$421", - "fields":[{"name":"0bitmap$375"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$422", - "fields":[{"name":"0bitmap$376"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$423", - "fields":[{"name":"0bitmap$377"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$425", - "fields":[{"name":"0bitmap$383"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$430", - "fields":[{"name":"0bitmap$387"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$431", - "fields":[{"name":"0bitmap$385"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$432", - "fields":[{"name":"0bitmap$386"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$433", - "fields":[{"name":"0bitmap$439"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$434", - "fields":[{"name":"0bitmap$424"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$45", - "fields":[{"name":"0bitmap$448"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$46", - "fields":[{"name":"0bitmap$43"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$473", - "fields":[{"name":"0bitmap$435"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$474", - "fields":[{"name":"0bitmap$429"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$475", - "fields":[{"name":"0bitmap$425"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$476", - "fields":[{"name":"0bitmap$426"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$477", - "fields":[{"name":"0bitmap$427"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$478", - "fields":[{"name":"0bitmap$428"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$48", - "fields":[{"name":"0bitmap$44"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$480", - "fields":[{"name":"0bitmap$434"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$485", - "fields":[{"name":"0bitmap$438"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$486", - "fields":[{"name":"0bitmap$436"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$487", - "fields":[{"name":"0bitmap$437"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$488", - "fields":[{"name":"0bitmap$442"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$49", - "fields":[{"name":"0bitmap$445"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$490", - "fields":[{"name":"0bitmap$444"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$492", - "fields":[{"name":"0bitmap$447"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$493", - "fields":[{"name":"0bitmap$446"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$494", - "fields":[{"name":"0bitmap$581"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$50", - "fields":[{"name":"0bitmap$177"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$639", - "fields":[{"name":"0bitmap$612"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$674", - "fields":[{"name":"0bitmap$643"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$675", - "fields":[{"name":"0bitmap$642"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$676", - "fields":[{"name":"0bitmap$624"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$691", - "fields":[{"name":"0bitmap$627"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$692", - "fields":[{"name":"0bitmap$625"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$693", - "fields":[{"name":"0bitmap$626"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$695", - "fields":[{"name":"0bitmap$641"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$711", - "fields":[{"name":"0bitmap$674"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$746", - "fields":[{"name":"0bitmap$698"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$772", - "fields":[{"name":"0bitmap$701"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$775", - "fields":[{"name":"0bitmap$704"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$778", - "fields":[{"name":"0bitmap$725"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$779", - "fields":[{"name":"0bitmap$717"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$793", - "fields":[{"name":"0bitmap$724"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$794", - "fields":[{"name":"0bitmap$723"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$800", - "fields":[{"name":"0bitmap$739"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$801", - "fields":[{"name":"0bitmap$738"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$802", - "fields":[{"name":"0bitmap$727"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$804", - "fields":[{"name":"0bitmap$737"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$805", - "fields":[{"name":"0bitmap$736"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$806", - "fields":[{"name":"0bitmap$728"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$807", - "fields":[{"name":"0bitmap$729"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$808", - "fields":[{"name":"0bitmap$730"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$809", - "fields":[{"name":"0bitmap$731"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$810", - "fields":[{"name":"0bitmap$732"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$811", - "fields":[{"name":"0bitmap$733"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$812", - "fields":[{"name":"0bitmap$734"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$813", - "fields":[{"name":"0bitmap$735"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$815", - "fields":[{"name":"0bitmap$740"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$816", - "fields":[{"name":"0bitmap$877"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$817", - "fields":[{"name":"0bitmap$791"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$818", - "fields":[{"name":"0bitmap$776"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$857", - "fields":[{"name":"0bitmap$787"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$858", - "fields":[{"name":"0bitmap$781"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$859", - "fields":[{"name":"0bitmap$777"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$860", - "fields":[{"name":"0bitmap$778"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$861", - "fields":[{"name":"0bitmap$779"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$862", - "fields":[{"name":"0bitmap$780"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$864", - "fields":[{"name":"0bitmap$786"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$869", - "fields":[{"name":"0bitmap$790"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$870", - "fields":[{"name":"0bitmap$788"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$871", - "fields":[{"name":"0bitmap$789"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$872", - "fields":[{"name":"0bitmap$794"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$873", - "fields":[{"name":"0bitmap$793"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$875", - "fields":[{"name":"0bitmap$860"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$876", - "fields":[{"name":"0bitmap$830"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$915", - "fields":[{"name":"0bitmap$854"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$916", - "fields":[{"name":"0bitmap$834"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$917", - "fields":[{"name":"0bitmap$831"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$918", - "fields":[{"name":"0bitmap$832"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$919", - "fields":[{"name":"0bitmap$833"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$921", - "fields":[{"name":"0bitmap$848"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$922", - "fields":[{"name":"0bitmap$835"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$923", - "fields":[{"name":"0bitmap$836"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$924", - "fields":[{"name":"0bitmap$837"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$925", - "fields":[{"name":"0bitmap$838"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$926", - "fields":[{"name":"0bitmap$839"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$927", - "fields":[{"name":"0bitmap$840"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$928", - "fields":[{"name":"0bitmap$841"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$929", - "fields":[{"name":"0bitmap$842"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$930", - "fields":[{"name":"0bitmap$843"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$931", - "fields":[{"name":"0bitmap$844"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$932", - "fields":[{"name":"0bitmap$845"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$933", - "fields":[{"name":"0bitmap$846"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$934", - "fields":[{"name":"0bitmap$847"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$936", - "fields":[{"name":"0bitmap$853"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$941", - "fields":[{"name":"0bitmap$859"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$942", - "fields":[{"name":"0bitmap$855"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$943", - "fields":[{"name":"0bitmap$856"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$944", - "fields":[{"name":"0bitmap$857"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$945", - "fields":[{"name":"0bitmap$858"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$946", - "fields":[{"name":"0bitmap$876"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$947", - "fields":[{"name":"0bitmap$870"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$958", - "fields":[{"name":"0bitmap$875"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$959", - "fields":[{"name":"0bitmap$871"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$960", - "fields":[{"name":"0bitmap$872"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$961", - "fields":[{"name":"0bitmap$873"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$962", - "fields":[{"name":"0bitmap$874"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$963", - "fields":[{"name":"0bitmap$878"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$964", - "fields":[{"name":"0bitmap$978"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$965", - "fields":[{"name":"0bitmap$890"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$966", - "fields":[{"name":"0bitmap$888"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$967", - "fields":[{"name":"0bitmap$887"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$968", - "fields":[{"name":"0bitmap$879"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$969", - "fields":[{"name":"0bitmap$880"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$970", - "fields":[{"name":"0bitmap$881"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$971", - "fields":[{"name":"0bitmap$882"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$972", - "fields":[{"name":"0bitmap$883"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$973", - "fields":[{"name":"0bitmap$884"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$974", - "fields":[{"name":"0bitmap$885"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$975", - "fields":[{"name":"0bitmap$886"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$977", - "fields":[{"name":"0bitmap$889"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$979", - "fields":[{"name":"0bitmap$906"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$980", - "fields":[{"name":"0bitmap$900"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$991", - "fields":[{"name":"0bitmap$904"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$992", - "fields":[{"name":"0bitmap$903"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$993", - "fields":[{"name":"0bitmap$901"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$994", - "fields":[{"name":"0bitmap$902"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$996", - "fields":[{"name":"0bitmap$905"}] -}, -{ - "name":"fpp.compiler.codegen.AnalysisJsonEncoder$$anon$998", - "fields":[{"name":"0bitmap$916"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$", - "fields":[{"name":"0bitmap$28"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$1", - "fields":[{"name":"0bitmap$29"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$10", - "fields":[{"name":"0bitmap$287"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$100", - "fields":[{"name":"0bitmap$43"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$101", - "fields":[{"name":"0bitmap$42"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$102", - "fields":[{"name":"0bitmap$46"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$103", - "fields":[{"name":"0bitmap$45"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$104", - "fields":[{"name":"0bitmap$49"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$105", - "fields":[{"name":"0bitmap$48"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$106", - "fields":[{"name":"0bitmap$47"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$107", - "fields":[{"name":"0bitmap$51"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$108", - "fields":[{"name":"0bitmap$50"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$109", - "fields":[{"name":"0bitmap$53"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$110", - "fields":[{"name":"0bitmap$52"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$111", - "fields":[{"name":"0bitmap$59"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$112", - "fields":[{"name":"0bitmap$58"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$113", - "fields":[{"name":"0bitmap$57"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$114", - "fields":[{"name":"0bitmap$56"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$115", - "fields":[{"name":"0bitmap$54"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$116", - "fields":[{"name":"0bitmap$55"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$118", - "fields":[{"name":"0bitmap$61"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$119", - "fields":[{"name":"0bitmap$60"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$12", - "fields":[{"name":"0bitmap$293"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$120", - "fields":[{"name":"0bitmap$64"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$121", - "fields":[{"name":"0bitmap$63"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$122", - "fields":[{"name":"0bitmap$62"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$123", - "fields":[{"name":"0bitmap$66"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$124", - "fields":[{"name":"0bitmap$65"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$125", - "fields":[{"name":"0bitmap$68"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$126", - "fields":[{"name":"0bitmap$67"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$127", - "fields":[{"name":"0bitmap$70"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$129", - "fields":[{"name":"0bitmap$81"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$130", - "fields":[{"name":"0bitmap$80"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$131", - "fields":[{"name":"0bitmap$79"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$132", - "fields":[{"name":"0bitmap$71"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$133", - "fields":[{"name":"0bitmap$72"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$134", - "fields":[{"name":"0bitmap$73"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$135", - "fields":[{"name":"0bitmap$74"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$136", - "fields":[{"name":"0bitmap$75"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$137", - "fields":[{"name":"0bitmap$76"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$138", - "fields":[{"name":"0bitmap$77"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$139", - "fields":[{"name":"0bitmap$78"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$142", - "fields":[{"name":"0bitmap$85"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$143", - "fields":[{"name":"0bitmap$83"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$144", - "fields":[{"name":"0bitmap$84"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$145", - "fields":[{"name":"0bitmap$117"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$146", - "fields":[{"name":"0bitmap$87"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$147", - "fields":[{"name":"0bitmap$86"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$148", - "fields":[{"name":"0bitmap$89"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$149", - "fields":[{"name":"0bitmap$88"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$150", - "fields":[{"name":"0bitmap$91"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$151", - "fields":[{"name":"0bitmap$90"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$152", - "fields":[{"name":"0bitmap$93"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$153", - "fields":[{"name":"0bitmap$92"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$154", - "fields":[{"name":"0bitmap$97"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$155", - "fields":[{"name":"0bitmap$96"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$156", - "fields":[{"name":"0bitmap$94"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$157", - "fields":[{"name":"0bitmap$95"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$158", - "fields":[{"name":"0bitmap$99"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$159", - "fields":[{"name":"0bitmap$98"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$160", - "fields":[{"name":"0bitmap$102"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$161", - "fields":[{"name":"0bitmap$101"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$162", - "fields":[{"name":"0bitmap$100"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$163", - "fields":[{"name":"0bitmap$104"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$164", - "fields":[{"name":"0bitmap$103"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$165", - "fields":[{"name":"0bitmap$106"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$166", - "fields":[{"name":"0bitmap$105"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$167", - "fields":[{"name":"0bitmap$108"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$168", - "fields":[{"name":"0bitmap$107"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$169", - "fields":[{"name":"0bitmap$111"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$17", - "fields":[{"name":"0bitmap$318"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$170", - "fields":[{"name":"0bitmap$110"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$171", - "fields":[{"name":"0bitmap$109"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$172", - "fields":[{"name":"0bitmap$113"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$174", - "fields":[{"name":"0bitmap$116"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$175", - "fields":[{"name":"0bitmap$115"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$176", - "fields":[{"name":"0bitmap$114"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$178", - "fields":[{"name":"0bitmap$139"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$179", - "fields":[{"name":"0bitmap$121"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$18", - "fields":[{"name":"0bitmap$298"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$180", - "fields":[{"name":"0bitmap$120"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$181", - "fields":[{"name":"0bitmap$118"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$182", - "fields":[{"name":"0bitmap$119"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$183", - "fields":[{"name":"0bitmap$123"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$184", - "fields":[{"name":"0bitmap$122"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$185", - "fields":[{"name":"0bitmap$125"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$187", - "fields":[{"name":"0bitmap$128"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$188", - "fields":[{"name":"0bitmap$127"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$189", - "fields":[{"name":"0bitmap$126"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$190", - "fields":[{"name":"0bitmap$130"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$191", - "fields":[{"name":"0bitmap$129"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$192", - "fields":[{"name":"0bitmap$132"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$193", - "fields":[{"name":"0bitmap$131"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$194", - "fields":[{"name":"0bitmap$138"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$195", - "fields":[{"name":"0bitmap$137"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$196", - "fields":[{"name":"0bitmap$136"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$197", - "fields":[{"name":"0bitmap$134"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$198", - "fields":[{"name":"0bitmap$133"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$199", - "fields":[{"name":"0bitmap$135"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$2", - "fields":[{"name":"0bitmap$323"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$201", - "fields":[{"name":"0bitmap$157"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$202", - "fields":[{"name":"0bitmap$143"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$203", - "fields":[{"name":"0bitmap$142"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$204", - "fields":[{"name":"0bitmap$140"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$205", - "fields":[{"name":"0bitmap$141"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$207", - "fields":[{"name":"0bitmap$153"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$208", - "fields":[{"name":"0bitmap$152"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$209", - "fields":[{"name":"0bitmap$144"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$210", - "fields":[{"name":"0bitmap$145"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$211", - "fields":[{"name":"0bitmap$146"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$212", - "fields":[{"name":"0bitmap$147"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$213", - "fields":[{"name":"0bitmap$148"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$214", - "fields":[{"name":"0bitmap$149"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$215", - "fields":[{"name":"0bitmap$150"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$216", - "fields":[{"name":"0bitmap$151"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$218", - "fields":[{"name":"0bitmap$154"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$219", - "fields":[{"name":"0bitmap$155"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$220", - "fields":[{"name":"0bitmap$156"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$222", - "fields":[{"name":"0bitmap$283"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$223", - "fields":[{"name":"0bitmap$159"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$224", - "fields":[{"name":"0bitmap$158"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$225", - "fields":[{"name":"0bitmap$161"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$226", - "fields":[{"name":"0bitmap$160"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$227", - "fields":[{"name":"0bitmap$163"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$228", - "fields":[{"name":"0bitmap$162"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$229", - "fields":[{"name":"0bitmap$165"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$23", - "fields":[{"name":"0bitmap$312"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$230", - "fields":[{"name":"0bitmap$164"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$231", - "fields":[{"name":"0bitmap$168"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$232", - "fields":[{"name":"0bitmap$167"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$233", - "fields":[{"name":"0bitmap$166"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$234", - "fields":[{"name":"0bitmap$170"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$235", - "fields":[{"name":"0bitmap$169"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$236", - "fields":[{"name":"0bitmap$173"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$237", - "fields":[{"name":"0bitmap$172"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$238", - "fields":[{"name":"0bitmap$171"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$239", - "fields":[{"name":"0bitmap$188"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$24", - "fields":[{"name":"0bitmap$299"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$240", - "fields":[{"name":"0bitmap$187"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$241", - "fields":[{"name":"0bitmap$177"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$242", - "fields":[{"name":"0bitmap$174"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$243", - "fields":[{"name":"0bitmap$175"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$244", - "fields":[{"name":"0bitmap$176"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$246", - "fields":[{"name":"0bitmap$181"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$247", - "fields":[{"name":"0bitmap$180"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$248", - "fields":[{"name":"0bitmap$178"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$249", - "fields":[{"name":"0bitmap$179"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$25", - "fields":[{"name":"0bitmap$300"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$251", - "fields":[{"name":"0bitmap$186"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$252", - "fields":[{"name":"0bitmap$182"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$253", - "fields":[{"name":"0bitmap$183"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$254", - "fields":[{"name":"0bitmap$184"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$255", - "fields":[{"name":"0bitmap$185"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$256", - "fields":[{"name":"0bitmap$190"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$257", - "fields":[{"name":"0bitmap$189"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$258", - "fields":[{"name":"0bitmap$204"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$259", - "fields":[{"name":"0bitmap$203"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$26", - "fields":[{"name":"0bitmap$301"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$260", - "fields":[{"name":"0bitmap$194"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$261", - "fields":[{"name":"0bitmap$193"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$262", - "fields":[{"name":"0bitmap$191"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$263", - "fields":[{"name":"0bitmap$192"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$265", - "fields":[{"name":"0bitmap$202"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$266", - "fields":[{"name":"0bitmap$195"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$267", - "fields":[{"name":"0bitmap$196"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$268", - "fields":[{"name":"0bitmap$197"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$269", - "fields":[{"name":"0bitmap$198"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$27", - "fields":[{"name":"0bitmap$302"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$270", - "fields":[{"name":"0bitmap$199"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$271", - "fields":[{"name":"0bitmap$200"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$272", - "fields":[{"name":"0bitmap$201"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$274", - "fields":[{"name":"0bitmap$206"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$276", - "fields":[{"name":"0bitmap$217"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$277", - "fields":[{"name":"0bitmap$216"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$278", - "fields":[{"name":"0bitmap$210"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$279", - "fields":[{"name":"0bitmap$209"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$28", - "fields":[{"name":"0bitmap$303"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$280", - "fields":[{"name":"0bitmap$207"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$281", - "fields":[{"name":"0bitmap$208"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$283", - "fields":[{"name":"0bitmap$215"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$284", - "fields":[{"name":"0bitmap$211"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$285", - "fields":[{"name":"0bitmap$212"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$286", - "fields":[{"name":"0bitmap$213"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$287", - "fields":[{"name":"0bitmap$214"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$288", - "fields":[{"name":"0bitmap$219"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$289", - "fields":[{"name":"0bitmap$218"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$29", - "fields":[{"name":"0bitmap$304"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$290", - "fields":[{"name":"0bitmap$256"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$291", - "fields":[{"name":"0bitmap$255"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$292", - "fields":[{"name":"0bitmap$230"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$293", - "fields":[{"name":"0bitmap$224"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$294", - "fields":[{"name":"0bitmap$220"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$295", - "fields":[{"name":"0bitmap$221"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$296", - "fields":[{"name":"0bitmap$222"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$297", - "fields":[{"name":"0bitmap$223"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$299", - "fields":[{"name":"0bitmap$229"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$3", - "fields":[{"name":"0bitmap$320"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$30", - "fields":[{"name":"0bitmap$305"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$300", - "fields":[{"name":"0bitmap$225"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$301", - "fields":[{"name":"0bitmap$226"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$302", - "fields":[{"name":"0bitmap$227"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$303", - "fields":[{"name":"0bitmap$228"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$304", - "fields":[{"name":"0bitmap$254"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$305", - "fields":[{"name":"0bitmap$234"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$306", - "fields":[{"name":"0bitmap$231"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$307", - "fields":[{"name":"0bitmap$232"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$308", - "fields":[{"name":"0bitmap$233"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$31", - "fields":[{"name":"0bitmap$306"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$310", - "fields":[{"name":"0bitmap$248"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$311", - "fields":[{"name":"0bitmap$235"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$312", - "fields":[{"name":"0bitmap$236"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$313", - "fields":[{"name":"0bitmap$237"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$314", - "fields":[{"name":"0bitmap$238"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$315", - "fields":[{"name":"0bitmap$239"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$316", - "fields":[{"name":"0bitmap$240"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$317", - "fields":[{"name":"0bitmap$241"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$318", - "fields":[{"name":"0bitmap$242"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$319", - "fields":[{"name":"0bitmap$243"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$32", - "fields":[{"name":"0bitmap$307"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$320", - "fields":[{"name":"0bitmap$244"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$321", - "fields":[{"name":"0bitmap$245"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$322", - "fields":[{"name":"0bitmap$246"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$323", - "fields":[{"name":"0bitmap$247"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$325", - "fields":[{"name":"0bitmap$253"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$326", - "fields":[{"name":"0bitmap$249"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$327", - "fields":[{"name":"0bitmap$250"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$328", - "fields":[{"name":"0bitmap$251"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$329", - "fields":[{"name":"0bitmap$252"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$33", - "fields":[{"name":"0bitmap$308"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$330", - "fields":[{"name":"0bitmap$258"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$331", - "fields":[{"name":"0bitmap$257"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$332", - "fields":[{"name":"0bitmap$260"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$333", - "fields":[{"name":"0bitmap$259"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$334", - "fields":[{"name":"0bitmap$267"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$335", - "fields":[{"name":"0bitmap$266"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$336", - "fields":[{"name":"0bitmap$265"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$337", - "fields":[{"name":"0bitmap$261"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$338", - "fields":[{"name":"0bitmap$262"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$339", - "fields":[{"name":"0bitmap$263"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$34", - "fields":[{"name":"0bitmap$309"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$340", - "fields":[{"name":"0bitmap$264"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$341", - "fields":[{"name":"0bitmap$280"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$342", - "fields":[{"name":"0bitmap$279"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$343", - "fields":[{"name":"0bitmap$270"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$344", - "fields":[{"name":"0bitmap$268"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$345", - "fields":[{"name":"0bitmap$269"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$347", - "fields":[{"name":"0bitmap$274"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$348", - "fields":[{"name":"0bitmap$271"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$349", - "fields":[{"name":"0bitmap$272"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$35", - "fields":[{"name":"0bitmap$310"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$350", - "fields":[{"name":"0bitmap$273"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$352", - "fields":[{"name":"0bitmap$278"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$353", - "fields":[{"name":"0bitmap$275"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$354", - "fields":[{"name":"0bitmap$276"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$355", - "fields":[{"name":"0bitmap$277"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$357", - "fields":[{"name":"0bitmap$282"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$358", - "fields":[{"name":"0bitmap$281"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$36", - "fields":[{"name":"0bitmap$311"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$360", - "fields":[{"name":"0bitmap$359"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$361", - "fields":[{"name":"0bitmap$335"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$362", - "fields":[{"name":"0bitmap$334"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$363", - "fields":[{"name":"0bitmap$350"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$364", - "fields":[{"name":"0bitmap$349"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$365", - "fields":[{"name":"0bitmap$339"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$366", - "fields":[{"name":"0bitmap$338"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$367", - "fields":[{"name":"0bitmap$336"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$368", - "fields":[{"name":"0bitmap$337"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$369", - "fields":[{"name":"0bitmap$348"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$370", - "fields":[{"name":"0bitmap$347"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$371", - "fields":[{"name":"0bitmap$340"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$372", - "fields":[{"name":"0bitmap$341"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$373", - "fields":[{"name":"0bitmap$342"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$374", - "fields":[{"name":"0bitmap$343"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$375", - "fields":[{"name":"0bitmap$344"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$376", - "fields":[{"name":"0bitmap$345"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$377", - "fields":[{"name":"0bitmap$346"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$379", - "fields":[{"name":"0bitmap$352"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$38", - "fields":[{"name":"0bitmap$317"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$381", - "fields":[{"name":"0bitmap$355"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$382", - "fields":[{"name":"0bitmap$354"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$383", - "fields":[{"name":"0bitmap$353"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$384", - "fields":[{"name":"0bitmap$358"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$385", - "fields":[{"name":"0bitmap$357"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$386", - "fields":[{"name":"0bitmap$356"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$388", - "fields":[{"name":"0bitmap$360"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$4", - "fields":[{"name":"0bitmap$319"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$43", - "fields":[{"name":"0bitmap$322"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$44", - "fields":[{"name":"0bitmap$321"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$46", - "fields":[{"name":"0bitmap$333"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$47", - "fields":[{"name":"0bitmap$325"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$49", - "fields":[{"name":"0bitmap$332"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$5", - "fields":[{"name":"0bitmap$294"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$50", - "fields":[{"name":"0bitmap$331"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$51", - "fields":[{"name":"0bitmap$330"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$52", - "fields":[{"name":"0bitmap$327"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$54", - "fields":[{"name":"0bitmap$329"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$55", - "fields":[{"name":"0bitmap$328"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$58", - "fields":[{"name":"0bitmap$27"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$59", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$6", - "fields":[{"name":"0bitmap$288"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$60", - "fields":[{"name":"0bitmap$2"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$61", - "fields":[{"name":"0bitmap$10"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$62", - "fields":[{"name":"0bitmap$9"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$63", - "fields":[{"name":"0bitmap$3"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$64", - "fields":[{"name":"0bitmap$4"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$65", - "fields":[{"name":"0bitmap$5"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$66", - "fields":[{"name":"0bitmap$6"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$67", - "fields":[{"name":"0bitmap$7"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$68", - "fields":[{"name":"0bitmap$8"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$69", - "fields":[{"name":"0bitmap$11"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$7", - "fields":[{"name":"0bitmap$284"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$70", - "fields":[{"name":"0bitmap$12"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$71", - "fields":[{"name":"0bitmap$16"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$72", - "fields":[{"name":"0bitmap$15"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$73", - "fields":[{"name":"0bitmap$13"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$74", - "fields":[{"name":"0bitmap$14"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$75", - "fields":[{"name":"0bitmap$17"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$76", - "fields":[{"name":"0bitmap$18"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$77", - "fields":[{"name":"0bitmap$19"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$78", - "fields":[{"name":"0bitmap$20"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$79", - "fields":[{"name":"0bitmap$21"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$8", - "fields":[{"name":"0bitmap$285"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$80", - "fields":[{"name":"0bitmap$23"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$81", - "fields":[{"name":"0bitmap$22"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$82", - "fields":[{"name":"0bitmap$26"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$83", - "fields":[{"name":"0bitmap$25"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$84", - "fields":[{"name":"0bitmap$24"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$86", - "fields":[{"name":"0bitmap$82"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$87", - "fields":[{"name":"0bitmap$31"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$88", - "fields":[{"name":"0bitmap$30"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$89", - "fields":[{"name":"0bitmap$33"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$9", - "fields":[{"name":"0bitmap$286"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$90", - "fields":[{"name":"0bitmap$32"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$91", - "fields":[{"name":"0bitmap$35"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$92", - "fields":[{"name":"0bitmap$34"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$93", - "fields":[{"name":"0bitmap$41"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$94", - "fields":[{"name":"0bitmap$40"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$95", - "fields":[{"name":"0bitmap$39"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$96", - "fields":[{"name":"0bitmap$36"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$97", - "fields":[{"name":"0bitmap$37"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$98", - "fields":[{"name":"0bitmap$38"}] -}, -{ - "name":"fpp.compiler.codegen.AstJsonEncoder$$anon$99", - "fields":[{"name":"0bitmap$44"}] -}, -{ - "name":"fpp.compiler.codegen.ComponentDataProducts", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.ComponentInternalStateMachines", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.CppDocCppWriter$", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.CppDocHppWriter$", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.EnumCppWriter", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.LocMapJsonEncoder$$anon$1", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.StructCppWriter", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.codegen.TypeCppWriter", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"fpp.compiler.syntax.Parser$", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"io.circe.Encoder$", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"java.lang.ClassValue" -}, -{ - "name":"java.lang.invoke.VarHandle", - "methods":[{"name":"releaseFence","parameterTypes":[] }] -}, -{ - "name":"scala.util.parsing.input.OffsetPosition", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"scala.util.parsing.input.OffsetPosition$", - "fields":[{"name":"0bitmap$2"}] -}, -{ - "name":"scala.xml.XML$", - "fields":[{"name":"0bitmap$2"}] -}, -{ - "name":"scala.xml.parsing.FactoryAdapter", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"scopt.OParser$", - "fields":[{"name":"0bitmap$1"}] -}, -{ - "name":"sun.misc.Unsafe", - "allDeclaredFields":true -} -] diff --git a/compiler/lib/src/main/resources/META-INF/native-image/resource-config.json b/compiler/lib/src/main/resources/META-INF/native-image/resource-config.json deleted file mode 100644 index 1ea7213de8..0000000000 --- a/compiler/lib/src/main/resources/META-INF/native-image/resource-config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "resources":{ - "includes":[]}, - "bundles":[{ - "name":"com.sun.org.apache.xerces.internal.impl.msg.XMLMessages", - "locales":["und"] - }] -} diff --git a/compiler/lib/src/main/resources/META-INF/native-image/serialization-config.json b/compiler/lib/src/main/resources/META-INF/native-image/serialization-config.json deleted file mode 100644 index f3d7e06e33..0000000000 --- a/compiler/lib/src/main/resources/META-INF/native-image/serialization-config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "types":[ - ], - "lambdaCapturingTypes":[ - ], - "proxies":[ - ] -} diff --git a/compiler/lib/src/main/scala/analysis/Analysis.scala b/compiler/lib/src/main/scala/analysis/Analysis.scala index 168f3014c3..40eaed5d39 100644 --- a/compiler/lib/src/main/scala/analysis/Analysis.scala +++ b/compiler/lib/src/main/scala/analysis/Analysis.scala @@ -19,10 +19,15 @@ case class Analysis( directDependencyFileSet: Set[File] = Set(), /** The set of dependency files that could not be opened */ missingDependencyFileSet: Set[File] = Set(), + /** The mapping from dependency files to the translation units + * parsed from them, with include specifiers resolved */ + dependencyTuMap: Map[File, Ast.TransUnit] = Map(), /** The set of files included when parsing input */ includedFileSet: Set[File] = Set(), /** A map from pairs (spec loc kind, qualified name) to spec locs. */ locationSpecifierMap: Map[(Ast.SpecLoc.Kind, Name.Qualified), AstNode[Ast.SpecLoc]] = Map(), + /** The set of AstIds of state enums added during analysis */ + stateEnumIdSet: Set[AstNode.Id] = Set(), /** A list of unqualified names representing the enclosing scope names, * with the innermost name at the head of the list. For exapmle, inside * module B where B is inside A and A is at the top level, the module name @@ -88,6 +93,14 @@ case class Analysis( tlmPacketSet: Option[TlmPacketSet] = None, /** The mapping from nodes to implied uses */ impliedUseMap: Map[AstNode.Id, ImpliedUse.Uses] = Map(), + /** Node ID of the current template definition */ + templateDefId: Option[AstNode.Id] = None, + /** The current template expansion */ + templateExpansion: Option[TemplateExpansion] = None, + /** Node ID of the current template expansion */ + templateExpansionId: Option[AstNode.Id] = None, + /** Mapping from template expansion nodes to their expansions */ + templateExpansionMap: Map[AstNode.Id, TemplateExpansion] = Map(), /** The set of symbols defined with a dictionary specifier */ dictionarySymbolSet: Set[Symbol] = Set(), /** The mapping from system symbols to systems */ @@ -289,11 +302,57 @@ case class Analysis( for (cis <- getComponentInstanceSymbol(id)) yield this.componentInstanceMap(cis) + /** Gets the use represented by a use. If the use refers to a bound template + * parameter, then the represented use is the use appearing in the template + * argument, resolved recursively. Otherwise the use represents itself. */ + def getRepresentedUse(id: AstNode.Id): AstNode.Id = + this.useDefMap.get(id) match { + case Some(arg: TemplateArgSymbol) => getRepresentedUse(arg.getNodeId) + case _ => id + } + + /** Gets the symbol represented by a use. Strips off any bound template + * parameters. Returns None if the represented use refers to no symbol, + * e.g., if the template argument is a literal value or a primitive + * type name. */ + def getRepresentedSymbolOpt(id: AstNode.Id): Option[Symbol] = + this.useDefMap.get(getRepresentedUse(id)) + + /** Gets the symbol represented by a symbol. See getRepresentedSymbolOpt. */ + def getRepresentedSymbolOpt(symbol: Symbol): Option[Symbol] = + symbol match { + case arg: TemplateArgSymbol => getRepresentedSymbolOpt(arg.getNodeId) + case _ => Some(symbol) + } + + /** Gets the topology symbol represented by a symbol, if there is one */ + def getRepresentedTopologySymbolOpt(symbol: Symbol): Option[Symbol.Topology] = + getRepresentedSymbolOpt(symbol).collect { case ts: Symbol.Topology => ts } + + /** Gets the component instance represented by a use. Strip off any template args. */ + def getRepresentedComponentInstance(id: AstNode.Id): + Result.Result[ComponentInstance] = { + val symbol = this.useDefMap(id) + getRepresentedSymbolOpt(id) match { + case Some(cis: Symbol.ComponentInstance) => + Right(this.componentInstanceMap(cis)) + case representedOpt => Left( + SemanticError.InvalidSymbol( + symbol.getUnqualifiedName, + Locations.get(id), + "not a component instance symbol", + representedOpt.getOrElse(symbol).getLoc + ) + ) + } + } + /** Gets an interface instance symbol from the use-def map */ def getInterfaceInstanceSymbol(id: AstNode.Id): Result.Result[InterfaceInstanceSymbol] = this.useDefMap(id) match { case cis: Symbol.ComponentInstance => Right(cis) case ts: Symbol.Topology => Right(ts) + case ps: Symbol.TemplateInterfaceArg => Right(ps) case s => Left( SemanticError.InvalidSymbol( s.getUnqualifiedName, @@ -306,11 +365,30 @@ case class Analysis( /** Gets an interface instance from the topology or component instance map */ def getInterfaceInstance(id: AstNode.Id): Result.Result[InterfaceInstance] = - for (iis <- getInterfaceInstanceSymbol(id)) - yield iis match { - case cis: Symbol.ComponentInstance => InterfaceInstance.fromComponentInstance(this.componentInstanceMap(cis)) - case top: Symbol.Topology => InterfaceInstance.fromTopology(this.topologyMap(top)) + for { + iis <- getInterfaceInstanceSymbol(id) + ii <- { + iis match { + case cis: Symbol.ComponentInstance => Right(InterfaceInstance.fromComponentInstance(this.componentInstanceMap(cis))) + case top: Symbol.Topology => this.topologyMap.get(top) match { + case Some(t) => Right(InterfaceInstance.fromTopology(t)) + case None => Left( + SemanticError.InvalidSymbol( + top.getUnqualifiedName, + Locations.get(id), + "this topology could not be resolved before it was used here", + top.getLoc + ) + ) + } + case ts: Symbol.TemplateInterfaceArg => + for { + ii <- getInterfaceInstance(ts.value.id) + iface <- this.getInterface(ts.paramDef.interface.id) + } yield InterfaceInstance.fromTemplateArg(ts.paramDef, iface, ii) + } } + } yield ii /** Gets an interface symbol from use-def map */ def getInterfaceSymbol(id: AstNode.Id): Result.Result[Symbol.Interface] = @@ -331,6 +409,20 @@ case class Analysis( for (cis <- getInterfaceSymbol(id)) yield this.interfaceMap(cis) + /** Gets a template symbol from use-def map */ + def getTemplateSymbol(id: AstNode.Id): Result.Result[Symbol.Template] = + this.useDefMap(id) match { + case ts: Symbol.Template => Right(ts) + case s => Left( + SemanticError.InvalidSymbol( + s.getUnqualifiedName, + Locations.get(id), + "not a template symbol", + s.getLoc + ) + ) + } + /** Gets a topology symbol from use-def map */ def getTopologySymbol(id: AstNode.Id): Result.Result[Symbol.Topology] = this.useDefMap(id) match { @@ -360,7 +452,7 @@ case class Analysis( val Value.Integer(v) = Analysis.convertValueToType( valueMap(id), Type.Integer - ): @unchecked + ).runtimeChecked v } diff --git a/compiler/lib/src/main/scala/analysis/Analyzers/BasicUseAnalyzer.scala b/compiler/lib/src/main/scala/analysis/Analyzers/BasicUseAnalyzer.scala index 52ddae861f..4c90775961 100644 --- a/compiler/lib/src/main/scala/analysis/Analyzers/BasicUseAnalyzer.scala +++ b/compiler/lib/src/main/scala/analysis/Analyzers/BasicUseAnalyzer.scala @@ -27,9 +27,27 @@ trait BasicUseAnalyzer extends TypeExpressionAnalyzer { /** A use of a type definition */ def typeUse(a: Analysis, node: AstNode[Ast.TypeName], use: Name.Qualified): Result = default(a) - /** A use of a state machine definition*/ + /** A use of a state machine definition */ def stateMachineUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified): Result = default(a) + /** A use of a template definition */ + def templateUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified): Result = default(a) + + /** A use of a template constant parameter */ + override def templateConstantArg(a: Analysis, arg: Symbol.TemplateConstantArg) = { + exprNode(a, arg.value) + } + + /** A use of a template type parameter */ + override def templateTypeArg(a: Analysis, arg: Symbol.TemplateTypeArg) = { + typeNameNode(a, arg.value) + } + + /** A use of a template interface parameter */ + override def templateInterfaceArg(a: Analysis, arg: Symbol.TemplateInterfaceArg) = { + qualIdentNode (interfaceInstanceUse) (a, arg.value) + } + /** An implied constant use */ def impliedConstantUse(a: Analysis, iu: ImpliedUse) = { val result = for { @@ -96,27 +114,15 @@ trait BasicUseAnalyzer extends TypeExpressionAnalyzer { } yield a } - override def exprDotNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprDot) = { - def nameOpt(e: Ast.Expr, qualifier: List[Name.Unqualified]): Option[Name.Qualified] = { - e match { - case Ast.ExprIdent(id) => { - val list = id :: qualifier - val use = Name.Qualified.fromIdentList(list) - Some(use) - } - case Ast.ExprDot(e1, id) => nameOpt(e1.data, id.data :: qualifier) - case _ => None - } - } - - nameOpt(e, Nil) match { + override def exprDotNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprDot) = + node.data.getIdentListOpt match { + // e is a qualified identifier // Assume the entire qualified identifier is a use - case Some(use) => constantUse(a, node, use) - // This is some other type of dot expression (not a qual ident) + case Some(il) => constantUse(a, node, Name.Qualified.fromIdentList(il)) + // e is not a qualified identifier // Analyze the left side, which may contain constant uses case None => exprNode(a, e.e) } - } override def exprIdentNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprIdent) = { val use = Name.Qualified(Nil, e.value) @@ -206,33 +212,70 @@ trait BasicUseAnalyzer extends TypeExpressionAnalyzer { portInstanceIdentifierNode(a, data.underlyingPort) } + private def portInstanceIdentifierNode(a: Analysis, node: AstNode[Ast.PortInstanceIdentifier]): Result = + qualIdentNode (interfaceInstanceUse) (a, node.data.interfaceInstance) + override def typeNameQualIdentNode(a: Analysis, node: AstNode[Ast.TypeName], tn: Ast.TypeNameQualIdent) = { val use = Name.Qualified.fromQualIdent(tn.name.data) typeUse(a, node, use) } - override def typeNameStringNode( + override def specTemplateExpandAnnotatedNode( a: Analysis, - node: AstNode[Ast.TypeName], - tn: Ast.TypeNameString + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] ) = { - val id = node.id + val (_, node, _) = aNode + val data = node.data for { - a <- visitImpliedUses(a, id) - a <- super.typeNameStringNode(a, node, tn) + a <- templateUse( + a, + data.template, + Name.Qualified.fromQualIdent(data.template.data) + ) + + a <- super.specTemplateExpandAnnotatedNode(a, aNode) } yield a } - private def portInstanceIdentifierNode(a: Analysis, node: AstNode[Ast.PortInstanceIdentifier]): Result = - qualIdentNode (interfaceInstanceUse) (a, node.data.interfaceInstance) + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + def templateParam( + a: Analysis, + pNode: Ast.Annotated[AstNode[Ast.TemplateParam]] + ) = { + val (_, node, _) = pNode + node.data match { + case Ast.TemplateParam.Constant(_, tn) => typeNameNode(a, tn) + case Ast.TemplateParam.Interface(_, interface) => + qualIdentNode(interfaceUse)(a, interface) + case _: Ast.TemplateParam.Type => Right(a) + } + } + + Result.foldLeft (aNode._2.data.params) (a) (templateParam) + } - private def qualIdentNode + protected def qualIdentNode (f: (Analysis, AstNode[Ast.QualIdent], Name.Qualified) => Result) (a: Analysis, qualIdent: AstNode[Ast.QualIdent]): Result = { val use = Name.Qualified.fromQualIdent(qualIdent.data) f(a, qualIdent, use) } + override def typeNameStringNode( + a: Analysis, + node: AstNode[Ast.TypeName], + tn: Ast.TypeNameString + ) = { + val id = node.id + for { + a <- visitImpliedUses(a, id) + a <- super.typeNameStringNode(a, node, tn) + } yield a + } + private def tlmChannelIdentifierNode ( a: Analysis, node: AstNode[Ast.TlmChannelIdentifier] diff --git a/compiler/lib/src/main/scala/analysis/Analyzers/ModuleAnalyzer.scala b/compiler/lib/src/main/scala/analysis/Analyzers/ModuleAnalyzer.scala index 8cf78d705b..77d40738e8 100644 --- a/compiler/lib/src/main/scala/analysis/Analyzers/ModuleAnalyzer.scala +++ b/compiler/lib/src/main/scala/analysis/Analyzers/ModuleAnalyzer.scala @@ -8,13 +8,34 @@ trait ModuleAnalyzer extends Analyzer { override def defModuleAnnotatedNode( a: Analysis, - node: Ast.Annotated[AstNode[Ast.DefModule]] + aNode: Ast.Annotated[AstNode[Ast.DefModule]] ) = { - val (_, node1, _) = node - val Ast.DefModule(name, members) = node1.data + val (_, node, _) = aNode + val Ast.DefModule(name, members) = node.data val a1 = a.copy(scopeNameList = name :: a.scopeNameList) for { a2 <- visitList(a1, members, matchModuleMember) } yield a2.copy(scopeNameList = a.scopeNameList) } + override def specTemplateExpandAnnotatedNodeExpanded( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ) = { + val (_, node, _) = aNode + a.templateExpansionMap.get(node.id) match { + case Some(expansion) => + // This node has been expanded by analysis. + // Mark the analysis with the proper expansion. + val a1 = a.copy(templateExpansion = Some(expansion)) + for { a2 <- visitList(a1, members, matchModuleMember) } + yield a2.copy(templateExpansion = a.templateExpansion) + case None => + // This node has not yet been expanded by analysis. + // The expansion is provided in the source model, in the form + // expand T { ... }. + Right(a) + } + } + } diff --git a/compiler/lib/src/main/scala/analysis/Analyzers/ModuleTemplateDefAnalyzer.scala b/compiler/lib/src/main/scala/analysis/Analyzers/ModuleTemplateDefAnalyzer.scala new file mode 100644 index 0000000000..4a5f38ea26 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/Analyzers/ModuleTemplateDefAnalyzer.scala @@ -0,0 +1,36 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Analyze template expansions members */ +trait ModuleTemplateDefAnalyzer extends Analyzer { + + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = + for { + a <- super.defModuleTemplateAnnotatedNode(a, aNode) + a <- ModuleTemplateDefAnalyzer.visit(this, a, aNode) + } yield a + +} + +object ModuleTemplateDefAnalyzer { + + def visit( + analyzer: ModuleTemplateDefAnalyzer, + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (_, node, _) = aNode + val data = node.data + for { + a <- Right(a.copy(templateDefId = Some(node.id))) + a <- analyzer.visitList(a, data.members, analyzer.matchModuleMember) + a <- Right(a.copy(templateDefId = None)) + } yield a + } + +} diff --git a/compiler/lib/src/main/scala/analysis/Analyzers/TemplateExpandAnalyzer.scala b/compiler/lib/src/main/scala/analysis/Analyzers/TemplateExpandAnalyzer.scala new file mode 100644 index 0000000000..c822d75484 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/Analyzers/TemplateExpandAnalyzer.scala @@ -0,0 +1,48 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Analyze template expansions members */ +trait TemplateExpandAnalyzer extends Analyzer { + + /** A use of a template constant argument */ + def templateConstantArg(a: Analysis, arg: Symbol.TemplateConstantArg) = default(a) + + /** A use of a template type parameter */ + def templateTypeArg(a: Analysis, arg: Symbol.TemplateTypeArg) = default(a) + + /** A use of a template interface parameter */ + def templateInterfaceArg(a: Analysis, arg: Symbol.TemplateInterfaceArg) = default(a) + + /** A template argument of an expansion that has not been resolved. */ + def templateArgNode(a: Analysis, node: AstNode[Ast.TemplateArg]) = default(a) + + def templateParam(a: Analysis, arg: TemplateArgSymbol) = { + arg match { + case param: Symbol.TemplateConstantArg => templateConstantArg(a, param) + case param: Symbol.TemplateTypeArg => templateTypeArg(a, param) + case param: Symbol.TemplateInterfaceArg => templateInterfaceArg(a, param) + } + } + + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val (_, node, _) = aNode + val data = node.data + for { + + // Analyze the parameters on this template expansion. + a <- a.templateExpansionMap.get(node.id) match { + case Some(expansion) => + Result.foldLeft (expansion.params.values.toList) (a) (templateParam) + case None => visitList(a, data.args, templateArgNode) + } + + a <- super.specTemplateExpandAnnotatedNode(a, aNode) + } yield a + } + +} diff --git a/compiler/lib/src/main/scala/analysis/Analyzers/TypeExpressionAnalyzer.scala b/compiler/lib/src/main/scala/analysis/Analyzers/TypeExpressionAnalyzer.scala index 49453d8d0f..40766c794c 100644 --- a/compiler/lib/src/main/scala/analysis/Analyzers/TypeExpressionAnalyzer.scala +++ b/compiler/lib/src/main/scala/analysis/Analyzers/TypeExpressionAnalyzer.scala @@ -12,6 +12,7 @@ trait TypeExpressionAnalyzer with StateMachineAnalyzer with TlmPacketSetAnalyzer with TopologyAnalyzer + with TemplateExpandAnalyzer { def defEnumConstantAnnotatedNode(a: Analysis, node: Ast.Annotated[AstNode[Ast.DefEnumConstant]]): Result = { @@ -296,4 +297,35 @@ trait TypeExpressionAnalyzer } yield a } + override def defModuleTemplateAnnotatedNode(a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]]) = { + val (_, node, _) = aNode + val data = node.data + Result.foldLeft(data.params) (a) ((a, param) => { + param._2.data match { + case Ast.TemplateParam.Constant(name, typeName) => + typeNameNode(a, typeName) + case _ => Right(a) + } + }) + } + + override def templateConstantArg(a: Analysis, arg: Symbol.TemplateConstantArg) = { + for { + a <- exprNode(a, arg.value) + } yield a + } + + override def templateTypeArg(a: Analysis, arg: Symbol.TemplateTypeArg) = { + for { + a <- typeNameNode(a, arg.value) + } yield a + } + + override def templateArgNode(a: Analysis, node: AstNode[Ast.TemplateArg]) = + node.data match { + case Ast.TemplateArg.Constant(e) => exprNode(a, e) + case Ast.TemplateArg.Type(typeName) => typeNameNode(a, typeName) + case _ : Ast.TemplateArg.Interface => Right(a) + } + } diff --git a/compiler/lib/src/main/scala/analysis/Analyzers/UseAnalyzer.scala b/compiler/lib/src/main/scala/analysis/Analyzers/UseAnalyzer.scala index afa08dbb03..ecd45471d3 100644 --- a/compiler/lib/src/main/scala/analysis/Analyzers/UseAnalyzer.scala +++ b/compiler/lib/src/main/scala/analysis/Analyzers/UseAnalyzer.scala @@ -11,24 +11,11 @@ import scala.annotation.tailrec */ trait UseAnalyzer extends BasicUseAnalyzer { - /** Gets a qualified name from a dot expression */ - @tailrec - private def getQualifiedName( - e: Ast.Expr, - qualifier: List[Name.Unqualified] = Nil - ): Name.Qualified = e match { - case Ast.ExprIdent(id) => - Name.Qualified.fromIdentList(id :: qualifier) - case Ast.ExprDot(e1, id) => - getQualifiedName(e1.data, id.data :: qualifier) - case _ => throw InternalError("expected a qualified name") - } - override def exprDotNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprDot) = a.useDefMap.get(node.id) match { - case Some(Symbol.Constant(_) | Symbol.EnumConstant(_)) => + case Some(Symbol.Constant(_) | Symbol.EnumConstant(_) | Symbol.TemplateConstantArg(_, _)) => // e is a use, so it must be a constant use - val use = getQualifiedName(e) + val use = Name.Qualified.fromIdentList(e.getIdentListOpt.get) constantUse(a, node, use) case Some(_) => // This is some other type of symbol, which it shouldn't be diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckExprTypes.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckExprTypes.scala index 5c1dba4f1a..fcf0a65177 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckExprTypes.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckExprTypes.scala @@ -11,12 +11,16 @@ object CheckExprTypes extends UseAnalyzer { val symbol = a.useDefMap(node.id) for { a <- symbol match { - // Unqualified constant symbol: visit the constant definition + // Constant symbol: visit the constant definition // to ensure it has a type case Symbol.Constant(node) => defConstantAnnotatedNode(a, node) - // Unqualified enum symbol: if this is in scope, then we are in + // Enum symbol: if this is in scope, then we are in // the enum definition, so it already has a type case Symbol.EnumConstant(node) => Right(a) + // Template constant argument symbol + case arg @ Symbol.TemplateConstantArg(_, value) => + if (a.typeMap.contains(value.id)) Right(a) + else templateConstantArg(a, arg) // Invalid use of a symbol in an expression case _ => Left(SemanticError.InvalidSymbol( @@ -279,6 +283,23 @@ object CheckExprTypes extends UseAnalyzer { } yield a.assignType(node -> t) } + override def templateConstantArg( + a: Analysis, + arg: Symbol.TemplateConstantArg + ) = { + val Symbol.TemplateConstantArg(paramDef, value) = arg + for { + // Visit the literal value + a <- super.templateConstantArg(a, arg) + + // Make sure the value can be converted into the type in the template + ty <- Analysis.convertTypes( + Locations.get(value.id), + a.typeMap(value.id) -> a.typeMap(paramDef.typeName.id) + ) + } yield a.assignType(value -> ty) + } + override def specCommandAnnotatedNode(a: Analysis, aNode: Ast.Annotated[AstNode[Ast.SpecCommand]]) = { val (_, node, _) = aNode val data = node.data diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSemantics.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSemantics.scala index c542847ed7..1678536e90 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSemantics.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSemantics.scala @@ -7,9 +7,10 @@ import fpp.compiler.transform._ /** Check semantics for a list of translation units */ object CheckSemantics { - def tuList(a: Analysis, tul: List[Ast.TransUnit]): Result.Result[Analysis] = { + def tuList(a: Analysis, tul: List[Ast.TransUnit]): + Result.Result[(Analysis,List[Ast.TransUnit])] = for { - a <- EnterSymbols.visitList(a, tul, EnterSymbols.transUnit) + (a, tul) <- ExpandSyntaxAndEnterSymbols.tuList(a, tul) a <- ConstructImpliedUseMap.visitList(a, tul, ConstructImpliedUseMap.transUnit) a <- CheckUses.visitList(a, tul, CheckUses.transUnit) _ <- CheckUseDefCycles.visitList(a, tul, CheckUseDefCycles.transUnit) @@ -19,6 +20,7 @@ object CheckSemantics { a <- EvalImpliedEnumConsts.visitList(a, tul, EvalImpliedEnumConsts.transUnit) a <- EvalConstantExprs.visitList(a, tul, EvalConstantExprs.transUnit) a <- FinalizeTypeDefs.visitList(a, tul, FinalizeTypeDefs.transUnit) + a <- FinalizeConstantExprs.visitList(a, tul, FinalizeConstantExprs.transUnit) _ <- CheckFrameworkConstantValues.check(a) a <- CheckPortDefs.visitList(a, tul, CheckPortDefs.transUnit) a <- CheckInterfaceDefs.visitList(a, tul, CheckInterfaceDefs.transUnit) @@ -28,13 +30,12 @@ object CheckSemantics { a <- CheckStateMachineDefs.visitList(a, tul, CheckStateMachineDefs.transUnit) a <- CheckTopologyInstances.visitList(a, tul, CheckTopologyInstances.transUnit) a <- CheckTopologyDefs.visitList(a, tul, CheckTopologyDefs.transUnit) + _ <- CheckTemplateInterfaceArgs.check(a) a <- BuildSpecLocMap.visitList(a, tul, BuildSpecLocMap.transUnit) a <- CheckSpecLocs.visitList(a, tul, CheckSpecLocs.transUnit) a <- CheckDictionaryDefs.visitList(a, tul, CheckDictionaryDefs.transUnit) a <- ConstructDictionaryMap.visitList(a, tul, ConstructDictionaryMap.transUnit) a <- CheckSystemDefs.visitList(a, tul, CheckSystemDefs.transUnit) - } - yield a - } + } yield (a, tul) } diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSpecLocs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSpecLocs.scala index 6c36a0e3e8..2135816698 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSpecLocs.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckSpecLocs.scala @@ -49,6 +49,11 @@ object CheckSpecLocs aNode: Ast.Annotated[AstNode[Ast.DefInterface]] ) = checkSpecLoc(a, Ast.SpecLoc.Interface, Symbol.Interface(aNode)) + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = checkSpecLoc(a, Ast.SpecLoc.Template, Symbol.Template(aNode)) + override def defPortAnnotatedNode( a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefPort]] diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateDefs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateDefs.scala new file mode 100644 index 0000000000..f8f8ebf68c --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateDefs.scala @@ -0,0 +1,84 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Check module template definitions */ +object CheckTemplateDefs + extends Analyzer + with ModuleAnalyzer +{ + + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (_, node, _) = aNode + val data = node.data + for { + _ <- a.templateDefId match { + case Some(defId) => Left( + SemanticError.TemplateDefError( + Locations.get(node.id), + "module template definitions cannot be nested", + Locations.get(defId) + ) + ) + case None => Right(()) + } + a <- Right(a.copy(templateDefId = Some(node.id))) + a <- visitList(a, data.members, matchModuleMember) + a <- Right(a.copy(templateDefId = None)) + } yield a + } + + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val (_, node, _) = aNode + a.templateDefId match { + case Some(defId) => Left( + SemanticError.TemplateDefError( + Locations.get(node.id), + "template expansion specifiers cannot appear inside a module template", + Locations.get(defId) + ) + ) + case None => Right(a) + } + } + + override def defSystemAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefSystem]] + ) = { + val node = aNode._2 + a.templateDefId match { + case Some(defId) => + Left(SemanticError.TemplateDefError( + Locations.get(node.id), + "system definitions cannot appear inside a module template", + Locations.get(defId) + )) + case None => Right(a) + } + } + + override def defTopologyAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefTopology]] + ) = { + val node = aNode._2 + (a.templateDefId, node.data.isDeployment) match { + case (Some(defId), true) => + Left(SemanticError.TemplateDefError( + Locations.get(node.id), + "deployment topology cannot appear inside a module template", + Locations.get(defId) + )) + case _ => Right(a) + } + } + +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateExpansions.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateExpansions.scala new file mode 100644 index 0000000000..8c1df45f35 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateExpansions.scala @@ -0,0 +1,86 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Check template expansions */ +object CheckTemplateExpansions + extends Analyzer + with ModuleAnalyzer +{ + + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = + a.templateExpansionId match { + case Some(expandId) => Left( + SemanticError.TemplateExpandError( + Locations.get(aNode._2.id), + "module template definitions cannot appear inside a template expansion", + Locations.get(expandId) + ) + ) + case None => Right(a) + } + + override def specTemplateExpandAnnotatedNodeExpanded( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ) = + for { + a <- specTemplateExpandAnnotatedNodeUnexpanded(a, aNode) + a <- Right(a.copy(templateExpansionId = Some(aNode._2.id))) + a <- visitList(a, members, matchModuleMember) + a <- Right(a.copy(templateExpansionId = None)) + } yield a + + override def specTemplateExpandAnnotatedNodeUnexpanded( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + ) = + a.templateExpansionId match { + case Some(defId) => Left( + SemanticError.TemplateExpandError( + Locations.get(aNode._2.id), + "template expansions cannot be nested", + Locations.get(defId) + ) + ) + case None => Right(a) + } + + override def defSystemAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefSystem]] + ) = { + val node = aNode._2 + a.templateExpansionId match { + case Some(expId) => + Left(SemanticError.TemplateExpandError( + Locations.get(node.id), + "system definitions cannot appear inside a module template expansion", + Locations.get(expId) + )) + case None => Right(a) + } + } + + override def defTopologyAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefTopology]] + ) = { + val node = aNode._2 + (a.templateExpansionId, node.data.isDeployment) match { + case (Some(expId), true) => + Left(SemanticError.TemplateExpandError( + Locations.get(node.id), + "deployment topology cannot appear inside a module template expansion", + Locations.get(expId) + )) + case _ => Right(a) + } + } + +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateInterfaceArgs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateInterfaceArgs.scala new file mode 100644 index 0000000000..8b14a285e4 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateInterfaceArgs.scala @@ -0,0 +1,36 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +object CheckTemplateInterfaceArgs +{ + + /** Check all interface parameters template expansions implement the proper interfaces */ + def check(a: Analysis): Result.Result[Unit] = + Result.foldLeft(a.templateExpansionMap.toList) (()) ((_, expansion) => { + val (_, t) = expansion + val args = t.params.values.collect { + case arg @ Symbol.TemplateInterfaceArg(_, _) => arg + } + Result.foldLeft(args.toList) (()) ((_, arg) => { + for { + // Resolve the concrete instance supplied as the argument + instance <- a.getInterfaceInstance(arg.value.id) + // Resolve the interface declared for this parameter + iface <- a.getInterface(arg.paramDef.interface.id) + // Make sure the concrete instance provides everything the declared + // interface requires (the declared interface must be a sub-interface + // of the concrete instance's port interface) + _ <- instance.getInterface.implements(iface.portInterface) match { + case Right(_) => Right(()) + case Left(err) => Left(SemanticError.InterfaceImplements( + Locations.get(arg.value.id), + err + )) + } + } yield (()) + }) + }) + +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateUses.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateUses.scala new file mode 100644 index 0000000000..3acd0a87d1 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTemplateUses.scala @@ -0,0 +1,50 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +object CheckTemplateUses + extends Analyzer + with ModuleAnalyzer +{ + val helpers = CheckUsesHelpers( + (a: Analysis) => a.nestedScope, + (a: Analysis, ns: NestedScope) => a.copy(nestedScope = ns), + (a: Analysis) => a.symbolScopeMap, + (a: Analysis) => a.useDefMap, + (a: Analysis, udm: Map[AstNode.Id, Symbol]) => a.copy(useDefMap = udm) + ) + + override def defModuleAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModule]] + ) = { + val node = aNode._2 + val Ast.DefModule(name, members) = node.data + for { + symbol <- { + val mapping = a.nestedScope.getRelative (NameGroup.Value) + helpers.getSymbolForName(NameGroup.Value, mapping)(node.id, name) + } + a <- { + val scope = a.symbolScopeMap(symbol) + val newNestedScope = a.nestedScope.push(scope) + val a1 = a.copy(nestedScope = newNestedScope) + visitList(a1, members, matchModuleMember) + } + } + yield a.copy(nestedScope = a.nestedScope.pop) + } + + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val (_, node, _) = aNode + val data = node.data + for { + a <- super.specTemplateExpandAnnotatedNode(a, aNode) + a <- helpers.visitQualIdentNode (NameGroup.Template) (a, data.template) + } yield a + } +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyDefs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyDefs.scala index e5738f56ab..d9a49d14bd 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyDefs.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyDefs.scala @@ -19,13 +19,13 @@ object CheckTopologyDefs case None => // Topology is not in the map: visit it for { - // Resolve connections on topologies directly imported into this topology + // Resolve connections on topologies imported into this topology a <- { - // Resolve topologies directly imported by top, updating a + // Resolve topologies imported by top, updating a. val top = a.partialTopologyMap(symbol) - val tops = top.directTopologies.toList - Result.foldLeft (tops) (a) ((a, tl) => { - defTopologyAnnotatedNode(a, tl._1.node) + val tops = top.getImportedTopologySymbols(a) + Result.foldLeft (tops) (a) ((a, ts) => { + defTopologyAnnotatedNode(a, ts.node) }) } diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyInstances.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyInstances.scala index 72c8898a6e..68e1023df1 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyInstances.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTopologyInstances.scala @@ -56,7 +56,7 @@ object CheckTopologyInstances val instanceNode = node.data.instance for { symbol <- a.getInterfaceInstanceSymbol(instanceNode.id) - topology <- a.topology.get.addInstanceSymbol(symbol, Locations.get(node.id)) + topology <- a.topology.get.addInstanceSymbol(a, symbol, Locations.get(node.id)) } yield a.copy(topology = Some(topology)) } diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTypeUses.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTypeUses.scala index 28dd5ce110..ff5b731ddb 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTypeUses.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckTypeUses.scala @@ -154,6 +154,9 @@ object CheckTypeUses extends UseAnalyzer { case Symbol.Array(node) => defArrayAnnotatedNode(a, node) case Symbol.Enum(node) => defEnumAnnotatedNode(a, node) case Symbol.Struct(node) => defStructAnnotatedNode(a, node) + case arg: Symbol.TemplateTypeArg => + if (a.typeMap.contains(arg.value.id)) Right(a) + else templateTypeArg(a, arg) case _ => Right(a) } t <- a.typeMap.get(symbol.getNodeId) match { diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUseDefCycles.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUseDefCycles.scala index 9e0c2fc7d9..3f45f2510a 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUseDefCycles.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUseDefCycles.scala @@ -49,6 +49,18 @@ object CheckUseDefCycles extends UseAnalyzer { visitDefPost(a, symbol, node, super.defInterfaceAnnotatedNode) } + override def templateConstantArg(a: Analysis, arg: Symbol.TemplateConstantArg) = { + visitDefPost(a, arg, arg, super.templateConstantArg) + } + + override def templateTypeArg(a: Analysis, arg: Symbol.TemplateTypeArg) = { + visitDefPost(a, arg, arg, super.templateTypeArg) + } + + override def templateInterfaceArg(a: Analysis, arg: Symbol.TemplateInterfaceArg) = { + visitDefPost(a, arg, arg, super.templateInterfaceArg) + } + override def interfaceUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = visitUse(a, node, use) @@ -77,6 +89,9 @@ object CheckUseDefCycles extends UseAnalyzer { case Symbol.Interface(node) => defInterfaceAnnotatedNode(a, node) case Symbol.Struct(node) => defStructAnnotatedNode(a, node) case Symbol.Topology(node) => defTopologyAnnotatedNode(a, node) + case arg: Symbol.TemplateConstantArg => templateConstantArg(a, arg) + case arg: Symbol.TemplateTypeArg => templateTypeArg(a, arg) + case arg: Symbol.TemplateInterfaceArg => templateInterfaceArg(a, arg) case _ => Right(a) } } diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUses.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUses.scala index 303a80a39f..1008b469d1 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUses.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUses.scala @@ -2,8 +2,6 @@ package fpp.compiler.analysis import fpp.compiler.ast._ import fpp.compiler.util._ -import fpp.compiler.ast.Ast.Expr -import fpp.compiler.ast.Ast.ExprIdent /** Match uses to their definitions */ object CheckUses extends BasicUseAnalyzer { @@ -11,11 +9,26 @@ object CheckUses extends BasicUseAnalyzer { val helpers = CheckUsesHelpers( (a: Analysis) => a.nestedScope, (a: Analysis, ns: NestedScope) => a.copy(nestedScope = ns), - (a: Analysis) => a.symbolScopeMap, + (a: Analysis) => getSymbolScopeMap(a), (a: Analysis) => a.useDefMap, (a: Analysis, udm: Map[AstNode.Id, Symbol]) => a.copy(useDefMap = udm) ) + /** Gets the map from symbols to scopes to use for resolving names. + * Includes symbols defined by a template expansion. */ + private def getSymbolScopeMap(a: Analysis): Map[Symbol, Scope] = + a.templateExpansion match { + case Some(expansion) => a.symbolScopeMap ++ expansion.localScopeMap + case None => a.symbolScopeMap + } + + /** Gets the scope of a symbol for resolving names. See getSymbolScopeMap. */ + private def getScope(a: Analysis, symbol: Symbol): Scope = + a.templateExpansion.flatMap(_.localScopeMap.get(symbol)) match { + case Some(scope) => scope + case None => a.symbolScopeMap(symbol) + } + override def componentUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = helpers.visitQualIdentNode (NameGroup.Component) (a, node) @@ -24,8 +37,13 @@ object CheckUses extends BasicUseAnalyzer { override def constantUse(a: Analysis, node: AstNode[Ast.Expr], use: Name.Qualified) = { def visitExprNode(a: Analysis, node: AstNode[Ast.Expr]): Result = { - def visitExprIdent(a: Analysis, node: AstNode[Ast.Expr], name: Name.Unqualified) = { - val mapping = a.nestedScope.get (NameGroup.Value) _ + def visitExprIdent( + a: Analysis, + node: AstNode[Ast.Expr], + name: Name.Unqualified, + isAbsolute: Boolean + ) = { + val mapping = a.nestedScope.get (isAbsolute) (NameGroup.Value) for (symbol <- helpers.getSymbolForName(NameGroup.Value, mapping)(node.id, name)) yield { val useDefMap = a.useDefMap + (node.id -> symbol) a.copy(useDefMap = useDefMap) @@ -42,12 +60,13 @@ object CheckUses extends BasicUseAnalyzer { // Left side is a constant, we are selecting a member of this constant // we are not creating another use. case Some(Symbol.Constant(_)) => Right(None) + case Some(Symbol.TemplateConstantArg(_, _)) => Right(None) // The left side is some symbol other than a constant (a qualifier), // look up this symbol and add it to the use-def entries case Some(qual) => - val scope = a.symbolScopeMap(qual) - val mapping = scope.get (NameGroup.Value) _ + val scope = getScope(a, qual) + val mapping = scope.get (NameGroup.Value) helpers.getSymbolForName(NameGroup.Value, mapping)(id.id, id.data) match { case Right(value) => Right(Some(value)) case Left(err) => Left(err) @@ -70,7 +89,8 @@ object CheckUses extends BasicUseAnalyzer { } val data = node.data data match { - case Ast.ExprIdent(name) => visitExprIdent(a, node, name) + case Ast.ExprIdent(name, isAbsolute) => + visitExprIdent(a, node, name, isAbsolute) case Ast.ExprDot(e, id) => visitExprDot(a, node, e, id) case _ => throw InternalError("constant use should be qualified identifier") } @@ -78,31 +98,40 @@ object CheckUses extends BasicUseAnalyzer { visitExprNode(a, node) } - // Check that an implied use (a) is not a member - // of a def and (b) does not shadow the required def + // Check that we found the required implied use, and not some other symbol override def impliedUse(a: Analysis, iu: ImpliedUse, kind: ImpliedUse.Kind) = { val sym = a.useDefMap(iu.id) - val symQualifiedName = a.getQualifiedName(sym).toString val iuName = iu.name.toString - // Check that the name of the def matches the name of the use - if symQualifiedName == iuName - // OK, they match - then Right(a) - else { - val msg = if symQualifiedName.length < iuName.length - // Definition has a shorter name: the use is a member of the definition - then s"it has $iuName as a member" - // Definition has a longer name: it shadows the required definition - else s"it shadows $iuName here" - Left( - SemanticError.InvalidSymbol( - symQualifiedName, - Locations.get(iu.id), - msg, - sym.getLoc - ) - ) - } + sym match { + case _: TemplateArgSymbol => + // Definition is a template argument + // This should not happen, because implied uses are absolute + // qualified identifiers + throw InternalError("definition should not be a template arg") + case _ => + val symQualifiedName = a.getQualifiedName(sym).toString + // Check that the name of the def matches the name of the use + if symQualifiedName == iuName + // OK, they match + then Right(a) + else { + val msg = if symQualifiedName.length < iuName.length + // Definition has a shorter name: the use is a member of the definition + then s"it has $iuName as a member" + // Definition has a longer name: it shadows the required definition + // This should not happen, because implied uses are absolute + // qualified identifiers + else throw InternalError("definition should not have a longer name") + Left( + SemanticError.InvalidSymbol( + symQualifiedName, + Locations.get(iu.id), + msg, + sym.getLoc + ) + ) + } + } } override def defComponentAnnotatedNode(a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefComponent]]) = { @@ -143,11 +172,11 @@ object CheckUses extends BasicUseAnalyzer { val Ast.DefModule(name, members) = node.data for { symbol <- { - val mapping = a.nestedScope.get (NameGroup.Value) _ + val mapping = a.nestedScope.getRelative (NameGroup.Value) helpers.getSymbolForName(NameGroup.Value, mapping)(node.id, name) } a <- { - val scope = a.symbolScopeMap(symbol) + val scope = getScope(a, symbol) val newNestedScope = a.nestedScope.push(scope) val a1 = a.copy(nestedScope = newNestedScope) visitList(a1, members, matchModuleMember) @@ -156,6 +185,62 @@ object CheckUses extends BasicUseAnalyzer { yield a.copy(nestedScope = a.nestedScope.pop) } + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val node = aNode._2 + val expansion = a.templateExpansionMap(node.id) + val Right(tmpl) = a.getTemplateSymbol(node.data.template.id).runtimeChecked + val scope = expansion.scope + + // We do use-analysis on the scope of the definition + param scope + // This is a bit unorthodox but we need to build a new nested scope from scratch + def getNestedScope(symbol: Symbol): NestedScope = { + val parentScope = a.parentSymbolMap.get(symbol) match { + case None => a.nestedScope.globalScope + case Some(parent) => getNestedScope(parent) + } + + a.symbolScopeMap.get(symbol) match { + case None => parentScope + case Some(symbolScope) => parentScope.push(symbolScope) + } + } + + val oldNestedScope = a.nestedScope + val oldTemplateExpansion = a.templateExpansion + val newNestedScope = getNestedScope(tmpl) + .push(expansion.paramScope) + .push(expansion.scope) + + val Some(members) = node.data.members.runtimeChecked + + for { + // Analyze the inside of the template expansion + a <- { + val a1 = a.copy( + nestedScope = newNestedScope, + templateExpansion = Some(expansion) + ) + visitList(a1, members, matchModuleMember) + } + + // Reset the use analysis scope back to the outer scope + a <- Right(a.copy( + nestedScope = oldNestedScope, + templateExpansion = oldTemplateExpansion + )) + + // Analyze the parameter list + a <- { + val expansion = a.templateExpansionMap(node.id) + Result.foldLeft (expansion.params.values.toList) (a) (templateParam) + } + } + yield a + } + override def defStateMachineAnnotatedNode(a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefStateMachine]]) = { val (_, node, _) = aNode val data = node.data @@ -179,6 +264,9 @@ object CheckUses extends BasicUseAnalyzer { override def interfaceUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = helpers.visitQualIdentNode (NameGroup.PortInterface) (a, node) + override def templateUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = + helpers.visitQualIdentNode (NameGroup.Template) (a, node) + override def typeUse(a: Analysis, node: AstNode[Ast.TypeName], use: Name.Qualified) = { val data = node.data data match { diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUsesHelpers.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUsesHelpers.scala index 6d183cc76b..cb2a907108 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUsesHelpers.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/CheckUsesHelpers.scala @@ -25,8 +25,9 @@ case class CheckUsesHelpers[A,NG,S <: SymbolInterface]( /** Visit an identifier node and check a use */ def visitIdentNode (ng: NG) ( a: A, - node: AstNode[Ast.Ident] - ) = visitUnqualifiedName (ng) (a, node.id, node.data) + node: AstNode[Ast.Ident], + isAbsolute: Boolean = false + ) = visitUnqualifiedName (ng) (a, node.id, node.data, isAbsolute) /** Visit a qualified identifier node and check a use */ def visitQualIdentNode (ng: NG) ( @@ -34,8 +35,8 @@ case class CheckUsesHelpers[A,NG,S <: SymbolInterface]( node: AstNode[Ast.QualIdent] ): Result.Result[A] = node.data match { - case Ast.QualIdent.Unqualified(name) => - visitUnqualifiedName (ng) (a, node.id, name) + case Ast.QualIdent.Unqualified(name, isAbsolute) => + visitUnqualifiedName (ng) (a, node.id, name, isAbsolute) case Ast.QualIdent.Qualified(qualifier, name) => visitQualifiedName (ng) (a, node.id, qualifier, name) } @@ -43,9 +44,10 @@ case class CheckUsesHelpers[A,NG,S <: SymbolInterface]( private def visitUnqualifiedName (ng: NG) ( a: A, id: AstNode.Id, - name: Ast.Ident + name: Ast.Ident, + isAbsolute: Boolean ) = { - val mapping = getNestedScope(a).get (ng) _ + val mapping = getNestedScope(a).get (isAbsolute) (ng) for (symbol <- getSymbolForName(ng, mapping)(id, name)) yield { val useDefMap = getUseDefMap(a) + (id -> symbol) setUseDefMap(a, useDefMap) @@ -74,7 +76,7 @@ case class CheckUsesHelpers[A,NG,S <: SymbolInterface]( ) } symbol <- { - val mapping = scope.get (ng) _ + val mapping = scope.get (ng) getSymbolForName(ng, mapping)(name.id, name.data) } } diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/ConstructImpliedUseMap.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/ConstructImpliedUseMap.scala index ab82f8e164..8d9402764b 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/ConstructImpliedUseMap.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/ConstructImpliedUseMap.scala @@ -4,7 +4,9 @@ import fpp.compiler.ast._ import fpp.compiler.util._ /** Construct the implied use map */ -object ConstructImpliedUseMap extends TypeExpressionAnalyzer { +object ConstructImpliedUseMap + extends TypeExpressionAnalyzer + with ModuleTemplateDefAnalyzer { override def specPortInstanceAnnotatedNode( a: Analysis, diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterModuleSymbols.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterModuleSymbols.scala new file mode 100644 index 0000000000..5e1ca5f330 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterModuleSymbols.scala @@ -0,0 +1,83 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Enter module symbols into their scopes */ +abstract class EnterModuleSymbols + extends Analyzer + with ModuleAnalyzer +{ + + override def defModuleAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModule]] + ) = { + val (_, node, _) = aNode + val Ast.DefModule(name, members) = node.data + val oldScopeNameList = a.scopeNameList + val newScopeNameList = name :: oldScopeNameList + val parentSymbol = a.parentSymbol + val a1 = a.copy(scopeNameList = newScopeNameList) + for { + triple <- a1.nestedScope.innerScope.get (NameGroup.Value) (name) match { + case Some(symbol: Symbol.Module) => + // We found a module symbol with the same name at the current level. + // Re-open the scope. + val scope = a1.symbolScopeMap(symbol) + Right((a1, symbol, scope)) + case Some(symbol) => + // We found a non-module symbol with the same name at the current level. + // This is an error. + val error = SemanticError.RedefinedSymbol( + name, + Locations.get(node.id), + symbol.getLoc + ) + Left(error) + case None => + // We did not find a symbol with the same name at the current level. + // Create a new module symbol now. + val symbol = Symbol.Module(aNode) + val scope = Scope.empty + for { + nestedScope <- Result.foldLeft (NameGroup.groups) (a1.nestedScope) ( + (ns, ng) => ns.put (ng) (name, symbol) + ) + } + yield { + val a = a1.copy(nestedScope = nestedScope) + (a, symbol, scope) + } + } + a <- { + val (a2, symbol, scope) = triple + val a3 = a2.copy( + nestedScope = a2.nestedScope.push(scope), + parentSymbol = Some(symbol) + ) + visitList(a3, members, matchModuleMember) + } + } + yield { + val symbol = triple._2 + val scope = a.nestedScope.innerScope + val newSymbolScopeMap = a.symbolScopeMap + (symbol -> scope) + val a1 = a.copy( + scopeNameList = oldScopeNameList, + nestedScope = a.nestedScope.pop, + parentSymbol = parentSymbol, + symbolScopeMap = newSymbolScopeMap + ) + updateMap(a1, symbol) + } + } + + protected def updateMap(a: Analysis, s: Symbol): Analysis = { + val parentSymbolMap = a.parentSymbol.fold (a.parentSymbolMap) (ps => + a.parentSymbolMap + (s -> ps) + ) + a.copy(parentSymbolMap = parentSymbolMap) + } + +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterSymbols.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterSymbols.scala index bceb967076..5c36e8167c 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterSymbols.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterSymbols.scala @@ -5,11 +5,10 @@ import fpp.compiler.util._ /** Enter symbols into their scopes */ object EnterSymbols - extends Analyzer + extends EnterModuleSymbols with EnumAnalyzer with InterfaceAnalyzer with ComponentAnalyzer - with ModuleAnalyzer with StateMachineAnalyzer with TopologyAnalyzer { @@ -169,70 +168,25 @@ object EnterSymbols yield updateMap(a, symbol).copy(nestedScope = nestedScope) } - override def defModuleAnnotatedNode( + override def defModuleTemplateAnnotatedNode( a: Analysis, - aNode: Ast.Annotated[AstNode[Ast.DefModule]] + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] ) = { val (_, node, _) = aNode - val Ast.DefModule(name, members) = node.data - val oldScopeNameList = a.scopeNameList - val newScopeNameList = name :: oldScopeNameList - val parentSymbol = a.parentSymbol - val a1 = a.copy(scopeNameList = newScopeNameList) - for { - triple <- a1.nestedScope.innerScope.get (NameGroup.Value) (name) match { - case Some(symbol: Symbol.Module) => - // We found a module symbol with the same name at the current level. - // Re-open the scope. - val scope = a1.symbolScopeMap(symbol) - Right((a1, symbol, scope)) - case Some(symbol) => - // We found a non-module symbol with the same name at the current level. - // This is an error. - val error = SemanticError.RedefinedSymbol( - name, - Locations.get(node.id), - symbol.getLoc - ) - Left(error) - case None => - // We did not find a symbol with the same name at the current level. - // Create a new module symbol now. - val symbol = Symbol.Module(aNode) - val scope = Scope.empty - for { - nestedScope <- Result.foldLeft (NameGroup.groups) (a1.nestedScope) ( - (ns, ng) => ns.put (ng) (name, symbol) - ) - } - yield { - val a = a1.copy(nestedScope = nestedScope) - (a, symbol, scope) - } - } - a <- { - val (a2, symbol, scope) = triple - val a3 = a2.copy( - nestedScope = a2.nestedScope.push(scope), - parentSymbol = Some(symbol) - ) - visitList(a3, members, matchModuleMember) - } - } - yield { - val symbol = triple._2 - val scope = a.nestedScope.innerScope - val newSymbolScopeMap = a.symbolScopeMap + (symbol -> scope) - val a1 = a.copy( - scopeNameList = oldScopeNameList, - nestedScope = a.nestedScope.pop, - parentSymbol = parentSymbol, - symbolScopeMap = newSymbolScopeMap - ) - updateMap(a1, symbol) - } + val data = node.data + val name = data.name + val symbol = Symbol.Template(aNode) + val nestedScope = a.nestedScope + + for (nestedScope <- nestedScope.put(NameGroup.Template)(name, symbol)) + yield updateMap(a, symbol).copy(nestedScope = nestedScope) } + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = Right(a) + override def defPortAnnotatedNode( a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefPort]] @@ -317,11 +271,4 @@ object EnterSymbols yield updateMap(a, symbol).copy(nestedScope = nestedScope) } - private def updateMap(a: Analysis, s: Symbol): Analysis = { - val parentSymbolMap = a.parentSymbol.fold (a.parentSymbolMap) (ps => - a.parentSymbolMap + (s -> ps) - ) - a.copy(parentSymbolMap = parentSymbolMap) - } - } diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterTemplateExpansionSymbols.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterTemplateExpansionSymbols.scala new file mode 100644 index 0000000000..f72daba00d --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/EnterTemplateExpansionSymbols.scala @@ -0,0 +1,228 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Enter symbols introduced in template expansions */ +object EnterTemplateExpansionSymbols + extends EnterModuleSymbols +{ + + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val (_, node, _) = aNode + val data = node.data + val members = data.members.get + + a.templateExpansionMap.get(node.id) match { + case Some(expansion) => { + // We already entered this expansion + // Make sure we recursively enter all the symbols + // We still need to update the scope on re-expand + for { + a <- Right(a.copy(nestedScope = a.nestedScope.push(expansion.scope))) + a <- this.visitList(a, members, this.matchModuleMember) + } yield { + val templateScope = a.nestedScope.innerScope + val nestedScope = a.nestedScope.pop + + a.copy( + nestedScope = nestedScope, + templateExpansionMap = a.templateExpansionMap + ( + node.id -> expansion.copy(scope = templateScope) + ) + ) + } + } + case None => { + val tmpl = a.getTemplateSymbol(data.template.id) match { + case Right(tmpl) => tmpl + case Left(error) => throw InternalError( + s"template symbol should already be resolved: $error" + ) + } + val defParams = tmpl.node._2.data.params + + // Build the parameter set of the expansion + for { + // Make sure the lengths line up + _ <- { + if data.args.length == defParams.length + then Right(()) + else Left(SemanticError.WrongNumberOfTemplateArguments( + Locations.get(node.id), + Locations.get(tmpl.node._2.id), + data.args.length, + defParams.length + )) + } + + // Create the parameter symbols by mapping each argument together with the definition + // Make sure each argument is of the proper type + params <- { + Result.map[ + (AstNode[Ast.TemplateArg], Ast.Annotated[AstNode[Ast.TemplateParam]]), + TemplateArgSymbol + ](data.args zip defParams, (valueParam, defParam) => { + (defParam._2.data, valueParam.data) match { + case (defParam: Ast.TemplateParam.Constant, Ast.TemplateArg.Constant(value)) => + Right(Symbol.TemplateConstantArg(defParam, value)) + case (defParam: Ast.TemplateParam.Type, Ast.TemplateArg.Type(typeName)) => + Right(Symbol.TemplateTypeArg(defParam, typeName)) + case (defParam: Ast.TemplateParam.Interface, Ast.TemplateArg.Interface(instance)) => + Right(Symbol.TemplateInterfaceArg(defParam, instance)) + case (dp, vp) => { + val (name, defKind) = dp match { + case Ast.TemplateParam.Constant(name, _) => (name, "constant") + case Ast.TemplateParam.Type(name) => (name, "type") + case Ast.TemplateParam.Interface(name, _) => (name, "instance") + } + + val valKind = vp match { + case Ast.TemplateArg.Constant(_) => "constant" + case Ast.TemplateArg.Type(_) => "type" + case Ast.TemplateArg.Interface(_) => "instance" + } + + Left(SemanticError.InvalidTemplateArg( + name, + Locations.get(valueParam.id), + Locations.get(defParam._2.id), + s"expected a ${defKind} argument, got a ${valKind} argument" + )) + } + } + }) + } + + // Enter the template parameters into a new scope + nestedScope <- { + val scope = Scope.empty + Result.foldLeft(params) (a.nestedScope.push(scope)) ((nestedScope, param) => + nestedScope.put (TemplateExpansion.nameGroup(param)) ( + param.getUnqualifiedName, + param + ) + ) + } + + paramScope <- Right(nestedScope.innerScope) + a <- Right(a.copy(nestedScope = nestedScope.pop)) + + // Create an empty scope for entering template expanded symbols + a <- { + val scope = Scope.empty + Right(a.copy(nestedScope = a.nestedScope.push(scope))) + } + + // Enter the child symbols in to the analysis + a <- EnterSymbols.visitList(a, List(Ast.TransUnit(members)), EnterSymbols.transUnit) + + templateScope <- Right(a.nestedScope.innerScope) + + localScopeMap <- Right(collectModuleScopes(a, templateScope)) + + // The parameter scope and the expansion scope are visible at the same + // time, so no parameter may have the same name as a definition in the + // expansion in the same name group + _ <- Result.foldLeft (params zip defParams) (()) ((_, pair) => { + val (param, defParam) = pair + val name = param.getUnqualifiedName + templateScope.get (TemplateExpansion.nameGroup(param)) (name) match { + case Some(defSymbol) => Left(SemanticError.TemplateParameterConflict( + name, + Locations.get(defParam._2.id), + defSymbol.getLoc + )) + case None => Right(()) + } + }) + + // Duplicate the symbols entries into the outer scope + a <- { + val nestedScope = a.nestedScope.pop + + for { + pair <- mergeScope(a, nestedScope.innerScope, templateScope) + } yield { + val (a1, mergedScope) = pair + a1.copy( + nestedScope = nestedScope.pop.push(mergedScope), + templateExpansionMap = a1.templateExpansionMap + (node.id -> TemplateExpansion( + tmpl.node, + aNode, + Map.from(params.map(p => (TemplateExpansion.paramKey(p), p))), + paramScope, + templateScope, + localScopeMap, + )) + ) + } + } + + a <- this.visitList(a, members, this.matchModuleMember) + } yield a + } + } + } + + private def collectModuleScopes( + a: Analysis, + scope: Scope, + map: Map[Symbol, Scope] = Map() + ): Map[Symbol, Scope] = { + val moduleSymbols = scope.map.values.flatMap(_.map.values).collect { + case symbol: Symbol.Module => symbol + }.toSet + moduleSymbols.foldLeft (map) ((map, symbol) => + if map.contains(symbol) then map + else a.symbolScopeMap.get(symbol) match { + case Some(moduleScope) => + collectModuleScopes(a, moduleScope, map + (symbol -> moduleScope)) + case None => map + } + ) + } + + private def mergeScope(a: Analysis, dest: Scope, src: Scope): + Result.Result[(Analysis, Scope)] = + Result.foldLeft (src.map.toList) ((a, dest)) ((pair, ngs) => { + val (ng, symbols) = ngs + Result.foldLeft (symbols.map.toList) (pair) ((pair, symEntry) => { + val (a, dest) = pair + val (name, symbol) = symEntry + (dest.get (ng) (name), symbol) match { + // The name is already bound to this symbol, e.g., because we + // merged it when visiting another name group + case (Some(prevSymbol), _) if prevSymbol == symbol => Right((a, dest)) + // Two modules with the same name: merge their scopes and keep + // the binding that is already there + case (Some(prevSymbol: Symbol.Module), symbol: Symbol.Module) => + for (a <- mergeModuleScopes(a, prevSymbol, symbol)) yield (a, dest) + case _ => for (dest <- dest.put (ng) (name, symbol)) yield (a, dest) + } + }) + }) + + /** Merge the scopes of two module symbols denoting the same module */ + private def mergeModuleScopes( + a: Analysis, + prevSymbol: Symbol.Module, + symbol: Symbol.Module + ): Result.Result[Analysis] = { + val prevScope = a.symbolScopeMap.getOrElse(prevSymbol, Scope.empty) + val scope = a.symbolScopeMap.getOrElse(symbol, Scope.empty) + if prevScope == scope then Right(a) + else for (pair <- mergeScope(a, prevScope, scope)) + yield { + val (a1, mergedScope) = pair + // Both symbols denote the same module, so both must see all its members + a1.copy(symbolScopeMap = + a1.symbolScopeMap + (prevSymbol -> mergedScope) + (symbol -> mergedScope) + ) + } + } + +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/EvalConstantExprs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/EvalConstantExprs.scala index b7ede9f102..8bbda67080 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/EvalConstantExprs.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/EvalConstantExprs.scala @@ -12,6 +12,11 @@ object EvalConstantExprs extends UseAnalyzer { a <- symbol match { case Symbol.EnumConstant(node) => defEnumConstantAnnotatedNode(a, node) case Symbol.Constant(node) => defConstantAnnotatedNode(a, node) + // Template constant argument symbol: evaluate the bound argument to + // ensure that it has a value + case arg @ Symbol.TemplateConstantArg(_, value) => + if (a.valueMap.contains(value.id)) Right(a) + else templateConstantArg(a, arg) case _ => throw InternalError(s"invalid constant use symbol ${symbol} (${symbol.getClass.getName()})") } } yield { @@ -83,12 +88,34 @@ object EvalConstantExprs extends UseAnalyzer { else Right(a) } + override def templateConstantArg( + a: Analysis, + arg: Symbol.TemplateConstantArg + ) = { + val Symbol.TemplateConstantArg(paramDef, value) = arg + val loc = Locations.get(arg.value.id) + for { + a <- super.templateConstantArg(a, arg) + a <- FinalizeType.finalizeIfNeeded(a, a.typeMap(paramDef.typeName.id)) + a <- FinalizeTypeDefs.typeNameNode(a, paramDef.typeName) + ty <- Right(a.typeMap(paramDef.typeName.id)) + v <- Right(a.valueMap(value.id)) + newVal <- { + v.convertToType(ty) match { + case Some(v) => Right(v) + case None => Left(SemanticError.TypeMismatch(loc, s"cannot convert value $v to type $ty")) + } + } + } yield a.assignType(value -> ty).assignValue(value -> newVal) + } + override def exprArrayNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprArray) = for (a <- super.exprArrayNode(a, node, e)) yield { val eltType = a.typeMap(node.id) match { case Type.AnonArray(_, eltType) => eltType - case _ => throw InternalError("element type of array expression should be AnonArray") + case Type.Array(_, Type.AnonArray(_, eltType), _, _) => eltType + case _ => throw InternalError("element type of array expression should be AnonArray or Array") } def f(node: AstNode[Ast.Expr]) = { val v = a.valueMap(node.id) @@ -104,10 +131,10 @@ object EvalConstantExprs extends UseAnalyzer { a <- super.exprNode(a, e.e1) a <- super.exprNode(a, e.e2) - elements <- { + anonArray <- { a.valueMap(e.e1.id) match { - case Value.AnonArray(elements) => Right(elements) - case Value.Array(Value.AnonArray(elements), _) => Right(elements) + case anonArray : Value.AnonArray => Right(anonArray) + case Value.Array(anonArray, _) => Right(anonArray) case _ => throw InternalError("expected array value") } } @@ -121,6 +148,8 @@ object EvalConstantExprs extends UseAnalyzer { } // Check if the index is in bounds + // If the size of the array is not yet known, then we can check only the + // lower bound here _ <- { if index < 0 then Left(SemanticError.InvalidIntValue( @@ -128,15 +157,18 @@ object EvalConstantExprs extends UseAnalyzer { index, "value may not be negative" )) - else if index >= elements.length + else if anonArray.scalar.isEmpty && index >= anonArray.elements.length then Left(SemanticError.InvalidIntValue( Locations.get(e.e2.id), index, - s"index value is not in the range [0, ${elements.length-1}]" + s"index value is not in the range [0, ${anonArray.elements.length-1}]" )) else Right(None) } - } yield a.assignValue(node -> elements(index.toInt)) + } yield { + val v = anonArray.scalar.getOrElse(anonArray.elements(index.toInt)) + a.assignValue(node -> v) + } } override def exprBinopNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprBinop) = @@ -161,7 +193,6 @@ object EvalConstantExprs extends UseAnalyzer { Right(a.assignValue(node -> v)) } - override def exprLiteralFloatNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprLiteralFloat) = { val v = Value.Float(e.value.toDouble, Type.Float.F64) Right(a.assignValue(node -> v)) @@ -273,6 +304,7 @@ object EvalConstantExprs extends UseAnalyzer { override def aliasType(a: Analysis, t: Type.AliasType) = for { a <- defAliasTypeAnnotatedNode(a, t.node) + a <- finalizeIfNeeded(a, t.aliasType) a <- FinalizeTypeDefs.defAliasTypeAnnotatedNode(a, t.node) } yield a diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/ExpandSyntaxAndEnterSymbols.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/ExpandSyntaxAndEnterSymbols.scala new file mode 100644 index 0000000000..054996ec92 --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/ExpandSyntaxAndEnterSymbols.scala @@ -0,0 +1,26 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ +import fpp.compiler.transform._ + +/** Perform all syntax expansion required for analysis. + * Because template expansion requires def-use analysis, + * also enter all symbols into their scopes */ +object ExpandSyntaxAndEnterSymbols { + def tuList( + a: Analysis, + tul: List[Ast.TransUnit] + ): Result.Result[(Analysis, List[Ast.TransUnit])] = { + for { + (a, tul) <- ResolveSpecInclude.transUnitList(a, tul) + (a, tul) <- AddStateEnums.transformList(a, tul, AddStateEnums.transUnit) + a <- EnterSymbols.visitList(a, tul, EnterSymbols.transUnit) + a <- CheckTemplateDefs.visitList(a, tul, CheckTemplateDefs.transUnit) + a <- CheckTemplateExpansions.visitList(a, tul, CheckTemplateExpansions.transUnit) + a <- CheckTemplateUses.visitList(a, tul, CheckTemplateUses.transUnit) + tul <- ExpandTemplates.transformList(a, tul, ExpandTemplates.transUnit) + a <- EnterTemplateExpansionSymbols.visitList(a, tul, EnterTemplateExpansionSymbols.transUnit) + } yield (a, tul) + } +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeConstantExprs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeConstantExprs.scala new file mode 100644 index 0000000000..c8c6cca6cf --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeConstantExprs.scala @@ -0,0 +1,187 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Finalize constant expressions. Recompute the types and values of constant + * expressions, using the finalized type definitions. Doing this fills in any + * missing anonymous array sizes and updates any type or value that depends + * on a finalized type definition. */ +object FinalizeConstantExprs extends UseAnalyzer +{ + override def exprArrayNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprArray) = { + val loc = Locations.get(node.id) + val emptyListError = SemanticError.EmptyArray(loc) + for { + a <- super.exprArrayNode(a, node, e) + eltType <- a.commonType(e.elts.map(_.id), emptyListError) + _ <- { + val typeNames = e.elts.map(elt => a.typeMap(elt.id).toString) + val msg = "cannot compute common type of array value with elements: " + typeNames.mkString(", ") + eltType match { + case Type.AnonArray(None, _) => Left( + SemanticError.TypeMismatch(loc, msg) + ) + case _ => Right(()) + } + } + } yield { + def f(node: AstNode[Ast.Expr]) = { + val v = a.valueMap(node.id) + Analysis.convertValueToType(v, eltType) + } + val elts = e.elts.map(f) + val v = Value.AnonArray(elts) + a.assignType(node -> Type.AnonArray(Some(e.elts.size), eltType)) + .assignValue(node -> v) + } + } + + override def exprArraySubscriptNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprArraySubscript) = { + for { + a <- super.exprArraySubscriptNode(a, node, e) + + elements <- { + a.valueMap(e.e1.id) match { + case Value.AnonArray(elements, _) => Right(elements) + case Value.Array(Value.AnonArray(elements, _), _) => Right(elements) + case _ => throw InternalError("expected array value") + } + } + + index <- { + a.valueMap(e.e2.id) match { + case Value.PrimitiveInt(value, _) => Right(value) + case Value.Integer(value) => Right(value) + case _ => throw InternalError("type of index should be an integer type") + } + } + + // Check if the index is in bounds + // For a scalar value promoted to an array, the size is not known until + // the array type is finalized, so this is the first place where we can + // check the upper bound + _ <- { + if index < 0 + then Left(SemanticError.InvalidIntValue( + Locations.get(e.e2.id), + index, + "value may not be negative" + )) + else if index >= elements.length + then Left(SemanticError.InvalidIntValue( + Locations.get(e.e2.id), + index, + s"index value is not in the range [0, ${elements.length-1}]" + )) + else Right(None) + } + } yield { + // Update the element type, in case the type of the array was finalized + val eltType = a.typeMap(e.e1.id).getUnderlyingType match { + case Type.AnonArray(_, t) => t + case Type.Array(_, anonArray, _, _) => anonArray.eltType + case _ => a.typeMap(node.id) + } + a.assignType(node -> eltType).assignValue(node -> elements(index.toInt)) + } + } + + override def exprDotNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprDot) = + for (a <- super.exprDotNode(a, node, e)) + yield { + // If this node is a use of a symbol, then visiting it has already + // updated its type and value. Otherwise it selects a member of a + // struct value, so update the type and value of the selection. + if (a.useDefMap.contains(node.id)) a + else { + val name = e.id.data + val tOpt = a.typeMap(e.e.id).getUnderlyingType match { + case Type.Struct(_, anonStruct, _, _, _) => anonStruct.members.get(name) + case Type.AnonStruct(members) => members.get(name) + case _ => None + } + val vOpt = a.valueMap(e.e.id) match { + case Value.Struct(anonStruct, _) => anonStruct.members.get(name) + case Value.AnonStruct(members) => members.get(name) + case _ => None + } + val t = tOpt.getOrElse(a.typeMap(node.id)) + val v = vOpt.getOrElse(a.valueMap(node.id)) + a.assignType(node -> t).assignValue(node -> v) + } + } + + override def exprStructNode(a: Analysis, node: AstNode[Ast.Expr], e: Ast.ExprStruct) = + for (a <- super.exprStructNode(a, node, e)) + yield { + def typeVisitor(members: Type.Struct.Members, node: AstNode[Ast.StructMember]): Type.Struct.Members = { + val data = node.data + members + (data.name -> a.typeMap(data.value.id)) + } + def valueVisitor(members: Value.Struct.Members, node: AstNode[Ast.StructMember]): Value.Struct.Members = { + val data = node.data + members + (data.name -> a.valueMap(data.value.id)) + } + val emptyTypeMembers: Type.Struct.Members = Map() + val emptyValueMembers: Value.Struct.Members = Map() + val t = Type.AnonStruct(e.members.foldLeft(emptyTypeMembers)(typeVisitor)) + val v = Value.AnonStruct(e.members.foldLeft(emptyValueMembers)(valueVisitor)) + a.assignType(node -> t).assignValue(node -> v) + } + + override def constantUse(a: Analysis, node: AstNode[Ast.Expr], use: Name.Qualified) = { + val symbol = a.useDefMap(node.id) + for { + a <- symbol match { + // Constant symbol: visit the constant definition + // to ensure it has a type + case Symbol.Constant(node) => defConstantAnnotatedNode(a, node) + // Enum symbol: if this is in scope, then we are in + // the enum definition, so it already has a type + case Symbol.EnumConstant(node) => Right(a) + case arg @ Symbol.TemplateConstantArg(_, _) => templateConstantArg(a, arg) + // Invalid use of a symbol in an expression + case _ => + Left(SemanticError.InvalidSymbol( + symbol.getUnqualifiedName, + Locations.get(node.id), + "not a constant symbol", + symbol.getLoc + )) + } + } yield { + val id = symbol.getNodeId + a.assignType(node -> a.typeMap(id)).assignValue(node -> a.valueMap(id)) + } + } + + override def defConstantAnnotatedNode(a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefConstant]]) = { + val (_, node, _) = aNode + val data = node.data + for (a <- super.defConstantAnnotatedNode(a, aNode)) + yield { + val id = data.value.id + a.assignType(node -> a.typeMap(id)).assignValue(node -> a.valueMap(id)) + } + } + + override def templateConstantArg( + a: Analysis, + arg: Symbol.TemplateConstantArg + ) = { + val Symbol.TemplateConstantArg(paramDef, value) = arg + val loc = Locations.get(value.id) + for { + a <- super.templateConstantArg(a, arg) + ty <- Right(a.typeMap(paramDef.typeName.id)) + v <- Right(a.valueMap(value.id)) + newVal <- { + v.convertToType(ty) match { + case Some(v) => Right(v) + case None => Left(SemanticError.TypeMismatch(loc, s"cannot convert value $v to type $ty")) + } + } + } yield a.assignType(value -> ty).assignValue(value -> newVal) + } +} diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeTypeDefs.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeTypeDefs.scala index a72c339644..eaac1c9bf1 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeTypeDefs.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/FinalizeTypeDefs.scala @@ -23,7 +23,7 @@ object FinalizeTypeDefs val node = aNode._2 val data = node.data // Get the type of this node as an alias type A - val aliasType @ Type.AliasType(_, _) = a.typeMap(node.id) + val aliasType @ Type.AliasType(_, _) = a.typeMap(node.id).runtimeChecked for { referencedType <- TypeVisitor.ty(a, aliasType.aliasType) aliasType1 <- Right(aliasType.copy(aliasType = referencedType)) @@ -41,7 +41,7 @@ object FinalizeTypeDefs val node = aNode._2 val data = node.data // Get the type of this node as an array type A - val arrayType @ Type.Array(_, _, _, _) = a.typeMap(node.id) + val arrayType @ Type.Array(_, _, _, _) = a.typeMap(node.id).runtimeChecked for { // Visit the element type of A, to update its members eltType <- TypeVisitor.ty(a, arrayType.anonArray.eltType) @@ -59,12 +59,12 @@ object FinalizeTypeDefs val loc = Locations.get(id) for (_ <- Analysis.convertTypes(loc, v.getType -> arrayType)) yield { - val array @ Value.Array(_, _) = Analysis.convertValueToType(v, arrayType) + val array @ Value.Array(_, _) = Analysis.convertValueToType(v, arrayType).runtimeChecked array } } case None => { - val Some(anonArray) = arrayType.anonArray.getDefaultValue + val Some(anonArray) = arrayType.anonArray.getDefaultValue.runtimeChecked Right(Value.Array(anonArray, arrayType)) } } @@ -89,12 +89,12 @@ object FinalizeTypeDefs def visitor(a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefEnum]]) = { val (_, node, _) = aNode val data = node.data - val enumType @ Type.Enum(_, _, _) = a.typeMap(node.id) + val enumType @ Type.Enum(_, _, _) = a.typeMap(node.id).runtimeChecked val default = data.default match { case Some(default) => a.valueMap(default.id) case None => a.valueMap(data.constants.head._2.id) } - val enumConstant @ Value.EnumConstant(_, _) = default + val enumConstant @ Value.EnumConstant(_, _) = default.runtimeChecked val enumType1 = enumType.copy(default = Some(enumConstant)) Right(a.assignType(node -> enumType1)) } @@ -107,13 +107,13 @@ object FinalizeTypeDefs val (_, node, _) = aNode val data = node.data // Get the type of this node as a struct type S - val structType @ Type.Struct(_, _, _, _, _) = a.typeMap(node.id) + val structType @ Type.Struct(_, _, _, _, _) = a.typeMap(node.id).runtimeChecked for { // Visit the anonymous struct type of S, to update its members t <- TypeVisitor.ty(a, structType.anonStruct) // Update the anonymous struct type of S structType <- { - val anonStructType @ Type.AnonStruct(_) = t + val anonStructType @ Type.AnonStruct(_) = t.runtimeChecked Right(structType.copy(anonStruct = anonStructType)) } // Compute the default value @@ -124,12 +124,12 @@ object FinalizeTypeDefs val loc = Locations.get(id) for (_ <- Analysis.convertTypes(loc, v.getType -> structType)) yield { - val struct @ Value.Struct(_, _) = Analysis.convertValueToType(v, structType) + val struct @ Value.Struct(_, _) = Analysis.convertValueToType(v, structType).runtimeChecked struct } } case None => { - val Some(anonStruct) = structType.anonStruct.getDefaultValue + val Some(anonStruct) = structType.anonStruct.getDefaultValue.runtimeChecked Right(Value.Struct(anonStruct, structType)) } } @@ -218,7 +218,7 @@ object FinalizeTypeDefs val Value.Integer(size) = Analysis.convertValueToType( a.valueMap(id), Type.Integer - ) + ).runtimeChecked if Type.String.isValidSize(size) then Right(t) else { val loc = Locations.get(id) diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/CheckActionAndGuardTypes.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/CheckActionAndGuardTypes.scala index 729759cdca..22b020c81a 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/CheckActionAndGuardTypes.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/CheckActionAndGuardTypes.scala @@ -68,7 +68,7 @@ object CheckActionAndGuardTypes ): Result.Result[StateMachineAnalysis] = { val siteKind = "action" def getTypeOption(sym: StateMachineSymbol): Option[Type] = { - val actionSym @ StateMachineSymbol.Action(_) = sym + val actionSym @ StateMachineSymbol.Action(_) = sym.runtimeChecked actionSym.node._2.data.typeName.map(tn => sma.a.typeMap(tn.id)) } checkCallSiteTypes(sma, te, actions, siteKind, getTypeOption) @@ -82,7 +82,7 @@ object CheckActionAndGuardTypes ): Result.Result[StateMachineAnalysis] = { val siteKind = "guard" def getTypeOption(sym: StateMachineSymbol): Option[Type] = { - val guardSym @ StateMachineSymbol.Guard(_) = sym + val guardSym @ StateMachineSymbol.Guard(_) = sym.runtimeChecked guardSym.node._2.data.typeName.map(tn => sma.a.typeMap(tn.id)) } checkCallSiteTypes(sma, te, List(guard), siteKind, getTypeOption) diff --git a/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/ComputeTypeOptionMap.scala b/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/ComputeTypeOptionMap.scala index 5c61d556bb..84f8c92c46 100644 --- a/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/ComputeTypeOptionMap.scala +++ b/compiler/lib/src/main/scala/analysis/CheckSemantics/StateMachine/CheckTypedElements/ComputeTypeOptionMap.scala @@ -69,7 +69,7 @@ object ComputeTypeOptionMap te: StateMachineTypedElement.StateTransition ): Result = { val signalId = te.aNode._2.data.signal.id - val signalSymbol @ StateMachineSymbol.Signal(_) = sma.useDefMap(signalId) + val signalSymbol @ StateMachineSymbol.Signal(_) = sma.useDefMap(signalId).runtimeChecked val signalDef = signalSymbol.node._2.data val to = signalDef.typeName.map(node => sma.a.typeMap(node.id)) Right( diff --git a/compiler/lib/src/main/scala/analysis/ComputeDependencies/AddDependencies.scala b/compiler/lib/src/main/scala/analysis/ComputeDependencies/AddDependencies.scala index 231c366c64..cd769f4246 100644 --- a/compiler/lib/src/main/scala/analysis/ComputeDependencies/AddDependencies.scala +++ b/compiler/lib/src/main/scala/analysis/ComputeDependencies/AddDependencies.scala @@ -6,7 +6,9 @@ import fpp.compiler.transform._ import fpp.compiler.util._ /** Add dependencies */ -object AddDependencies extends BasicUseAnalyzer { +object AddDependencies + extends BasicUseAnalyzer + with ModuleTemplateDefAnalyzer { override def specLocAnnotatedNode( a: Analysis, @@ -51,38 +53,60 @@ object AddDependencies extends BasicUseAnalyzer { } override def stateMachineUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = - analyzeUse(a, Ast.SpecLoc.StateMachine, use) + analyzeUse(a, Ast.SpecLoc.StateMachine, use, node.data.isAbsolute) override def componentUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = - analyzeUse(a, Ast.SpecLoc.Component, use) + analyzeUse(a, Ast.SpecLoc.Component, use, node.data.isAbsolute) - override def constantUse(a: Analysis, node: AstNode[Ast.Expr], use: Name.Qualified) = + override def templateUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = + analyzeUse(a, Ast.SpecLoc.Template, use, node.data.isAbsolute) + + override def constantUse(a: Analysis, node: AstNode[Ast.Expr], use: Name.Qualified) = { + val isAbsolute = node.data.getIsAbsoluteOpt.get for { // Analyze as a constant - a <- analyzeUse(a, Ast.SpecLoc.Constant, use) + a <- analyzeUse(a, Ast.SpecLoc.Constant, use, isAbsolute) // If in the form A.B, also analyze as an enumerated constant a <- use.qualifier match { case Nil => Right(a) case q => { val enumUse = Name.Qualified.fromIdentList(q) - analyzeUse(a, Ast.SpecLoc.Type, enumUse) + analyzeUse(a, Ast.SpecLoc.Type, enumUse, isAbsolute) } } } yield a + } override def portUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = - analyzeUse(a, Ast.SpecLoc.Port, use) + analyzeUse(a, Ast.SpecLoc.Port, use, node.data.isAbsolute) override def interfaceInstanceUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = - analyzeUse(a, Ast.SpecLoc.Instance, use) + analyzeUse(a, Ast.SpecLoc.Instance, use, node.data.isAbsolute) override def interfaceUse(a: Analysis, node: AstNode[Ast.QualIdent], use: Name.Qualified) = - analyzeUse(a, Ast.SpecLoc.Interface, use) + analyzeUse(a, Ast.SpecLoc.Interface, use, node.data.isAbsolute) override def typeUse(a: Analysis, node: AstNode[Ast.TypeName], use: Name.Qualified) = - analyzeUse(a, Ast.SpecLoc.Type, use) + analyzeUse(a, Ast.SpecLoc.Type, use, node.data.getIsAbsoluteOpt.get) - private def analyzeUse(a: Analysis, kind: Ast.SpecLoc.Kind, use: Name.Qualified): Result = { + override def templateArgNode(a: Analysis, node: AstNode[Ast.TemplateArg]) = + node.data match { + case Ast.TemplateArg.Interface(instance) => + qualIdentNode (interfaceInstanceUse) (a, instance) + case _ => super.templateArgNode(a, node) + } + + /** Find the location specifier for a use in a scope. + * scopeNameList lists the enclosing scope names, with the innermost + * name at the head of the list. An absolute use is not resolved + * in the enclosing scopes. */ + def findLocation( + map: Map[(Ast.SpecLoc.Kind, Name.Qualified), AstNode[Ast.SpecLoc]], + scopeNameList: List[Name.Unqualified], + kind: Ast.SpecLoc.Kind, + use: Name.Qualified, + isAbsolute: Boolean + ): Option[Ast.SpecLoc] = { def computeNameList: List[Name.Qualified] = { def helper(prefix: List[Name.Unqualified], result: List[Name.Qualified]): List[Name.Qualified] = { prefix match { @@ -93,55 +117,72 @@ object AddDependencies extends BasicUseAnalyzer { } } } - helper(a.scopeNameList, Nil) - } - def findLocation(nameList: List[Name.Qualified]): Option[Ast.SpecLoc] = { - nameList match { - case Nil => None - case head :: tail => a.locationSpecifierMap.get((kind, head)) match { - case opt @ Some(_) => opt.map(_.data) - case None => findLocation(tail) - } - } + if isAbsolute then List(use) else helper(scopeNameList, Nil) } - val nameList = computeNameList - val location = findLocation(nameList) - location.map(addDependencies (a)).getOrElse(Right(a)) + computeNameList.view.flatMap(name => map.get((kind, name)).map(_.data)).headOption } - private def addDependenciesHelper(a: Analysis, specLoc: Ast.SpecLoc, file: File): Result = { - val dependencyFileSet = a.dependencyFileSet + file - val directDependencyFileSet = a.level match { - case 1 => a.directDependencyFileSet + file - case _ => a.directDependencyFileSet - } - val a1 = a.copy( - dependencyFileSet = dependencyFileSet, - directDependencyFileSet = directDependencyFileSet - ) + /** Get the file named in a location specifier */ + def getFile(specLoc: Ast.SpecLoc): File = { + val loc = Locations.get(specLoc.file.id) + File.Path(loc.getRelativePath(specLoc.file.data)) + } + + private def analyzeUse( + a: Analysis, + kind: Ast.SpecLoc.Kind, + use: Name.Qualified, + isAbsolute: Boolean + ): Result = + findLocation( + a.locationSpecifierMap, + a.scopeNameList, + kind, + use, + isAbsolute + ).map(addDependencies (a)).getOrElse(Right(a)) + + private def addDependenciesForFile(a: Analysis, file: File): Result = + val scopeNameList = a.scopeNameList val result = for { tu <- Parser.parseFile (Parser.transUnit) (None) (file) - pair <- ResolveSpecInclude.transUnit(a1, tu) - a2 <- ComputeDependencies.tuList( - pair._1.copy(scopeNameList = Nil), - List(pair._2) + (a, tu) <- ResolveSpecInclude.transUnit(a, tu) + a <- ComputeDependencies.tuList( + a.copy( + scopeNameList = Nil, + dependencyTuMap = a.dependencyTuMap + (file -> tu) + ), + List(tu) ) - } yield a2.copy(scopeNameList = a1.scopeNameList) + } yield a.copy(scopeNameList = scopeNameList) result match { case Left(FileError.CannotOpen(_, _)) => { - val a = a1.copy(missingDependencyFileSet = a1.missingDependencyFileSet + file) - Right(a) + val missingDependencyFileSet = a.missingDependencyFileSet + file + Right(a.copy(missingDependencyFileSet = missingDependencyFileSet)) } case _ => result } - } + + private def updateDirectDependencyFileSet(a: Analysis, file: File) = + val directDependencyFileSet = a.directDependencyFileSet + file + a.copy(directDependencyFileSet = directDependencyFileSet) + + private def updateDependencyFileSet(a: Analysis, file: File) = + val dependencyFileSet = a.dependencyFileSet + file + a.copy(dependencyFileSet = dependencyFileSet) private def addDependencies (a: Analysis) (specLoc: Ast.SpecLoc): Result = { - val loc = Locations.get(specLoc.file.id) - val path = loc.getRelativePath(specLoc.file.data) - val file = File.Path(path) - if !a.inputFileSet.contains(file) && !a.dependencyFileSet.contains(file) - then addDependenciesHelper(a, specLoc, file) + val file = getFile(specLoc) + if !a.inputFileSet.contains(file) + then + val a1 = if a.level == 1 + then updateDirectDependencyFileSet(a, file) + else a + if !a1.dependencyFileSet.contains(file) + then + val a2 = updateDependencyFileSet(a1, file) + addDependenciesForFile(a2, file) + else Right(a1) else Right(a) } diff --git a/compiler/lib/src/main/scala/analysis/ComputeDependencies/BuildSpecLocMap.scala b/compiler/lib/src/main/scala/analysis/ComputeDependencies/BuildSpecLocMap.scala index 8e32cfba49..c4811389eb 100644 --- a/compiler/lib/src/main/scala/analysis/ComputeDependencies/BuildSpecLocMap.scala +++ b/compiler/lib/src/main/scala/analysis/ComputeDependencies/BuildSpecLocMap.scala @@ -6,6 +6,11 @@ import fpp.compiler.util._ /** Build the location specifier map */ object BuildSpecLocMap extends ModuleAnalyzer { + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = visitList(a, aNode._2.data.members, matchModuleMember) + override def specLocAnnotatedNode( a: Analysis, node: Ast.Annotated[AstNode[Ast.SpecLoc]] @@ -13,7 +18,12 @@ object BuildSpecLocMap extends ModuleAnalyzer { val specNode = node._2 val spec = specNode.data val symbol = spec.symbol - val qualifiedName = Name.Qualified.fromIdentList(a.scopeNameList.reverse ++ symbol.data.toIdentList) + val qualifiedName = { + val prefix = + if symbol.data.isAbsolute + then Nil else a.scopeNameList.reverse + Name.Qualified.fromIdentList(prefix ++ symbol.data.toIdentList) + } val key = (spec.kind, qualifiedName) a.locationSpecifierMap.get(key) match { case None => { diff --git a/compiler/lib/src/main/scala/analysis/ComputeDependencies/ComputeDependencies.scala b/compiler/lib/src/main/scala/analysis/ComputeDependencies/ComputeDependencies.scala index 7f56bc5b3c..2cb14e3ec9 100644 --- a/compiler/lib/src/main/scala/analysis/ComputeDependencies/ComputeDependencies.scala +++ b/compiler/lib/src/main/scala/analysis/ComputeDependencies/ComputeDependencies.scala @@ -11,7 +11,7 @@ object ComputeDependencies { for { pair <- ResolveSpecInclude.transformList( a.copy(level = a.level + 1), - tul, + tul, ResolveSpecInclude.transUnit ) a <- Right(pair._1) @@ -31,4 +31,4 @@ object ComputeDependencies { } } -} +} \ No newline at end of file diff --git a/compiler/lib/src/main/scala/analysis/ComputeDependencies/Framework/ComputeFrameworkDependencies.scala b/compiler/lib/src/main/scala/analysis/ComputeDependencies/Framework/ComputeFrameworkDependencies.scala index c90c04795d..ad705b6179 100644 --- a/compiler/lib/src/main/scala/analysis/ComputeDependencies/Framework/ComputeFrameworkDependencies.scala +++ b/compiler/lib/src/main/scala/analysis/ComputeDependencies/Framework/ComputeFrameworkDependencies.scala @@ -42,6 +42,15 @@ object ComputeFrameworkDependencies extends AstStateVisitor { visitList(s, data.members, matchModuleMember) } + override def defModuleTemplateAnnotatedNode( + s: State, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (_, node, _) = aNode + val data = node.data + visitList(s, data.members, matchModuleMember) + } + override def specPortInstanceAnnotatedNode( s: State, aNode: Ast.Annotated[AstNode[Ast.SpecPortInstance]] diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Component.scala b/compiler/lib/src/main/scala/analysis/Semantics/Component.scala index e53da9ce29..5081e193cf 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Component.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Component.scala @@ -82,6 +82,7 @@ case class Component( containerMap, eventMap, paramMap, + recordMap, tlmChannelMap ).maxBy(maxInMap) maxInMap(maxMap) diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Connection.scala b/compiler/lib/src/main/scala/analysis/Semantics/Connection.scala index 496651e408..de5dd24799 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Connection.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Connection.scala @@ -15,7 +15,7 @@ case class Connection( override def toString = s"${from.toString} -> ${to.toString}" /** Checks the types of a connection */ - def checkTypes: Result.Result[Unit] = { + def checkTypes(a: Analysis): Result.Result[Unit] = { val fromInstance = from.port.portInstance val fromType = fromInstance.getType val toInstance = to.port.portInstance @@ -23,8 +23,8 @@ case class Connection( if (PortInstance.Type.areCompatible(fromType, toType)) Right(()) else { - val fromTypeString = PortInstance.Type.show(fromType) - val toTypeString = PortInstance.Type.show(toType) + val fromTypeString = PortInstance.Type.show(a, fromType) + val toTypeString = PortInstance.Type.show(a, toType) val msg = s"cannot connect port types $fromTypeString and $toTypeString" val fromLoc = fromInstance.getLoc val toLoc = toInstance.getLoc @@ -34,7 +34,7 @@ case class Connection( /** Checks the case of a serial port connected to a typed port, * in either direction. The port type may not have a return type. */ - def checkSerialWithTypedInput: Result.Result[Unit] = { + def checkSerialWithTypedInput(a: Analysis): Result.Result[Unit] = { val fromInstance = from.port.portInstance val fromType = fromInstance.getType val toInstance = to.port.portInstance @@ -46,7 +46,7 @@ case class Connection( ) => aNode._2.data.returnType match { case Some(_) => - val toTypeString = PortInstance.Type.show(toType) + val toTypeString = PortInstance.Type.show(a, toType) val msg = s"cannot connect serial output port to input port of type $toTypeString, which returns a value" val fromLoc = fromInstance.getLoc @@ -67,7 +67,7 @@ case class Connection( ) => aNode._2.data.returnType match { case Some(_) => - val fromTypeString = PortInstance.Type.show(fromType) + val fromTypeString = PortInstance.Type.show(a, fromType) val msg = s"cannot connect output port of type $fromTypeString, which returns a value, to serial input port" val fromLoc = fromInstance.getLoc @@ -109,18 +109,16 @@ case class Connection( def portMatchingExists(pml: List[Component.PortMatching], pi: PortInstance): Boolean = pml.exists(pm => pi.equals(pm.instance1) || pi.equals(pm.instance2)) - (from.port.interfaceInstance, to.port.interfaceInstance) match { - case (InterfaceInstance.InterfaceComponentInstance(fromCi), InterfaceInstance.InterfaceComponentInstance(toCi)) => { - val fromPi = from.port.portInstance - val toPi = to.port.portInstance - val fromPml = fromCi.component.portMatchingList - val toPml = toCi.component.portMatchingList - - portMatchingExists(fromPml, fromPi) || portMatchingExists(toPml, toPi) + def isConstrainedAt(endpoint: Connection.Endpoint): Boolean = { + val port = endpoint.getUnderlyingEndpoint().port + port.interfaceInstance match { + case InterfaceInstance.InterfaceComponentInstance(ci) => + portMatchingExists(ci.component.portMatchingList, port.portInstance) + case _ => false } - - case _ => false } + + isConstrainedAt(from) || isConstrainedAt(to) } /** Compare two connections */ @@ -167,12 +165,8 @@ object Connection { to <- Endpoint.fromAst(a, connection.toPort, connection.toIndex) connection <- Right(Connection(from, to, connection.isUnmatched)) _ <- connection.checkDirections - _ <- connection.checkTypes - _ <- connection.checkSerialWithTypedInput - _ <- - if !connection.isMatchConstrained && connection.isUnmatched - then Left(SemanticError.MissingPortMatching(connection.getLoc)) - else Right(()) + _ <- connection.checkTypes(a) + _ <- connection.checkSerialWithTypedInput(a) } yield connection @@ -217,18 +211,33 @@ object Connection { case None => Right(()) } - /** Get underlying endpoint by stripping off topology port aliases */ + /** Get underlying endpoint by stripping off topology port aliases + * and template interface parameters */ def getUnderlyingEndpoint(): Endpoint = { - port.interfaceInstance match { - // This endpoint is already a component instance - case InterfaceInstance.InterfaceComponentInstance(ci) => this - case InterfaceInstance.InterfaceTopology(top) => this.copy( - // Look up the mapping for this port instance - port = top.portMap(port.portInstance.getUnqualifiedName).pii, - topologyPort = Some(this) - // Recursively resolve the endpoint to a component instance - ).getUnderlyingEndpoint() + def underlyingEndpointHelper(ii: InterfaceInstance): Endpoint = { + ii match { + // This endpoint is already a component instance + case InterfaceInstance.InterfaceComponentInstance(_) => this + case InterfaceInstance.InterfaceTopology(top) => this.copy( + // Look up the mapping for this port instance + port = top.portMap(port.portInstance.getUnqualifiedName).pii, + topologyPort = Some(this) + // Recursively resolve the endpoint to a component instance + ).getUnderlyingEndpoint() + case InterfaceInstance.InterfaceTemplateArg(_, _, boundInstance) => + this.copy( + port = PortInstanceIdentifier( + boundInstance, + boundInstance.getInterface.portMap.getOrElse( + port.portInstance.getUnqualifiedName, + port.portInstance + ) + ) + ).getUnderlyingEndpoint() + } } + + underlyingEndpointHelper(port.interfaceInstance) } } diff --git a/compiler/lib/src/main/scala/analysis/Semantics/ConnectionPattern.scala b/compiler/lib/src/main/scala/analysis/Semantics/ConnectionPattern.scala index abd85d394c..384cb4490b 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/ConnectionPattern.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/ConnectionPattern.scala @@ -28,7 +28,7 @@ object ConnectionPattern { pattern: Ast.SpecConnectionGraph.Pattern ): Result.Result[ConnectionPattern] = { def getInstance(node: AstNode[Ast.QualIdent]) = - for (instance <- a.getComponentInstance(node.id)) + for (instance <- a.getRepresentedComponentInstance(node.id)) yield (instance, Locations.get(node.id)) for { source <- getInstance(pattern.source) diff --git a/compiler/lib/src/main/scala/analysis/Semantics/ConstructDictionary/DictionaryUsedSymbols.scala b/compiler/lib/src/main/scala/analysis/Semantics/ConstructDictionary/DictionaryUsedSymbols.scala index 196735fa21..23f4741812 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/ConstructDictionary/DictionaryUsedSymbols.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/ConstructDictionary/DictionaryUsedSymbols.scala @@ -67,7 +67,7 @@ final case class DictionaryUsedSymbols(a: Analysis, t: Topology) { ): Set[Symbol] = map.values.toSet.flatMap ( specifier => { - val Right(a) = usedSymbols(specifier) + val Right(a) = usedSymbols(specifier).runtimeChecked a.usedSymbolSet } ) diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Event.scala b/compiler/lib/src/main/scala/analysis/Semantics/Event.scala index 5ac57ea407..74b20b7073 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Event.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Event.scala @@ -52,12 +52,12 @@ object Event { ("seconds", Type.U32), ("useconds", Type.U32), ) - )) + )).runtimeChecked def getMember(member: String, maxValue: BigInt) = { val Value.PrimitiveInt(v, Type.PrimitiveInt.U32) = Analysis.convertValueToType( intervalValue.get(member).get, Type.U32 - ) + ).runtimeChecked if v < 0 || v > maxValue then Left( diff --git a/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericNestedScope.scala b/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericNestedScope.scala index 042cc9cb4b..440f6e896f 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericNestedScope.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericNestedScope.scala @@ -8,13 +8,6 @@ case class GenericNestedScope[NG, S <: SymbolInterface]( scopes: List[GenericScope[NG,S]] ) { - /** Get a symbol from the map. Throw an InternalError if the name is not there.*/ - def apply (nameGroup: NG) (name: Name.Unqualified): S = get(nameGroup)(name) match { - case Some(symbol) => symbol - case _ => throw new InternalError(s"could not find symbol for name ${name}") - } - - /** Push a new scope onto the stack */ def push(scope: GenericScope[NG,S]): GenericNestedScope[NG, S] = GenericNestedScope[NG, S](scope :: this.scopes) @@ -32,9 +25,16 @@ case class GenericNestedScope[NG, S <: SymbolInterface]( yield GenericNestedScope[NG, S](scope :: tail) } + /** Get a relative or absolute symbol from the nested scope */ + def get (isAbsolute: Boolean): NG => Name.Unqualified => Option[S] = + isAbsolute match { + case false => getRelative + case true => getAbsolute + } - /** Get a symbol from the map. Return none if the name is not there. */ - def get (nameGroup: NG) (name: Name.Unqualified): Option[S] = { + /** Get a relative symbol from the nested scope. Start searching at the + * bottom of the stack, working upwards. Return None if the name is not there. */ + def getRelative (nameGroup: NG) (name: Name.Unqualified): Option[S] = { def helper(scopes: List[GenericScope[NG,S]]): Option[S] = scopes match { case Nil => None @@ -46,9 +46,20 @@ case class GenericNestedScope[NG, S <: SymbolInterface]( helper(this.scopes) } + /** Get an absolute symbol from the nested scope. Start searching at + * the top of the stack. Return None if the name is not there */ + def getAbsolute (nameGroup: NG) (name: Name.Unqualified): Option[S] = + this.scopes.reverse match { + case Nil => None + case head :: tail => head.get(nameGroup)(name) + } + /** Get the innermost nested scope */ def innerScope: GenericScope[NG,S] = splitScopes._1 + /** Get the outmost nested scope (the global scope) */ + def globalScope: GenericNestedScope[NG,S] = GenericNestedScope(List(scopes.last)) + private def splitScopes: (GenericScope[NG,S], List[GenericScope[NG,S]]) = scopes match { case head :: tail => (head, tail) case _ => throw new InternalError("empty scope stack") diff --git a/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericScope.scala b/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericScope.scala index 5622f917c2..2c96431d5a 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericScope.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/GenericScope/GenericScope.scala @@ -30,4 +30,9 @@ case class GenericScope[NG, S <: SymbolInterface]( case None => GenericNameSymbolMap[S]() } + override def toString(): String = + (this.map.map((ng, g) => { + (ng, g.map.keySet) + })).toString() + } diff --git a/compiler/lib/src/main/scala/analysis/Semantics/ImpliedUse.scala b/compiler/lib/src/main/scala/analysis/Semantics/ImpliedUse.scala index 008478514e..0d87e689f4 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/ImpliedUse.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/ImpliedUse.scala @@ -14,17 +14,27 @@ case class ImpliedUse( ) { def asExprNode: AstNode[Ast.Expr] = { - val Name.Qualified(qualifier, base) = name - val head :: tail = name.toIdentList - val expr = tail.foldLeft (Ast.ExprIdent(head): Ast.Expr) ((e1, s) => + val head :: tail = name.toIdentList.runtimeChecked + val expr = tail.foldLeft (Ast.ExprIdent(head, true): Ast.Expr) ((e1, s) => Ast.ExprDot(AstNode.create(e1, id), AstNode.create(s, id)) ) AstNode.create(expr, id) } + def asUniqueExprNode: AstNode[Ast.Expr] = { + val head :: tail = name.toIdentList.runtimeChecked + val expr = tail.foldLeft (Ast.ExprIdent(head, false): Ast.Expr) ((e1, s) => + Ast.ExprDot( + AstNode.create(e1, ImpliedUse.replicateId(id)), + AstNode.create(s, ImpliedUse.replicateId(id)) + ) + ) + AstNode.create(expr, ImpliedUse.replicateId(id)) + } + def asQualIdentNode: AstNode[Ast.QualIdent] = { val nodeList = name.toIdentList.map(AstNode.create(_, id)) - val qualIdent = Ast.QualIdent.fromNodeList(nodeList) + val qualIdent = Ast.QualIdent.fromNodeList(nodeList, true) AstNode.create(qualIdent, id) } diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Interface.scala b/compiler/lib/src/main/scala/analysis/Semantics/Interface.scala index 95f43b27ec..81b6de7526 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Interface.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Interface.scala @@ -12,6 +12,9 @@ case class Interface( /* The port interface of the component */ portInterface: PortInterface = PortInterface("interface"), ) { + + def getUnqualifiedName: String = aNode._2.data.name + /** Add a port instance */ def addPortInstance(instance: PortInstance): Result.Result[Interface] = for { diff --git a/compiler/lib/src/main/scala/analysis/Semantics/InterfaceInstance.scala b/compiler/lib/src/main/scala/analysis/Semantics/InterfaceInstance.scala index 5f960ffa5f..0b4c0fdf25 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/InterfaceInstance.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/InterfaceInstance.scala @@ -20,6 +20,9 @@ sealed trait InterfaceInstance { /** Get the full port interface of this instance */ def getInterface: PortInterface + /** Get the underlying component instance from this interface instance, None if it's a topology */ + def getComponentInstanceOpt: Option[ComponentInstance] + /* Get a port instance given the name of the port instance */ def getPortInstance(name: AstNode[Ast.Ident]): Result.Result[PortInstance] = getInterface.getPortInstance(name, getUnqualifiedName) @@ -28,14 +31,48 @@ sealed trait InterfaceInstance { object InterfaceInstance { + /** Ordering on interface instances. */ implicit val ordering: Ordering[InterfaceInstance] = - Ordering.by[InterfaceInstance,String](_.getQualifiedName.toString) + new Ordering[InterfaceInstance] { + + /** An ordinal for each kind of instance, used to break ties between + * instances of different kinds that have the same qualified name */ + private def kind(ii: InterfaceInstance): Int = ii match { + case _: InterfaceComponentInstance => 0 + case _: InterfaceTopology => 1 + case _: InterfaceTemplateArg => 2 + } + + override def compare(ii1: InterfaceInstance, ii2: InterfaceInstance): Int = { + val nameCompare = + ii1.getQualifiedName.toString.compare(ii2.getQualifiedName.toString) + if (nameCompare != 0) nameCompare + else { + val kindCompare = kind(ii1).compare(kind(ii2)) + if (kindCompare != 0) kindCompare + else (ii1, ii2) match { + case (a1: InterfaceTemplateArg, a2: InterfaceTemplateArg) => + // Two bound template parameters with the same name are the same + // instance only if they name the same parameter of the same + // template and are bound to the same argument + val argCompare = compare(a1.ii, a2.ii) + if (argCompare != 0) argCompare + else a1.paramDef.interface.id.compare(a2.paramDef.interface.id) + // Component instance and topology names are unique in a model, + // so equal names mean equal instances + case _ => 0 + } + } + } + + } final case class InterfaceComponentInstance(ci: ComponentInstance) extends InterfaceInstance { override def getQualifiedName: Name.Qualified = ci.getQualifiedName override def getUnqualifiedName: String = ci.getUnqualifiedName override def getLoc: Location = ci.getLoc override def getInterface: PortInterface = ci.getInterface + override def getComponentInstanceOpt: Option[ComponentInstance] = Some(ci) } final case class InterfaceTopology(top: Topology) extends InterfaceInstance { @@ -43,6 +80,23 @@ object InterfaceInstance { override def getUnqualifiedName: String = top.getUnqualifiedName override def getLoc: Location = top.getLoc override def getInterface: PortInterface = top.portInterface + override def getComponentInstanceOpt: Option[ComponentInstance] = None + } + + final case class InterfaceTemplateArg( + paramDef: Ast.TemplateParam.Interface, + interface: Interface, + ii: InterfaceInstance, + ) extends InterfaceInstance { + override def getQualifiedName: Name.Qualified = Name.Qualified.fromIdent(paramDef.name) + override def getUnqualifiedName: String = paramDef.name + override def getLoc: Location = Locations.get(paramDef.interface.id) + override def getInterface: PortInterface = interface.portInterface + override def getComponentInstanceOpt: Option[ComponentInstance] = + ii.getComponentInstanceOpt + + override def getPortInstance(name: AstNode[Ast.Ident]): Result.Result[PortInstance] = + getInterface.getPortInstance(name, interface.getUnqualifiedName) } def fromComponentInstance(ci: ComponentInstance) = @@ -51,4 +105,10 @@ object InterfaceInstance { def fromTopology(top: Topology) = InterfaceTopology(top) + def fromTemplateArg( + paramDef: Ast.TemplateParam.Interface, + interface: Interface, + ii: InterfaceInstance + ) = InterfaceTemplateArg(paramDef, interface, ii) + } diff --git a/compiler/lib/src/main/scala/analysis/Semantics/NameGroup.scala b/compiler/lib/src/main/scala/analysis/Semantics/NameGroup.scala index c66d335832..275201c182 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/NameGroup.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/NameGroup.scala @@ -36,6 +36,10 @@ object NameGroup { override def toString(): String = "type" } + case object Template extends NameGroup { + override def toString(): String = "template" + } + case object Value extends NameGroup { override def toString(): String = "constant" } @@ -46,6 +50,7 @@ object NameGroup { StateMachine, PortInterfaceInstance, PortInterface, + Template, Type, Value ) diff --git a/compiler/lib/src/main/scala/analysis/Semantics/PortInstance.scala b/compiler/lib/src/main/scala/analysis/Semantics/PortInstance.scala index 44b8cdd72f..6079cfb189 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/PortInstance.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/PortInstance.scala @@ -69,17 +69,20 @@ sealed trait PortInstance { object PortInstance { /** A port instance type */ - sealed trait Type + sealed trait Type { + def show(a: Analysis): String = toString + } object Type { final case class DefPort(symbol: Symbol.Port) extends Type { override def toString = symbol.getUnqualifiedName + override def show(a: Analysis) = a.getQualifiedName(symbol).toString } case object Serial extends Type { override def toString = "serial" } /** Show a type option */ - def show(typeOpt: Option[Type]): String = typeOpt match { - case Some(t) => t.toString + def show(a: Analysis, typeOpt: Option[Type]): String = typeOpt match { + case Some(t) => t.show(a) case None => "none" } /** Check whether types are compatible */ @@ -337,7 +340,7 @@ object PortInstance { specifier: Ast.SpecPortInstance.Special ) = { val node = aNode._2 - val symbol @ Symbol.Port(_) = a.useDefMap(node.id) + val symbol @ Symbol.Port(_) = a.useDefMap(node.id).runtimeChecked val loc = Locations.get(node.id) val kindString = specifier.kind.toString for { diff --git a/compiler/lib/src/main/scala/analysis/Semantics/PortInstanceIdentifier.scala b/compiler/lib/src/main/scala/analysis/Semantics/PortInstanceIdentifier.scala index 1863b0fa31..f156164444 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/PortInstanceIdentifier.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/PortInstanceIdentifier.scala @@ -15,7 +15,16 @@ case class PortInstanceIdentifier( /** Compare two port instance identifiers */ override def compare(that: PortInstanceIdentifier) = { - this.toString.compare(that.toString) + val nameCompare = this.toString.compare(that.toString) + if (nameCompare != 0) nameCompare + else { + val instanceCompare = InterfaceInstance.ordering.compare( + this.interfaceInstance, + that.interfaceInstance + ) + if (instanceCompare != 0) instanceCompare + else this.portInstance.getNodeId.compare(that.portInstance.getNodeId) + } } /** Gets the qualified name */ diff --git a/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/MatchedPortNumbering.scala b/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/MatchedPortNumbering.scala index 61c73fcd64..d5211c17c7 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/MatchedPortNumbering.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/MatchedPortNumbering.scala @@ -201,14 +201,21 @@ object MatchedPortNumbering { } /** Apply matched numbering */ - def apply(t: Topology): Result.Result[Topology] = { - // Fold over instances and matchings - Result.foldLeft (t.componentInstanceMap.keys.toList) (t) ((t, ci) => - Result.foldLeft (ci.component.portMatchingList) (t) ((t, pm) => - handlePortMatching(t, ci, pm) + def apply(t: Topology): Result.Result[Topology] = + for { + // Check for invalid 'unmatched' keywords + _ <- Result.foldLeft (t.unmatchedConnectionSet.toList) (()) ((t, c) => + if !c.isMatchConstrained + then Left(SemanticError.MissingPortMatching(c.getLoc)) + else Right(()) ) - ) - } + // Fold over instances and matchings + t <- Result.foldLeft (t.componentInstanceMap.keys.toList) (t) ((t, ci) => + Result.foldLeft (ci.component.portMatchingList) (t) ((t, pm) => + handlePortMatching(t, ci, pm) + ) + ) + } yield t // Check for missing connections private def checkForMissingConnections( @@ -249,7 +256,12 @@ object MatchedPortNumbering { Right(m) else { val piiRemote = c.getOtherEndpoint(pi).port - val _ @ InterfaceInstance.InterfaceComponentInstance(ciRemote) = piiRemote.interfaceInstance + val ciRemote = piiRemote.interfaceInstance match { + case InterfaceInstance.InterfaceComponentInstance(ciRemote) => ciRemote + case ii => throw InternalError( + s"endpoint $piiRemote should refer to a component instance, not to ${ii.getClass.getSimpleName}" + ) + } m.get(ciRemote) match { case Some(cPrev) => Left( SemanticError.DuplicateMatchedConnection( diff --git a/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolvePartiallyNumbered.scala b/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolvePartiallyNumbered.scala index 5930e7e83d..df2f245bed 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolvePartiallyNumbered.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolvePartiallyNumbered.scala @@ -50,14 +50,14 @@ object ResolvePartiallyNumbered { // Check the source _ <- { val (instance, loc) = pattern.source - t.lookUpInstanceAt(InterfaceInstance.fromComponentInstance(instance), loc) + t.lookUpComponentInstanceAt(instance, loc) } // Check the targets _ <- Result.map( pattern.targets.toList, (pair: (ComponentInstance, Location)) => { val (instance, loc) = pair - t.lookUpInstanceAt(InterfaceInstance.fromComponentInstance(instance), loc) + t.lookUpComponentInstanceAt(instance, loc) } ) } @@ -65,7 +65,7 @@ object ResolvePartiallyNumbered { /** Compute the transitively imported topologies */ private def computeTransitiveImports(a: Analysis, t: Topology) = { - val tis = t.directTopologies.keys.foldLeft (Set[Symbol.Topology]()) ((tis, ts) => { + val tis = t.getImportedTopologySymbols(a).foldLeft (Set[Symbol.Topology]()) ((tis, ts) => { val t = a.topologyMap(ts) tis.union(t.transitiveImportSet) + ts }) @@ -99,10 +99,12 @@ object ResolvePartiallyNumbered { // Check whether an instance exists def endpointExists(endpoint: Connection.Endpoint) = { val instance = endpoint.port.interfaceInstance - t.instanceMap.get(instance) match { - case Some(_) => true - case None => false + def componentInstanceExists = instance match { + case InterfaceInstance.InterfaceComponentInstance(ci) => + t.componentInstanceMap.contains(ci) + case _ => false } + t.instanceMap.contains(instance) || componentInstanceExists } // Check whether a connection exists def exists(connection: Connection) = @@ -136,8 +138,9 @@ object ResolvePartiallyNumbered { // Clear out connections of T and reprocess them // Resolve all port instance identifiers to their 'true' component instance port Right(t.localConnectionMap.foldLeft (t.copy( - localConnectionMap = Map(), connectionMap = Map(), + unmatchedConnectionSet = Set(), + localConnectionMap = Map(), outputConnectionMap = TreeMap(), inputConnectionMap = TreeMap(), fromPortNumberMap = TreeMap(), @@ -156,7 +159,7 @@ object ResolvePartiallyNumbered { } def importInstances(into: Topology, fromSymbol: Symbol.Topology) = a.topologyMap(fromSymbol).instanceMap.foldLeft (into) (importInstance) - Right(t.directTopologies.keys.foldLeft (t) (importInstances)) + Right(t.getImportedTopologySymbols(a).foldLeft (t) (importInstances)) } /** Resolve this topology to a partially numbered topology */ diff --git a/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolveTopologyInstances.scala b/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolveTopologyInstances.scala index 1f8014ccc3..d0247722a0 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolveTopologyInstances.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/ResolveTopology/ResolveTopologyInstances.scala @@ -11,16 +11,33 @@ object ResolveTopologyInstances { t <- { val tops = t.directTopologies.toList Right(tops.foldLeft (t) ((t, ti) => { - t.addInstance(InterfaceInstance.fromTopology(a.topologyMap(ti._1)), ti._2) + val ii = InterfaceInstance.fromTopology(a.topologyMap(ti._1)) + t.addInstance(ii, ti._2) })) } t <- { val comps = t.directComponentInstances.toList Right(comps.foldLeft (t) ((t, ci) => { - t.addInstance(InterfaceInstance.fromComponentInstance(a.componentInstanceMap(ci._1)), ci._2) + val ii = InterfaceInstance.fromComponentInstance(a.componentInstanceMap(ci._1)) + t.addInstance(ii, ci._2) })) } + + t <- { + val instances = t.directTemplateArgs.toList + Result.foldLeft(instances) (t) ((t, symI) => { + val (tip, loc) = symI + for { + ii <- a.getInterfaceInstance(symI._1.value.id) + iface <- a.getInterface(tip.paramDef.interface.id) + } yield t.addInstance(InterfaceInstance.fromTemplateArg( + tip.paramDef, + iface, + ii + ), loc) + }) + } } yield t diff --git a/compiler/lib/src/main/scala/analysis/Semantics/StateMachine/StateMachineAnalysis.scala b/compiler/lib/src/main/scala/analysis/Semantics/StateMachine/StateMachineAnalysis.scala index daef82e84e..6ffc101add 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/StateMachine/StateMachineAnalysis.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/StateMachine/StateMachineAnalysis.scala @@ -100,7 +100,7 @@ case class StateMachineAnalysis( def getStateSymbol(state: AstNode[Ast.QualIdent]): StateMachineSymbol.State = { val sym = useDefMap(state.id) - val stateSym @ StateMachineSymbol.State(_) = sym + val stateSym @ StateMachineSymbol.State(_) = sym.runtimeChecked stateSym } @@ -108,7 +108,7 @@ case class StateMachineAnalysis( def getActionSymbol(action: AstNode[Ast.Ident]): StateMachineSymbol.Action = { val sym = useDefMap(action.id) - val actionSym @ StateMachineSymbol.Action(_) = sym + val actionSym @ StateMachineSymbol.Action(_) = sym.runtimeChecked actionSym } @@ -116,7 +116,7 @@ case class StateMachineAnalysis( def getGuardSymbol(guard: AstNode[Ast.Ident]): StateMachineSymbol.Guard = { val sym = useDefMap(guard.id) - val guardSym @ StateMachineSymbol.Guard(_) = sym + val guardSym @ StateMachineSymbol.Guard(_) = sym.runtimeChecked guardSym } @@ -124,7 +124,7 @@ case class StateMachineAnalysis( def getSignalSymbol(signal: AstNode[Ast.Ident]): StateMachineSymbol.Signal = { val sym = useDefMap(signal.id) - val signalSym @ StateMachineSymbol.Signal(_) = sym + val signalSym @ StateMachineSymbol.Signal(_) = sym.runtimeChecked signalSym } diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Symbol.scala b/compiler/lib/src/main/scala/analysis/Semantics/Symbol.scala index 91282441dc..436945338f 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Symbol.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Symbol.scala @@ -14,6 +14,9 @@ sealed trait TypeSymbol extends Symbol /** A port interface instance symbol */ sealed trait InterfaceInstanceSymbol extends Symbol +/** A template argument symbol */ +sealed trait TemplateArgSymbol extends Symbol + object Symbol { final case class AbsType(node: Ast.Annotated[AstNode[Ast.DefAbsType]]) extends TypeSymbol { @@ -81,5 +84,30 @@ object Symbol { override def getNodeId = node._2.id override def getUnqualifiedName = node._2.data.name } + final case class Template(node: Ast.Annotated[AstNode[Ast.DefModuleTemplate]]) extends Symbol { + override def getNodeId = node._2.id + override def getUnqualifiedName = node._2.data.name + } + final case class TemplateConstantArg( + paramDef: Ast.TemplateParam.Constant, + value: AstNode[Ast.Expr] + ) extends TemplateArgSymbol { + override def getUnqualifiedName = paramDef.name + override def getNodeId = value.id + } + final case class TemplateTypeArg( + paramDef: Ast.TemplateParam.Type, + value: AstNode[Ast.TypeName] + ) extends TemplateArgSymbol { + override def getUnqualifiedName = paramDef.name + override def getNodeId = value.id + } + final case class TemplateInterfaceArg( + paramDef: Ast.TemplateParam.Interface, + value: AstNode[Ast.QualIdent] + ) extends TemplateArgSymbol, InterfaceInstanceSymbol { + override def getUnqualifiedName = paramDef.name + override def getNodeId = value.id + } } diff --git a/compiler/lib/src/main/scala/analysis/Semantics/TemplateExpansion.scala b/compiler/lib/src/main/scala/analysis/Semantics/TemplateExpansion.scala new file mode 100644 index 0000000000..dd90af846f --- /dev/null +++ b/compiler/lib/src/main/scala/analysis/Semantics/TemplateExpansion.scala @@ -0,0 +1,40 @@ +package fpp.compiler.analysis + +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** An FPP template expansion */ +case class TemplateExpansion( + /** The AST node defining the template */ + defNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]], + /** The AST node expanding the template */ + expansion: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + /** Arguments bound to the parameters of this template during expansion */ + params: Map[TemplateExpansion.ParamKey, TemplateArgSymbol], + /** Scope where template argument symbols are entered */ + paramScope: Scope, + /** Scope where symbols defined in the expansion are entered */ + scope: Scope, + /** The scopes of the modules defined in the expansion. */ + localScopeMap: Map[Symbol, Scope] = Map() +) { + +} + +object TemplateExpansion { + + /** A key into the parameter map: a name group paired with a parameter name */ + type ParamKey = (NameGroup, Name.Unqualified) + + /** Get the name group in which a template argument symbol is entered */ + def nameGroup(symbol: TemplateArgSymbol): NameGroup = symbol match { + case Symbol.TemplateConstantArg(_, _) => NameGroup.Value + case Symbol.TemplateTypeArg(_, _) => NameGroup.Type + case Symbol.TemplateInterfaceArg(_, _) => NameGroup.PortInterfaceInstance + } + + /** Get the parameter map key for a template argument symbol */ + def paramKey(symbol: TemplateArgSymbol): ParamKey = + (nameGroup(symbol), symbol.getUnqualifiedName) + +} diff --git a/compiler/lib/src/main/scala/analysis/Semantics/TlmChannelIdentifier.scala b/compiler/lib/src/main/scala/analysis/Semantics/TlmChannelIdentifier.scala index 0b45f03530..7779152160 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/TlmChannelIdentifier.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/TlmChannelIdentifier.scala @@ -42,7 +42,7 @@ object TlmChannelIdentifier { Result.Result[TlmChannelIdentifier] = { val data = node.data for { - componentInstance <- a.getComponentInstance( + componentInstance <- a.getRepresentedComponentInstance( data.componentInstance.id ) tlmChannel <- componentInstance.component.getTlmChannelByName( diff --git a/compiler/lib/src/main/scala/analysis/Semantics/TlmPacketSet.scala b/compiler/lib/src/main/scala/analysis/Semantics/TlmPacketSet.scala index e3caac2472..0abf617878 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/TlmPacketSet.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/TlmPacketSet.scala @@ -93,7 +93,12 @@ object TlmPacketSet { then { val entry = d.tlmChannelEntryMap(id) val channelName = entry.getQualifiedName - val instanceLoc = t.instanceMap(InterfaceInstance.fromComponentInstance(entry.instance)) + val instanceLoc = t.lookUpComponentInstanceLoc(entry.instance) match { + case Some(loc) => loc + case None => throw InternalError( + s"component instance ${entry.instance.getQualifiedName} of telemetry channel $channelName is not an instance of topology ${t.getName}" + ) + } val channelLoc = entry.tlmChannel.getLoc val msg = s"""|telemetry channel $channelName is neither used nor marked as omitted | diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Topology.scala b/compiler/lib/src/main/scala/analysis/Semantics/Topology.scala index 62efcd059f..b19e12bb69 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Topology.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Topology.scala @@ -14,6 +14,8 @@ case class Topology( directTopologies: Map[Symbol.Topology, Location] = Map(), /** The directly imported component instances */ directComponentInstances: Map[Symbol.ComponentInstance, Location] = Map(), + /** The directly imported template arguments */ + directTemplateArgs: Map[Symbol.TemplateInterfaceArg, Location] = Map(), /** The transitively imported topologies */ transitiveImportSet: Set[Symbol.Topology] = Set(), /** The instances of this topology */ @@ -28,6 +30,8 @@ case class Topology( patternMap: Map[Ast.SpecConnectionGraph.Pattern.Kind, ConnectionPattern] = Map(), /** The connections of this topology, indexed by graph name */ connectionMap: Map[Name.Unqualified, List[Connection]] = Map(), + /** The connections of this topology marked as unmatched */ + unmatchedConnectionSet: Set[Connection] = Set(), /** The connections defined locally, not imported */ localConnectionMap: Map[Name.Unqualified, List[Connection]] = Map(), /** The output connections going from each port */ @@ -45,6 +49,11 @@ case class Topology( /** Gets the name of the topology */ def getName = aNode._2.data.name + /** Gets the symbols of the topologies imported into this topology. */ + def getImportedTopologySymbols(a: Analysis): List[Symbol.Topology] = + directTopologies.keys.toList ++ + directTemplateArgs.keys.toList.flatMap(a.getRepresentedTopologySymbolOpt) + /** Add a port to the topology */ def addPortNode( node: Ast.Annotated[AstNode[Ast.SpecTopPort]] @@ -111,6 +120,10 @@ case class Topology( val connections = connectionMap.getOrElse(graphName, Nil) connectionMap + (graphName -> (connection :: connections)) } + val ucSet = { + val connections = unmatchedConnectionSet + if connection.isUnmatched then connections + connection else connections + } val ocMap = { val from = connection.from.port val connections = outputConnectionMap.getOrElse(from, TreeSet.empty[Connection]) @@ -131,6 +144,7 @@ case class Topology( } this.copy( connectionMap = cgMap, + unmatchedConnectionSet = ucSet, outputConnectionMap = ocMap, inputConnectionMap = icMap, fromPortNumberMap = fpnMap, @@ -173,59 +187,66 @@ case class Topology( instance: InterfaceInstance, loc: Location ): Topology = { - val pairOpt = instanceMap.get(instance) // Use the previous location, if it exists - val mergedLoc = pairOpt.getOrElse(loc) - val map = instanceMap + (instance -> mergedLoc) + val o = instanceMap.get(instance) match { + case None => loc + case Some(otherLoc) => otherLoc + } + + val map = instanceMap + (instance -> o) this.copy(instanceMap = map) } /** Add an instance that must be unique */ def addInstanceSymbol( + a: Analysis, symbol: InterfaceInstanceSymbol, loc: Location - ): Result.Result[Topology] = - symbol match { - case ci: Symbol.ComponentInstance => - directComponentInstances.get(ci) match { - case Some(prevLoc) => Left( - SemanticError.DuplicateInstance( - symbol.getUnqualifiedName, - loc, - prevLoc - ) + ): Result.Result[Topology] = { + // Check that the symbol is not already an instance of this topology + def checkNotDuplicate(prevLocOpt: Option[Location]): Result.Result[Unit] = + prevLocOpt match { + case Some(prevLoc) => Left( + SemanticError.DuplicateInstance( + symbol.getUnqualifiedName, + loc, + prevLoc ) - case None => - val map = directComponentInstances + (ci -> loc) - Right(this.copy(directComponentInstances = map)) - } - - case top: Symbol.Topology => - directTopologies.get(top) match { - case Some(prevLoc) => Left( - SemanticError.DuplicateInstance( - symbol.getUnqualifiedName, - loc, - prevLoc - ) + ) + case None => Right(()) + } + // Check that the symbol does not represent a deployment topology. + // The symbol may be a bound template parameter, so resolve it first. + def checkNotDeployment: Result.Result[Unit] = + a.getRepresentedTopologySymbolOpt(symbol) match { + case Some(top) if top.node._2.data.isDeployment => Left( + SemanticError.InvalidSymbol( + symbol.getUnqualifiedName, + loc, + "use of deployment topology is not allowed here", + top.getLoc ) - case None => - if !top.node._2.data.isDeployment - then - val map = directTopologies + (top -> loc) - Right(this.copy(directTopologies = map)) - else - val defLoc = Locations.get(top.node._2.id) - Left( - SemanticError.InvalidSymbol( - symbol.getUnqualifiedName, - loc, - "use of deployment topology is not allowed here", - defLoc - ) - ) - } + ) + case _ => Right(()) + } + for { + _ <- checkNotDeployment + t <- symbol match { + case ci: Symbol.ComponentInstance => + for (_ <- checkNotDuplicate(directComponentInstances.get(ci))) + yield this.copy( + directComponentInstances = directComponentInstances + (ci -> loc) + ) + case top: Symbol.Topology => + for (_ <- checkNotDuplicate(directTopologies.get(top))) + yield this.copy(directTopologies = directTopologies + (top -> loc)) + case arg: Symbol.TemplateInterfaceArg => + for (_ <- checkNotDuplicate(directTemplateArgs.get(arg))) + yield this.copy(directTemplateArgs = directTemplateArgs + (arg -> loc)) + } } + yield t + } /** Assigns a port number to a connection at a port instance */ def assignPortNumber( @@ -274,7 +295,7 @@ case class Topology( inputConnectionMap.getOrElse(to, TreeSet.empty[Connection]) /** Get the connections at a port instance */ - def getConnectionsAt(pii: PortInstanceIdentifier): scala.collection.immutable.SortedSet[_ <: Connection] = { + def getConnectionsAt(pii: PortInstanceIdentifier): scala.collection.immutable.SortedSet[? <: Connection] = { import PortInstance.Direction._ val pi = pii.portInstance pi.getDirection match { @@ -293,9 +314,36 @@ case class Topology( def getLoc: Location = Locations.get(aNode._2.id) /** Precompute the set of component instances in the topology */ - lazy val componentInstanceMap: Map[ComponentInstance, Location] = { - instanceMap collect { case (InterfaceInstance.InterfaceComponentInstance(ci), loc: Location) => (ci, loc) } - } + lazy val componentInstanceMap: Map[ComponentInstance, Location] = + instanceMap.foldLeft (TreeMap[ComponentInstance, Location]()) { + case (map, (instance, loc)) => instance.getComponentInstanceOpt match { + case Some(ci) => map + (ci -> loc) + case None => map + } + } + + /** Looks up the location where a component instance appears in this topology. + * The instance may appear directly or through a template interface parameter. */ + def lookUpComponentInstanceLoc(ci: ComponentInstance): Option[Location] = + componentInstanceMap.get(ci) + + /** Look up a component instance used at a location. + * The instance may appear directly, through an imported subtopology, or + * through a bound interface template parameter. */ + def lookUpComponentInstanceAt( + ci: ComponentInstance, + loc: Location + ): Result.Result[Location] = + lookUpComponentInstanceLoc(ci) match { + case Some(result) => Right(result) + case None => Left( + SemanticError.InvalidInterfaceInstance( + loc, + ci.getUnqualifiedName, + this.getUnqualifiedName + ) + ) + } /** Gets the set of used port numbers */ def getUsedPortNumbers(pi: PortInstance, cs: Iterable[Connection]): Set[Int] = diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Type.scala b/compiler/lib/src/main/scala/analysis/Semantics/Type.scala index 4e4b1ac989..c756a93caa 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Type.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Type.scala @@ -440,7 +440,7 @@ object Type { case _ -> Struct(_, anonStruct2, _, _, _) => t1.isConvertibleTo(anonStruct2) case AnonStruct(members1) -> AnonStruct(members2) => - members1.forall(memberExistsIn(members2) _) + members1.forall(memberExistsIn(members2)) case _ -> AnonStruct(members2) => t1.isPromotableToStruct && members2.values.forall(t1.isConvertibleTo(_)) @@ -553,7 +553,7 @@ object Type { } } /** Resolve each member of t1 against the corresponding member of t2, if it exists */ - def resolveT1Members = Struct.resolveMembers (resolveT1Member) _ + def resolveT1Members = Struct.resolveMembers (resolveT1Member) for (t1ResolvedMembers <- resolveT1Members(members1)) yield { def pred(member: Struct.Member) = !members1.contains(member._1) @@ -569,7 +569,7 @@ object Type { for (t <- commonType(other, member._2)) yield (member._1 -> t) /** Resolve all members of t2 against t1 */ - def resolveMembers = Struct.resolveMembers (resolveMember) _ + def resolveMembers = Struct.resolveMembers (resolveMember) for (resolvedMembers <- resolveMembers(members)) yield AnonStruct(resolvedMembers) } @@ -654,7 +654,7 @@ object Type { val defaultStringSizeSymbol = a.frameworkDefinitions.constantMap("FW_FIXED_LENGTH_STRING_SIZE") val Value.Integer(value) = - a.valueMap(defaultStringSizeSymbol.getNodeId) + a.valueMap(defaultStringSizeSymbol.getNodeId).runtimeChecked value } lengthSize + dataSize diff --git a/compiler/lib/src/main/scala/analysis/Semantics/Value.scala b/compiler/lib/src/main/scala/analysis/Semantics/Value.scala index 1bb2fffcbd..c4e981a690 100644 --- a/compiler/lib/src/main/scala/analysis/Semantics/Value.scala +++ b/compiler/lib/src/main/scala/analysis/Semantics/Value.scala @@ -64,10 +64,14 @@ sealed trait Value { def promoteToAnonArray(anonArray: Type.AnonArray): Option[Value.AnonArray] = { if (this.getType.isPromotableToArray) for { - size <- anonArray.size elt <- this.convertToType(anonArray.eltType) } - yield Value.AnonArray(List.fill(size)(elt)) + yield { + anonArray.size match { + case Some(size) => Value.AnonArray(List.fill(size)(elt), None) + case None => Value.AnonArray(Nil, Some(elt)) + } + } else None } def promoteToArray(array: Type.Array): Option[Value.Array] = @@ -310,7 +314,7 @@ object Value { } /** Anonymous array values */ - case class AnonArray(elements: List[Value]) extends Value { + case class AnonArray(elements: List[Value], scalar: Option[Value] = None) extends Value { def convertToAnonArray(anonArrayType: Type.AnonArray): Option[Value.AnonArray] = { def convertElements(in: List[Value], t: Type, out: List[Value]): Option[List[Value]] = @@ -322,10 +326,21 @@ object Value { } } val Type.AnonArray(size, eltType) = anonArrayType - if (Type.Array.sizesMatch(Some(elements.size), size)) - for (elements <- convertElements(elements, eltType, Nil)) - yield AnonArray(elements) - else None + scalar match { + // This value is a scalar promoted to an array of unknown size + // Fill in the elements, if the size is now known + case Some(scalarValue) => + for (elt <- scalarValue.convertToType(eltType)) + yield size match { + case Some(n) => AnonArray(List.fill(n)(elt), None) + case None => AnonArray(Nil, Some(elt)) + } + case None => + if (Type.Array.sizesMatch(Some(elements.size), size)) + for (elements <- convertElements(elements, eltType, Nil)) + yield AnonArray(elements) + else None + } } def convertToArray(arrayType: Type.Array): Option[Value.Array] = { @@ -341,11 +356,25 @@ object Value { case _ => None } - override def getType = Type.AnonArray(Some(elements.size), elements.head.getType) + override def getType = scalar match { + // A scalar value promoted to an array whose size is not yet known + case Some(scalarValue) => Type.AnonArray(None, scalarValue.getType) + case None => elements match { + case head :: _ => Type.AnonArray(Some(elements.size), head.getType) + // An empty array value has no element type + // This case cannot arise when analyzing a model: an array expression + // may not be empty, and an array size may not be zero + case Nil => Type.AnonArray(Some(0), Type.Integer) + } + } - override def toString = "[ " ++ elements.mkString(", ") ++ " ]" + override def toString = scalar match { + case Some(scalarValue) => "[ " ++ scalarValue.toString ++ ", ... ]" + case None => "[ " ++ elements.mkString(", ") ++ " ]" + } - override def truncate: AnonArray = AnonArray(elements.map(_.truncate)) + override def truncate: AnonArray = + AnonArray(elements.map(_.truncate), scalar.map(_.truncate)) } @@ -416,6 +445,8 @@ object Value { in match { case Nil => Some(out) case (m -> t) :: tail => { + // If this value has member m, then convert its value to the + // member type. Otherwise use the default value at the member type. val vOpt = members.get(m) match { case Some(v) => v.convertToType(t) case None => t.getDefaultValue diff --git a/compiler/lib/src/main/scala/analysis/UsedSymbols.scala b/compiler/lib/src/main/scala/analysis/UsedSymbols.scala index dea479774c..022186fdcf 100644 --- a/compiler/lib/src/main/scala/analysis/UsedSymbols.scala +++ b/compiler/lib/src/main/scala/analysis/UsedSymbols.scala @@ -47,6 +47,12 @@ object UsedSymbols extends UseAnalyzer { use: Name.Qualified ) = addSymbol(a, node) + override def templateUse( + a: Analysis, + node: AstNode[Ast.QualIdent], + use: Name.Qualified + ) = addSymbol(a, node) + override def interfaceInstanceUse( a: Analysis, node: AstNode[Ast.QualIdent], @@ -96,13 +102,13 @@ object UsedSymbols extends UseAnalyzer { def resolveEnumConstant(s: Symbol) = s match case Symbol.EnumConstant(node) => - val t @ Type.Enum(enumNode, _, _) = a.typeMap(node._2.id) + val t @ Type.Enum(enumNode, _, _) = a.typeMap(node._2.id).runtimeChecked Symbol.Enum(enumNode) case _ => s // Helper function for recursive resolution val a1: Analysis = a.copy(usedSymbolSet = Set()) def resolveNode(s: Symbol): Set[Symbol] = { - val Right(a2) = s match { + val Right(a2) = (s match { case Symbol.AbsType(node) => defAbsTypeAnnotatedNode(a1, node) case Symbol.AliasType(node) => defAliasTypeAnnotatedNode(a1, node) case Symbol.Array(node) => defArrayAnnotatedNode(a1, node) @@ -118,7 +124,11 @@ object UsedSymbols extends UseAnalyzer { case Symbol.Struct(node) => defStructAnnotatedNode(a1, node) case Symbol.System(node) => defSystemAnnotatedNode(a1, node) case Symbol.Topology(node) => defTopologyAnnotatedNode(a1, node) - } + case Symbol.Template(node) => defModuleTemplateAnnotatedNode(a1, node) + case Symbol.TemplateConstantArg(_, expr) => exprNode(a, expr) + case Symbol.TemplateTypeArg(_, tn) => typeNameNode(a, tn) + case Symbol.TemplateInterfaceArg(_, name) => qualIdentNode (interfaceInstanceUse) (a, name) + }).runtimeChecked a2.usedSymbolSet.flatMap(resolveNode) + resolveEnumConstant(s) } ss.flatMap(resolveNode) diff --git a/compiler/lib/src/main/scala/ast/Ast.scala b/compiler/lib/src/main/scala/ast/Ast.scala index 2bc91ef2e3..df0a9be3f0 100644 --- a/compiler/lib/src/main/scala/ast/Ast.scala +++ b/compiler/lib/src/main/scala/ast/Ast.scala @@ -10,6 +10,12 @@ object Ast { /** Formal parameter list */ type FormalParamList = List[Annotated[AstNode[FormalParam]]] + /** Template parameter list */ + type TemplateParamList = List[Annotated[AstNode[TemplateParam]]] + + /** Template argument list */ + type TemplateArgList = List[AstNode[TemplateArg]] + /** Identifier */ type Ident = String @@ -160,6 +166,7 @@ object Ast { final case class DefEnum(node: AstNode[Ast.DefEnum]) extends Node final case class DefInterface(node: AstNode[Ast.DefInterface]) extends Node final case class DefModule(node: AstNode[Ast.DefModule]) extends Node + final case class DefModuleTemplate(node: AstNode[Ast.DefModuleTemplate]) extends Node final case class DefPort(node: AstNode[Ast.DefPort]) extends Node final case class DefStateMachine(node: AstNode[Ast.DefStateMachine]) extends Node final case class DefStruct(node: AstNode[Ast.DefStruct]) extends Node @@ -167,8 +174,34 @@ object Ast { final case class DefTopology(node: AstNode[Ast.DefTopology]) extends Node final case class SpecInclude(node: AstNode[Ast.SpecInclude]) extends Node final case class SpecLoc(node: AstNode[Ast.SpecLoc]) extends Node + final case class SpecTemplateExpand(node: AstNode[Ast.SpecTemplateExpand]) extends Node + } + + /** Template parameter */ + sealed trait TemplateParam + object TemplateParam { + final case class Constant( + name: Ident, + typeName: AstNode[Ast.TypeName] + ) extends TemplateParam + + final case class Type( + name: Ident + ) extends TemplateParam + + final case class Interface( + name: Ident, + interface: AstNode[QualIdent], + ) extends TemplateParam } + /** Module template definition */ + final case class DefModuleTemplate( + name: Ident, + params: TemplateParamList, + members: List[ModuleMember] + ) + /** Port definition */ final case class DefPort( name: Ident, @@ -306,12 +339,30 @@ object Ast { ) /** Expression */ - sealed trait Expr + sealed trait Expr { + + /** Gets the identifier list, if the expression represents a qualified identifier */ + def getIdentListOpt: Option[List[Ident]] = None + + /** Gets isAbsolute, if the expression represents a equalified identifier */ + def getIsAbsoluteOpt: Option[Boolean] = None + + } + final case class ExprArray(elts: List[AstNode[Expr]]) extends Expr final case class ExprArraySubscript(e1: AstNode[Expr], e2: AstNode[Expr]) extends Expr final case class ExprBinop(e1: AstNode[Expr], op: Binop, e2: AstNode[Expr]) extends Expr - final case class ExprDot(e: AstNode[Expr], id: AstNode[Ident]) extends Expr - final case class ExprIdent(value: Ident) extends Expr + final case class ExprDot(e: AstNode[Expr], id: AstNode[Ident]) extends Expr { + override def getIdentListOpt = + e.data.getIdentListOpt.map(_ ++ List(id.data)) + override def getIsAbsoluteOpt = + e.data.getIsAbsoluteOpt + } + final case class ExprIdent(value: Ident, isAbsolute: Boolean) extends Expr { + override def getIdentListOpt = Some(List(value)) + override def getIsAbsoluteOpt = Some(isAbsolute) + } + final case class ExprLiteralBool(value: LiteralBool) extends Expr final case class ExprLiteralFloat(value: String) extends Expr final case class ExprLiteralInt(value: String) extends Expr @@ -379,6 +430,9 @@ object Ast { /** A possibly-qualified identifier */ sealed trait QualIdent { + /** Whether the identifier is resolved absolutely */ + def isAbsolute: Boolean + /** Convert a qualified identifier to a list of identifiers */ def toIdentList: List[Ident] @@ -387,26 +441,38 @@ object Ast { object QualIdent { /** An unqualified identifier */ - case class Unqualified(name: Ident) extends QualIdent { + case class Unqualified(name: Ident, isAbsolute: Boolean) extends QualIdent { override def toIdentList = List(name) } /** A qualified identifier */ - case class Qualified(qualifier: AstNode[QualIdent], name: AstNode[Ident]) extends QualIdent { + case class Qualified( + qualifier: AstNode[QualIdent], + name: AstNode[Ident] + ) extends QualIdent { + + override def isAbsolute = qualifier.data.isAbsolute override def toIdentList = qualifier.data.toIdentList ++ List(name.data) } /** Construct a qualified identifier from a node list */ - def fromNodeList(nodeList: QualIdent.NodeList): QualIdent = + def fromNodeList(nodeList: QualIdent.NodeList, isAbsolute: Boolean): QualIdent = QualIdent.NodeList.split(nodeList) match { - case (Nil, name) => QualIdent.Unqualified(name.data) + case (Nil, name) => QualIdent.Unqualified(name.data, isAbsolute) case (qualifier, name) => { - val qualifier1 = fromNodeList(qualifier) - val node = AstNode.create(qualifier1, QualIdent.NodeList.name(qualifier).id) + val qualifier1 = fromNodeList(qualifier, isAbsolute) + val id = QualIdent.NodeList.name(qualifier).id + val node = AstNode.create(qualifier1) + Locations.getOpt(id) match { + case None => () + case Some(loc) => + Locations.put(node.id, loc) + () + } QualIdent.Qualified(node, name) } } @@ -435,8 +501,8 @@ object Ast { object Node { /** Create a QualIdent node from a node list */ - def fromNodeList(nodeList: NodeList): AstNode[QualIdent] = { - val qualIdent = QualIdent.fromNodeList(nodeList) + def fromNodeList(nodeList: NodeList, isAbsolute: Boolean): AstNode[QualIdent] = { + val qualIdent = QualIdent.fromNodeList(nodeList, isAbsolute) val node = AstNode.create(qualIdent) val loc = Locations.get(nodeList.head.id) Locations.put(node.id, loc) @@ -639,6 +705,9 @@ object Ast { case object Interface extends Kind { override def toString = "interface" } + case object Template extends Kind { + override def toString = "template" + } } /** Parameter specifier */ @@ -768,6 +837,21 @@ object Ast { queueFull: Option[QueueFull] ) + /** Template argument */ + sealed trait TemplateArg + object TemplateArg { + final case class Constant(expr: AstNode[Expr]) extends TemplateArg + final case class Type(typeName: AstNode[TypeName]) extends TemplateArg + final case class Interface(instance: AstNode[QualIdent]) extends TemplateArg + } + + /** Template expansion specifier */ + final case class SpecTemplateExpand( + template: AstNode[QualIdent], + args: TemplateArgList, + members: Option[List[ModuleMember]] + ) + /** Telemetry channel specifier */ final case class SpecTlmChannel( name: Ident, @@ -910,10 +994,18 @@ object Ast { } /** Type name */ - sealed trait TypeName + sealed trait TypeName { + + /** Gets isAbsolute if the type name represents a qualified identifier */ + def getIsAbsoluteOpt: Option[Boolean] = None + + } + final case class TypeNameFloat(name: TypeFloat) extends TypeName final case class TypeNameInt(name: TypeInt) extends TypeName - final case class TypeNameQualIdent(name: AstNode[QualIdent]) extends TypeName + final case class TypeNameQualIdent(name: AstNode[QualIdent]) extends TypeName { + override def getIsAbsoluteOpt = Some(name.data.isAbsolute) + } case object TypeNameBool extends TypeName final case class TypeNameString(size: Option[AstNode[Expr]]) extends TypeName diff --git a/compiler/lib/src/main/scala/ast/AstStateTransformer.scala b/compiler/lib/src/main/scala/ast/AstStateTransformer.scala index e327ec9ddd..d2be4f9682 100644 --- a/compiler/lib/src/main/scala/ast/AstStateTransformer.scala +++ b/compiler/lib/src/main/scala/ast/AstStateTransformer.scala @@ -17,7 +17,7 @@ trait AstStateTransformer extends AstTransformer { } /** Transform a list in sequence, threading state */ - def transformList[A,B]( + def transformList[A, B]( s: State, list: List[A], transform: (State, A) => Result[B] @@ -35,6 +35,15 @@ trait AstStateTransformer extends AstTransformer { yield (pair._1, pair._2.reverse) } + /** Transform a list and flatten the result */ + def transformFlatList[A, B]( + s: State, + list: List[A], + transform: (In, A) => Result[List[B]] + ): Result[List[B]] = + for ((s, bs) <- transformList(s, list, transform)) + yield (s, bs.flatten) + def tuMember(s: State, member: Ast.TUMember): Result[List[Ast.TUMember]] = matchModuleMember(s, member) diff --git a/compiler/lib/src/main/scala/ast/AstStateVisitor.scala b/compiler/lib/src/main/scala/ast/AstStateVisitor.scala index 23bd3eca3e..f4f55c8fad 100644 --- a/compiler/lib/src/main/scala/ast/AstStateVisitor.scala +++ b/compiler/lib/src/main/scala/ast/AstStateVisitor.scala @@ -16,6 +16,13 @@ trait AstStateVisitor extends AstVisitor { /** Default state transformation */ override def default(s: State) = Right(s) + /** Visit the members of an expanded template */ + override def specTemplateExpandAnnotatedNodeExpanded( + s: State, + node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ) = visitList(s, members, matchModuleMember) + /** Visit a list in sequence, threading state */ def visitList[T]( s: State, diff --git a/compiler/lib/src/main/scala/ast/AstTransformer.scala b/compiler/lib/src/main/scala/ast/AstTransformer.scala index a851eed190..c3f6c66498 100644 --- a/compiler/lib/src/main/scala/ast/AstTransformer.scala +++ b/compiler/lib/src/main/scala/ast/AstTransformer.scala @@ -17,81 +17,74 @@ trait AstTransformer { def default(in: In): Out + def defaultNode[T]( + in: In, + node: AstNode[T] + ): ResultNode[T] = + Right(default(in), node) + + def defaultAnnotatedNode[T]( + in: In, + aNode: Ast.Annotated[AstNode[T]] + ): ResultAnnotatedNode[T] = + Right(default(in), aNode) + def defAbsTypeAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefAbsType]] ): ResultAnnotatedNode[Ast.DefAbsType] = - Right(default(in), node) - - def defActionAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.DefAction]] - ): ResultAnnotatedNode[Ast.DefAction] = - Right(default(in), node) + defaultAnnotatedNode(in, node) def defAliasTypeAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefAliasType]] ): ResultAnnotatedNode[Ast.DefAliasType] = - Right(default(in), node) + defaultAnnotatedNode(in, node) def defArrayAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefArray]]): ResultAnnotatedNode[Ast.DefArray] = - Right(default(in), node) - - def defChoiceAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.DefChoice]] - ): ResultAnnotatedNode[Ast.DefChoice] = - Right(default(in), node) + defaultAnnotatedNode(in, node) def defComponentAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefComponent]]): ResultAnnotatedNode[Ast.DefComponent] = - Right(default(in), node) + defaultAnnotatedNode(in, node) def defComponentInstanceAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefComponentInstance]] - ): ResultAnnotatedNode[Ast.DefComponentInstance] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefComponentInstance] = + defaultAnnotatedNode(in, node) def defConstantAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefConstant]] - ): ResultAnnotatedNode[Ast.DefConstant] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefConstant] = + defaultAnnotatedNode(in, node) def defEnumAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefEnum]] - ): ResultAnnotatedNode[Ast.DefEnum] = Right(default(in), node) - - def defGuardAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.DefGuard]] - ): ResultAnnotatedNode[Ast.DefGuard] = - Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefEnum] = + defaultAnnotatedNode(in, node) def defInterfaceAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefInterface]]): ResultAnnotatedNode[Ast.DefInterface] = - Right(default(in), node) + defaultAnnotatedNode(in, node) def defModuleAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefModule]] - ): ResultAnnotatedNode[Ast.DefModule] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefModule] = + defaultAnnotatedNode(in, node) - def defPortAnnotatedNode( + def defModuleTemplateAnnotatedNode( in: In, - node: Ast.Annotated[AstNode[Ast.DefPort]] - ): ResultAnnotatedNode[Ast.DefPort] = Right(default(in), node) + node: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ): ResultAnnotatedNode[Ast.DefModuleTemplate] = + defaultAnnotatedNode(in, node) - def defSignalAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.DefSignal]] - ): ResultAnnotatedNode[Ast.DefSignal] = - Right(default(in), node) - - def defStateAnnotatedNode( + def defPortAnnotatedNode( in: In, - node: Ast.Annotated[AstNode[Ast.DefState]] - ): ResultAnnotatedNode[Ast.DefState] = - Right(default(in), node) + node: Ast.Annotated[AstNode[Ast.DefPort]] + ): ResultAnnotatedNode[Ast.DefPort] = + defaultAnnotatedNode(in, node) def defStateMachineAnnotatedNode( in: In, @@ -105,204 +98,280 @@ trait AstTransformer { def defStateMachineAnnotatedNodeExternal( in: In, node: Ast.Annotated[AstNode[Ast.DefStateMachine]] - ): ResultAnnotatedNode[Ast.DefStateMachine] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefStateMachine] = + defaultAnnotatedNode(in, node) def defStateMachineAnnotatedNodeInternal( in: In, node: Ast.Annotated[AstNode[Ast.DefStateMachine]], members: List[Ast.StateMachineMember] - ): ResultAnnotatedNode[Ast.DefStateMachine] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefStateMachine] = + defaultAnnotatedNode(in, node) + + def defActionAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.DefAction]] + ): ResultAnnotatedNode[Ast.DefAction] = + defaultAnnotatedNode(in, node) + + def defChoiceAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.DefChoice]] + ): ResultAnnotatedNode[Ast.DefChoice] = + defaultAnnotatedNode(in, node) + + def defGuardAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.DefGuard]] + ): ResultAnnotatedNode[Ast.DefGuard] = + defaultAnnotatedNode(in, node) + + def defSignalAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.DefSignal]] + ): ResultAnnotatedNode[Ast.DefSignal] = + defaultAnnotatedNode(in, node) + + def defStateAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.DefState]] + ): ResultAnnotatedNode[Ast.DefState] = + defaultAnnotatedNode(in, node) + + def specInitialTransitionAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecInitialTransition]] + ): ResultAnnotatedNode[Ast.SpecInitialTransition] = + defaultAnnotatedNode(in, node) + + def specStateEntryAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecStateEntry]] + ): ResultAnnotatedNode[Ast.SpecStateEntry] = + defaultAnnotatedNode(in, node) + + def specStateExitAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecStateExit]] + ): ResultAnnotatedNode[Ast.SpecStateExit] = + defaultAnnotatedNode(in, node) + + def specStateMachineInstanceAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecStateMachineInstance]] + ): ResultAnnotatedNode[Ast.SpecStateMachineInstance] = + defaultAnnotatedNode(in, node) + + def specStateTransitionAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecStateTransition]] + ): ResultAnnotatedNode[Ast.SpecStateTransition] = + defaultAnnotatedNode(in, node) def defStructAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefStruct]] - ): ResultAnnotatedNode[Ast.DefStruct] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefStruct] = + defaultAnnotatedNode(in, node) def defSystemAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefSystem]] - ): ResultAnnotatedNode[Ast.DefSystem] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefSystem] = + defaultAnnotatedNode(in, node) def defTopologyAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.DefTopology]] - ): ResultAnnotatedNode[Ast.DefTopology] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.DefTopology] = + defaultAnnotatedNode(in, node) def exprArrayNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprArray): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprArraySubscriptNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprArraySubscript): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprBinopNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprBinop): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprDotNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprDot): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprIdentNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprIdent): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprLiteralBoolNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprLiteralBool): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprLiteralFloatNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprLiteralFloat): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprLiteralIntNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprLiteralInt): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprLiteralStringNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprLiteralString): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprParenNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprParen): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprSizeOfNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprSizeOf): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprStructNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprStruct): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def exprUnopNode(in: In, node: AstNode[Ast.Expr], e: Ast.ExprUnop): ResultNode[Ast.Expr] = - Right(default(in), node) + defaultNode(in, node) def specCommandAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecCommand]] - ): ResultAnnotatedNode[Ast.SpecCommand] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecCommand] = + defaultAnnotatedNode(in, node) def specInstanceAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecInstance]] - ): ResultAnnotatedNode[Ast.SpecInstance] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecInstance] = + defaultAnnotatedNode(in, node) def specConnectionGraphAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecConnectionGraph]] - ): ResultAnnotatedNode[Ast.SpecConnectionGraph] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecConnectionGraph] = + defaultAnnotatedNode(in, node) def specContainerAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecContainer]] - ): ResultAnnotatedNode[Ast.SpecContainer] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecContainer] = + defaultAnnotatedNode(in, node) def specEventAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecEvent]] - ): ResultAnnotatedNode[Ast.SpecEvent] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecEvent] = + defaultAnnotatedNode(in, node) def specIncludeAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecInclude]] - ): ResultAnnotatedNode[Ast.SpecInclude] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecInclude] = + defaultAnnotatedNode(in, node) def specInitAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecInit]] - ): ResultAnnotatedNode[Ast.SpecInit] = Right(default(in), node) - - def specInitialTransitionAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.SpecInitialTransition]] - ): ResultAnnotatedNode[Ast.SpecInitialTransition] = - Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecInit] = + defaultAnnotatedNode(in, node) def specInterfaceImportAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecImport]] - ): ResultAnnotatedNode[Ast.SpecImport] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecImport] = + defaultAnnotatedNode(in, node) def specInternalPortAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecInternalPort]] - ): ResultAnnotatedNode[Ast.SpecInternalPort] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecInternalPort] = + defaultAnnotatedNode(in, node) def specLocAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecLoc]] - ): ResultAnnotatedNode[Ast.SpecLoc] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecLoc] = + defaultAnnotatedNode(in, node) + + def specTemplateExpandAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ): ResultAnnotatedNode[Ast.SpecTemplateExpand] = + node._2.data.members match { + case Some(members) => specTemplateExpandAnnotatedNodeExpanded(in, node, members) + case None => specTemplateExpandAnnotatedNodeUnexpanded(in, node) + } + + def specTemplateExpandAnnotatedNodeUnexpanded( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ): ResultAnnotatedNode[Ast.SpecTemplateExpand] = + defaultAnnotatedNode(in, node) + + def specTemplateExpandAnnotatedNodeExpanded( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ): ResultAnnotatedNode[Ast.SpecTemplateExpand] = + defaultAnnotatedNode(in, node) def specParamAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecParam]] - ): ResultAnnotatedNode[Ast.SpecParam] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecParam] = + defaultAnnotatedNode(in, node) def specPortInstanceAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecPortInstance]] - ): ResultAnnotatedNode[Ast.SpecPortInstance] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecPortInstance] = + defaultAnnotatedNode(in, node) def specPortMatchingAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecPortMatching]] - ): ResultAnnotatedNode[Ast.SpecPortMatching] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecPortMatching] = + defaultAnnotatedNode(in, node) def specRecordAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecRecord]] - ): ResultAnnotatedNode[Ast.SpecRecord] = Right(default(in), node) - - def specStateEntryAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.SpecStateEntry]] - ): ResultAnnotatedNode[Ast.SpecStateEntry] = - Right(default(in), node) - - def specStateExitAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.SpecStateExit]] - ): ResultAnnotatedNode[Ast.SpecStateExit] = - Right(default(in), node) - - def specStateMachineInstanceAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.SpecStateMachineInstance]] - ): ResultAnnotatedNode[Ast.SpecStateMachineInstance] = Right(default(in), node) - - def specStateTransitionAnnotatedNode( - in: In, - node: Ast.Annotated[AstNode[Ast.SpecStateTransition]] - ): ResultAnnotatedNode[Ast.SpecStateTransition] = - Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecRecord] = + defaultAnnotatedNode(in, node) def specTlmChannelAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecTlmChannel]] - ): ResultAnnotatedNode[Ast.SpecTlmChannel] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecTlmChannel] = + defaultAnnotatedNode(in, node) def specTlmPacketAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecTlmPacket]] - ): ResultAnnotatedNode[Ast.SpecTlmPacket] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecTlmPacket] = + defaultAnnotatedNode(in, node) def specTopPortAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecTopPort]] - ): ResultAnnotatedNode[Ast.SpecTopPort] = Right(default(in), node) + ): ResultAnnotatedNode[Ast.SpecTopPort] = + defaultAnnotatedNode(in, node) def specTlmPacketSetAnnotatedNode( in: In, node: Ast.Annotated[AstNode[Ast.SpecTlmPacketSet]] - ): ResultAnnotatedNode[Ast.SpecTlmPacketSet] = Right(default(in), node) - - def transUnit(in: In, tu: Ast.TransUnit): Result[Ast.TransUnit] = - Right(default(in), tu) + ): ResultAnnotatedNode[Ast.SpecTlmPacketSet] = + defaultAnnotatedNode(in, node) def typeNameBoolNode(in: In, node: AstNode[Ast.TypeName]): ResultNode[Ast.TypeName] = - Right(default(in), node) + defaultNode(in, node) def typeNameFloatNode(in: In, node: AstNode[Ast.TypeName], tn: Ast.TypeNameFloat): ResultNode[Ast.TypeName] = - Right(default(in), node) + defaultNode(in, node) def typeNameIntNode(in: In, node: AstNode[Ast.TypeName], tn: Ast.TypeNameInt): ResultNode[Ast.TypeName] = - Right(default(in), node) + defaultNode(in, node) def typeNameQualIdentNode(in: In, node: AstNode[Ast.TypeName], tn: Ast.TypeNameQualIdent): ResultNode[Ast.TypeName] = - Right(default(in), node) + defaultNode(in, node) def typeNameStringNode(in: In, node: AstNode[Ast.TypeName], tn: Ast.TypeNameString): ResultNode[Ast.TypeName] = - Right(default(in), node) + defaultNode(in, node) + + def transUnit(in: In, tu: Ast.TransUnit): Result[Ast.TransUnit] = + Right(default(in), tu) final def matchComponentMember(in: In, member: Ast.ComponentMember): Result[List[Ast.ComponentMember]] = { def transform[T]( @@ -493,6 +562,8 @@ trait AstTransformer { transform(defEnumAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.DefEnum(_)) case Ast.ModuleMember.DefModule(node1) => transform(defModuleAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.DefModule(_)) + case Ast.ModuleMember.DefModuleTemplate(node1) => + transform(defModuleTemplateAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.DefModuleTemplate(_)) case Ast.ModuleMember.DefPort(node1) => transform(defPortAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.DefPort(_)) case Ast.ModuleMember.DefStateMachine(node1) => @@ -507,6 +578,8 @@ trait AstTransformer { transform(specIncludeAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.SpecInclude(_)) case Ast.ModuleMember.SpecLoc(node1) => transform(specLocAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.SpecLoc(_)) + case Ast.ModuleMember.SpecTemplateExpand(node1) => + transform(specTemplateExpandAnnotatedNode(in, (pre, node1, post)), Ast.ModuleMember.SpecTemplateExpand(_)) } } @@ -566,10 +639,4 @@ trait AstTransformer { case tn : Ast.TypeNameString => typeNameStringNode(in, node, tn) } - private def transformNode[In,Out](rn: ResultNode[In], f: AstNode[In] => Out): Result[Out] = - for (pair <- rn) yield { - val (out, node) = pair - (out, f(node)) - } - } diff --git a/compiler/lib/src/main/scala/ast/AstUnitTransformer.scala b/compiler/lib/src/main/scala/ast/AstUnitTransformer.scala new file mode 100644 index 0000000000..b4d2f51e43 --- /dev/null +++ b/compiler/lib/src/main/scala/ast/AstUnitTransformer.scala @@ -0,0 +1,42 @@ +package fpp.compiler.transform + +import fpp.compiler.analysis._ +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Transform an AST, producing a unit Out value */ +trait AstUnitTransformer extends AstTransformer +{ + + type Out = Unit + + /** Transform a list in sequence */ + def transformList[A, B]( + in: In, + list: List[A], + transform: (In, A) => Result[B] + ): Result.Result[List[B]] = { + def helper(inList: List[A], outList: List[B]): Result.Result[List[B]] = { + inList match { + case Nil => Right(outList) + case head :: tail => transform(in, head) match { + case Left(e) => Left(e) + case Right((_, list)) => helper(tail, list :: outList) + } + } + } + helper(list, Nil).map(_.reverse) + } + + /** Transform a list and flatten the result */ + def transformFlatList[A, B]( + in: In, + list: List[A], + transform: (In, A) => Result[List[B]] + ): Result.Result[List[B]] = transformList(in, list, transform).map(_.flatten) + + /** Adapt a simple result function to the form of the visitor functions */ + def resultAdapter[A,B](f: (A, B) => Result.Result[B]) = + (a: A, b: B) => for (c <- f(a, b)) yield ((), c) + +} diff --git a/compiler/lib/src/main/scala/ast/AstVisitor.scala b/compiler/lib/src/main/scala/ast/AstVisitor.scala index 5becb44443..6eaf54361b 100644 --- a/compiler/lib/src/main/scala/ast/AstVisitor.scala +++ b/compiler/lib/src/main/scala/ast/AstVisitor.scala @@ -33,6 +33,8 @@ trait AstVisitor { def defModuleAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefModule]]): Out = default(in) + def defModuleTemplateAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefModuleTemplate]]): Out = default(in) + def defPortAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefPort]]): Out = default(in) def defSignalAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.DefSignal]]): Out = default(in) @@ -108,6 +110,23 @@ trait AstVisitor { def specLocAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.SpecLoc]]): Out = default(in) + def specTemplateExpandAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]]): Out = + node._2.data.members match { + case Some(members) => specTemplateExpandAnnotatedNodeExpanded(in, node, members) + case None => specTemplateExpandAnnotatedNodeUnexpanded(in, node) + } + + def specTemplateExpandAnnotatedNodeUnexpanded( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ): Out = default(in) + + def specTemplateExpandAnnotatedNodeExpanded( + in: In, + node: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ): Out = default(in) + def specParamAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.SpecParam]]): Out = default(in) def specPortInstanceAnnotatedNode(in: In, node: Ast.Annotated[AstNode[Ast.SpecPortInstance]]): Out = default(in) @@ -208,6 +227,7 @@ trait AstVisitor { case Ast.ModuleMember.DefEnum(node1) => defEnumAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.DefInterface(node1) => defInterfaceAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.DefModule(node1) => defModuleAnnotatedNode(in, (pre, node1, post)) + case Ast.ModuleMember.DefModuleTemplate(node1) => defModuleTemplateAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.DefPort(node1) => defPortAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.DefStateMachine(node1) => defStateMachineAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.DefStruct(node1) => defStructAnnotatedNode(in, (pre, node1, post)) @@ -215,6 +235,7 @@ trait AstVisitor { case Ast.ModuleMember.DefTopology(node1) => defTopologyAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.SpecInclude(node1) => specIncludeAnnotatedNode(in, (pre, node1, post)) case Ast.ModuleMember.SpecLoc(node1) => specLocAnnotatedNode(in, (pre, node1, post)) + case Ast.ModuleMember.SpecTemplateExpand(node1) => specTemplateExpandAnnotatedNode(in, (pre, node1, post)) } } diff --git a/compiler/lib/src/main/scala/ast/ModuleStateTransformer.scala b/compiler/lib/src/main/scala/ast/ModuleStateTransformer.scala index 1b09561e49..e372f9f1f2 100644 --- a/compiler/lib/src/main/scala/ast/ModuleStateTransformer.scala +++ b/compiler/lib/src/main/scala/ast/ModuleStateTransformer.scala @@ -11,15 +11,29 @@ trait ModuleStateTransformer extends AstStateTransformer { ) = { val (pre, node, post) = aNode val Ast.DefModule(name, members) = node.data - for { result <- transformList(s, members, moduleMember) } + for ((s1, members1) <- transformFlatList(s, members, moduleMember)) yield { - val (s1, members1) = result - val defModule = Ast.DefModule(name, members1.flatten) + val defModule = Ast.DefModule(name, members1) val node1 = AstNode.create(defModule, node.id) (s1, (pre, node1, post)) } } + override def specTemplateExpandAnnotatedNodeExpanded( + s: State, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ) = { + val (pre, node, post) = aNode + val Ast.SpecTemplateExpand(template, args, _) = node.data + for ((s1, members1) <- transformFlatList(s, members, moduleMember)) + yield { + val specTemplateExpand = Ast.SpecTemplateExpand(template, args, Some(members1)) + val node1 = AstNode.create(specTemplateExpand, node.id) + (s1, (pre, node1, post)) + } + } + def moduleMember(s: State, member: Ast.ModuleMember): Result[List[Ast.ModuleMember]] = matchModuleMember(s, member) diff --git a/compiler/lib/src/main/scala/ast/ModuleTemplateStateTransformer.scala b/compiler/lib/src/main/scala/ast/ModuleTemplateStateTransformer.scala new file mode 100644 index 0000000000..34bede1aaf --- /dev/null +++ b/compiler/lib/src/main/scala/ast/ModuleTemplateStateTransformer.scala @@ -0,0 +1,26 @@ +package fpp.compiler.ast + +import fpp.compiler.syntax._ + +/** Visit module template members */ +trait ModuleTemplateStateTransformer extends AstStateTransformer { + + override def defModuleTemplateAnnotatedNode( + s: State, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (pre, node, post) = aNode + val Ast.DefModuleTemplate(name, params, members) = node.data + for { result <- transformList(s, members, moduleTemplateMember) } + yield { + val (s1, members1) = result + val defModuleTemplate = Ast.DefModuleTemplate(name, params, members1.flatten) + val node1 = AstNode.create(defModuleTemplate, node.id) + (s1, (pre, node1, post)) + } + } + + def moduleTemplateMember(s: State, member: Ast.ModuleMember): Result[List[Ast.ModuleMember]] = + matchModuleMember(s, member) + +} diff --git a/compiler/lib/src/main/scala/codegen/AstWriter.scala b/compiler/lib/src/main/scala/codegen/AstWriter.scala index be3d7c3437..a03e01c92b 100644 --- a/compiler/lib/src/main/scala/codegen/AstWriter.scala +++ b/compiler/lib/src/main/scala/codegen/AstWriter.scala @@ -2,7 +2,6 @@ package fpp.compiler.codegen import fpp.compiler.ast._ import fpp.compiler.util._ -import fpp.compiler.ast.Ast.QualIdent /** Write out an FPP AST */ object AstWriter extends AstVisitor with LineUtils { @@ -173,6 +172,34 @@ object AstWriter extends AstVisitor with LineUtils { (ident(data.name) ++ data.members.flatMap(moduleMember)).map(indentIn) } + override def defModuleTemplateAnnotatedNode( + in: In, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (_, node, _) = aNode + val data = node.data + lines("def module template") ++ + List.concat( + ident(data.name), + templateParamList(data.params), + data.members.flatMap(moduleMember) + ).map(indentIn) + } + + override def specTemplateExpandAnnotatedNode( + in: In, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val (_, node, _) = aNode + val data = node.data + lines("expand") ++ + List.concat( + qualIdent(data.template.data), + templateArgList(data.args), + data.members.getOrElse(Nil).flatMap(moduleMember) + ).map(indentIn) + } + override def defPortAnnotatedNode( in: In, aNode: Ast.Annotated[AstNode[Ast.DefPort]] @@ -306,7 +333,7 @@ object AstWriter extends AstVisitor with LineUtils { node: AstNode[Ast.Expr], e: Ast.ExprIdent ) = - ident(e.value) + ident(if e.isAbsolute then s".${e.value}" else e.value) override def exprLiteralBoolNode( in: In, @@ -866,6 +893,46 @@ object AstWriter extends AstVisitor with LineUtils { private def formalParamList(params: Ast.FormalParamList) = params.flatMap(annotateNode(formalParam)) + private def templateParam(tp: Ast.TemplateParam) = { + tp match { + case Ast.TemplateParam.Constant(name, typeName) => + line("constant template param") :: + List.concat( + ident(name), + typeNameNode(typeName) + ).map(indentIn) + case Ast.TemplateParam.Type(name) => + line("type template param") :: + ident(name).map(indentIn) + case Ast.TemplateParam.Interface(name, interface) => + line("instance template param") :: + List.concat( + ident(name), + qualIdent(interface.data) + ).map(indentIn) + } + } + + private def templateParamList(params: Ast.TemplateParamList) = + params.flatMap(annotateNode(templateParam)) + + private def templateArg(tp: AstNode[Ast.TemplateArg]) = { + tp.data match { + case Ast.TemplateArg.Constant(e) => + line("constant template arg") :: + exprNode(e).map(indentIn) + case Ast.TemplateArg.Type(name) => + line("type template arg") :: + typeNameNode(name).map(indentIn) + case Ast.TemplateArg.Interface(i) => + line("instance template arg") :: + qualIdent(i.data).map(indentIn) + } + } + + private def templateArgList(args: Ast.TemplateArgList) = + args.flatMap(templateArg) + private def ident(s: String) = lines("ident " ++ s) private def moduleMember(member: Ast.ModuleMember) = { @@ -875,23 +942,34 @@ object AstWriter extends AstVisitor with LineUtils { } private def portInstanceIdentifier(pii: Ast.PortInstanceIdentifier): Out = { - val qid = Ast.QualIdent.Qualified(pii.interfaceInstance, pii.portName) + val qid = Ast.QualIdent.Qualified( + pii.interfaceInstance, + pii.portName, + ) qualIdent(qid) } private def tlmChannelIdentifier(tci: Ast.TlmChannelIdentifier): Out = { - val qid = Ast.QualIdent.Qualified(tci.componentInstance, tci.channelName) + val qid = Ast.QualIdent.Qualified( + tci.componentInstance, + tci.channelName, + ) qualIdent(qid) } private def qualIdent(qid: Ast.QualIdent): Out = lines("qual ident " ++ qualIdentString(qid)) - private def qualIdentString(qid: Ast.QualIdent): String = + private def qualIdentString(qid: Ast.QualIdent): String = { + val s = relativeQualIdentString(qid) + if qid.isAbsolute then s".$s" else s + } + + private def relativeQualIdentString(qid: Ast.QualIdent): String = qid match { - case Ast.QualIdent.Unqualified(name) => name + case Ast.QualIdent.Unqualified(name, _) => name case Ast.QualIdent.Qualified(qualifier, name) => - qualIdentString(qualifier.data) ++ "." ++ name.data + relativeQualIdentString(qualifier.data) ++ "." ++ name.data } private def queueFull(qf: Ast.QueueFull) = { diff --git a/compiler/lib/src/main/scala/codegen/ComputeGeneratedFiles.scala b/compiler/lib/src/main/scala/codegen/ComputeGeneratedFiles.scala index 6bda2be0b2..7d6e3ef35d 100644 --- a/compiler/lib/src/main/scala/codegen/ComputeGeneratedFiles.scala +++ b/compiler/lib/src/main/scala/codegen/ComputeGeneratedFiles.scala @@ -2,53 +2,49 @@ package fpp.compiler.codegen import fpp.compiler.analysis._ import fpp.compiler.ast._ +import fpp.compiler.transform._ import fpp.compiler.util._ /** Computes the names of generated files */ object ComputeGeneratedFiles { /** Computes autocoded files (XML, C++ and JSON Dictionary) */ - def getAutocodeFiles(tul: List[Ast.TransUnit]): Result.Result[List[String]] = + def getAutocodeFiles(a: Analysis, tul: List[Ast.TransUnit]): Result.Result[List[String]] = for { - a <- enterSymbols(tul) cppFiles <- getAutocodeCppFiles(a, tul) dictFiles <- getDictionaryJsonFiles(a, tul) } yield cppFiles ++ dictFiles /** Computes component implementation files */ - def getImplFiles(tul: List[Ast.TransUnit]): Result.Result[List[String]] = + def getImplFiles(a: Analysis, tul: List[Ast.TransUnit]): Result.Result[List[String]] = for { - a <- enterSymbols(tul) cppFiles <- getImplCppFiles(a, tul) } yield cppFiles /** Computes autocoded C++ files for testing */ def getTestFiles( + a: Analysis, tul: List[Ast.TransUnit], testHelperMode: CppWriter.TestHelperMode ): Result.Result[List[String]] = for { - a <- enterSymbols(tul) testFiles <- getTestCppFiles(a, tul, testHelperMode) } yield testFiles /** Computes unit test implementation files */ def getTestImplFiles( + a: Analysis, tul: List[Ast.TransUnit], testHelperMode: CppWriter.TestHelperMode ): Result.Result[List[String]] = for { - a <- enterSymbols(tul) cppFiles <- getTestImplCppFiles(a, tul, testHelperMode) } yield cppFiles - private def enterSymbols(tul: List[Ast.TransUnit]): Result.Result[Analysis] = - EnterSymbols.visitList(Analysis(), tul, EnterSymbols.transUnit) - private def getAutocodeCppFiles(a: Analysis, tul: List[Ast.TransUnit]): Result.Result[List[String]] = for { diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/AliasCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/AliasCppWriter.scala index 23e0f68ac8..a961a8968a 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/AliasCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/AliasCppWriter.scala @@ -20,7 +20,7 @@ case class AliasCppWriter ( private val fileName = ComputeCppFiles.FileNames.getAliasType(name) - private val aliasType @ Type.AliasType(_, _) = s.a.typeMap(node.id) + private val aliasType @ Type.AliasType(_, _) = s.a.typeMap(node.id).runtimeChecked private val namespaceIdentList = s.getNamespaceIdentList(symbol) @@ -32,7 +32,7 @@ case class AliasCppWriter ( s: CppWriterState, aNode: Ast.Annotated[AstNode[Ast.DefAliasType]] ): List[String] = { - val Right(a) = UsedSymbols.defAliasTypeAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defAliasTypeAnnotatedNode(s.a, aNode).runtimeChecked s.writeIncludeDirectives(a.usedSymbolSet) } @@ -40,7 +40,7 @@ case class AliasCppWriter ( s: CppWriterState, aNode: Ast.Annotated[AstNode[Ast.DefAliasType]] ): List[String] = { - val Right(a) = UsedSymbols.defAliasTypeAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defAliasTypeAnnotatedNode(s.a, aNode).runtimeChecked // Here we can assume that all symbols referenced with be numeric primitives (U/I[8-64] or F32/F64) // ..or an alias to one of those types. // We already are including `FpConfig.h` as part of the system headers so we only have to handle the diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ArrayCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ArrayCppWriter.scala index 825d545d02..3efc01fe70 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ArrayCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ArrayCppWriter.scala @@ -20,7 +20,7 @@ case class ArrayCppWriter ( private val fileName = ComputeCppFiles.FileNames.getArray(name) - private val arrayType @ Type.Array(_, _, _, _) = s.a.typeMap(node.id) + private val arrayType @ Type.Array(_, _, _, _) = s.a.typeMap(node.id).runtimeChecked private val namespaceIdentList = s.getNamespaceIdentList(symbol) @@ -50,7 +50,7 @@ case class ArrayCppWriter ( s: CppWriterState, aNode: Ast.Annotated[AstNode[Ast.DefArray]] ): List[String] = { - val Right(a) = UsedSymbols.defArrayAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defArrayAnnotatedNode(s.a, aNode).runtimeChecked s.writeIncludeDirectives(a.usedSymbolSet) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala index 8b0f9dcab9..9a683b857e 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriter.scala @@ -42,7 +42,7 @@ case class ComponentCppWriter ( private val exitConstantName = s"${componentName.toUpperCase}_COMPONENT_EXIT" private def writeIncludeDirectives: List[String] = { - val Right(a) = UsedSymbols.defComponentAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defComponentAnnotatedNode(s.a, aNode).runtimeChecked s.writeIncludeDirectives(a.usedSymbolSet) } @@ -144,11 +144,14 @@ case class ComponentCppWriter ( } private def getCppIncludes: CppDoc.Member = { - val userHeaders = List( - "Fw/Types/Assert.hpp", - "Fw/Types/ExternalString.hpp", - "Fw/Types/String.hpp", - s.getIncludePath(componentSymbol, fileName) + val userHeaders = List.concat( + guardedList (hasParameters) (List("Fw/Prm/ParamValid.hpp")), + List( + "Fw/Types/Assert.hpp", + "Fw/Types/ExternalString.hpp", + "Fw/Types/String.hpp", + s.getIncludePath(componentSymbol, fileName) + ) ).sorted.map(CppWriter.headerString).flatMap({ case s: "#include \"Fw/Types/String.hpp\"" => lines( @@ -335,7 +338,7 @@ case class ComponentCppWriter ( // Data product and typed async input ports asyncInputPortsWithFormalParams.flatMap(p => { val portName = p.getUnqualifiedName - val _ @ Some(PortInstance.Type.DefPort(symbol)) = p.getType + val _ @ Some(PortInstance.Type.DefPort(symbol)) = p.getType.runtimeChecked val cppPortName = s.writeSymbol(symbol) val cppPortBufferName = PortCppWriterUtils.getPortBufferName(cppPortName) lines(s"BYTE ${portName}PortSize[$cppPortBufferName::CAPACITY];") diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala index ac432a7f9a..b963aca19d 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentCppWriterUtils.scala @@ -401,11 +401,11 @@ abstract class ComponentCppWriterUtils( } (p, p.getType) match { case (_, Some(PortInstance.Type.DefPort(symbol))) => - val typeWriter = writeTypeAsGeneralPortParamType (symbol) _ - val tuples = symbol.node._2.data.params.map(makeTuple (typeWriter) _) + val typeWriter = writeTypeAsGeneralPortParamType (symbol) + val tuples = symbol.node._2.data.params.map(makeTuple (typeWriter)) m + (portName -> tuples) case (PortInstance.Internal(node, _, _), _) => - val tuples = node._2.data.params.map(makeTuple (writeTypeAsInternalPortParamType) _) + val tuples = node._2.data.params.map(makeTuple (writeTypeAsInternalPortParamType)) m + (portName -> tuples) case _ => m } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentParameters.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentParameters.scala index 2f0707435f..3f10a5a61c 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentParameters.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentParameters.scala @@ -130,7 +130,8 @@ case class ComponentParameters ( "Parameter hook functions", List( getParamUpdateHookFunction, - getParamLoadHookFunction + getParamLoadHookFunction, + getParamsLoadHookFunction ) ) } @@ -225,7 +226,9 @@ case class ComponentParameters ( Some( s"""|\\brief Called whenever parameters are loaded | - |This function does nothing by default. You may override it. + |By default this notifies the component of each parameter via + |parameterUpdated. You may override it, for example to suppress + |notification on load. |""" ), "parametersLoaded", @@ -235,6 +238,36 @@ case class ComponentParameters ( CppDoc.Function.Virtual ) + private def getParamsLoadHookFunction = functionClassMember( + Some( + s"""|\\brief Called for each parameter when parameters are loaded + | + |By default this notifies the component via parameterUpdated when + |the parameter loaded successfully (valid or default). You may + |override it, for example to distinguish load from update. + |""" + ), + "parameterLoaded", + List( + CppDoc.Function.Param( + CppDoc.Type("FwPrmIdType"), + "id", + Some("The parameter ID") + ), + CppDoc.Function.Param( + CppDoc.Type("Fw::ParamValid"), + "valid", + Some("The parameter validity status") + ) + ), + CppDoc.Type("void"), + wrapInIf( + "FW_PARAM_OK(valid)", + lines("this->parameterUpdated(id);") + ), + CppDoc.Function.Virtual + ) + private def getParamUpdateHookFunction = functionClassMember( Some( s"""|\\brief Called whenever a parameter is updated @@ -448,6 +481,9 @@ case class ComponentParameters ( lines( """| |this->m_paramLock.unlock();""" + ), + lines( + s"this->parameterLoaded(${paramIdConstantName(param.getName)}, this->${paramValidityFlagName(param.getName)});" ) ) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestUtils.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestUtils.scala index 969627ff73..d81e8861e0 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestUtils.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTestUtils.scala @@ -285,7 +285,7 @@ abstract class ComponentTestUtils( p match { case PortInstance.Special(aNode, _, _, _, _, _) => import Ast.SpecPortInstance._ - val spec @ Special(_, kind, _, _, _) = aNode._2.data + val spec @ Special(_, kind, _, _, _) = aNode._2.data.runtimeChecked kind match { case CommandRecv => hasCommands case CommandReg => hasCommands diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala index 31e5208d35..bd197b6424 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TestWriter/ComponentTesterBaseWriter.scala @@ -1465,7 +1465,7 @@ case class ComponentTesterBaseWriter( ) case PortInstance.Special(aNode, _, _, _, _, _) => import Ast.SpecPortInstance._ - val spec @ Special(_, kind, _, _, _) = aNode._2.data + val spec @ Special(_, kind, _, _, _) = aNode._2.data.runtimeChecked kind match { case CommandRecv => Nil case CommandReg => Nil diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TopComponentCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TopComponentCppWriter.scala index 70d458629e..b27ea1a6c3 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TopComponentCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/TopComponentCppWriter.scala @@ -154,8 +154,10 @@ case class TopComponentCppWriter ( val toPortNum = topology.toPortNumberMap(connection) val functionName = { // Connections must be flattened at this point - val _ @ InterfaceInstance.InterfaceComponentInstance(toComponentInstance) = - toPort.interfaceInstance + val toComponentInstance = toPort.interfaceInstance.getComponentInstanceOpt match { + case Some(ci) => ci + case None => throw InternalError("topology connections not flattened") + } val componentInstanceName = CppWriter.writeQualifiedName(toComponentInstance.qualifiedName) val toPortName = toPortInstance.getUnqualifiedName val handlerBaseName = inputPortHandlerBaseName(toPortName) @@ -253,7 +255,7 @@ case class TopComponentCppWriter ( toPortNum: Int ) = { val toPortParams = toPortSymbol.node._2.data.params - val toPortName = s.getName(toPortSymbol) + val toPortName = s.writeSymbol(toPortSymbol) val portSerializerName = PortCppWriterUtils.getPortSerializerName(toPortName) val serializerParamNames = PortCppWriterUtils.getSerializerParamNames(toPortParams) wrapInBlock( @@ -280,7 +282,7 @@ case class TopComponentCppWriter ( toPortNum: Int ) = { val params = fromPortSymbol.node._2.data.params - val portName = s.getName(fromPortSymbol) + val portName = s.writeSymbol(fromPortSymbol) val portBufferName = PortCppWriterUtils.getPortBufferName(portName) val portSerializerName = PortCppWriterUtils.getPortSerializerName(portName) val portParamNames = PortCppWriterUtils.writeParamNames(params) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ConstantCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ConstantCppWriter.scala index 73cf54d660..30f2ddf688 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ConstantCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ConstantCppWriter.scala @@ -98,6 +98,12 @@ object ConstantCppWriter extends CppWriterUtils { } } + override def specTemplateExpandAnnotatedNodeExpanded( + s: CppWriterState, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]], + members: List[Ast.ModuleMember] + ) = members.flatMap(matchModuleMember(s, _)) + override def defComponentAnnotatedNode( s: CppWriterState, aNode: Ast.Annotated[AstNode[Ast.DefComponent]] diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppDocCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppDocCppWriter.scala index f9724561c0..12fe64c904 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppDocCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppDocCppWriter.scala @@ -18,7 +18,7 @@ object CppDocCppWriter extends CppDocWriter { else if (params.length == 1) lines(s"$prefix(" ++ paramString(params.head) ++ ")") else { - val head :: tail = params.reverse + val head :: tail = params.reverse: @unchecked val paramLines = (paramLine(head) :: tail.map(paramLineComma(_))).reverse line(s"$prefix(") :: (paramLines.map(_.indentIn(2 * indentIncrement)) :+ line(")")) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppDocHppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppDocHppWriter.scala index 089138e464..a2179187b8 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppDocHppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppDocHppWriter.scala @@ -51,7 +51,7 @@ object CppDocHppWriter extends CppDocWriter { else if (params.length == 1 && params.head.comment.isEmpty) lines(s"$prefix(" ++ paramString(params.head) ++ ")") else { - val head :: tail = params.reverse + val head :: tail = params.reverse: @unchecked val paramsLines = (paramLines(head) :: tail.map(paramLinesComma(_))).reverse.flatten line(s"$prefix(") :: (paramsLines.map(_.indentIn(2 * indentIncrement)) :+ line(")")) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppDocWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppDocWriter.scala index ec8d75ee07..68cb6bedf6 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppDocWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppDocWriter.scala @@ -78,15 +78,15 @@ object CppDocWriter extends LineUtils { /** Write a Doxygen comment */ def writeDoxygenComment(comment: String): List[Line] = - Line.blank :: lines(comment).map(addCommentPrefix("//!")_) + Line.blank :: lines(comment).map(addCommentPrefix("//!")) /** Write a Doxygen post comment */ def writeDoxygenPostComment(comment: String): List[Line] = - lines(comment).map(addCommentPrefix("//!<")_) + lines(comment).map(addCommentPrefix("//!<")) /** Write a comment body */ def writeCommentBody(comment: String): List[Line] = - lines(comment).map(addCommentPrefix("//")_) + lines(comment).map(addCommentPrefix("//")) /** Left align a compiler directive */ def leftAlignDirective(line: Line): Line = diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriter.scala index 30555ce1a4..63fd93f874 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriter.scala @@ -116,7 +116,7 @@ object CppWriter extends LineUtils{ val path = java.nio.file.Paths.get(s.dir, fileName) val file = File.Path(path) for (writer <- file.openWrite()) yield { - lines.map(Line.write(writer) _) + lines.map(Line.write(writer)) writer.close() } } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala index cb9798695f..6ec3521c5f 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterState.scala @@ -187,12 +187,22 @@ case class CppWriterState( val Right(a) = UsedSymbols.defInterfaceAnnotatedNode( this.a, this.a.interfaceMap(iface).aNode, - ) + ).runtimeChecked a.usedSymbolSet.flatMap(getIncludeFiles).toList - case _: Symbol.ComponentInstance => List() + case arg: Symbol.TemplateTypeArg => + val Right(a1) = UsedSymbols.typeNameNode( + this.a.copy(usedSymbolSet = Set()), + arg.value + ).runtimeChecked + a1.usedSymbolSet.flatMap(getIncludeFiles).toList + case arg: Symbol.TemplateInterfaceArg => + a.getRepresentedSymbolOpt(arg).toList.flatMap(getIncludeFiles) case _: Symbol.Constant => List() case _: Symbol.EnumConstant => List() case _: Symbol.Module => List() + case _: Symbol.ComponentInstance => List() + case _: Symbol.Template => List() + case _: Symbol.TemplateConstantArg => List() case _: Symbol.System => List() } } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterUtils.scala b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterUtils.scala index 912717edc3..6794ab0a55 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterUtils.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/CppWriterUtils.scala @@ -30,10 +30,10 @@ trait CppWriterUtils extends LineUtils { if cond then value else default /** Guards a list with a Boolean condition */ - def guardedList[T] = guardedValue (Nil: List[T]) _ + def guardedList[T] = guardedValue (Nil: List[T]) /** Guards an option type with a Boolean condition */ - def guardedOption[T] = guardedValue (None: Option[T]) _ + def guardedOption[T] = guardedValue (None: Option[T]) /** Add an access tag to a nonempty list of class members */ def addAccessTag( diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/EnumCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/EnumCppWriter.scala index 237c6d2f28..248d3807b7 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/EnumCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/EnumCppWriter.scala @@ -20,7 +20,7 @@ case class EnumCppWriter( private val fileName = ComputeCppFiles.FileNames.getEnum(name) - private val enumType @ Type.Enum(_, _, _) = s.a.typeMap(node.id) + private val enumType @ Type.Enum(_, _, _) = s.a.typeMap(node.id).runtimeChecked private val defaultValue = ValueCppWriter.write(s, enumType.getDefaultValue.get). replaceAll("^.*::", "") @@ -40,7 +40,7 @@ case class EnumCppWriter( * { 0, 1, 3 } yields the list { [ 0, 1 ], [ 3, 3 ] }. */ private val intervals = { val values = data.constants.map(aNode => { - val Value.EnumConstant(value, _) = s.a.valueMap(aNode._2.id) + val Value.EnumConstant(value, _) = s.a.valueMap(aNode._2.id).runtimeChecked value }).sortWith(_._2 < _._2) val state = values.foldLeft (EnumCppWriter.IntervalState()) ((s, v) => { @@ -157,7 +157,7 @@ case class EnumCppWriter( "enum T {", data.constants.flatMap(aNode => { val node = aNode._2 - val Value.EnumConstant(value, _) = s.a.valueMap(node.id) + val Value.EnumConstant(value, _) = s.a.valueMap(node.id).runtimeChecked val valueString = value._2.toString val name = node.data.name AnnotationCppWriter.writePreComment(aNode) ++ @@ -573,7 +573,7 @@ case class EnumCppWriter( private def writeFormatStr = { val pit @ Type.PrimitiveInt(_) = data.typeName.map(tn => s.a.typeMap(tn.id).getUnderlyingType). - getOrElse(Type.I32) + getOrElse(Type.I32).runtimeChecked FormatCppWriter.getDecimalFormat(pit) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/FormatCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/FormatCppWriter.scala index f93d5b81eb..79ebde4f25 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/FormatCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/FormatCppWriter.scala @@ -33,8 +33,8 @@ object FormatCppWriter { } case _ => default } - def rational(precision: Option[BigInt], rt: Rational.Type) = tn.data match { - case Ast.TypeNameFloat(_) => + def rational(precision: Option[BigInt], rt: Rational.Type) = s.a.typeMap(tn.id).getUnderlyingType match { + case _: Type.Float => val precisionStr = precision match { case Some(p) => s".${p.toString}" case None => "" diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter/PortCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter/PortCppWriter.scala index 25610291a0..71172804e3 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter/PortCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/PortCppWriter/PortCppWriter.scala @@ -101,7 +101,7 @@ case class PortCppWriter ( } private def writeIncludeDirectives: List[String] = { - val Right(a) = UsedSymbols.defPortAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defPortAnnotatedNode(s.a, aNode).runtimeChecked s.writeIncludeDirectives(a.usedSymbolSet) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/StateMachineCppWriter/StateMachineCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/StateMachineCppWriter/StateMachineCppWriter.scala index d32b219b4e..6d2564bcc5 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/StateMachineCppWriter/StateMachineCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/StateMachineCppWriter/StateMachineCppWriter.scala @@ -146,7 +146,7 @@ case class StateMachineCppWriter( private def getHppIncludes: CppDoc.Member = { val symbolHeaders = { - val Right(a) = UsedSymbols.defStateMachineAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defStateMachineAnnotatedNode(s.a, aNode).runtimeChecked s.writeIncludeDirectives(a.usedSymbolSet) } val userHeaders = List.concat( diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala index 677facd97f..1ea2c7e115 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/StructCppWriter.scala @@ -19,7 +19,7 @@ case class StructCppWriter( private val fileName = ComputeCppFiles.FileNames.getStruct(structName) - private val structType@Type.Struct(_, _, _, _, _) = s.a.typeMap(node.id) + private val structType@Type.Struct(_, _, _, _, _) = s.a.typeMap(node.id).runtimeChecked private val namespaceIdentList = s.getNamespaceIdentList(symbol) @@ -538,7 +538,7 @@ case class StructCppWriter( ) private def writeIncludeDirectives = { - val Right(a) = UsedSymbols.defStructAnnotatedNode(s.a, aNode) + val Right(a) = UsedSymbols.defStructAnnotatedNode(s.a, aNode).runtimeChecked s.writeIncludeDirectives(a.usedSymbolSet) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TlmPacketSetCppWriter.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TlmPacketSetCppWriter.scala index 365d0594c0..3282034236 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TlmPacketSetCppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TlmPacketSetCppWriter.scala @@ -15,7 +15,7 @@ case class TlmPacketSetCppWriter( private val name = data.name - private val Some(t) = s.a.topology + private val Some(t) = s.a.topology.runtimeChecked private val topologySymbol = Symbol.Topology(t.aNode) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopComponents.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopComponents.scala index c2e51f726d..78a59752b5 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopComponents.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopComponents.scala @@ -99,8 +99,10 @@ case class TopComponents( ) = { val port = connection.from.port // Connections must be flattened at this point - val _ @ InterfaceInstance.InterfaceComponentInstance(componentInstance) = - port.interfaceInstance + val componentInstance = port.interfaceInstance.getComponentInstanceOpt match { + case Some(ci) => ci + case None => throw InternalError("topology connections not flattened") + } val portInstance = port.portInstance val component = componentInstance.component val portName = portInstance.getUnqualifiedName diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConfigObjects.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConfigObjects.scala index e434c11825..eb858737f0 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConfigObjects.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConfigObjects.scala @@ -53,7 +53,8 @@ case class TopConfigObjects( ) } - private def getConfigObjectLines: List[Line] = { + /** Configuration objects generated for one instance, including built-in objects. */ + def getInstanceConfigObjectLines(ci: ComponentInstance): Option[List[Line]] = { def specialGen(ci: ComponentInstance, qn: String) = { qn match { case "Svc.Health" => getHealthCode(ci, getPingEntryBlock) @@ -61,13 +62,14 @@ case class TopConfigObjects( } } - def getCode(ci: ComponentInstance) = getSpecialCode(ci, specialGen) match { - case None => ( - getCodeForPhase (CppWriter.Phases.configObjects) (ci) - ).map(lines) + getSpecialCode(ci, specialGen) match { + case None => getCodeForPhase (CppWriter.Phases.configObjects) (ci).map(lines) case code => code } - val pairs = instances.map(ci => (ci, getCode(ci))). + } + + private def getConfigObjectLines: List[Line] = { + val pairs = instances.map(ci => (ci, getInstanceConfigObjectLines(ci))). filter(_._2.isDefined).map { case (ci, codeOpt) => (ci, codeOpt.get) } diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConstants.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConstants.scala index 4be494cfe4..1b0c5cfdba 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConstants.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopConstants.scala @@ -27,10 +27,13 @@ case class TopConstants( ) ) + /** Configuration constants generated for one instance. */ + def getInstanceConfigConstantLines(ci: ComponentInstance): Option[List[Line]] = + getCodeForPhase (CppWriter.Phases.configConstants) (ci).map(lines) + private def getComponentConfigLines: List[Line] = { - val getCode = getCodeForPhase (CppWriter.Phases.configConstants) _ - val pairs = instances.map(ci => (ci, getCode(ci))). - filter(_._2.isDefined).map { + val pairs = instances.map(ci => (ci, getInstanceConfigConstantLines(ci))). + filter(_._2.isDefined).map { case (ci, codeOpt) => (ci, codeOpt.get) } wrapInNamespace( @@ -38,7 +41,7 @@ case class TopConstants( pairs.flatMap { case (ci, code) => wrapInNamespace( CppWriter.identFromQualifiedName(ci.qualifiedName), - lines(code) + code ) } ) diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala index 38ce58e0f2..2bc910ca29 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/TopologyCppWriter/TopHelperFns.scala @@ -10,6 +10,32 @@ case class TopHelperFns( aNode: Ast.Annotated[AstNode[Ast.DefTopology]] ) extends TopologyCppWriterUtils(s, aNode) { + private val configConstants = TopConstants(s, aNode) + private val configObjects = TopConfigObjects(s, aNode) + + /** Keep an instance's configuration and enclosing names local to its init snippet. */ + override def getCodeLinesForPhase (phase: Int) (ci: ComponentInstance): + Option[List[Line]] = super.getCodeLinesForPhase(phase)(ci).map { code => + val name = CppWriter.identFromQualifiedName(ci.qualifiedName) + val configNamespaces = List.concat( + configConstants.getInstanceConfigConstantLines(ci).map(_ => s"ConfigConstants::$name"), + configObjects.getInstanceConfigObjectLines(ci).map(_ => s"ConfigObjects::$name") + ) + val instanceNamespace = ci.qualifiedName.qualifier match { + case Nil => Nil + case q => List(q.mkString("::")) + } + val namespaces = instanceNamespace ++ configNamespaces + if namespaces.nonEmpty && + getCodeForPhase(phase)(ci).exists(_.trim.nonEmpty) + then + val usingLines = namespaces.flatMap( + namespace => lines(s"using namespace $namespace;") + ) + wrapInBlock(usingLines ::: Line.blank :: code) + else code + } + /** Compute the set of defined function names and the list * of CppDoc members defining the functions */ def getMembers: (Set[String], List[CppDoc.Member]) = { diff --git a/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonEncoder.scala b/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonEncoder.scala index f93ebe1df8..e5beed02f2 100644 --- a/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonEncoder.scala +++ b/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonEncoder.scala @@ -43,14 +43,14 @@ case class DictionaryJsonEncoder( /** Enum Constant JSON Encoding */ private def enumConstantAsJson(aNode: AstNode[Ast.DefEnumConstant]): Map[String, Json] = { - val Value.EnumConstant(value, _) = dictionaryState.a.valueMap(aNode.id) + val Value.EnumConstant(value, _) = dictionaryState.a.valueMap(aNode.id).runtimeChecked Map(value._1 -> value._2.asJson) } /** Symbol JSON Encoding */ private implicit def typeSymbolSetEncoder [T <: Symbol]: Encoder[Set[T]] = { def f(symbol: T) = symbol.asJson - Encoder.instance (dictionarySymbolSetAsJson (f) _) + Encoder.instance (dictionarySymbolSetAsJson (f)) } /** DictionaryMetadata JSON Encoding */ @@ -70,37 +70,37 @@ case class DictionaryJsonEncoder( /** JSON Encoding for Maps of Commands, Parameters, Events, Telemetry Channels, Records, and Containers */ private implicit val commandMapEncoder: Encoder[Map[BigInt, Dictionary.CommandEntry]] = { def f(opcode: BigInt, command: Dictionary.CommandEntry) = (opcode -> command).asJson - Encoder.instance (dictionaryEntryMapAsJson (f) _) + Encoder.instance (dictionaryEntryMapAsJson (f)) } private implicit val paramMapEncoder: Encoder[Map[BigInt, Dictionary.ParamEntry]] = { def f(identifier: BigInt, param: Dictionary.ParamEntry) = (identifier -> param).asJson - Encoder.instance (dictionaryEntryMapAsJson (f) _) + Encoder.instance (dictionaryEntryMapAsJson (f)) } private implicit val eventMapEncoder: Encoder[Map[BigInt, Dictionary.EventEntry]] = { def f(identifier: BigInt, event: Dictionary.EventEntry) = (identifier -> event).asJson - Encoder.instance (dictionaryEntryMapAsJson (f) _) + Encoder.instance (dictionaryEntryMapAsJson (f)) } private implicit val channelMapEncoder: Encoder[Map[BigInt, Dictionary.TlmChannelEntry]] = { def f(identifier: BigInt, event: Dictionary.TlmChannelEntry) = (identifier -> event).asJson - Encoder.instance (dictionaryEntryMapAsJson (f) _) + Encoder.instance (dictionaryEntryMapAsJson (f)) } private implicit val recordMapEncoder: Encoder[Map[BigInt, Dictionary.RecordEntry]] = { def f(identifier: BigInt, record: Dictionary.RecordEntry) = (identifier -> record).asJson - Encoder.instance (dictionaryEntryMapAsJson (f) _) + Encoder.instance (dictionaryEntryMapAsJson (f)) } private implicit val containerMapEncoder: Encoder[Map[BigInt, Dictionary.ContainerEntry]] = { def f(identifier: BigInt, container: Dictionary.ContainerEntry) = (identifier -> container).asJson - Encoder.instance (dictionaryEntryMapAsJson (f) _) + Encoder.instance (dictionaryEntryMapAsJson (f)) } private implicit val tlmPacketSetMapEncoder: Encoder[Map[Name.Unqualified, TlmPacketSet]] = { def f(name: Name.Unqualified, group: TlmPacketSet) = (name -> group).asJson - Encoder.instance (dictionaryTlmPacketSetMapAsJson (f) _) + Encoder.instance (dictionaryTlmPacketSetMapAsJson (f)) } /** JSON Encoding for FPP Types */ @@ -176,7 +176,7 @@ case class DictionaryJsonEncoder( /** JSON Encoding for struct values */ def structValueAsJson(value: Value.Struct): Json = { val Value.Struct(Value.AnonStruct(members), t) = value - val Type.Struct(_, _, _, sizes, _) = dictionaryState.a.typeMap(t.node._2.id) + val Type.Struct(_, _, _, sizes, _) = dictionaryState.a.typeMap(t.node._2.id).runtimeChecked members.map((key, v) => val valueJson = valueAsJson(v) sizes.get(key) match @@ -214,7 +214,7 @@ case class DictionaryJsonEncoder( symbol match { case Symbol.Array(preA, node, postA) => { val arrayType = dictionaryState.a.typeMap(symbol.getNodeId) - val Type.Array(_, anonArray, default, format) = arrayType + val Type.Array(_, anonArray, default, format) = arrayType.runtimeChecked val defaultJsonList: List[Json]= default match { case Some(defaultVal) => for (elem <- defaultVal._1._1) yield valueAsJson(elem) case None => List.empty[Json] @@ -233,7 +233,7 @@ case class DictionaryJsonEncoder( jsonWithOptionalValues(json, optionalValues) } case Symbol.Enum(preA, node, postA) => { - val Type.Enum(_, repType, default) = dictionaryState.a.typeMap(symbol.getNodeId) + val Type.Enum(_, repType, default) = dictionaryState.a.typeMap(symbol.getNodeId).runtimeChecked val enumDefault = default match { case Some(defaultVal) => defaultVal.value._1 case None => "" @@ -259,7 +259,7 @@ case class DictionaryJsonEncoder( jsonWithOptionalValues(json, optionalValues) } case Symbol.Struct(preA, node, postA) => { - val Type.Struct(_, _, default, sizes, _) = dictionaryState.a.typeMap(symbol.getNodeId) + val Type.Struct(_, _, default, sizes, _) = dictionaryState.a.typeMap(symbol.getNodeId).runtimeChecked val memberFormatMap = node.data.members.flatMap { case (_, memberNode, _) => memberNode.data.format.map(format => memberNode.data.name -> format.data) }.toMap @@ -292,7 +292,7 @@ case class DictionaryJsonEncoder( } case Symbol.AliasType(preA, node, postA) => { val alias = dictionaryState.a.typeMap(symbol.getNodeId) - val Type.AliasType(_, aliasType) = alias + val Type.AliasType(_, aliasType) = alias.runtimeChecked val json = Json.obj( "kind" -> "alias".asJson, "qualifiedName" -> qualifiedName.asJson, @@ -568,10 +568,12 @@ case class DictionaryJsonEncoder( /** JSON Encoding for Telemetry Packet Sets */ private implicit def tlmPacketSetEncoder: Encoder[(Name.Unqualified, TlmPacketSet)] = new Encoder[(Name.Unqualified, TlmPacketSet)] { override def apply(entry: (Name.Unqualified, TlmPacketSet)): Json = { - Json.obj( + val (setPreA, _, setPostA) = entry._2.aNode + val json = Json.obj( "name" -> entry._1.toString.asJson, "members" -> entry._2.packetMap.map((id, packet) => { - Json.obj( + val (preA, _, postA) = packet.aNode + val packetJson = Json.obj( "name" -> packet.getName.asJson, "id" -> id.asJson, "group" -> packet.group.asJson, @@ -580,12 +582,14 @@ case class DictionaryJsonEncoder( s"${e.instance.toString}.${e.tlmChannel.getName}" }).asJson ) + jsonWithOptionalValues(packetJson, Map("annotation" -> concatAnnotations(preA, postA))) }).asJson, "omitted" -> entry._2.omittedIdSet.map(tlmId => { val e = dictionary.tlmChannelEntryMap(tlmId) s"${e.instance.toString}.${e.tlmChannel.getName}" }).toList.sorted.asJson ) + jsonWithOptionalValues(json, Map("annotation" -> concatAnnotations(setPreA, setPostA))) } } diff --git a/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonWriter.scala b/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonWriter.scala index 0db4205f35..c590549f9c 100644 --- a/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonWriter.scala +++ b/compiler/lib/src/main/scala/codegen/DictionaryJsonWriter/DictionaryJsonWriter.scala @@ -47,7 +47,7 @@ object DictionaryJsonWriter extends AstStateVisitor { DictionaryJsonEncoderState.getSystemFileName(baseName) } val json = { - val Right(topSymbol) = s.a.getTopologySymbol(data.topology.id): @unchecked + val Right(topSymbol) = s.a.getTopologySymbol(data.topology.id).runtimeChecked constructJson(s, topSymbol) } writeJson(s, fileName, json) diff --git a/compiler/lib/src/main/scala/codegen/FppWriter.scala b/compiler/lib/src/main/scala/codegen/FppWriter.scala index 8ad5bbf306..502b50c39e 100644 --- a/compiler/lib/src/main/scala/codegen/FppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/FppWriter.scala @@ -1,12 +1,13 @@ package fpp.compiler.codegen +import fpp.compiler.analysis._ import fpp.compiler.ast._ import fpp.compiler.syntax._ import fpp.compiler.util._ import scala.language.implicitConversions /** Write out FPP source */ -object FppWriter extends AstVisitor with LineUtils { +class FppWriter(a: Analysis = Analysis()) extends AstVisitor with LineUtils { type In = Unit @@ -262,6 +263,38 @@ object FppWriter extends AstVisitor with LineUtils { List(Line.blank, line("}")) } + override def defModuleTemplateAnnotatedNode( + in: In, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (_, node, _) = aNode + val data = node.data + lines (s"module template ${ident(data.name)}"). + join ("") (paramList (templateParam) (data.params)). + addSuffix(" {") ++ + (Line.blank :: (Line.blankSeparated (moduleMember) (data.members)).map(indentIn)) ++ + List(Line.blank, line("}")) + } + + override def specTemplateExpandAnnotatedNode( + in: In, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ): Out = { + val (_, node, _) = aNode + val data = node.data + val header = + lines("expand"). + join(" ") (qualIdent(data.template.data)). + join ("") (templateArgList(data.args)) + data.members match { + case None => header + case Some(members) => + header.addSuffix(" {") ++ + (Line.blank :: Line.blankSeparated (moduleMember) (members)).map(indentIn) ++ + List(Line.blank, line("}")) + } + } + override def defPortAnnotatedNode( in: In, aNode: Ast.Annotated[AstNode[Ast.DefPort]] @@ -306,9 +339,18 @@ object FppWriter extends AstVisitor with LineUtils { val (_, node, _) = aNode val data = node.data data.members match { - case Some(members) if members.nonEmpty => + case Some(members) => + // Filter out state enum members added during syntax expansion + val members1 = members.filter { + _.node._2 match { + case Ast.StateMachineMember.DefEnum(node) => + !a.stateEnumIdSet.contains(node.id) + case _ => true + } + } + // Write out the members List(line(s"state machine ${ident(data.name)} {"), Line.blank) ++ - (Line.blankSeparated(stateMachineMember)(members)).map(indentIn) ++ + (Line.blankSeparated(stateMachineMember)(members1)).map(indentIn) ++ List(Line.blank, line("}")) case _ => List(line(s"state machine ${ident(data.name)}")) @@ -381,13 +423,16 @@ object FppWriter extends AstVisitor with LineUtils { in: In, node: AstNode[Ast.Expr], e: Ast.ExprDot - ) = exprNode(e.e).join (".") (lines(e.id.data)) + ) = exprNode(e.e).join (".") (identAsLines(e.id.data)) override def exprIdentNode( in: In, node: AstNode[Ast.Expr], e: Ast.ExprIdent - ) = lines(e.value) + ) = { + val id = ident(e.value) + lines(if e.isAbsolute then s".$id" else id) + } override def exprLiteralBoolNode( in: In, @@ -849,15 +894,38 @@ object FppWriter extends AstVisitor with LineUtils { lines(name).join (": ") (typeNameNode(fp.typeName)) } - private def formalParamList(fpl: Ast.FormalParamList) = - fpl match { + private val formalParamList = paramList (formalParam) + + private def paramList[T] (f: T => List[Line]) (params: List[Ast.Annotated[AstNode[T]]]) = + params match { + case Nil => Nil + case _ => + lines("(") ++ + params.flatMap(annotateNode(f)).map(indentIn) ++ + lines(")") + } + + private def templateArg(arg: Ast.TemplateArg) = + arg match { + case Ast.TemplateArg.Constant(e) => + lines("constant").join(" ") (exprNode(e)) + case Ast.TemplateArg.Type(name) => + lines("type").join(" ") (typeNameNode(name)) + case Ast.TemplateArg.Interface(i) => + lines("instance").join(" ") (qualIdent(i.data)) + } + + private def argList[T] (f: T => List[Line]) (args: List[AstNode[T]]) = + args match { case Nil => Nil case _ => lines("(") ++ - fpl.flatMap(annotateNode(formalParam)).map(indentIn) ++ + args.flatMap({ case node => f(node.data) }).map(indentIn) ++ lines(")") } + private val templateArgList = argList (templateArg) + private def ident(id: Ast.Ident) = if (Lexer.reservedWordSet.contains(id)) "$" ++ id else id @@ -867,14 +935,25 @@ object FppWriter extends AstVisitor with LineUtils { qualIdent(pii.interfaceInstance.data). addSuffix(s".${ident(pii.portName.data)}") + private def prefixWithDictionary(s: String, isDictionaryDef: Boolean) = + if isDictionaryDef then + s"dictionary $s" + else + s + private def qualIdent(qid: Ast.QualIdent): Out = lines(qualIdentString(qid)) - private def qualIdentString(qid: Ast.QualIdent): String = + private def qualIdentString(qid: Ast.QualIdent): String = { + val s = relativeQualIdentString(qid) + if qid.isAbsolute then s".$s" else s + } + + private def relativeQualIdentString(qid: Ast.QualIdent): String = qid match { - case Ast.QualIdent.Unqualified(name) => ident(name) + case Ast.QualIdent.Unqualified(name, _) => ident(name) case Ast.QualIdent.Qualified(qualifier, name) => - qualIdentString(qualifier.data) ++ "." ++ ident(name.data) + relativeQualIdentString(qualifier.data) ++ "." ++ ident(name.data) } private def queueFull(qf: Ast.QueueFull) = lines(qf.toString) @@ -900,6 +979,19 @@ object FppWriter extends AstVisitor with LineUtils { join (" ") (typeNameNode(member.typeName)). joinOpt (member.format) (" format ") (applyToData(string)) + private def templateParam(tp: Ast.TemplateParam) = { + tp match { + case Ast.TemplateParam.Constant(name, typeName) => + lines(s"constant ${ident(name)}: "). + join("") (typeNameNode(typeName)) + case Ast.TemplateParam.Type(name) => + lines(s"type ${ident(name)}") + case Ast.TemplateParam.Interface(name, interface) => + lines(s"instance ${ident(name)}: "). + join("") (qualIdent(interface.data)) + } + } + private def tlmChannelId(tci: Ast.TlmChannelIdentifier) = qualIdent(tci.componentInstance.data). addSuffix(s".${ident(tci.channelName.data)}") @@ -916,9 +1008,4 @@ object FppWriter extends AstVisitor with LineUtils { private def unop(op: Ast.Unop) = op.toString - private def prefixWithDictionary(s: String, isDictionaryDef: Boolean) = - if isDictionaryDef then - s"dictionary $s" - else - s } diff --git a/compiler/lib/src/main/scala/codegen/JsonEncoder/AnalysisJsonEncoder.scala b/compiler/lib/src/main/scala/codegen/JsonEncoder/AnalysisJsonEncoder.scala index ffa734f57e..d19045b5bc 100644 --- a/compiler/lib/src/main/scala/codegen/JsonEncoder/AnalysisJsonEncoder.scala +++ b/compiler/lib/src/main/scala/codegen/JsonEncoder/AnalysisJsonEncoder.scala @@ -55,8 +55,19 @@ object AnalysisJsonEncoder extends JsonEncoder{ private implicit val interfaceInstanceEncoder: Encoder[InterfaceInstance] = Encoder.instance { instance => val nodeJson = instance match { - case InterfaceInstance.InterfaceComponentInstance(ci) => ci.aNode.asJson - case InterfaceInstance.InterfaceTopology(t) => t.aNode.asJson + case InterfaceInstance.InterfaceComponentInstance(ci) => ci.aNode._2.id.asJson + case InterfaceInstance.InterfaceTopology(t) => t.aNode._2.id.asJson + case InterfaceInstance.InterfaceTemplateArg( + paramDef, + interface, + ii + ) => Json.obj( + "paramDef" -> Json.obj( + "name" -> paramDef.name.asJson, + "interfaceNodeId" -> paramDef.interface.id.asJson + ), + "ii" -> ii.asJson + ) } addTypeNameKey(instance, nodeJson) } @@ -70,7 +81,7 @@ object AnalysisJsonEncoder extends JsonEncoder{ Json.obj( map.toList .sortBy(_._1.getNodeId) - .map { case (k, v) => (ke(k), v.asJson) }: _* + .map { case (k, v) => (ke(k), v.asJson) }* ) } @@ -83,7 +94,7 @@ object AnalysisJsonEncoder extends JsonEncoder{ Json.obj( map.toList .sortBy(_._1) - .map { case (k, v) => (ke(k), v.asJson) }: _* + .map { case (k, v) => (ke(k), v.asJson) }* ) } @@ -96,7 +107,7 @@ object AnalysisJsonEncoder extends JsonEncoder{ Json.obj( map.toList .map { case (k, v) => (ke(k), ve(v)) } - .sortBy(_._1): _* + .sortBy(_._1)* ) } diff --git a/compiler/lib/src/main/scala/codegen/JsonEncoder/LocMapJsonEncoder.scala b/compiler/lib/src/main/scala/codegen/JsonEncoder/LocMapJsonEncoder.scala index a49b7e23ed..b51728172d 100644 --- a/compiler/lib/src/main/scala/codegen/JsonEncoder/LocMapJsonEncoder.scala +++ b/compiler/lib/src/main/scala/codegen/JsonEncoder/LocMapJsonEncoder.scala @@ -31,7 +31,7 @@ object LocMapJsonEncoder extends JsonEncoder { // Convert the list elements to function arguments Json.obj( "fppVersion" -> Version.v.asJson, - "locationMap" -> Json.obj(locationsList: _*) + "locationMap" -> Json.obj(locationsList*) ) } diff --git a/compiler/lib/src/main/scala/codegen/LayoutWriter/LayoutWriter.scala b/compiler/lib/src/main/scala/codegen/LayoutWriter/LayoutWriter.scala index 483275dad4..36f467e9eb 100644 --- a/compiler/lib/src/main/scala/codegen/LayoutWriter/LayoutWriter.scala +++ b/compiler/lib/src/main/scala/codegen/LayoutWriter/LayoutWriter.scala @@ -74,7 +74,7 @@ object LayoutWriter extends AstStateVisitor with LineUtils { java.nio.file.Files.createDirectories(path) val file = File.Path(java.nio.file.Paths.get(s.dir, dirName, fileName)) for (writer <- file.openWrite()) yield { - lines.map(Line.write(writer) _) + lines.map(Line.write(writer)) writer.close() } } diff --git a/compiler/lib/src/main/scala/codegen/Line.scala b/compiler/lib/src/main/scala/codegen/Line.scala index aa5c68a893..dc0de6db95 100644 --- a/compiler/lib/src/main/scala/codegen/Line.scala +++ b/compiler/lib/src/main/scala/codegen/Line.scala @@ -81,7 +81,7 @@ object Line { case (l, Nil) => l case (Nil, l) => l case (l1, hd2 :: tl2) => { - val hd1 :: tl1 = l1.reverse + val hd1 :: tl1 = l1.reverse: @unchecked val part1 = tl1.reverse val part2 = join (sep) (hd1) (hd2) val part3 = mode match { diff --git a/compiler/lib/src/main/scala/codegen/LocateDefsFppWriter.scala b/compiler/lib/src/main/scala/codegen/LocateDefsFppWriter.scala index 433f45f51f..042e30ed10 100644 --- a/compiler/lib/src/main/scala/codegen/LocateDefsFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/LocateDefsFppWriter.scala @@ -116,6 +116,30 @@ object LocateDefsFppWriter extends AstVisitor with LineUtils { members.flatMap(matchModuleMember(s1, _)) } + override def defModuleTemplateAnnotatedNode( + s: State, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = { + val (_, node, _) = aNode + val data = node.data + writeSpecLoc(s, Ast.SpecLoc.Template, data.name, node) + } + + override def specTemplateExpandAnnotatedNode( + s: State, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + // If the template has been expanded, its generated definitions live in the + // members list. Locate them so that files using expansion-generated + // symbols can resolve them. The generated definitions are placed in the + // enclosing scope, so we do not push a scope name here. + val (_, node, _) = aNode + node.data.members match { + case Some(members) => members.flatMap(matchModuleMember(s, _)) + case None => Nil + } + } + override def defPortAnnotatedNode( s: State, aNode: Ast.Annotated[AstNode[Ast.DefPort]] @@ -166,7 +190,8 @@ object LocateDefsFppWriter extends AstVisitor with LineUtils { loc.file match { case File.Path(path) => { val nodeList = (name :: s.scopeNameList).reverse.map(s => AstNode.create(s)) - val qualIdentNode = AstNode.create(Ast.QualIdent.fromNodeList(nodeList)) + val isAbsolute = true + val qualIdentNode = AstNode.create(Ast.QualIdent.fromNodeList(nodeList, isAbsolute)) val baseDir = s.baseDir match { case Some(dir) => dir case None => "" @@ -176,7 +201,7 @@ object LocateDefsFppWriter extends AstVisitor with LineUtils { val fileNode = AstNode.create(relativePath.normalize.toString) val specLocNode = AstNode.create(Ast.SpecLoc(kind, qualIdentNode, fileNode, isDictionaryDef)) val specLocAnnotatedNode = (Nil, specLocNode, Nil) - FppWriter.specLocAnnotatedNode((), specLocAnnotatedNode) + FppWriter().specLocAnnotatedNode((), specLocAnnotatedNode) } case File.StdIn => Nil } diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/ArrayXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/ArrayXmlFppWriter.scala index 2fe9930528..329766c5e0 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/ArrayXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/ArrayXmlFppWriter.scala @@ -11,12 +11,12 @@ object ArrayXmlFppWriter extends LineUtils { def writeFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (tuMember <- FppBuilder.tuMember(file)) - yield FppWriter.tuMember(tuMember) + yield FppWriter().tuMember(tuMember) private object FppBuilder { /** Translates an XML type to an FPP type name */ - def translateType(file: XmlFppWriter.File): Node => Result.Result[Ast.TypeName] = file.translateType(node => Right(node.text)) _ + def translateType(file: XmlFppWriter.File): Node => Result.Result[Ast.TypeName] = file.translateType(node => Right(node.text)) /** Translates a block of default values from FPP to XML */ def translateDefaults(node: scala.xml.Node, tn: Ast.TypeName): (Option[AstNode[Ast.Expr]], List[String]) = { diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/ComponentXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/ComponentXmlFppWriter.scala index 7786a0cb14..6e227894c5 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/ComponentXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/ComponentXmlFppWriter.scala @@ -11,32 +11,32 @@ object ComponentXmlFppWriter extends LineUtils { /** Writes a component file */ def writeComponentFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (tuMember <- FppBuilder.tuMember(file)) - yield FppWriter.tuMember(tuMember) + yield FppWriter().tuMember(tuMember) /** Writes an imported file */ private def writeImportedFile (memberGenerator: FppBuilder.MemberGenerator) (file: XmlFppWriter.File): XmlFppWriter.Result = for (members <- FppBuilder.mapChildren(file, memberGenerator)) - yield Line.blankSeparated (FppWriter.componentMember) (members) + yield Line.blankSeparated (FppWriter().componentMember) (members) /** Writes a commands file */ - val writeCommandsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Command) _ + val writeCommandsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Command) /** Writes a params file */ - val writeParamsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Param) _ + val writeParamsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Param) /** Writes a ports file */ - val writePortsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Port) _ + val writePortsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Port) /** Writes a tlm channels file */ - val writeTlmChannelsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.TlmChannel) _ + val writeTlmChannelsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.TlmChannel) /** Writes an events file */ - val writeEventsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Event) _ + val writeEventsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.Event) /** Writes an internal ports file */ - val writeInternalPortsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.InternalPort) _ + val writeInternalPortsFile: XmlFppWriter.File => XmlFppWriter.Result = writeImportedFile(FppBuilder.MemberGenerator.InternalPort) /** Builds FPP for translating Component XML */ private object FppBuilder { @@ -113,7 +113,7 @@ object ComponentXmlFppWriter extends LineUtils { /** Translates an XML type to an FPP type name */ def translateType(file: XmlFppWriter.File): Node => Result.Result[Ast.TypeName] = - file.translateType(node => file.getAttribute(node, "data_type")) _ + file.translateType(node => file.getAttribute(node, "data_type")) case object MemberGenerator { @@ -502,7 +502,7 @@ object ComponentXmlFppWriter extends LineUtils { ("parameters", MemberGenerator.Param), ("telemetry", MemberGenerator.TlmChannel) ), - mapChildrenOfName _ + mapChildrenOfName ) } yield (includes :: lists).flatten diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/EnumXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/EnumXmlFppWriter.scala index 2b0967649c..8cd48b982f 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/EnumXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/EnumXmlFppWriter.scala @@ -9,7 +9,7 @@ object EnumXmlFppWriter extends LineUtils { def writeFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (tuMember <- FppBuilder.tuMember(file)) - yield FppWriter.tuMember(tuMember) + yield FppWriter().tuMember(tuMember) private object FppBuilder { diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/FormalParamsXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/FormalParamsXmlFppWriter.scala index ed37c22c78..59be0f73eb 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/FormalParamsXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/FormalParamsXmlFppWriter.scala @@ -10,7 +10,7 @@ object FormalParamsXmlFppWriter extends LineUtils { /** Translates an XML type to an FPP type name */ def translateType(file: XmlFppWriter.File): Node => Result.Result[Ast.TypeName] = - file.translateType(node => file.getAttribute(node, "type")) _ + file.translateType(node => file.getAttribute(node, "type")) /** Extracts a formal parameter */ def formalParamAnnotatedNode(file: XmlFppWriter.File, node: scala.xml.Node): diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/PortXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/PortXmlFppWriter.scala index c40d1178d4..186d823aa7 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/PortXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/PortXmlFppWriter.scala @@ -10,14 +10,14 @@ object PortXmlFppWriter extends LineUtils { def writeFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (tuMember <- FppBuilder.tuMemberList(file)) - yield FppWriter.tuMemberList(tuMember) + yield FppWriter().tuMemberList(tuMember) /** Builds FPP for translating Serializable XML */ private object FppBuilder { /** Translates an XML type to an FPP type name */ def translateType(file: XmlFppWriter.File): Node => Result.Result[Ast.TypeName] = - file.translateType(node => file.getAttribute(node, "type")) _ + file.translateType(node => file.getAttribute(node, "type")) /** Extracts the return type */ def returnTypeOpt(file: XmlFppWriter.File): diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/StructXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/StructXmlFppWriter.scala index 0849f10b79..acaaedecb0 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/StructXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/StructXmlFppWriter.scala @@ -10,14 +10,14 @@ object StructXmlFppWriter extends LineUtils { def writeFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (tuMember <- FppBuilder.tuMemberList(file)) - yield FppWriter.tuMemberList(tuMember) + yield FppWriter().tuMemberList(tuMember) /** Builds FPP for translating Serializable XML */ private object FppBuilder { /** Translates an XML type to an FPP type name */ def translateType(file: XmlFppWriter.File): Node => Result.Result[Ast.TypeName] = - file.translateType(node => file.getAttribute(node, "type")) _ + file.translateType(node => file.getAttribute(node, "type")) /** Extracts a struct type member */ def structTypeMemberAnnotatedNode( diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/TlmPacketSetXmlWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/TlmPacketSetXmlWriter.scala index 8704d34f77..f44eb73c0c 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/TlmPacketSetXmlWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/TlmPacketSetXmlWriter.scala @@ -10,7 +10,7 @@ object TlmPacketSetXmlFppWriter extends LineUtils { def writeFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (topologyMember <- FppBuilder.topologyMember(file)) - yield FppWriter.topologyMember(topologyMember) + yield FppWriter().topologyMember(topologyMember) /** Builds FPP for translating telemetry packet XML */ private object FppBuilder { @@ -54,7 +54,7 @@ object TlmPacketSetXmlFppWriter extends LineUtils { name.split("\\.").toList.reverse match { case head :: tail => val nodeList = tail.reverse.map(AstNode.create) - val instance = Ast.QualIdent.fromNodeList(nodeList) + val instance = Ast.QualIdent.fromNodeList(nodeList, false) Right( Ast.TlmChannelIdentifier( AstNode.create(instance), diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/TopologyXmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/TopologyXmlFppWriter.scala index 0e777374a3..8be30baf6d 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/TopologyXmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/TopologyXmlFppWriter.scala @@ -9,7 +9,7 @@ object TopologyXmlFppWriter extends LineUtils { def writeFile(file: XmlFppWriter.File): XmlFppWriter.Result = for (tuMember <- FppBuilder.tuMemberList(file)) - yield FppWriter.tuMemberList(tuMember) + yield FppWriter().tuMemberList(tuMember) /** Builds FPP for translating topology XML */ private object FppBuilder { @@ -43,7 +43,8 @@ object TopologyXmlFppWriter extends LineUtils { yield { val componentQid = Ast.QualIdent.fromNodeList( (XmlFppWriter.getAttributeNamespace(node) :+ componentName). - map(AstNode.create(_)) + map(AstNode.create(_)), + false ) ( Nil, diff --git a/compiler/lib/src/main/scala/codegen/XmlFppWriter/XmlFppWriter.scala b/compiler/lib/src/main/scala/codegen/XmlFppWriter/XmlFppWriter.scala index da39ca72e2..141e827ee7 100644 --- a/compiler/lib/src/main/scala/codegen/XmlFppWriter/XmlFppWriter.scala +++ b/compiler/lib/src/main/scala/codegen/XmlFppWriter/XmlFppWriter.scala @@ -275,7 +275,8 @@ object XmlFppWriter extends LineUtils { def translateQualIdent(xmlQid: String): AstNode[Ast.QualIdent] = AstNode.create( Ast.QualIdent.fromNodeList( - xmlQid.split("::").toList.map(AstNode.create(_)) + xmlQid.split("::").toList.map(AstNode.create(_)), + false ) ) @@ -337,8 +338,8 @@ object XmlFppWriter extends LineUtils { None else { // C++ qualified identifier. Translate to an FPP qualified identifier. - val head :: tail = xmlValue.split("::").toList - val e = tail.foldLeft (Ast.ExprIdent(head): Ast.Expr) ((e1, s) => + val head :: tail = xmlValue.split("::").toList.runtimeChecked + val e = tail.foldLeft (Ast.ExprIdent(head, false): Ast.Expr) ((e1, s) => Ast.ExprDot(AstNode.create(e1), AstNode.create(s)) ) Some(e) diff --git a/compiler/lib/src/main/scala/syntax/Lexer.scala b/compiler/lib/src/main/scala/syntax/Lexer.scala index d59f46e13d..e4a6b1ba6d 100644 --- a/compiler/lib/src/main/scala/syntax/Lexer.scala +++ b/compiler/lib/src/main/scala/syntax/Lexer.scala @@ -58,6 +58,7 @@ object Lexer { ("event", EVENT), ("every", EVERY), ("exit", EXIT), + ("expand", EXPAND), ("external", EXTERNAL), ("false", FALSE), ("fatal", FATAL), @@ -121,6 +122,7 @@ object Lexer { ("sync", SYNC), ("system", SYSTEM), ("telemetry", TELEMETRY), + ("template", TEMPLATE), ("text", TEXT), ("throttle", THROTTLE), ("time", TIME), @@ -258,6 +260,7 @@ object Lexer { case EVERY => Token.EVERY() case EXIT => Token.EXIT() case EXTERNAL => Token.EXTERNAL() + case EXPAND => Token.EXPAND() case F32 => Token.F32() case F64 => Token.F64() case FALSE => Token.FALSE() @@ -347,6 +350,7 @@ object Lexer { case SYNC => Token.SYNC() case SYSTEM => Token.SYSTEM() case TELEMETRY => Token.TELEMETRY() + case TEMPLATE => Token.TEMPLATE() case TEXT => Token.TEXT() case THROTTLE => Token.THROTTLE() case TIME => Token.TIME() diff --git a/compiler/lib/src/main/scala/syntax/Parser.scala b/compiler/lib/src/main/scala/syntax/Parser.scala index e9ecc74264..3d721b5825 100644 --- a/compiler/lib/src/main/scala/syntax/Parser.scala +++ b/compiler/lib/src/main/scala/syntax/Parser.scala @@ -325,7 +325,9 @@ object Parser extends Parsers { def floatExpr = literalFloat ^^ (s => Ast.ExprLiteralFloat(s)) - def identExpr = ident ^^ (id => Ast.ExprIdent(id)) + def identExpr = opt(dot) ~ ident ^^ { + case dot ~ id => Ast.ExprIdent(id, dot.isDefined) + } def intExpr = literalInt ^^ (li => Ast.ExprLiteralInt(li)) @@ -422,17 +424,16 @@ object Parser extends Parsers { } } - def formalParamList: Parser[Ast.FormalParamList] = { - def id(x: Ast.Annotated[AstNode[Ast.FormalParam]]) = x - - def params = annotatedElementSequence(node(formalParam), comma, id) - + private def paramList[T](param: Parser[T]): Parser[List[Ast.Annotated[AstNode[T]]]] = { + def params = annotatedElementSequence(node(param), comma, { case x => x }) opt(lparen ~>! params <~! rparen) ^^ { case Some(params) => params case None => Nil } } + val formalParamList = paramList(formalParam) + def index: Parser[AstNode[Ast.Expr]] = lbracket ~>! exprNode <~! rbracket def moduleMemberNode: Parser[Ast.ModuleMember.Node] = { @@ -445,6 +446,7 @@ object Parser extends Parsers { Ast.ModuleMember.DefComponentInstance(n)) | node(defConstant) ^^ (n => Ast.ModuleMember.DefConstant(n)) | node(defEnum) ^^ (n => Ast.ModuleMember.DefEnum(n)) | + node(defModuleTemplate) ^^ (n => Ast.ModuleMember.DefModuleTemplate(n)) | node(defModule) ^^ (n => Ast.ModuleMember.DefModule(n)) | node(defPort) ^^ (n => Ast.ModuleMember.DefPort(n)) | node(defStateMachine) ^^ (n => @@ -454,6 +456,7 @@ object Parser extends Parsers { node(defTopology) ^^ (n => Ast.ModuleMember.DefTopology(n)) | node(specInclude) ^^ (n => Ast.ModuleMember.SpecInclude(n)) | node(specLoc) ^^ (n => Ast.ModuleMember.SpecLoc(n)) | + node(specTemplateExpand) ^^ (n => Ast.ModuleMember.SpecTemplateExpand(n)) | failure("module member expected") } @@ -531,16 +534,18 @@ object Parser extends Parsers { } def portInstanceIdentifier: Parser[Ast.PortInstanceIdentifier] = - node(ident) ~! (dot ~>! qualIdentNodeList) ^^ { - case id ~ qid => - val portName :: tail = qid.reverse + opt(dot) ~ node(ident) ~! (dot ~>! qualIdentNodeList) ^^ { + case dot ~ id ~ qid => + val portName :: tail = qid.reverse.runtimeChecked val componentInstance = id :: tail.reverse - val node = Ast.QualIdent.Node.fromNodeList(componentInstance) + val node = Ast.QualIdent.Node.fromNodeList(componentInstance, dot.isDefined) Ast.PortInstanceIdentifier(node, portName) } def qualIdent: Parser[Ast.QualIdent] = - qualIdentNodeList ^^ (qid => Ast.QualIdent.fromNodeList(qid)) + opt(dot) ~ qualIdentNodeList ^^ { + case dot ~ qid => Ast.QualIdent.fromNodeList(qid, dot.isDefined) + } private def qualIdentNodeList: Parser[Ast.QualIdent.NodeList] = rep1sep(node(ident), dot) @@ -700,6 +705,7 @@ object Parser extends Parsers { instance ^^ (_ => Ast.SpecLoc.Instance) | port ^^ (_ => Ast.SpecLoc.Port) | state ~! machine ^^ (_ => Ast.SpecLoc.StateMachine) | + template ^^ (_ => Ast.SpecLoc.Template) | system ^^ (_ => Ast.SpecLoc.System) | interface ^^ (_ => Ast.SpecLoc.Interface) def maybeDictPair = @@ -946,11 +952,11 @@ object Parser extends Parsers { } def tlmChannelIdentifier: Parser[Ast.TlmChannelIdentifier] = - node(ident) ~! (dot ~>! qualIdentNodeList) ^^ { - case id ~ qid => - val channelName :: tail = qid.reverse + opt(dot) ~ node(ident) ~! (dot ~>! qualIdentNodeList) ^^ { + case dot ~ id ~ qid => + val channelName :: tail = qid.reverse.runtimeChecked val componentInstance = id :: tail.reverse - val node = Ast.QualIdent.Node.fromNodeList(componentInstance) + val node = Ast.QualIdent.Node.fromNodeList(componentInstance, dot.isDefined) Ast.TlmChannelIdentifier(node, channelName) } @@ -1041,6 +1047,62 @@ object Parser extends Parsers { failure("type name expected") } + private def templateParam: Parser[Ast.TemplateParam] = { + def paramConstant: Parser[Ast.TemplateParam.Constant] = { + (constant ~>! ident) ~! (colon ~>! node(typeName)) ^^ { + case id ~ tn => Ast.TemplateParam.Constant(id, tn) + } + } + + def paramType: Parser[Ast.TemplateParam.Type] = { + typeToken ~>! ident ^^ { + case id => Ast.TemplateParam.Type(id) + } + } + + def paramInterface: Parser[Ast.TemplateParam.Interface] = { + (instance ~>! ident) ~! (colon ~>! node(qualIdent)) ^^ { + case id ~ iface => Ast.TemplateParam.Interface(id, iface) + } + } + paramConstant | + paramType | + paramInterface | + failure("template parameter expected") + } + + val templateParamList = paramList(templateParam) + + def defModuleTemplate: Parser[Ast.DefModuleTemplate] = { + (module ~> template ~>! ident) ~! templateParamList ~! (lbrace ~>! moduleMembers <~! rbrace) ^^ { + case name ~ params ~ members => Ast.DefModuleTemplate(name, params, members) + } + } + + def templateArg: Parser[Ast.TemplateArg] = { + (constant ~>! exprNode) ^^ { case e => Ast.TemplateArg.Constant(e) } | + typeToken ~>! node(typeName) ^^ { case tn => Ast.TemplateArg.Type(tn) } | + instance ~>! node(qualIdent) ^^ { case i => Ast.TemplateArg.Interface(i) } | + failure("template argument expected") + } + + private def argList[T](arg: Parser[T]): Parser[List[AstNode[T]]] = { + opt(lparen ~>! elementSequence(node(arg), comma) <~! rparen) ^^ { + case Some(args) => args + case None => Nil + } + } + + val templateArgList = argList(templateArg) + + def specTemplateExpand: Parser[Ast.SpecTemplateExpand] = { + (expand ~>! node(qualIdent)) ~! templateArgList ~! opt( + lbrace ~>! moduleMembers <~! rbrace + ) ^^ { + case id ~ args ~ membersOpt => Ast.SpecTemplateExpand(id, args, membersOpt) + } + } + override def commit[T](p: => Parser[T]) = Parser { in => def setError(e: Error) = { error match { @@ -1119,8 +1181,6 @@ object Parser extends Parsers { private def choice = accept("choice", { case t: Token.CHOICE => t }) - private def lbrace = accept("{", { case t: Token.LBRACE => t }) - private def colon = accept(":", { case t: Token.COLON => t }) private def comma = accept(",", { case t: Token.COMMA => t }) @@ -1177,6 +1237,8 @@ object Parser extends Parsers { private def exit = accept("exit", { case t: Token.EXIT => t }) + private def expand = accept("expand", { case t: Token.EXPAND => t }) + private def external = accept("external", { case t : Token.EXTERNAL => t }) private def falseToken = accept("false", { case t : Token.FALSE => t }) @@ -1222,9 +1284,11 @@ object Parser extends Parsers { private def instance = accept("instance", { case t: Token.INSTANCE => t }) + private def interface = accept("interface", { case t: Token.INTERFACE => t }) + private def internal = accept("internal", { case t: Token.INTERNAL => t }) - private def interface = accept("interface", { case t: Token.INTERFACE => t }) + private def lbrace = accept("{", { case t: Token.LBRACE => t }) private def lbracket = accept("[", { case t: Token.LBRACKET => t }) @@ -1349,6 +1413,8 @@ object Parser extends Parsers { private def telemetry = accept("telemetry", { case t: Token.TELEMETRY => t }) + private def template = accept("template", { case t: Token.TEMPLATE => t }) + private def text = accept("text", { case t: Token.TEXT => t }) private def throttle = accept("throttle", { case t: Token.THROTTLE => t }) @@ -1369,6 +1435,7 @@ object Parser extends Parsers { private def yellow = accept("yellow", { case t: Token.YELLOW => t }) + /** The first error seen */ private var error: Option[Error] = None diff --git a/compiler/lib/src/main/scala/syntax/Token.scala b/compiler/lib/src/main/scala/syntax/Token.scala index 820f9fac6f..e255b9e0ed 100644 --- a/compiler/lib/src/main/scala/syntax/Token.scala +++ b/compiler/lib/src/main/scala/syntax/Token.scala @@ -44,6 +44,7 @@ object Token { final case class EVENT() extends Token final case class EVERY() extends Token final case class EXIT() extends Token + final case class EXPAND() extends Token final case class EXTERNAL() extends Token final case class F32() extends Token final case class F64() extends Token @@ -63,8 +64,8 @@ object Token { final case class I8() extends Token final case class ID() extends Token final case class IDENTIFIER(str: String) extends Token - final case class IMPLEMENTS() extends Token final case class IF() extends Token + final case class IMPLEMENTS() extends Token final case class IMPORT() extends Token final case class INCLUDE() extends Token final case class INITIAL() extends Token @@ -133,6 +134,7 @@ object Token { final case class SYNC() extends Token final case class SYSTEM() extends Token final case class TELEMETRY() extends Token + final case class TEMPLATE() extends Token final case class TEXT() extends Token final case class THROTTLE() extends Token final case class TIME() extends Token @@ -178,6 +180,7 @@ enum TokenId { case BLOCK case BOOL case CHANGE + case CHOICE case COMMAND case COMPONENT case CONNECTIONS @@ -197,6 +200,7 @@ enum TokenId { case EVENT case EVERY case EXIT + case EXPAND case EXTERNAL case F32 case F64 @@ -216,15 +220,14 @@ enum TokenId { case I8 case ID case IF - case IMPORT case IMPLEMENTS + case IMPORT case INCLUDE case INITIAL case INPUT case INSTANCE case INTERFACE case INTERNAL - case CHOICE case LOCATE case LOW case MACHINE @@ -267,6 +270,7 @@ enum TokenId { case SYNC case SYSTEM case TELEMETRY + case TEMPLATE case TEXT case THROTTLE case TIME diff --git a/compiler/lib/src/main/scala/transform/AddStateEnums.scala b/compiler/lib/src/main/scala/transform/AddStateEnums.scala index 0cbdc240dd..12ac2cc569 100644 --- a/compiler/lib/src/main/scala/transform/AddStateEnums.scala +++ b/compiler/lib/src/main/scala/transform/AddStateEnums.scala @@ -9,18 +9,15 @@ import fpp.compiler.util._ object AddStateEnums extends AstStateTransformer with ComponentStateTransformer with ModuleStateTransformer + with ModuleTemplateStateTransformer { - type State = Unit + type State = Analysis def default(in: State) = in - def transUnitList(tul: List[Ast.TransUnit]) = - for (sTul <- transformList((), tul, transUnit)) - yield sTul._2 - override def defStateMachineAnnotatedNodeInternal( - in: State, + a: Analysis, aNode: Ast.Annotated[AstNode[Ast.DefStateMachine]], members: List[Ast.StateMachineMember] ) = { @@ -35,7 +32,8 @@ object AddStateEnums extends AstStateTransformer val member = Ast.StateMachineMember(Nil, enumMemberNode, Nil) val defStateMachine = Ast.DefStateMachine(name, Some(member :: members)) val node1 = AstNode.create(defStateMachine, node.id) - (in, (pre, node1, post)) + val a1 = a.copy(stateEnumIdSet = a.stateEnumIdSet + enumNode.id) + (a1, (pre, node1, post)) } } diff --git a/compiler/lib/src/main/scala/transform/ExpandTemplates.scala b/compiler/lib/src/main/scala/transform/ExpandTemplates.scala new file mode 100644 index 0000000000..e04b68dd38 --- /dev/null +++ b/compiler/lib/src/main/scala/transform/ExpandTemplates.scala @@ -0,0 +1,1152 @@ +package fpp.compiler.transform + +import fpp.compiler.analysis._ +import fpp.compiler.ast._ +import fpp.compiler.util._ + +/** Expand any template expansion specifiers that have not yet been expanded */ +object ExpandTemplates extends AstUnitTransformer +{ + + type In = Analysis + + def default(a: Analysis) = + throw InternalError("ExpandTemplates: Transformer not implemented") + + override def transUnit( + a: Analysis, + tu: Ast.TransUnit + ) = { + for (members <- transformFlatList(a, tu.members, matchModuleMember)) + yield ((), Ast.TransUnit(members)) + } + + // Duplicate every node inside a template definition + override def defaultNode[T]( + a: Analysis, + node: AstNode[T] + ) = Right((), cloneNode(a, node, node.data)) + + override def defaultAnnotatedNode[T]( + a: Analysis, + aNode: Ast.Annotated[AstNode[T]] + ) = { + val (pre, node, post) = aNode + val node1 = cloneNode(a, node, node.data) + Right((), (pre, node1, post)) + } + + override def exprArrayNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprArray + ) = + for (result <- transformList(a, e.elts, matchExprNode)) + yield ((), cloneNode(a, node, Ast.ExprArray(result))) + + override def exprArraySubscriptNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprArraySubscript + ) = + for { + (_, e1) <- matchExprNode(a, e.e1) + (_, e2) <- matchExprNode(a, e.e2) + } + yield ((), cloneNode(a, node, Ast.ExprArraySubscript(e1, e2))) + + override def exprBinopNode( + a: Analysis, node: AstNode[Ast.Expr], + e: Ast.ExprBinop + ) = + for { + (_, e1) <- matchExprNode(a, e.e1) + (_, e2) <- matchExprNode(a, e.e2) + } + yield ((), cloneNode(a, node, Ast.ExprBinop(e1, e.op, e2))) + + override def exprDotNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprDot + ) = + for ((_, left) <- matchExprNode(a, e.e)) + yield ((), cloneNode(a, node, Ast.ExprDot(left, cloneNode(a, e.id, e.id.data)))) + + override def exprParenNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprParen + ) = + for ((_, value) <- matchExprNode(a, e.e)) + yield ((), cloneNode(a, node, Ast.ExprParen(value))) + + override def exprStructNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprStruct + ) = + for (result <- transformList(a, e.members, resultAdapter(structMember))) + yield ((), cloneNode(a, node, Ast.ExprStruct(result))) + + override def exprUnopNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprUnop + ) = + for ((_, ec) <- matchExprNode(a, e.e)) + yield ((), cloneNode(a, node, Ast.ExprUnop(e.op, ec))) + + override def exprSizeOfNode( + a: Analysis, + node: AstNode[Ast.Expr], + e: Ast.ExprSizeOf + ) = + for ((_, result) <- matchTypeName(a, e.typeName)) + yield ((), cloneNode(a, node, Ast.ExprSizeOf(result))) + + override def typeNameQualIdentNode( + a: Analysis, + node: AstNode[Ast.TypeName], + tn: Ast.TypeNameQualIdent + ) = { + val qidNode = cloneQualIdentNode(a, tn.name) + Right((), cloneNode(a, node, Ast.TypeNameQualIdent(qidNode))) + } + + override def typeNameStringNode( + a: Analysis, + node: AstNode[Ast.TypeName], + tn: Ast.TypeNameString + ) = + for { + valueOpt <- tn.size match { + case None => Right(None) + case Some(size) => matchExprNode(a, size).map(_._2).map(Some(_)) + } + } + yield ((), cloneNode(a, node, Ast.TypeNameString(valueOpt))) + + override def defAliasTypeAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefAliasType]] + ): ResultAnnotatedNode[Ast.DefAliasType] = + val data = aNode._2.data + for ((_, ty) <- matchTypeName(a, data.typeName)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(typeName = ty))) + + override def defArrayAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefArray]] + ) = { + val data = aNode._2.data + for { + (_, size) <- matchExprNode(a, data.size) + (_, eltType) <- matchTypeName(a, data.eltType) + default <- exprNodeOpt(a, data.default) + } yield { + val dataCopy = data.copy( + size = size, + eltType = eltType, + default = default, + format = cloneStringNodeOpt(a, data.format) + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + } + + override def defComponentAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefComponent]] + ) = { + val data = aNode._2.data + for (members <- transformFlatList(a, data.members, matchComponentMember)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(members = members))) + } + + override def defComponentInstanceAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefComponentInstance]] + ) = { + val data = aNode._2.data + for { + component <- Right(cloneQualIdentNode(a, data.component)) + (_, baseId) <- matchExprNode(a, data.baseId) + queueSize <- exprNodeOpt(a, data.queueSize) + stackSize <- exprNodeOpt(a, data.stackSize) + priority <- exprNodeOpt(a, data.priority) + cpu <- exprNodeOpt(a, data.cpu) + initSpecs <- transformList(a, data.initSpecs, specInitAnnotatedNode) + } yield { + val dataCopy = data.copy( + component=component, + baseId=baseId, + implType=cloneStringNodeOpt(a, data.implType), + file=cloneStringNodeOpt(a, data.file), + queueSize=queueSize, + stackSize=stackSize, + priority=priority, + cpu=cpu, + initSpecs=initSpecs + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + } + + override def defInterfaceAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefInterface]] + ) = { + val data = aNode._2.data + for (result <- transformList(a, data.members, matchInterfaceMember)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(members=result))) + } + + override def defConstantAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefConstant]] + ) = + val data = aNode._2.data + for ((_, value) <- matchExprNode(a, data.value)) + yield { + val dataCopy = data.copy(value = value) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defEnumAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefEnum]] + ) = + val data = aNode._2.data + for { + typeName <- typeNameNodeOpt(a, data.typeName) + constants <- transformList( + a, + data.constants, + resultAdapter(defEnumConstantAnnotatedNode) + ) + default <- exprNodeOpt(a, data.default) + } yield { + val dataCopy = data.copy( + typeName = typeName, + constants = constants, + default = default + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defPortAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefPort]] + ) = + val data = aNode._2.data + for { + params <- formalParamList(a, data.params) + returnType <- typeNameNodeOpt(a, data.returnType) + } yield { + val dataCopy = data.copy(params = params, returnType = returnType) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defStateMachineAnnotatedNodeExternal( + in: In, + node: Ast.Annotated[AstNode[Ast.DefStateMachine]] + ) = + defaultAnnotatedNode(in, node) + + override def defStateMachineAnnotatedNodeInternal( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefStateMachine]], + members: List[Ast.StateMachineMember] + ) = + val data = aNode._2.data + for (members <- transformFlatList(a, members, matchStateMachineMember)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(members = Some(members)))) + + override def defStateMachineAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefStateMachine]] + ) = + val data = aNode._2.data + data.members match { + case None => defStateMachineAnnotatedNodeExternal(a, aNode) + case Some(members) => defStateMachineAnnotatedNodeInternal(a, aNode, members) + } + + override def defActionAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefAction]] + ) = + val data = aNode._2.data + for { + typeName <- typeNameNodeOpt(a, data.typeName) + } yield ((), cloneAnnotatedNode(a, aNode, data.copy(typeName = typeName))) + + override def defChoiceAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefChoice]] + ) = + val data = aNode._2.data + for { + (_, guard) <- defaultNode(a, data.guard) + ifTransition <- transitionExpr(a, data.ifTransition) + elseTransition <- transitionExpr(a, data.elseTransition) + } yield { + val dataCopy = data.copy( + guard = guard, + ifTransition = ifTransition, + elseTransition = elseTransition + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defGuardAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefGuard]] + ) = + val data = aNode._2.data + for (typeName <- typeNameNodeOpt(a, data.typeName)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(typeName = typeName))) + + override def defSignalAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefSignal]] + ) = + val data = aNode._2.data + for (typeName <- typeNameNodeOpt(a, data.typeName)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(typeName = typeName))) + + override def defStateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefState]] + ) = + val data = aNode._2.data + for (members <- transformFlatList(a, data.members, matchStateMember)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(members = members))) + + override def specInitialTransitionAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecInitialTransition]] + ) = + val data = aNode._2.data + for (transition <- transitionExpr(a, data.transition)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(transition = transition))) + + override def specStateEntryAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecStateEntry]] + ) = + val data = aNode._2.data + for (actions <- transformList(a, data.actions, defaultNode)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(actions = actions))) + + override def specStateExitAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecStateExit]] + ) = + val data = aNode._2.data + for (actions <- transformList(a, data.actions, defaultNode)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(actions = actions))) + + override def specStateTransitionAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecStateTransition]] + ) = + val data = aNode._2.data + for { + (_, signal) <- defaultNode(a, data.signal) + guard <- defaultNodeOpt(a, data.guard) + transitionOrDo <- transitionOrDo(a, data.transitionOrDo) + } yield { + val dataCopy = data.copy( + signal = signal, + guard = guard, + transitionOrDo = transitionOrDo + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defStructAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefStruct]] + ) = + val data = aNode._2.data + for { + members <- transformList(a, data.members, resultAdapter(structTypeMemberAnnotatedNode)) + default <- exprNodeOpt(a, data.default) + } yield { + val dataCopy = data.copy(members = members, default = default) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defTopologyAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefTopology]] + ) = + val data = aNode._2.data + for { + members <- transformFlatList(a, data.members, matchTopologyMember) + implements <- transformList(a, data.implements, (a, q) => Right(((), cloneQualIdentNode(a, q)))) + } yield { + val dataCopy = data.copy(members = members, implements = implements) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defSystemAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefSystem]] + ) = + val data = aNode._2.data + for (topology <- qualIdentNode(a, data.topology)) + yield { + val dataCopy = data.copy(topology = topology) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specCommandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecCommand]] + ) = + val data = aNode._2.data + for { + params <- formalParamList(a, data.params) + opcode <- exprNodeOpt(a, data.opcode) + priority <- exprNodeOpt(a, data.priority) + queueFull <- defaultNodeOpt(a, data.queueFull) + } yield { + val dataCopy = data.copy( + params = params, + opcode = opcode, + priority = priority, + queueFull = queueFull, + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specInstanceAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecInstance]] + ) = + val data = aNode._2.data + for { + instance <- qualIdentNode(a, data.instance) + } yield { + val dataCopy = data.copy(instance = instance) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specConnectionGraphAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecConnectionGraph]] + ) = { + val data = aNode._2.data + + def connection( + a: Analysis, + connection: Ast.SpecConnectionGraph.Connection + ): Result[Ast.SpecConnectionGraph.Connection] = { + for { + fromPort <- portInstanceIdentifierNode(a, connection.fromPort) + fromIndex <- exprNodeOpt(a, connection.fromIndex) + toPort <- portInstanceIdentifierNode(a, connection.toPort) + toIndex <- exprNodeOpt(a, connection.toIndex) + } yield { + val connectionCopy = connection.copy( + fromPort = fromPort, + fromIndex = fromIndex, + toPort = toPort, + toIndex = toIndex + ) + ((), connectionCopy) + } + } + + data match { + case data @ Ast.SpecConnectionGraph.Direct(_, connections) => + for (connections <- transformList(a, connections, connection)) + yield { + val dataCopy = data.copy(connections = connections) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + case data @ Ast.SpecConnectionGraph.Pattern(_, source, targets) => + for { + source <- qualIdentNode(a, source) + targets <- transformList(a, targets, resultAdapter(qualIdentNode)) + } yield { + val dataCopy = data.copy(source = source, targets = targets) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + } + + } + + override def specContainerAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecContainer]] + ) = + val data = aNode._2.data + for { + id <- exprNodeOpt(a, data.id) + defaultPriority <- exprNodeOpt(a, data.defaultPriority) + } yield { + val dataCopy = data.copy(id = id, defaultPriority = defaultPriority) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specEventAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecEvent]] + ) = + val data = aNode._2.data + for { + params <- formalParamList(a, data.params) + id <- exprNodeOpt(a, data.id) + (_, format) <- defaultNode(a, data.format) + throttle <- data.throttle match { + case None => Right(None) + case Some(throttle) => + for { + (_, count) <- matchExprNode(a, throttle.data.count) + every <- exprNodeOpt(a, throttle.data.every) + } yield { + val dataCopy = throttle.data.copy(every = every, count = count) + val node = cloneNode(a, throttle, dataCopy) + Some(node) + } + } + } yield { + val dataCopy = data.copy( + params = params, + id = id, + format = format, + throttle = throttle + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specIncludeAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecInclude]] + ) = + val data = aNode._2.data + for { + (_, file) <- defaultNode(a, data.file) + } yield ((), cloneAnnotatedNode(a, aNode, data.copy(file = file))) + + override def specInitAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecInit]] + ) = + val data = aNode._2.data + for ((_, phase) <- matchExprNode(a, data.phase)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(phase=phase))) + + override def specInternalPortAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecInternalPort]] + ) = + val data = aNode._2.data + for { + params <- formalParamList(a, data.params) + priority <- exprNodeOpt(a, data.priority) + } yield { + val dataCopy = data.copy(params = params, priority = priority) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specLocAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecLoc]] + ) = + val data = aNode._2.data + for { + symbol <- qualIdentNode(a, data.symbol) + (_, file) <- defaultNode(a, data.file) + } yield { + val dataCopy = data.copy(symbol = symbol, file = file) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specParamAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecParam]] + ) = + val data = aNode._2.data + for { + (_, typeName) <- matchTypeName(a, data.typeName) + default <- exprNodeOpt(a, data.default) + id <- exprNodeOpt(a, data.id) + setOpcode <- exprNodeOpt(a, data.setOpcode) + saveOpcode <- exprNodeOpt(a, data.saveOpcode) + } yield { + val dataCopy = data.copy( + typeName = typeName, + default = default, + id = id, + setOpcode = setOpcode, + saveOpcode = saveOpcode + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specPortInstanceAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecPortInstance]] + ) = + val data = aNode._2.data + data match { + case data : Ast.SpecPortInstance.General => + for { + size <- exprNodeOpt(a, data.size) + port <- qualIdentNodeOpt(a, data.port) + priority <- exprNodeOpt(a, data.priority) + queueFull <- defaultNodeOpt(a, data.queueFull) + } yield { + val dataCopy = data.copy( + size = size, + port = port, + priority = priority, + queueFull = queueFull + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + case data : Ast.SpecPortInstance.Special => + for { + priority <- exprNodeOpt(a, data.priority) + queueFull <- defaultNodeOpt(a, data.queueFull) + } yield { + val dataCopy = data.copy(priority = priority, queueFull = queueFull) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + } + + override def specPortMatchingAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecPortMatching]] + ) = + val data = aNode._2.data + for { + (_, port1) <- defaultNode(a, data.port1) + (_, port2) <- defaultNode(a, data.port2) + } yield { + val dataCopy = data.copy(port1 = port1, port2 = port2) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specRecordAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecRecord]] + ) = + val data = aNode._2.data + for { + (_, recordType) <- matchTypeName(a, data.recordType) + id <- exprNodeOpt(a, data.id) + } yield { + val dataCopy = data.copy(recordType = recordType, id = id) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specStateMachineInstanceAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecStateMachineInstance]] + ) = + val data = aNode._2.data + for { + stateMachine <- qualIdentNode(a, data.stateMachine) + priority <- exprNodeOpt(a, data.priority) + } yield { + val dataCopy = data.copy(stateMachine = stateMachine, priority = priority) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specTlmChannelAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTlmChannel]] + ) = + val data = aNode._2.data + def limit( + a: Analysis, + limit: Ast.SpecTlmChannel.Limit + ): Result[Ast.SpecTlmChannel.Limit] = { + val (kind, value) = limit + for { + (_, kind) <- defaultNode(a, kind) + (_, value) <- matchExprNode(a, value) + } yield ((), (kind, value)) + } + + for { + (_, typeName) <- matchTypeName(a, data.typeName) + id <- exprNodeOpt(a, data.id) + low <- transformList(a, data.low, limit) + high <- transformList(a, data.high, limit) + } yield { + val dataCopy = data.copy( + typeName = typeName, + id = id, + format = cloneStringNodeOpt(a, data.format), + low = low, + high = high + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specTlmPacketAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTlmPacket]] + ) = + val data = aNode._2.data + def tlmPacketMember( + a: Analysis, + member: Ast.TlmPacketMember + ): Result[Ast.TlmPacketMember] = { + member match { + case Ast.TlmPacketMember.SpecInclude(node) => + for ((_, file) <- defaultNode(a, node.data.file)) + yield { + val nodeCopy = cloneNode(a, node, node.data.copy(file = file)) + val specIncludeCopy = Ast.TlmPacketMember.SpecInclude(nodeCopy) + ((), specIncludeCopy) + } + case Ast.TlmPacketMember.TlmChannelIdentifier(node) => + for { + componentInstance <- qualIdentNode(a, node.data.componentInstance) + (_, channelName) <- defaultNode(a, node.data.channelName) + } yield { + val dataCopy = node.data.copy( + componentInstance = componentInstance, + channelName = channelName + ) + val nodeCopy = cloneNode(a, node, dataCopy) + val channelIdCopy = Ast.TlmPacketMember.TlmChannelIdentifier(nodeCopy) + ((), channelIdCopy) + } + } + } + + for { + id <- exprNodeOpt(a, data.id) + (_, group) <- matchExprNode(a, data.group) + members <- transformList(a, data.members, tlmPacketMember) + } yield { + val dataCopy = data.copy( + id = id, + group = group, + members = members + ) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specTopPortAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTopPort]] + ) = + val data = aNode._2.data + for (underlyingPort <- portInstanceIdentifierNode(a, data.underlyingPort)) + yield { + val dataCopy = data.copy(underlyingPort = underlyingPort) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specTlmPacketSetAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTlmPacketSet]] + ) = + val data = aNode._2.data + def tlmChannelIdentifier( + a: Analysis, + node: AstNode[Ast.TlmChannelIdentifier] + ): ResultNode[Ast.TlmChannelIdentifier] = + val data = node.data + for { + componentInstance <- qualIdentNode(a, data.componentInstance) + (_, channelName) <- defaultNode(a, data.channelName) + } yield { + val dataCopy = data.copy( + componentInstance = componentInstance, + channelName = channelName + ) + val nodeCopy = cloneNode(a, node, dataCopy) + ((), nodeCopy) + } + + for { + members <- transformFlatList(a, data.members, matchTlmPacketSetMember) + omitted <- transformList(a, data.omitted, tlmChannelIdentifier) + } yield { + val dataCopy = data.copy(members = members, omitted = omitted) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def specInterfaceImportAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecImport]] + ) = + val data = aNode._2.data + for { + sym <- qualIdentNode(a, data.sym) + } yield { + val dataCopy = data.copy(sym = sym) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defModuleTemplateAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModuleTemplate]] + ) = + val (_, node, _) = aNode + val data = node.data + + def templateParam( + a: Analysis, + param: Ast.Annotated[AstNode[Ast.TemplateParam]] + ): ResultAnnotatedNode[Ast.TemplateParam] = { + val (_, node, _) = param + for { + data <- node.data match { + case data @ Ast.TemplateParam.Constant(_, tn) => + for ((_, tn) <- matchTypeName(a, tn)) + yield data.copy(typeName = tn) + case data @ Ast.TemplateParam.Type(_) => Right(data) + case data @ Ast.TemplateParam.Interface(_, interface) => + for (interface <- qualIdentNode(a, interface)) + yield data.copy(interface = interface) + } + } yield ((), cloneAnnotatedNode(a, param, data)) + } + + for { + params <- transformList(a, data.params, templateParam) + members <- transformFlatList( + a.copy(templateDefId = Some(node.id)), + data.members, + matchModuleMember + ) + } + yield { + val dataCopy = data.copy(params = params, members = members) + val node = cloneAnnotatedNode(a, aNode, dataCopy) + ((), node) + } + + override def defModuleAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefModule]] + ) = { + val (_, node, _) = aNode + val data = node.data + for (members <- transformFlatList(a, data.members, matchModuleMember)) + yield ((), cloneAnnotatedNode(a, aNode, data.copy(members = members))) + } + + override def specTemplateExpandAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ) = { + val (_, node, _) = aNode + val data = node.data + data.members match { + // Inside a template definition or an expansion; duplicate the + // specifier without expanding it + case _ if a.templateDefId.isDefined || a.templateExpansionId.isDefined => + cloneTemplateExpand(a, aNode) + // Members are already there; nothing to do + case Some(members) => Right((), aNode) + // Members are not there; expand + case None => (resultAdapter(expandTemplate))(a, aNode) + } + } + + /** Duplicate a template expansion specifier without expanding it */ + private def cloneTemplateExpand( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ): ResultAnnotatedNode[Ast.SpecTemplateExpand] = { + val data = aNode._2.data + + def templateArg( + a: Analysis, + node: AstNode[Ast.TemplateArg] + ): Result.Result[AstNode[Ast.TemplateArg]] = + for { + data <- node.data match { + case Ast.TemplateArg.Constant(e) => + for ((_, e) <- matchExprNode(a, e)) + yield Ast.TemplateArg.Constant(e) + case Ast.TemplateArg.Type(tn) => + for ((_, tn) <- matchTypeName(a, tn)) + yield Ast.TemplateArg.Type(tn) + case Ast.TemplateArg.Interface(instance) => + for (instance <- qualIdentNode(a, instance)) + yield Ast.TemplateArg.Interface(instance) + } + } yield cloneNode(a, node, data) + + for { + template <- qualIdentNode(a, data.template) + args <- transformList(a, data.args, resultAdapter(templateArg)) + members <- data.members match { + case None => Right(None) + case Some(members) => + for (members <- transformFlatList(a, members, matchModuleMember)) + yield Some(members) + } + } + yield { + val dataCopy = data.copy(template = template, args = args, members = members) + ((), cloneAnnotatedNode(a, aNode, dataCopy)) + } + } + + private inline def cloneNode[T]( + a: Analysis, + node: AstNode[T], + data: T + ) = + a.templateExpansionId match { + case None => AstNode.create(data, node.id) + case Some(expansionNode) => { + val out = AstNode.create(data) + val inLoc = Locations.get(node.id) + val outLoc = Location( + inLoc.file, + inLoc.pos, + inLoc.includingLoc, + Some(Locations.get(expansionNode)) + ) + Locations.put(out.id, outLoc) + out + } + } + + private inline def cloneAnnotatedNode[T]( + a: Analysis, + aNode: Ast.Annotated[AstNode[T]], + data: T + ) = { + val (pre, node, post) = aNode + (pre, cloneNode(a, node, data), post) + } + + private def cloneQualIdentNode( + a: Analysis, + node: AstNode[Ast.QualIdent] + ): AstNode[Ast.QualIdent] = { + node.data match { + case Ast.QualIdent.Qualified(qualifier, name) => + val qualIdent = Ast.QualIdent.Qualified( + cloneQualIdentNode(a, qualifier), + cloneNode(a, name, name.data) + ) + cloneNode(a, node, qualIdent) + case Ast.QualIdent.Unqualified(name, isAbsolute) => + cloneNode(a, node, Ast.QualIdent.Unqualified(name, isAbsolute)) + } + } + + private def cloneStringNodeOpt( + a: Analysis, + node: Option[AstNode[String]] + ): Option[AstNode[String]] = + node match { + case None => None + case Some(value) => Some(cloneNode(a, value, value.data)) + } + + private def defaultNodeOpt[T]( + a: Analysis, + node: Option[AstNode[T]] + ): Result.Result[Option[AstNode[T]]] = + node match { + case None => Right(None) + case Some(node) => + for ((_, node) <- defaultNode(a, node)) + yield Some(node) + } + + private def defEnumConstantAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.DefEnumConstant]] + ): Result.Result[Ast.Annotated[AstNode[Ast.DefEnumConstant]]] = + val data = aNode._2.data + for (value <- exprNodeOpt(a, data.value)) + yield cloneAnnotatedNode(a, aNode, data.copy(value = value)) + + /** Expand a template */ + private def expandTemplate( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.SpecTemplateExpand]] + ): Result.Result[Ast.Annotated[AstNode[Ast.SpecTemplateExpand]]] = { + val (pre, node, post) = aNode + val data = node.data + for { + // Look up the template def + tmpl <- a.getTemplateSymbol(data.template.id) + // Clone the template body, recording the expansion node so that + // cloned nodes point back at the expansion site. + members <- transformFlatList( + a.copy(templateExpansionId = Some(node.id)), + tmpl.node._2.data.members, + matchModuleMember + ) + } yield { + // Paste the expanded template body into the expansion specifier + val dataCopy = data.copy(members = Some(members)) + val nodeCopy = AstNode.create(dataCopy, node.id) + (pre, nodeCopy, post) + } + } + + private def exprNodeOpt( + a: Analysis, + node: Option[AstNode[Ast.Expr]] + ): Result.Result[Option[AstNode[Ast.Expr]]] = + node match { + case None => Right(None) + case Some(value) => + for ((_, result) <- matchExprNode(a, value)) + yield Some(result) + } + + private def formalAnnotatatedParam( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.FormalParam]] + ) = + val data = aNode._2.data + for ((_, ty) <- matchTypeName(a, data.typeName)) + yield cloneAnnotatedNode(a, aNode, data.copy(typeName = ty)) + + private def formalParamList( + a: Analysis, + aNode: Ast.FormalParamList + ) = for (node <- transformList(a, aNode, resultAdapter(formalAnnotatatedParam))) + yield node + + private def portInstanceIdentifierNode( + a: Analysis, + pii: AstNode[Ast.PortInstanceIdentifier] + ): Result.Result[AstNode[Ast.PortInstanceIdentifier]] = { + for { + interfaceInstance <- qualIdentNode(a, pii.data.interfaceInstance) + (_, portName) <- defaultNode(a, pii.data.portName) + } yield { + val dataCopy = pii.data.copy( + interfaceInstance = interfaceInstance, + portName = portName + ) + cloneNode(a, pii, dataCopy) + } + } + + private def qualIdentNode( + a: Analysis, + node: AstNode[Ast.QualIdent] + ): Result.Result[AstNode[Ast.QualIdent]] = + Right(cloneQualIdentNode(a, node)) + + private def qualIdentNodeOpt( + a: Analysis, + qi: Option[AstNode[Ast.QualIdent]] + ): Result.Result[Option[AstNode[Ast.QualIdent]]] = { + qi match { + case None => Right(None) + case Some(value) => + for (result <- qualIdentNode(a, value)) + yield Some(result) + } + } + + private def structMember( + a: Analysis, + node: AstNode[Ast.StructMember] + ) = { + for ((_, value) <- matchExprNode(a, node.data.value)) + yield cloneNode( + a, + node, + Ast.StructMember(node.data.name, value) + ) + } + + private def structTypeMemberAnnotatedNode( + a: Analysis, + aNode: Ast.Annotated[AstNode[Ast.StructTypeMember]] + ) = + val data = aNode._2.data + for { + size <- exprNodeOpt(a, data.size) + (_, typeName) <- matchTypeName(a, data.typeName) + } yield { + val dataCopy = data.copy( + size = size, + typeName = typeName, + format = cloneStringNodeOpt(a, data.format) + ) + cloneAnnotatedNode(a, aNode, dataCopy) + } + + private def transitionExpr( + a: Analysis, + node: AstNode[Ast.TransitionExpr] + ): Result.Result[AstNode[Ast.TransitionExpr]] = + for { + actions <- transformList(a, node.data.actions, defaultNode) + target <- qualIdentNode(a, node.data.target) + } yield { + val dataCopy = node.data.copy(actions = actions, target = target) + cloneNode(a, node, dataCopy) + } + + private def transitionOrDo( + a: Analysis, + transitionOrDo: Ast.TransitionOrDo + ) = + transitionOrDo match + case Ast.TransitionOrDo.Transition(transition) => + for (result <- transitionExpr(a, transition)) + yield Ast.TransitionOrDo.Transition(result) + case Ast.TransitionOrDo.Do(actions) => + for (result <- transformList(a, actions, defaultNode)) + yield Ast.TransitionOrDo.Do(result) + + private def typeNameNodeOpt( + a: Analysis, + node: Option[AstNode[Ast.TypeName]] + ): Result.Result[Option[AstNode[Ast.TypeName]]] = + node match { + case None => Right(None) + case Some(tn) => + for ((_, tn) <- matchTypeName(a, tn)) + yield Some(tn) + } + +} diff --git a/compiler/lib/src/main/scala/transform/ResolveSpecInclude.scala b/compiler/lib/src/main/scala/transform/ResolveSpecInclude.scala index c17da1a38f..285753283c 100644 --- a/compiler/lib/src/main/scala/transform/ResolveSpecInclude.scala +++ b/compiler/lib/src/main/scala/transform/ResolveSpecInclude.scala @@ -9,6 +9,7 @@ import fpp.compiler.util._ object ResolveSpecInclude extends AstStateTransformer with ComponentStateTransformer with ModuleStateTransformer + with ModuleTemplateStateTransformer with StateMachineStateTransformer with TopologyStateTransformer { @@ -25,6 +26,14 @@ object ResolveSpecInclude extends AstStateTransformer yield (result._1, Ast.TransUnit(result._2.flatten)) } + override def defStateMachineAnnotatedNode( + in: In, + node: Ast.Annotated[AstNode[Ast.DefStateMachine]] + ): ResultAnnotatedNode[Ast.DefStateMachine] = + node._2.data.members match { + case Some(members) => defStateMachineAnnotatedNodeInternal(in, node, members) + case None => defStateMachineAnnotatedNodeExternal(in, node) + } override def componentMember(a: Analysis, member: Ast.ComponentMember): Result[List[Ast.ComponentMember]] = { val (_, node, _) = member.node node match { @@ -51,6 +60,10 @@ object ResolveSpecInclude extends AstStateTransformer } } + override def moduleTemplateMember(a: Analysis, member: Ast.ModuleMember): Result[List[Ast.ModuleMember]] = { + moduleMember(a, member) + } + override def stateMachineMember(a: Analysis, member: Ast.StateMachineMember): Result[List[Ast.StateMachineMember]] = { val (_, node, _) = member.node node match { @@ -126,7 +139,6 @@ object ResolveSpecInclude extends AstStateTransformer private def checkForCycle(includingLoc: Location, includedPath: String): Result.Result[Unit] = { def checkLoc(locOpt: Option[Location], visitedPaths: List[String]): Result.Result[Unit] = locOpt match { - case None => Right(()) case Some(loc) => { val path = loc.file.toString val visitedPaths1 = path :: visitedPaths @@ -136,6 +148,7 @@ object ResolveSpecInclude extends AstStateTransformer } else checkLoc(loc.includingLoc, visitedPaths1) } + case _ => Right(()) } includingLoc.file match { case File.StdIn => Right(()) diff --git a/compiler/lib/src/main/scala/util/Error.scala b/compiler/lib/src/main/scala/util/Error.scala index c2c289e3e6..01f2858e31 100644 --- a/compiler/lib/src/main/scala/util/Error.scala +++ b/compiler/lib/src/main/scala/util/Error.scala @@ -270,6 +270,27 @@ sealed trait Error { System.err.println("conflicting port number is here:") System.err.println(p2Loc) printMatchingLoc(matchingLoc) + case SemanticError.InterfaceImplements( + loc, + err + ) => + Error.print (Some(loc)) ("port interface not implemented") + err.print + case SemanticError.InterfaceImport( + importLoc, + err + ) => + Error.print (Some(importLoc)) (s"failed to import interface") + err.print + case SemanticError.InvalidTemplateArg( + paramName: String, + argLoc: Location, + paramLoc: Location, + msg: String, + ) => + Error.print (Some(argLoc)) (s"invalid argument for template parameter $paramName: $msg") + System.err.println("template parameter is defined here:") + System.err.println(paramLoc) case SemanticError.MissingAsync(kind, loc) => Error.print (Some(loc)) (s"$kind component must have async input") case SemanticError.MissingConnection(loc, matchingLoc) => @@ -304,6 +325,16 @@ sealed trait Error { } case SemanticError.PassiveStateMachine(loc) => Error.print (Some(loc)) ("passive component may not have a state machine instance") + case SemanticError.PortInterfaceMissingPort( + loc + ) => + Error.print (Some(loc)) ("port instance missing") + case SemanticError.PortInterfaceInvalidPort( + loc, + defLoc + ) => + Error.print (Some(loc)) ("port instance does not match definition in interface:") + System.err.println(defLoc) case SemanticError.RedefinedSymbol(name, loc, prevLoc) => Error.print (Some(loc)) (s"redefinition of symbol ${name}") System.err.println("previous definition is here:") @@ -342,6 +373,32 @@ sealed trait Error { Error.print (Some(loc)) (s"state machine has too many leaf states") case SemanticError.StateMachine.UnreachableNode(name, loc) => Error.print (Some(loc)) (s"$name is unreachable") + case SemanticError.TemplateParameterConflict( + paramName: String, + paramLoc: Location, + defLoc: Location, + ) => + Error.print (Some(paramLoc)) ( + s"template parameter $paramName conflicts with a definition in the template body" + ) + System.err.println("conflicting definition is here:") + System.err.println(defLoc) + case SemanticError.TemplateDefError( + loc: Location, + msg: String, + defLoc: Location + ) => + Error.print (Some(loc)) (msg) + System.err.println("enclosing template is defined here:") + System.err.println(defLoc) + case SemanticError.TemplateExpandError( + loc: Location, + msg: String, + expandLoc: Location + ) => + Error.print (Some(loc)) (msg) + System.err.println("enclosing template expansion is here:") + System.err.println(expandLoc) case SemanticError.TooManyOutputPorts(loc, numPorts, arraySize, instanceLoc) => Error.print (Some(loc)) (s"too many ports connected here (found $numPorts, max is $arraySize)") System.err.println("for this component instance:") @@ -350,29 +407,19 @@ sealed trait Error { case SemanticError.UndefinedSymbol(name, symbolKind, loc) => Error.print (Some(loc)) (s"symbol ${name} is not defined") printNote(s"looking for a $symbolKind here") - case SemanticError.InterfaceImport( - importLoc, - err - ) => - Error.print (Some(importLoc)) (s"failed to import interface") - err.print - case SemanticError.PortInterfaceMissingPort( - loc - ) => - Error.print (Some(loc)) ("port instance missing") - case SemanticError.PortInterfaceInvalidPort( - loc, - defLoc + case SemanticError.UseDefCycle(loc, msg) => Error.print (Some(loc)) (msg) + case SemanticError.WrongNumberOfTemplateArguments( + expandLoc: Location, + defLoc: Location, + expandLength: Number, + defLength: Number, ) => - Error.print (Some(loc)) ("port instance does not match definition in interface:") + val parameters = if defLength == 1 then "argument" else "arguments" + Error.print (Some(expandLoc)) ( + s"expected $defLength template $parameters, got $expandLength" + ) + System.err.println("template defined here:") System.err.println(defLoc) - case SemanticError.InterfaceImplements( - loc, - err - ) => - Error.print (Some(loc)) ("port interface not implemented") - err.print - case SemanticError.UseDefCycle(loc, msg) => Error.print (Some(loc)) (msg) case XmlError.ParseError(file, msg) => Error.printXml (file) (msg) case XmlError.SemanticError(file, msg) => Error.printXml (file) (msg) case AnnotatedError(error, notes) => @@ -582,6 +629,16 @@ object SemanticError { specifiedPath: String, actualLoc: Location ) extends Error + /** Error while importing an interface */ + final case class InterfaceImport( + importLoc: Location, + err: Error + ) extends Error + /** Error while checking if instance implements interface */ + final case class InterfaceImplements( + loc: Location, + err: Error + ) extends Error /** No member in anonymous struct type */ final case class InvalidAnonStructMember( memberName: String, @@ -703,6 +760,13 @@ object SemanticError { msg: String, defLoc: Location ) extends Error + /** Template argument of the wrong kind */ + final case class InvalidTemplateArg( + paramName: String, + argLoc: Location, + paramLoc: Location, + msg: String, + ) extends Error /** Invalid telemetry channel identifier name */ final case class InvalidTlmChannelName( loc: Location, @@ -757,11 +821,9 @@ object SemanticError { name2: String, loc2: Location ) extends Error - /** Error while importing an interface */ - final case class InterfaceImport( - importLoc: Location, - err: Error - ) extends Error + /** Passive async input */ + final case class PassiveAsync(loc: Location, importLocs: List[Location]) extends Error + final case class PassiveStateMachine(loc: Location) extends Error /** A port is missing from a port interface */ final case class PortInterfaceMissingPort( loc: Location @@ -771,14 +833,6 @@ object SemanticError { loc: Location, defLoc: Location ) extends Error - /** Error while checking if instance implements interface */ - final case class InterfaceImplements( - loc: Location, - err: Error - ) extends Error - /** Passive async input */ - final case class PassiveAsync(loc: Location, importLocs: List[Location]) extends Error - final case class PassiveStateMachine(loc: Location) extends Error /** Redefined symbol */ final case class RedefinedSymbol( name: String, @@ -831,6 +885,24 @@ object SemanticError { loc: Location ) extends Error } + /** Error in template definition */ + final case class TemplateDefError( + loc: Location, + msg: String, + defLoc: Location + ) extends Error + /** Error in template expansion */ + final case class TemplateExpandError( + loc: Location, + msg: String, + expandLoc: Location + ) extends Error + /** Template parameter conflicts with a definition in the template body */ + final case class TemplateParameterConflict( + paramName: String, + paramLoc: Location, + defLoc: Location, + ) extends Error /** Too many output ports */ final case class TooManyOutputPorts( loc: Location, @@ -844,6 +916,13 @@ object SemanticError { final case class UndefinedSymbol(name: String, symbolKind: String, loc: Location) extends Error /** Use-def cycle */ final case class UseDefCycle(loc: Location, msg: String) extends Error + /** Wrong number of template arguments */ + final case class WrongNumberOfTemplateArguments( + expandLoc: Location, + defLoc: Location, + expandLength: Number, + defLength: Number, + ) extends Error } /** An F Prime XML error */ diff --git a/compiler/lib/src/main/scala/util/Location.scala b/compiler/lib/src/main/scala/util/Location.scala index 1d38b86240..453fc36087 100644 --- a/compiler/lib/src/main/scala/util/Location.scala +++ b/compiler/lib/src/main/scala/util/Location.scala @@ -6,31 +6,53 @@ import scala.util.parsing.input.Position final case class Location( file: File, /* The file */ pos: Position, /* The position */ - includingLoc: Option[Location] = None /* Location where this location is included */ + /* Location where this location is included */ + includingLoc: Option[Location] = None, + /* Location where this location is expanded */ + expandingLoc: Option[Location] = None, ) { override def toString = { - def showIncludes(locOpt: Option[Location], s: String): String = { - locOpt match { - case None => s - case Some(loc) => showIncludes( - loc.includingLoc, - s ++ s"\n included at ${loc.file}:${loc.pos}" - ) - } + def showIncludesExpands( + incLocOpt: Option[Location], + expandLocOpt: Option[Location], + s: String + ): String = { + val s1 = incLocOpt match { + case None => s + case Some(loc) => + showIncludesExpands( + loc.includingLoc, loc.expandingLoc, + s ++ s"\n included at ${loc.file}:${loc.pos}" + ) + + } + + val s2 = expandLocOpt match { + case None => s1 + case Some(loc) => + showIncludesExpands( + loc.includingLoc, loc.expandingLoc, + s1 ++ s"\n expanded at ${loc.file}:${loc.pos}" + ) + + } + + s2 } val s1 = pos match { case scala.util.parsing.input.NoPosition => s"${file}: end of input" case _ => s"${file}:${pos.toString}\n${pos.longString}" } - val s2 = showIncludes(includingLoc, "") + val s2 = showIncludesExpands(includingLoc, expandingLoc, "") s1 ++ s2 } /** Get the location of the associated translation unit */ - def tuLocation: Location = this.includingLoc match { - case None => this - case Some(loc) => loc.tuLocation + def tuLocation: Location = (expandingLoc, includingLoc) match { + case (None, None) => this + case (Some(loc), _) => loc.tuLocation + case (_, Some(loc)) => loc.tuLocation } /** Get the path of a file that is a neighbor to this location */ @@ -48,11 +70,30 @@ final case class Location( def getRelativePath(path: String): java.nio.file.Path = getDirPath.resolve(path).normalize - def compare(that: Location) = { + def compare(that: Location): Int = { val fileCompare = this.file.toString().compare(that.file.toString()) if (fileCompare != 0) fileCompare else if (this.pos.line != that.pos.line) this.pos.line - that.pos.line - else this.pos.column - that.pos.column + else if (this.pos.column != that.pos.column) this.pos.column - that.pos.column + else { + val includingCompare = + Location.compareOpt(this.includingLoc, that.includingLoc) + if (includingCompare != 0) includingCompare + else Location.compareOpt(this.expandingLoc, that.expandingLoc) + } } } + +object Location { + + /** Compare two optional locations, ordering None before Some */ + def compareOpt(loc1: Option[Location], loc2: Option[Location]): Int = + (loc1, loc2) match { + case (None, None) => 0 + case (None, Some(_)) => -1 + case (Some(_), None) => 1 + case (Some(l1), Some(l2)) => l1.compare(l2) + } + +} diff --git a/compiler/lib/src/main/scala/util/Result.scala b/compiler/lib/src/main/scala/util/Result.scala index a19fd906b3..ae550242b8 100644 --- a/compiler/lib/src/main/scala/util/Result.scala +++ b/compiler/lib/src/main/scala/util/Result.scala @@ -22,7 +22,7 @@ object Result { /** Left fold with a function that returns a result */ @tailrec def foldLeft[A, B] - (as: Iterable[A]) + (as: List[A]) (b: B) (f: (B, A) => Result.Result[B]): Result.Result[B] = as match { diff --git a/compiler/lib/src/test/input/templates/ok/syntax.fpp b/compiler/lib/src/test/input/templates/ok/syntax.fpp new file mode 100644 index 0000000000..4f5ef4c787 --- /dev/null +++ b/compiler/lib/src/test/input/templates/ok/syntax.fpp @@ -0,0 +1,11 @@ +module template T() { + include "../../../../../../tools/fpp-syntax/test/syntax.fpp" +} + +module M1 { + expand T() +} + +module M2 { + expand T() +} diff --git a/compiler/lib/src/test/scala/semantics/TemplatesSpec.scala b/compiler/lib/src/test/scala/semantics/TemplatesSpec.scala new file mode 100644 index 0000000000..f203483f8c --- /dev/null +++ b/compiler/lib/src/test/scala/semantics/TemplatesSpec.scala @@ -0,0 +1,379 @@ +package fpp.compiler.test + +import fpp.compiler.util.{File => FppFile} +import java.io.File + +import fpp.compiler.analysis._ +import fpp.compiler.ast._ +import fpp.compiler.util._ +import fpp.compiler.transform._ +import fpp.compiler.codegen._ + +import fpp.compiler.syntax.{Lexer,Parser,TokenId} + +import org.scalatest.wordspec.AnyWordSpec + +class TemplatesSpec extends AnyWordSpec { + + "simple" should { + expandUniqueString(""" + module template T(constant c: string) { + constant f = c + } + + module M1 { + expand T(constant "a") + } + + module M2 { + expand T(constant "b") + } + + module M3 { + expand T(constant "c") + } + """) + } + + "OK" should { + def ok(file: File): Unit = { + val Right(tul) = Parser.parseFile(Parser.transUnit)(None)(FppFile.fromString( + file.toPath().toString() + )).runtimeChecked + + checkExpandUnique(tul) + } + + val dir = new File("lib/src/test/input/templates/ok") + val files = dir.listFiles.filter(_.isFile) + .filter(_.getName.endsWith(".fpp")) + .foreach { file => s"expand $file" in ok(file) } + } + + // The content of an expansion: an expansion introduces the definitions of + // the template body at the expansion site, once per expansion, and a use of + // a parameter inside the body resolves to the bound parameter. + "expansion content" should { + + val model = """ + module template T(constant c: U32, type Ty) { + constant k = c + type Alias = Ty + module Inner { + constant j = c + 1 + } + } + + module M1 { + expand T(constant 1, type U32) + } + + module M2 { + expand T(constant 2, type I16) + } + """ + + "introduce the definitions of the body at the expansion site" in { + val (a, tul) = analyzeString(model) + val names = qualifiedNames(a) + List( + "M1.k", "M1.Alias", "M1.Inner", "M1.Inner.j", + "M2.k", "M2.Alias", "M2.Inner", "M2.Inner.j" + ).foreach { + name => assert(names.contains(name), s"missing definition $name") + } + // The definition of the template introduces nothing by itself + assert(!names.contains("k"), "the template body defined k at top level") + assert(!names.contains("T.k"), "the template body defined T.k") + // Each expansion introduces exactly the three members of the body + assert(membersAt(tul, List("M1")).length == 3) + assert(membersAt(tul, List("M2")).length == 3) + } + + "give each expansion its own copy of the definitions" in { + val (a, tul) = analyzeString(model) + assert(intValue(a, constantAt(tul, "M1.k").id) == BigInt(1)) + assert(intValue(a, constantAt(tul, "M2.k").id) == BigInt(2)) + assert(intValue(a, constantAt(tul, "M1.Inner.j").id) == BigInt(2)) + assert(intValue(a, constantAt(tul, "M2.Inner.j").id) == BigInt(3)) + } + + "resolve a use of a constant parameter to the bound argument" in { + val (a, tul) = analyzeString(model) + val node = constantAt(tul, "M1.k") + a.useDefMap.get(node.data.value.id) match { + case Some(Symbol.TemplateConstantArg(paramDef, value)) => { + assert(paramDef.name == "c") + assert(intValue(a, value.id) == BigInt(1)) + } + case Some(symbol) => fail( + s"c resolved to ${a.getQualifiedName(symbol)}, " ++ + "not to the bound parameter" + ) + case None => fail("the use of c is not resolved") + } + } + + "resolve a use of a type parameter to the bound argument" in { + val (a, tul) = analyzeString(model) + val node = aliasTypeAt(tul, "M2.Alias") + a.useDefMap.get(node.data.typeName.id) match { + case Some(Symbol.TemplateTypeArg(paramDef, value)) => { + assert(paramDef.name == "Ty") + assert(a.typeMap(value.id) == Type.I16) + } + case Some(symbol) => fail( + s"Ty resolved to ${a.getQualifiedName(symbol)}, " ++ + "not to the bound parameter" + ) + case None => fail("the use of Ty is not resolved") + } + } + + } + + // Scoping inside an expansion: a name in the template body resolves at the + // point of the template definition, not at the point of expansion. + "expansion scoping" should { + + "resolve a name in the body at the point of the definition" in { + val (a, tul) = analyzeString(""" + module A { + constant x = 1 + module template T() { + constant y = x + } + } + + module B { + constant x = 2 + expand A.T() + } + """) + val node = constantAt(tul, "B.y") + a.useDefMap.get(node.data.value.id) match { + case Some(symbol) => assert( + a.getQualifiedName(symbol).toString == "A.x", + s"x resolved to ${a.getQualifiedName(symbol)}, not to A.x" + ) + case None => fail("the use of x is not resolved") + } + // A.x is 1 and B.x is 2, so the value of B.y shows which one won + assert(intValue(a, node.id) == BigInt(1)) + } + + // A module defined by an expansion is merged with a same-named module + // at the expansion site, so that both sets of members are visible from + // outside. But a use inside the expansion must see only the members + // that the expansion introduced: otherwise a definition at the + // expansion site captures a use of a bound parameter, and the argument + // is silently discarded. + "not let a same-named module at the expansion site capture a parameter" in { + val (a, tul) = analyzeString(""" + module template T(constant c: U32) { + module Inner { + constant k = c + } + } + + module M { + module Inner { + constant c = 7 + } + + expand T(constant 1) + } + """) + val node = constantAt(tul, "M.Inner.k") + a.useDefMap.get(node.data.value.id) match { + case Some(Symbol.TemplateConstantArg(paramDef, value)) => { + assert(paramDef.name == "c") + assert(intValue(a, value.id) == BigInt(1)) + } + case Some(symbol) => fail( + s"c resolved to ${a.getQualifiedName(symbol)}, " ++ + "not to the bound parameter" + ) + case None => fail("the use of c is not resolved") + } + // The bound parameter is 1 and M.Inner.c is 7, so the value of + // M.Inner.k shows which one won + assert(intValue(a, node.id) == BigInt(1)) + // Both modules named Inner are the same module, so both sets of + // members are visible from outside the expansion + val names = qualifiedNames(a) + assert(names.contains("M.Inner.k")) + assert(names.contains("M.Inner.c")) + } + + } + + private def checkNodeIsUnique(j: io.circe.Json, visited: Set[AstNode.Id]): Set[AstNode.Id] = { + val node = j.asObject.get.toMap + val data = node("data") + val id = node("id") + + val idNumber = id.asNumber.get.toInt.get + if visited.contains(idNumber) then { + Console.err.println(s"duplicate ast node id ${idNumber}") + Console.err.println(Locations.get(idNumber)) + Console.err.println(j) + Console.err.flush() + assert(false) + } + + visited + idNumber + } + + private def checkAllNodesUnique(tul: List[Ast.TransUnit]): Unit = { + val j = AstJsonEncoder.astToJson(tul) + // Console.err.println(j) + val nodes = j.findAllByKey("AstNode") + assert(nodes.nonEmpty) + nodes.foldRight(Set())(checkNodeIsUnique) + } + + def expandUniqueString(s: String): Unit = { + val Right(tul) = Parser.parseString(Parser.transUnit)(s).runtimeChecked + "expand" in { + checkExpandUnique(tul) + } + } + + def checkExpandUnique(tul: Ast.TransUnit): Unit = { + val a = Analysis() + // Perform PURELY syntactic expansion, do not check template defs/expansions + // This expansion is purely for validating that the AST node duplication is strictly "deep" + val tul1 = for { + (a, tul) <- ResolveSpecInclude.transUnitList(a, List(tul)) + (a, tul) <- AddStateEnums.transformList(a, tul, AddStateEnums.transUnit) + a <- EnterSymbols.visitList(a, tul, EnterSymbols.transUnit) + a <- CheckTemplateUses.visitList(a, tul, CheckTemplateUses.transUnit) + tul <- ExpandTemplates.transformList(a, tul, ExpandTemplates.transUnit) + } yield tul + + tul1 match { + case Right(tul) => checkAllNodesUnique(tul) + case Left(l) => { + Console.err.println(s"failed with error") + l.print + Console.err.flush() + assert(false) + } + } + } + + /** Resolve includes, expand templates, and check semantics */ + private def analyze(tu: Ast.TransUnit): + Result.Result[(Analysis, List[Ast.TransUnit])] = + CheckSemantics.tuList(Analysis(), List(tu)) + + /** Parse and analyze a string, failing the test if either step fails */ + private def analyzeString(s: String): (Analysis, List[Ast.TransUnit]) = { + val tu = Parser.parseString(Parser.transUnit)(s) match { + case Right(tu) => tu + case Left(e) => { + e.print + fail("parsing should succeed") + } + } + analyze(tu) match { + case Right(result) => result + case Left(e) => { + e.print + fail("analysis should succeed") + } + } + } + + /** Replace each template expansion specifier with the members that it + * introduced, so that the members of an expansion appear as members of the + * enclosing module */ + private def flattenMembers(members: List[Ast.ModuleMember]): + List[Ast.ModuleMember] = + members.flatMap { + member => member.node match { + case (_, Ast.ModuleMember.SpecTemplateExpand(node), _) => + flattenMembers(node.data.members.getOrElse(Nil)) + case _ => List(member) + } + } + + /** Get the flattened members of the module at the given path. + * Two modules with the same name are the same module, so the members of + * all of them are returned. */ + private def membersAt( + tul: List[Ast.TransUnit], + path: List[String] + ): List[Ast.ModuleMember] = + path.foldLeft (flattenMembers(tul.flatMap(_.members))) ( + (members, name) => flattenMembers( + members.flatMap { + member => member.node match { + case (_, Ast.ModuleMember.DefModule(node), _) + if node.data.name == name => node.data.members + case _ => Nil + } + } + ) + ) + + /** Get the unique definition at the given dotted path, selecting the kind + * of definition with the function select */ + private def defAt[T]( + tul: List[Ast.TransUnit], + path: String, + select: (String, Ast.ModuleMember.Node) => Option[AstNode[T]] + ): AstNode[T] = { + val elements = path.split("\\.").toList + val members = membersAt(tul, elements.init) + members.flatMap(member => select(elements.last, member.node._2).toList) match { + case node :: Nil => node + case Nil => fail(s"there is no definition $path") + case _ => fail(s"there is more than one definition $path") + } + } + + /** Get the constant definition at the given dotted path */ + private def constantAt(tul: List[Ast.TransUnit], path: String): + AstNode[Ast.DefConstant] = + defAt[Ast.DefConstant](tul, path, (name, memberNode) => memberNode match { + case Ast.ModuleMember.DefConstant(defNode) + if defNode.data.name == name => Some(defNode) + case _ => None + }) + + /** Get the type alias definition at the given dotted path */ + private def aliasTypeAt(tul: List[Ast.TransUnit], path: String): + AstNode[Ast.DefAliasType] = + defAt[Ast.DefAliasType](tul, path, (name, memberNode) => memberNode match { + case Ast.ModuleMember.DefAliasType(defNode) + if defNode.data.name == name => Some(defNode) + case _ => None + }) + + /** Get the integer value of the node with the given id */ + private def intValue(a: Analysis, id: AstNode.Id): BigInt = + a.valueMap.get(id) match { + case Some(v) => Analysis.convertValueToType(v, Type.Integer) match { + case Value.Integer(i) => i + case v1 => fail(s"$v1 should be an integer value") + } + case None => fail(s"node $id should have a value") + } + + /** The qualified names of the definitions known to the analysis. + * A bound template parameter is not a global definition, so it is + * excluded. */ + private def qualifiedNames(a: Analysis): Set[String] = { + val symbols: Set[Symbol] = a.parentSymbolMap.keySet ++ + a.parentSymbolMap.values.toSet ++ + a.symbolScopeMap.keySet ++ + a.useDefMap.values.toSet + symbols.collect { + case symbol if !symbol.isInstanceOf[TemplateArgSymbol] => + a.getQualifiedName(symbol).toString + } + } + +} diff --git a/compiler/lib/src/test/scala/syntax/Parser.scala b/compiler/lib/src/test/scala/syntax/Parser.scala index 1780e7446e..9e0400f380 100644 --- a/compiler/lib/src/test/scala/syntax/Parser.scala +++ b/compiler/lib/src/test/scala/syntax/Parser.scala @@ -1,6 +1,7 @@ package fpp.compiler.test import fpp.compiler.ast._ +import fpp.compiler.codegen.{AstWriter,FppWriter} import fpp.compiler.syntax.{Lexer,Parser,TokenId} import java.io.File import java.io.FileReader @@ -22,7 +23,7 @@ class ParserSpec extends AnyWordSpec { """ ) - val Right(Ast.TransUnit(List(tum))) = r + val Right(Ast.TransUnit(List(tum))) = r.runtimeChecked val Ast.TUMember((pre, _, post)) = tum assert(pre == List("Line 1", "Line 2")) assert(post == List("Line 3", "Line 4")) @@ -342,6 +343,9 @@ class ParserSpec extends AnyWordSpec { "false", "a.b", "a.b.c", + ".a", + ".a.b", + ".a.b.c", "1.0", "a", "1", @@ -424,6 +428,32 @@ class ParserSpec extends AnyWordSpec { ) } + "port instance identifier OK" should { + parseAllOK( + Parser.portInstanceIdentifier, + List( + "a.b", + "a.b.c", + ".a.b", + ".a.b.c", + ) + ) + } + + "qual ident OK" should { + parseAllOK( + Parser.qualIdent, + List( + "a", + "a.b", + "a.b.c", + ".a", + ".a.b", + ".a.b.c", + ) + ) + } + "spec command OK" should { parseAllOK( Parser.specCommand, @@ -507,6 +537,30 @@ class ParserSpec extends AnyWordSpec { ) } + "spec template expand OK" should { + parseAllOK( + Parser.specTemplateExpand, + List( + "expand T", + "expand T { constant a = 0 }", + "expand M.T()", + "expand M.T() { constant a = 0 }", + "expand M.T(constant 1)", + "expand M.T(constant 1) { constant a = 0 }", + "expand M.T(constant 1, constant 2)", + "expand M.T(constant 1, constant 2) { constant a = 0 }", + "expand M.T(constant 1, constant 2, instance mod.$instance)", + "expand M.T(constant 1, constant 2, instance mod.$instance) { constant a = 0 }", + "expand M.T(constant 1, constant 2, instance .mod.$instance, type Type.Name)", + "expand M.T(constant 1, constant 2, instance .mod.$instance, type Type.Name) { constant a = 0 }", + "expand M.T(constant 1, instance .inst1, type U32)", + "expand M.T(constant 1, instance .inst1, type U32) { constant a = 0 }", + "expand M.T(constant 1, constant 2, constant {member=1}, constant [1, 2])", + "expand M.T(constant 1, constant 2, constant {member=1}, constant [1, 2]) { constant a = 0 }", + ) + ) + } + "spec include OK" should { parseAllOK( Parser.specInclude, @@ -534,14 +588,18 @@ class ParserSpec extends AnyWordSpec { Parser.specLoc, List( "locate component a.b at \"c.fpp\"", - "locate instance a.b at \"c.fpp\"", + "locate component .a.b at \"c.fpp\"", "locate constant a.b at \"c.fpp\"", + "locate constant .a.b at \"c.fpp\"", + "locate instance a.b at \"c.fpp\"", "locate port a.b at \"c.fpp\"", "locate state machine a.b at \"c.fpp\"", "locate system a.b at \"c.fpp\"", "locate type a.b at \"c.fpp\"", "locate dictionary type a.b at \"c.fpp\"", "locate dictionary constant a.b at \"c.fpp\"", + "locate template a.b at \"c.fpp\"", + "locate template $template at \"c.fpp\"", ) ) } @@ -700,6 +758,18 @@ class ParserSpec extends AnyWordSpec { ) } + "tlm channel identifier OK" should { + parseAllOK( + Parser.tlmChannelIdentifier, + List( + "a.b", + "a.b.c", + ".a.b", + ".a.b.c", + ) + ) + } + "type name OK" should { parseAllOK( Parser.typeName, @@ -723,6 +793,197 @@ class ParserSpec extends AnyWordSpec { ) } + "template ok" should { + parseAllOK( + Parser.transUnit, + List( + "module template T {}", + "module template T() {}", + "module template T(constant c: U32, instance i: I, type Ty) {}", + """ + module template T( + constant c: U32, + type Ty, + instance i: Interface + ) { + } + """, + + """ + module template T( + constant c: U32, + type Ty, + instance i: Interface + ) { + array a = [3] Ty + } + """, + + """ + module template T( + constant c: U32 + instance i: Interface + type Ty + ) { + } + """, + + """ + module template T( + constant c: U32, + instance i: Interface, + type Ty + ) { + instance inst: Comp base id 0x100 + topology Top { + instance i + instance inst + } + } + expand T(constant 1, instance inst1, type U32) + """, + + // Newline-separated argument list with no commas + """ + expand T( + constant 1 + instance inst1 + type U32 + ) + """, + + // An expansion with an empty argument list. A template argument list is + // an element sequence, and an element sequence may be empty, so this is + // legal and means the same thing as 'expand T'. + "expand T()", + + // Annotations on template parameters + """ + module template T( + @ Constant parameter + constant c: U32 @< Constant parameter + @ Instance parameter + instance i: Interface @< Instance parameter + @ Type parameter + type Ty @< Type parameter + ) { + } + """, + + // A trailing comma on the last element of a parameter list or an + // argument list. An element sequence permits terminating punctuation on + // its last element: see docs/spec/Element-Sequences.adoc. + """ + module template T( + constant c: U32, + instance i: Interface, + type Ty, + ) { + } + expand T( + constant 1, + instance inst1, + type U32, + ) + """, + + // Escaped reserved words as the names of a template, its parameters, + // and the definitions in its body + """ + module template $template( + constant $constant: U32 + instance $instance: Interface + type $type + ) { + constant $expand = $constant + } + expand $template(constant 1, instance inst1, type U32) + """, + + // A qualified template name + "expand A.B.T(constant 1)", + ) + ) + } + + "template error" should { + parseAllError( + Parser.transUnit, + List( + // A template argument must begin with 'constant', 'instance', or + // 'type'. Omitting the prefix appeared in the specification's own + // worked example. + "expand T(1)", + "expand T(U32)", + "expand T(constant 1, 2)", + // A constant template argument must have an expression + "expand T(constant)", + // An expansion must name a template + "expand", + // A template parameter must begin with 'constant', 'instance', or + // 'type' + "module template T(c: U32) {}", + // A constant template parameter must have a type + "module template T(constant c) {}", + // An instance template parameter must have an interface + "module template T(instance i) {}", + // A type template parameter may not have a type + "module template T(type Ty: U32) {}", + // A template definition must have an identifier + "module template {}", + // A template definition must have a body + "module template T", + // A template location specifier must have a name and a file + "locate template at \"c.fpp\"", + "locate template T", + ) + ) + } + + // Formatting an AST and parsing the result must give back the same AST. This + // is what fpp-to-fpp does, so a construct that FppWriter does not write, or + // writes in a form that does not parse, shows up here. + "template format round trip OK" should { + roundTripAllOK( + List( + "locate template T at \"t.fpp\"", + "locate template a.b at \"t.fpp\"", + "locate template $template at \"t.fpp\"", + "module template T {}", + "module template T() {}", + "module template T(constant c: U32, instance i: I, type Ty) {}", + """ + module template T( + @ Constant parameter + constant c: U32 @< Constant parameter + @ Instance parameter + instance i: I @< Instance parameter + @ Type parameter + type Ty @< Type parameter + ) { + array A = [c] Ty + topology Top { + instance i + } + } + """, + """ + module template $template( + constant $constant: U32 + instance $instance: I + type $type + ) { + constant $expand = $constant + } + """, + "expand T", + "expand T()", + "expand A.B.T(constant 1 + 2, instance a.b, type U32)", + "expand $template(constant 0, instance i1, type U32)", + ) + ) + } + "trans unit OK" should { parseAllOK( Parser.transUnit, @@ -738,6 +999,7 @@ class ParserSpec extends AnyWordSpec { instance i: C base id 0x100 constant a = 0 module M {} + module template TT () {} port P struct S {} topology T {} @@ -745,6 +1007,7 @@ class ParserSpec extends AnyWordSpec { type T array A = [10] U32 enum E { X, Y } + expand TT (constant 1, constant 2, constant 3, constant {member=[1, 2, 3]}, type TypeName, instance i) include "a.fpp" """, """ @@ -815,4 +1078,40 @@ class ParserSpec extends AnyWordSpec { } } + def roundTripAllOK(ss: List[String]): Unit = { + ss.foreach { s => s"round trip $s" in roundTripOK(s) } + } + + /** Write a translation unit as FPP source, parse the result, and check that + * the two ASTs are the same */ + def roundTripOK(s: String): Unit = { + val tu = parseTransUnit(s) + val formatted = FppWriter().transUnit(tu).map(_.toString).mkString("\n") + val tu1 = Parser.parseString(Parser.transUnit)(formatted) match { + case Right(tu1) => tu1 + case Left(l) => { + Console.err.println(s"could not parse formatted output:\n$formatted") + Console.err.println(s"failed with error $l") + fail("formatted output should parse") + } + } + val ast = AstWriter.transUnit(tu).map(_.toString) + val ast1 = AstWriter.transUnit(tu1).map(_.toString) + if (ast != ast1) { + Console.err.println(s"formatted output:\n$formatted") + Console.err.println(s"AST before formatting:\n${ast.mkString("\n")}") + Console.err.println(s"AST after formatting:\n${ast1.mkString("\n")}") + fail("formatting should preserve the AST") + } + } + + def parseTransUnit(s: String): Ast.TransUnit = + Parser.parseString(Parser.transUnit)(s) match { + case Right(tu) => tu + case Left(l) => { + Console.err.println(s"failed with error $l") + fail(s"could not parse $s") + } + } + } diff --git a/compiler/lib/test/codegen/CppWriter/Main.scala b/compiler/lib/test/codegen/CppWriter/Main.scala index 82fe1d9d2b..f86a126c09 100644 --- a/compiler/lib/test/codegen/CppWriter/Main.scala +++ b/compiler/lib/test/codegen/CppWriter/Main.scala @@ -236,7 +236,7 @@ object hpp { def main(args: Array[String]): Unit = { val output = CppDocHppWriter.visitCppDoc(Program.cppDoc) - output.map(Line.write(Line.stdout) _) + output.map(Line.write(Line.stdout)) () } @@ -246,7 +246,7 @@ object cpp { def main(args: Array[String]): Unit = { val output = CppDocCppWriter.visitCppDoc(Program.cppDoc) - output.map(Line.write(Line.stdout) _) + output.map(Line.write(Line.stdout)) () } @@ -256,7 +256,7 @@ object otherCpp { def main(args: Array[String]): Unit = { val output = CppDocCppWriter.visitCppDoc(Program.cppDoc, Some("Other")) - output.map(Line.write(Line.stdout) _) + output.map(Line.write(Line.stdout)) () } diff --git a/compiler/lib/test/codegen/CppWriter/build b/compiler/lib/test/codegen/CppWriter/build index a6bab54b91..fd37c92698 100755 --- a/compiler/lib/test/codegen/CppWriter/build +++ b/compiler/lib/test/codegen/CppWriter/build @@ -10,4 +10,4 @@ $codegen/Line.scala Main.scala " -scalac -deprecation $files +scalac -J--sun-misc-unsafe-memory-access=allow -deprecation $files diff --git a/compiler/lib/test/codegen/CppWriter/cpp b/compiler/lib/test/codegen/CppWriter/cpp index c002aa6e37..33aa27ce66 100755 --- a/compiler/lib/test/codegen/CppWriter/cpp +++ b/compiler/lib/test/codegen/CppWriter/cpp @@ -1,3 +1,3 @@ #!/bin/sh -scala cpp +scala -J--sun-misc-unsafe-memory-access=allow cpp diff --git a/compiler/lib/test/codegen/CppWriter/hpp b/compiler/lib/test/codegen/CppWriter/hpp index 7fa8ea7a6a..09a29f6c70 100755 --- a/compiler/lib/test/codegen/CppWriter/hpp +++ b/compiler/lib/test/codegen/CppWriter/hpp @@ -1,3 +1,3 @@ #!/bin/sh -scala hpp +scala -J--sun-misc-unsafe-memory-access=allow hpp diff --git a/compiler/lib/test/codegen/CppWriter/otherCpp b/compiler/lib/test/codegen/CppWriter/otherCpp index 1fe7c1f8eb..b8a261af40 100755 --- a/compiler/lib/test/codegen/CppWriter/otherCpp +++ b/compiler/lib/test/codegen/CppWriter/otherCpp @@ -1,3 +1,3 @@ #!/bin/sh -scala otherCpp +scala -J--sun-misc-unsafe-memory-access=allow otherCpp diff --git a/compiler/release b/compiler/release index e26562844b..6ae55c2b66 100755 --- a/compiler/release +++ b/compiler/release @@ -5,9 +5,9 @@ # ---------------------------------------------------------------------- # To use this script, you must first # -# 1. Install GraalVM and native-image. +# 1. Install GraalVM. # -# 2. Set the environment variable GRAALVM_JAVA_HOME. +# 2. Set the environment variable FPP_GRAALVM_JAVA_HOME. # # 3. To pass flags to native-image, set the environment variable # FPP_NATIVE_IMAGE_FLAGS. @@ -43,10 +43,10 @@ print_phase() echo "----------------------------------------------------------------------" } -# Check that GRAALVM_JAVA_HOME is set -if test -z "$GRAALVM_JAVA_HOME" +# Check that FPP_GRAALVM_JAVA_HOME is set +if test -z "$FPP_GRAALVM_JAVA_HOME" then - echo "[ERROR] Environment variable GRAALVM_JAVA_HOME is not set" 1>&2 + echo "[ERROR] Environment variable FPP_GRAALVM_JAVA_HOME is not set" 1>&2 exit 1 fi @@ -55,7 +55,7 @@ cd `dirname $0` # Set local variables native_bin="native-fpp-`uname`-`uname -m`" -native_image="$GRAALVM_JAVA_HOME/bin/native-image" +native_image="$FPP_GRAALVM_JAVA_HOME/bin/native-image" meta_inf_dir="lib/src/main/resources/META-INF/native-image" release_tgz="$native_bin.tar.gz" # Use gtar if it's available @@ -86,15 +86,15 @@ print_phase "Installing JVM tools in bin" print_phase "Constructing binary tools in $native_bin" -# Get the tool names from bin -tool_names=`get_tool_names bin` +# Use GraalVM to build the native binary for fpp jar_file="bin/fpp.jar" out_file="$native_bin/fpp" echo "Building fpp" evalp "$native_image" $FPP_NATIVE_IMAGE_FLAGS \ - --no-fallback --install-exit-handlers \ - -jar "$jar_file" "$out_file" + --sun-misc-unsafe-memory-access=allow \ + --enable-native-access=ALL-UNNAMED \ + -jar "$jar_file" -o "$out_file" if [ $? -ne 0 ] then echo "[ERROR] Failed to build $out_file" @@ -107,7 +107,10 @@ then exit 1 fi -# Use GraalVM to convert the jar files to native binaries +# Get the tool names from bin +tool_names=`get_tool_names bin` + +# Construct the scripts for running the tools for tool in $tool_names do echo '#!/bin/sh diff --git a/compiler/scripts/test b/compiler/scripts/test index 410571ee71..1a58c088f8 100755 --- a/compiler/scripts/test +++ b/compiler/scripts/test @@ -15,7 +15,7 @@ num_failed=0 num_failed=`expr $num_failed + $?` done - echo + echo if test $num_failed -eq 0 then printf "All tests " diff --git a/compiler/tools.txt b/compiler/tools.txt index 4c23864e49..c807440930 100644 --- a/compiler/tools.txt +++ b/compiler/tools.txt @@ -1,7 +1,6 @@ check depend filenames -format from-xml locate-defs locate-uses @@ -9,4 +8,5 @@ syntax to-cpp to-json to-dict +to-fpp to-layout diff --git a/compiler/tools/fpp-check/test/array/default_shadowed_error.fpp b/compiler/tools/fpp-check/test/array/default_shadowed_error.fpp new file mode 100644 index 0000000000..202eea8615 --- /dev/null +++ b/compiler/tools/fpp-check/test/array/default_shadowed_error.fpp @@ -0,0 +1,8 @@ +enum E { X, Y } +struct S { x: U32, e: E } +constant s = { x = 1, e = E.X } + +module M { + struct S {} + array A = [3] S default [ s, s, s ] +} diff --git a/compiler/tools/fpp-check/test/array/default_shadowed_error.ref.txt b/compiler/tools/fpp-check/test/array/default_shadowed_error.ref.txt new file mode 100644 index 0000000000..8411f3a593 --- /dev/null +++ b/compiler/tools/fpp-check/test/array/default_shadowed_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/array/default_shadowed_error.fpp:7.27 + array A = [3] S default [ s, s, s ] + ^ +error: cannot convert [3] { x: Integer, e: enum E } to array A diff --git a/compiler/tools/fpp-check/test/array/default_shadowed_ok.fpp b/compiler/tools/fpp-check/test/array/default_shadowed_ok.fpp new file mode 100644 index 0000000000..285d790ac5 --- /dev/null +++ b/compiler/tools/fpp-check/test/array/default_shadowed_ok.fpp @@ -0,0 +1,9 @@ +enum E { X, Y } +struct S { x: U32, e: E } +constant s = { x = 1, e = E.X } + +module M { + struct S {} + constant s = 0 + array A = [3] .S default [ .s, .s, .s ] +} diff --git a/compiler/tools/fpp-check/test/array/default_shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/array/default_shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/array/tests.sh b/compiler/tools/fpp-check/test/array/tests.sh index ef98fe5f52..b807f7715c 100644 --- a/compiler/tools/fpp-check/test/array/tests.sh +++ b/compiler/tools/fpp-check/test/array/tests.sh @@ -1,7 +1,8 @@ tests=" -default_ok default_error -no_default_ok +default_ok +default_shadowed_error +default_shadowed_ok dictionary_not_displayable dictionary_ok enum_default_error @@ -22,6 +23,7 @@ format_precision_too_large format_too_many_repls invalid_size large_size +no_default_ok string_size_default_ok struct_default_ok struct_no_default_ok diff --git a/compiler/tools/fpp-check/test/component/shadowed_constant_error.fpp b/compiler/tools/fpp-check/test/component/shadowed_constant_error.fpp new file mode 100644 index 0000000000..a3a6007469 --- /dev/null +++ b/compiler/tools/fpp-check/test/component/shadowed_constant_error.fpp @@ -0,0 +1,5 @@ +constant a = 0 +passive component C { + constant a = false + constant b = [ a , 1 ] +} diff --git a/compiler/tools/fpp-check/test/component/shadowed_constant_error.ref.txt b/compiler/tools/fpp-check/test/component/shadowed_constant_error.ref.txt new file mode 100644 index 0000000000..0aeeb93e25 --- /dev/null +++ b/compiler/tools/fpp-check/test/component/shadowed_constant_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/component/shadowed_constant_error.fpp:4.18 + constant b = [ a , 1 ] + ^ +error: cannot compute common type of bool and Integer diff --git a/compiler/tools/fpp-check/test/component/shadowed_constant_ok.fpp b/compiler/tools/fpp-check/test/component/shadowed_constant_ok.fpp new file mode 100644 index 0000000000..3f1c2d31c5 --- /dev/null +++ b/compiler/tools/fpp-check/test/component/shadowed_constant_ok.fpp @@ -0,0 +1,5 @@ +constant a = 0 +passive component C { + constant a = false + constant b = [ .a , 1 ] +} diff --git a/compiler/tools/fpp-check/test/component/shadowed_constant_ok.ref.txt b/compiler/tools/fpp-check/test/component/shadowed_constant_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/component/shadowed_type_error.fpp b/compiler/tools/fpp-check/test/component/shadowed_type_error.fpp new file mode 100644 index 0000000000..8dad7b603e --- /dev/null +++ b/compiler/tools/fpp-check/test/component/shadowed_type_error.fpp @@ -0,0 +1,4 @@ +struct S {} +passive component C { + struct S { x: S } +} diff --git a/compiler/tools/fpp-check/test/component/shadowed_type_error.ref.txt b/compiler/tools/fpp-check/test/component/shadowed_type_error.ref.txt new file mode 100644 index 0000000000..6510273fa6 --- /dev/null +++ b/compiler/tools/fpp-check/test/component/shadowed_type_error.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/component/shadowed_type_error.fpp:3.3 + struct S { x: S } + ^ +error: encountered a use-def cycle: + use S at [ local path prefix ]/compiler/tools/fpp-check/test/component/shadowed_type_error.fpp:3.17 refers to definition S at [ local path prefix ]/compiler/tools/fpp-check/test/component/shadowed_type_error.fpp:3.3 diff --git a/compiler/tools/fpp-check/test/component/shadowed_type_ok.fpp b/compiler/tools/fpp-check/test/component/shadowed_type_ok.fpp new file mode 100644 index 0000000000..8432aecc69 --- /dev/null +++ b/compiler/tools/fpp-check/test/component/shadowed_type_ok.fpp @@ -0,0 +1,4 @@ +struct S {} +passive component C { + struct S { x: .S } +} diff --git a/compiler/tools/fpp-check/test/component/shadowed_type_ok.ref.txt b/compiler/tools/fpp-check/test/component/shadowed_type_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/component/tests.sh b/compiler/tools/fpp-check/test/component/tests.sh index 866eec58c3..c37297a0fe 100644 --- a/compiler/tools/fpp-check/test/component/tests.sh +++ b/compiler/tools/fpp-check/test/component/tests.sh @@ -13,6 +13,10 @@ enum_undef_constant enum_undef_type queued_no_async_input ok +shadowed_constant_error +shadowed_constant_ok +shadowed_type_error +shadowed_type_ok struct_alias_format_not_numeric struct_default_error struct_format_not_numeric diff --git a/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.fpp b/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.fpp new file mode 100644 index 0000000000..cb653f5284 --- /dev/null +++ b/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.fpp @@ -0,0 +1,19 @@ +module Fw { + port DpRequest + port DpResponse + port DpSend + port Time +} + +passive component C { + product request port productRequestOut + sync product recv port productRecvIn + product send port productSendOut + time get port timeGetOut + product container Container id 0 + product record R0: U32 id 0 + product record R1: U32 id 0x100 +} + +instance c1: C base id 0x100 +instance c2: C base id 0x200 diff --git a/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.ref.txt b/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.ref.txt new file mode 100644 index 0000000000..4012f28fd7 --- /dev/null +++ b/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.ref.txt @@ -0,0 +1,10 @@ +fpp-check +error: base ID 512 for instance c2 lies inside the ID range [256, 512] for instance c1 +c2 is defined here +[ local path prefix ]/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.fpp:19.1 +instance c2: C base id 0x200 +^ +c1 is defined here +[ local path prefix ]/compiler/tools/fpp-check/test/component_instance_def/conflicting_ids_record.fpp:18.1 +instance c1: C base id 0x100 +^ diff --git a/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.fpp b/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.fpp new file mode 100644 index 0000000000..4ddd54a7f3 --- /dev/null +++ b/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.fpp @@ -0,0 +1,17 @@ +passive component C { + +} + +module M { + + port P + + active component C { + + async input port p: P + + } + + instance c: C base id 0x100 + +} diff --git a/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.ref.txt new file mode 100644 index 0000000000..3d0f93e645 --- /dev/null +++ b/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/component_instance_def/shadowed_error.fpp:15.3 + instance c: C base id 0x100 + ^ +error: invalid component instance definition c: active component must have queue size diff --git a/compiler/tools/fpp-check/test/component_instance_def/shadowed_ok.fpp b/compiler/tools/fpp-check/test/component_instance_def/shadowed_ok.fpp new file mode 100644 index 0000000000..a7ff4002e9 --- /dev/null +++ b/compiler/tools/fpp-check/test/component_instance_def/shadowed_ok.fpp @@ -0,0 +1,17 @@ +passive component C { + +} + +module M { + + port P + + active component C { + + async input port p: P + + } + + instance c: .C base id 0x100 + +} diff --git a/compiler/tools/fpp-check/test/component_instance_def/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/component_instance_def/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/component_instance_def/tests.sh b/compiler/tools/fpp-check/test/component_instance_def/tests.sh index 8a718e8a4d..2d2d067bcb 100644 --- a/compiler/tools/fpp-check/test/component_instance_def/tests.sh +++ b/compiler/tools/fpp-check/test/component_instance_def/tests.sh @@ -5,6 +5,7 @@ active_no_stack_size conflicting_ids conflicting_ids_empty_range_first conflicting_ids_empty_range_second +conflicting_ids_record invalid_negative_int large_int ok @@ -16,6 +17,8 @@ queued_cpu queued_no_queue_size queued_priority queued_stack_size +shadowed_error +shadowed_ok two_empty_ranges undef_component " diff --git a/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_connection.fpp b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_component_connection.fpp similarity index 100% rename from compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_connection.fpp rename to compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_component_connection.fpp diff --git a/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_connection.ref.txt b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_component_connection.ref.txt similarity index 76% rename from compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_connection.ref.txt rename to compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_component_connection.ref.txt index 95053c6035..0b40acae7d 100644 --- a/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_connection.ref.txt +++ b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_component_connection.ref.txt @@ -1,5 +1,5 @@ fpp-check -[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_connection.fpp:25.15 +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_component_connection.fpp:25.15 unmatched c1.pOut -> c2.pIn ^ error: unmatched connection must go from or to a matched port diff --git a/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.fpp b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.fpp new file mode 100644 index 0000000000..40e710ad18 --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.fpp @@ -0,0 +1,37 @@ +port P + +passive component C1 { + + output port pOut: P + +} + +passive component C2 { + + sync input port pIn: P + +} + +instance c1: C1 base id 0x100 +instance c2: C2 base id 0x200 + +topology S { + + instance c2 + + port c2_pIn = c2.pIn + +} + +topology T { + + instance c1 + instance S + + connections C { + + unmatched c1.pOut -> S.c2_pIn + + } + +} diff --git a/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.ref.txt b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.ref.txt new file mode 100644 index 0000000000..0fbe32e563 --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/invalid_unmatched_topology_connection.fpp:33.15 + unmatched c1.pOut -> S.c2_pIn + ^ +error: unmatched connection must go from or to a matched port diff --git a/compiler/tools/fpp-check/test/connection_direct/ok.fpp b/compiler/tools/fpp-check/test/connection_direct/ok.fpp index c2a4e90eb8..0a1a205cc7 100644 --- a/compiler/tools/fpp-check/test/connection_direct/ok.fpp +++ b/compiler/tools/fpp-check/test/connection_direct/ok.fpp @@ -25,6 +25,22 @@ passive component C5 { sync input port pIn: [4] P } +instance c3_s: C3 base id 0x600 +instance c4_s: C4 base id 0x700 +instance c5_s: C5 base id 0x800 + +topology S { + instance c3_s + instance c4_s + instance c5_s + + port c3_pIn = c3_s.pIn + port c3_pOut = c3_s.pOut + port c4_pIn = c4_s.pIn + port c5_pIn = c5_s.pIn + port c5_pOut = c5_s.pOut +} + instance c1: C1 base id 0x100 instance c2: C2 base id 0x200 instance c3: C3 base id 0x300 @@ -37,6 +53,7 @@ topology T { instance c3 instance c4 instance c5 + instance S connections C { @@ -45,13 +62,21 @@ topology T { c1.pOut -> c2.serialIn c1.serialOut -> c2.serialIn - # Matched connections to matched ports (c3.pOut, c3.pIn) + # Matched connections to matched component instance ports c3.pOut -> c5.pIn c5.pOut -> c3.pIn - # Unmatched connections to matched ports (c3.pOut, c3.pIn) + # Matched connections to matched topology ports + S.c3_pOut -> S.c5_pIn + S.c5_pOut -> S.c3_pIn + + # Unmatched connections to matched component instance ports unmatched c3.pOut[0] -> c4.pIn[0] unmatched c3.pOut -> c4.pIn + # Unmatched connections to matched topology ports + unmatched S.c3_pOut[0] -> S.c4_pIn[0] + unmatched S.c3_pOut -> S.c4_pIn + } } diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.fpp b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.fpp new file mode 100644 index 0000000000..2036a79448 --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.fpp @@ -0,0 +1,41 @@ +port P + +passive component C1 { + + output port p: P + +} + +passive component C2 { + + sync input port p: .P + +} + +instance c1: C1 base id 0x100 +instance c2: C2 base id 0x200 + +module M { + + port P(x: U32) + + passive component C2 { + + sync input port p: P + + } + + instance c2: C2 base id 0x300 + + topology T { + + instance c1 + instance c2 + + connections C { + c1.p -> c2.p + } + + } + +} diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.ref.txt b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.ref.txt new file mode 100644 index 0000000000..345a6c7a4b --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.ref.txt @@ -0,0 +1,13 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.fpp:36.7 + c1.p -> c2.p + ^ +error: cannot connect port types P and M.P +from port is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.fpp:5.3 + output port p: P + ^ +to port is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_error.fpp:24.5 + sync input port p: P + ^ diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_ok.fpp b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_ok.fpp new file mode 100644 index 0000000000..72ad20b95d --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_ok.fpp @@ -0,0 +1,41 @@ +port P + +passive component C1 { + + output port p: P + +} + +passive component C2 { + + sync input port p: .P + +} + +instance c1: C1 base id 0x100 +instance c2: C2 base id 0x200 + +module M { + + port P(x: U32) + + passive component C2 { + + sync input port p: P + + } + + instance c2: C2 base id 0x300 + + topology T { + + instance c1 + instance .c2 + + connections C { + c1.p -> .c2.p + } + + } + +} diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_ok.ref.txt b/compiler/tools/fpp-check/test/connection_direct/shadowed_instance_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.fpp b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.fpp new file mode 100644 index 0000000000..dc35cc577d --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.fpp @@ -0,0 +1,34 @@ +port P + +passive component C1 { + + output port p: P + +} + +instance c1: C1 base id 0x100 + +module M { + + port P(x: U32) + + passive component C2 { + + sync input port p: P + + } + + instance c2: C2 base id 0x200 + +} + +topology T { + + instance c1 + instance M.c2 + + connections C { + c1.p -> M.c2.p + } + +} diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.ref.txt b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.ref.txt new file mode 100644 index 0000000000..396c35d8d0 --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.ref.txt @@ -0,0 +1,13 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.fpp:31.5 + c1.p -> M.c2.p + ^ +error: cannot connect port types P and M.P +from port is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.fpp:5.3 + output port p: P + ^ +to port is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/connection_direct/shadowed_port_error.fpp:17.5 + sync input port p: P + ^ diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_port_ok.fpp b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_ok.fpp new file mode 100644 index 0000000000..a93b34523e --- /dev/null +++ b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_ok.fpp @@ -0,0 +1,34 @@ +port P + +passive component C1 { + + output port p: P + +} + +instance c1: C1 base id 0x100 + +module M { + + port P(x: U32) + + passive component C2 { + + sync input port p: .P + + } + + instance c2: C2 base id 0x200 + +} + +topology T { + + instance c1 + instance M.c2 + + connections C { + c1.p -> M.c2.p + } + +} diff --git a/compiler/tools/fpp-check/test/connection_direct/shadowed_port_ok.ref.txt b/compiler/tools/fpp-check/test/connection_direct/shadowed_port_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/connection_direct/tests.sh b/compiler/tools/fpp-check/test/connection_direct/tests.sh index 3f5b34d7b2..8777c3b853 100644 --- a/compiler/tools/fpp-check/test/connection_direct/tests.sh +++ b/compiler/tools/fpp-check/test/connection_direct/tests.sh @@ -4,10 +4,15 @@ internal_port invalid_directions invalid_port_instance invalid_port_number -invalid_unmatched_connection +invalid_unmatched_component_connection +invalid_unmatched_topology_connection mismatched_port_types ok serial_to_typed_with_return +shadowed_instance_error +shadowed_instance_ok +shadowed_port_error +shadowed_port_ok typed_to_serial_with_return undef_instance " diff --git a/compiler/tools/fpp-check/test/constant/array_common_type_conversion.fpp b/compiler/tools/fpp-check/test/constant/array_common_type_conversion.fpp new file mode 100644 index 0000000000..065d057526 --- /dev/null +++ b/compiler/tools/fpp-check/test/constant/array_common_type_conversion.fpp @@ -0,0 +1,2 @@ +constant f1 = [1, 2] +constant f2 = [1, f1] diff --git a/compiler/tools/fpp-check/test/constant/array_common_type_conversion.ref.txt b/compiler/tools/fpp-check/test/constant/array_common_type_conversion.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/constant/shadowed_error.fpp b/compiler/tools/fpp-check/test/constant/shadowed_error.fpp new file mode 100644 index 0000000000..9b7f9476e1 --- /dev/null +++ b/compiler/tools/fpp-check/test/constant/shadowed_error.fpp @@ -0,0 +1,5 @@ +constant a = 0 +passive component C { + constant a = true + constant b = [ a, 1 ] +} diff --git a/compiler/tools/fpp-check/test/constant/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/constant/shadowed_error.ref.txt new file mode 100644 index 0000000000..0e5ca0ed15 --- /dev/null +++ b/compiler/tools/fpp-check/test/constant/shadowed_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/constant/shadowed_error.fpp:4.18 + constant b = [ a, 1 ] + ^ +error: cannot compute common type of bool and Integer diff --git a/compiler/tools/fpp-check/test/constant/shadowed_ok.fpp b/compiler/tools/fpp-check/test/constant/shadowed_ok.fpp new file mode 100644 index 0000000000..6f524f07a1 --- /dev/null +++ b/compiler/tools/fpp-check/test/constant/shadowed_ok.fpp @@ -0,0 +1,5 @@ +constant a = 0 +passive component C { + constant a = true + constant b = [ .a, 1 ] +} diff --git a/compiler/tools/fpp-check/test/constant/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/constant/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/constant/tests.sh b/compiler/tools/fpp-check/test/constant/tests.sh index e0049f47b5..04d5a7d1d6 100644 --- a/compiler/tools/fpp-check/test/constant/tests.sh +++ b/compiler/tools/fpp-check/test/constant/tests.sh @@ -1,10 +1,13 @@ tests=" +array_common_type_conversion array_index_negative array_index_out_of_bounds dictionary_error dictionary_ok invalid_array_index_type invalid_array_type +shadowed_error +shadowed_ok undef_1 undef_2 undef_3 diff --git a/compiler/tools/fpp-check/test/enum/default_shadowed_error.fpp b/compiler/tools/fpp-check/test/enum/default_shadowed_error.fpp new file mode 100644 index 0000000000..aa482e7971 --- /dev/null +++ b/compiler/tools/fpp-check/test/enum/default_shadowed_error.fpp @@ -0,0 +1,5 @@ +constant a = 0 +module M { + constant a = E.A + enum E { A, B } default .a +} diff --git a/compiler/tools/fpp-check/test/enum/default_shadowed_error.ref.txt b/compiler/tools/fpp-check/test/enum/default_shadowed_error.ref.txt new file mode 100644 index 0000000000..eaa03d8121 --- /dev/null +++ b/compiler/tools/fpp-check/test/enum/default_shadowed_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/enum/default_shadowed_error.fpp:4.27 + enum E { A, B } default .a + ^ +error: cannot convert Integer to enum E diff --git a/compiler/tools/fpp-check/test/enum/default_shadowed_ok.fpp b/compiler/tools/fpp-check/test/enum/default_shadowed_ok.fpp new file mode 100644 index 0000000000..8311301237 --- /dev/null +++ b/compiler/tools/fpp-check/test/enum/default_shadowed_ok.fpp @@ -0,0 +1,5 @@ +constant a = 0 +module M { + constant a = E.A + enum E { A, B } default a +} diff --git a/compiler/tools/fpp-check/test/enum/default_shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/enum/default_shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/enum/tests.sh b/compiler/tools/fpp-check/test/enum/tests.sh index b7fcf864ff..03962f9b34 100644 --- a/compiler/tools/fpp-check/test/enum/tests.sh +++ b/compiler/tools/fpp-check/test/enum/tests.sh @@ -5,6 +5,8 @@ bad_constant bad_default bad_rep_type default_ok +default_shadowed_error +default_shadowed_ok dictionary_ok duplicate_value explicit diff --git a/compiler/tools/fpp-check/test/expr/sizeof_alias_alias_struct_ok.fpp b/compiler/tools/fpp-check/test/expr/sizeof_alias_alias_struct_ok.fpp new file mode 100644 index 0000000000..2bad71b488 --- /dev/null +++ b/compiler/tools/fpp-check/test/expr/sizeof_alias_alias_struct_ok.fpp @@ -0,0 +1,11 @@ +# The struct is reached through two aliases and is not finalized +# before the sizeof expression +constant c = sizeof(T1) + +type T1 = T2 + +type T2 = S + +struct S { x: U32, y: Inner } default { x = 1 } + +struct Inner { a: U8 } default { a = 2 } diff --git a/compiler/tools/fpp-check/test/expr/sizeof_alias_alias_struct_ok.ref.txt b/compiler/tools/fpp-check/test/expr/sizeof_alias_alias_struct_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/expr/sizeof_alias_struct_ok.fpp b/compiler/tools/fpp-check/test/expr/sizeof_alias_struct_ok.fpp new file mode 100644 index 0000000000..467e11d983 --- /dev/null +++ b/compiler/tools/fpp-check/test/expr/sizeof_alias_struct_ok.fpp @@ -0,0 +1,6 @@ +# The aliased struct is not finalized before the sizeof expression +constant c = sizeof(T) + +type T = S + +struct S { x: U32 } default { x = 1 } diff --git a/compiler/tools/fpp-check/test/expr/sizeof_alias_struct_ok.ref.txt b/compiler/tools/fpp-check/test/expr/sizeof_alias_struct_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/expr/tests.sh b/compiler/tools/fpp-check/test/expr/tests.sh index 8f69fda934..9186c1fbd8 100644 --- a/compiler/tools/fpp-check/test/expr/tests.sh +++ b/compiler/tools/fpp-check/test/expr/tests.sh @@ -9,6 +9,8 @@ literal_ok neg_error neg_ok paren_ok +sizeof_alias_alias_struct_ok +sizeof_alias_struct_ok sizeof_not_displayable sizeof_ok sizeof_string_fw_store_type_not_defined diff --git a/compiler/tools/fpp-check/test/instance_spec/shadowed_error.fpp b/compiler/tools/fpp-check/test/instance_spec/shadowed_error.fpp new file mode 100644 index 0000000000..cdafe0daa9 --- /dev/null +++ b/compiler/tools/fpp-check/test/instance_spec/shadowed_error.fpp @@ -0,0 +1,15 @@ +module T { + + passive component C { + + } + + instance c: C base id 0x100 + + topology T { + + instance T.c + + } + +} diff --git a/compiler/tools/fpp-check/test/instance_spec/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/instance_spec/shadowed_error.ref.txt new file mode 100644 index 0000000000..3de6750618 --- /dev/null +++ b/compiler/tools/fpp-check/test/instance_spec/shadowed_error.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/instance_spec/shadowed_error.fpp:11.14 + instance T.c + ^ +error: invalid use of symbol T: not a qualifier +symbol is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/instance_spec/shadowed_error.fpp:9.3 + topology T { + ^ diff --git a/compiler/tools/fpp-check/test/instance_spec/shadowed_ok.fpp b/compiler/tools/fpp-check/test/instance_spec/shadowed_ok.fpp new file mode 100644 index 0000000000..54d8fa0f86 --- /dev/null +++ b/compiler/tools/fpp-check/test/instance_spec/shadowed_ok.fpp @@ -0,0 +1,15 @@ +module T { + + passive component C { + + } + + instance c: C base id 0x100 + + topology T { + + instance .T.c + + } + +} diff --git a/compiler/tools/fpp-check/test/instance_spec/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/instance_spec/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/instance_spec/tests.sh b/compiler/tools/fpp-check/test/instance_spec/tests.sh index 3026e2c868..8217b39237 100644 --- a/compiler/tools/fpp-check/test/instance_spec/tests.sh +++ b/compiler/tools/fpp-check/test/instance_spec/tests.sh @@ -1,6 +1,8 @@ tests=" duplicate_instance ok +shadowed_error +shadowed_ok topology_instance undef_instance " diff --git a/compiler/tools/fpp-check/test/port_instance/shadowed_time_get.ref.txt b/compiler/tools/fpp-check/test/port_instance/shadowed_time_get.ref.txt index 8edac8398f..06ec62204b 100644 --- a/compiler/tools/fpp-check/test/port_instance/shadowed_time_get.ref.txt +++ b/compiler/tools/fpp-check/test/port_instance/shadowed_time_get.ref.txt @@ -2,9 +2,6 @@ fpp-check [ local path prefix ]/compiler/tools/fpp-check/test/port_instance/shadowed_time_get.fpp:11.5 time get port timeGetOut ^ -error: invalid use of symbol M.Fw.Time: it shadows Fw.Time here -symbol is defined here: -[ local path prefix ]/compiler/tools/fpp-check/test/port_instance/shadowed_time_get.fpp:5.5 - port Time - ^ +error: symbol Fw is not defined +note: looking for a port here note: the symbol Fw.Time has an implied use at the point of the error diff --git a/compiler/tools/fpp-check/test/port_matching/missing_connection.fpp b/compiler/tools/fpp-check/test/port_matching/missing_connection.fpp new file mode 100644 index 0000000000..35ea618b91 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/missing_connection.fpp @@ -0,0 +1,30 @@ +port P + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +passive component C2 { + + sync input port pIn: P + output port pOut: P + +} + +instance cm: CMatch base id 0x100 +instance c2: C2 base id 0x200 + +topology Top { + + instance cm + instance c2 + + connections P { + cm.pOut -> c2.pIn + } + +} diff --git a/compiler/tools/fpp-check/test/port_matching/missing_connection.ref.txt b/compiler/tools/fpp-check/test/port_matching/missing_connection.ref.txt new file mode 100644 index 0000000000..a6ecd7ae1d --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/missing_connection.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/missing_connection.fpp:27.5 + cm.pOut -> c2.pIn + ^ +error: no match for this connection +port matching is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/missing_connection.fpp:7.3 + match pIn with pOut + ^ diff --git a/compiler/tools/fpp-check/test/port_matching/template_matched_remote_arg.fpp b/compiler/tools/fpp-check/test/port_matching/template_matched_remote_arg.fpp new file mode 100644 index 0000000000..d414442163 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_matched_remote_arg.fpp @@ -0,0 +1,42 @@ +port P + +interface I { + sync input port pIn: [2] P + output port pOut: [2] P +} + +passive component CArg { + + sync input port pIn: [2] P + output port pOut: [2] P + +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +instance ca: CArg base id 0x100 +instance cm: CMatch base id 0x200 + +module template T(instance i: I) { + + topology Top { + + instance i + instance cm + + connections P { + cm.pOut -> i.pIn + i.pOut -> cm.pIn + } + + } + +} + +expand T(instance ca) diff --git a/compiler/tools/fpp-check/test/port_matching/template_matched_remote_arg.ref.txt b/compiler/tools/fpp-check/test/port_matching/template_matched_remote_arg.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp b/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp new file mode 100644 index 0000000000..41f48e758c --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp @@ -0,0 +1,42 @@ +port P + +interface I { + sync input port pIn: [2] P + output port pOut: [2] P +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +passive component C2 { + + sync input port pIn: P + output port pOut: P + +} + +instance cm: CMatch base id 0x100 +instance c2: C2 base id 0x200 + +module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + + connections P { + i.pOut[0] -> c2.pIn + c2.pOut -> i.pIn[1] + } + + } + +} + +expand T(instance cm) diff --git a/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.ref.txt b/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.ref.txt new file mode 100644 index 0000000000..27ea4056a9 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.ref.txt @@ -0,0 +1,15 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp:35.18 + c2.pOut -> i.pIn[1] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp:42.1 +error: mismatched port numbers (1 vs. 0) +conflicting port number is here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp:34.7 + i.pOut[0] -> c2.pIn + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp:42.1 +port matching is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_mismatched_port_numbers.fpp:12.3 + match pIn with pOut + ^ diff --git a/compiler/tools/fpp-check/test/port_matching/template_missing_connection.fpp b/compiler/tools/fpp-check/test/port_matching/template_missing_connection.fpp new file mode 100644 index 0000000000..d1600b6f3a --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_missing_connection.fpp @@ -0,0 +1,41 @@ +port P + +interface I { + sync input port pIn: [2] P + output port pOut: [2] P +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +passive component C2 { + + sync input port pIn: P + output port pOut: P + +} + +instance cm: CMatch base id 0x100 +instance c2: C2 base id 0x200 + +module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + + connections P { + i.pOut -> c2.pIn + } + + } + +} + +expand T(instance cm) diff --git a/compiler/tools/fpp-check/test/port_matching/template_missing_connection.ref.txt b/compiler/tools/fpp-check/test/port_matching/template_missing_connection.ref.txt new file mode 100644 index 0000000000..389b0362e8 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_missing_connection.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_missing_connection.fpp:34.7 + i.pOut -> c2.pIn + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_missing_connection.fpp:41.1 +error: no match for this connection +port matching is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_matching/template_missing_connection.fpp:12.3 + match pIn with pOut + ^ diff --git a/compiler/tools/fpp-check/test/port_matching/template_ok.fpp b/compiler/tools/fpp-check/test/port_matching/template_ok.fpp new file mode 100644 index 0000000000..c7f992945a --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_ok.fpp @@ -0,0 +1,46 @@ +port P + +interface I { + sync input port pIn: [2] P + output port pOut: [2] P +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +passive component C2 { + + sync input port pIn: P + output port pOut: P + +} + +instance cm: CMatch base id 0x100 +instance c2: C2 base id 0x200 +instance c3: C2 base id 0x300 + +module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + instance c3 + + connections P { + i.pOut -> c2.pIn + c2.pOut -> i.pIn + i.pOut -> c3.pIn + c3.pOut -> i.pIn + } + + } + +} + +expand T(instance cm) diff --git a/compiler/tools/fpp-check/test/port_matching/template_ok.ref.txt b/compiler/tools/fpp-check/test/port_matching/template_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/port_matching/template_unmatched.fpp b/compiler/tools/fpp-check/test/port_matching/template_unmatched.fpp new file mode 100644 index 0000000000..f9486396e5 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_unmatched.fpp @@ -0,0 +1,46 @@ +port P + +interface I { + sync input port pIn: [2] P + output port pOut: [2] P +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +passive component C2 { + + sync input port pIn: P + output port pOut: P + +} + +instance cm: CMatch base id 0x100 +instance c2: C2 base id 0x200 +instance c3: C2 base id 0x300 + +module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + instance c3 + + connections P { + i.pOut -> c2.pIn + c2.pOut -> i.pIn + unmatched i.pOut[1] -> c3.pIn + unmatched c3.pOut -> i.pIn[1] + } + + } + +} + +expand T(instance cm) diff --git a/compiler/tools/fpp-check/test/port_matching/template_unmatched.ref.txt b/compiler/tools/fpp-check/test/port_matching/template_unmatched.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/port_matching/template_unmatched_remote_arg.fpp b/compiler/tools/fpp-check/test/port_matching/template_unmatched_remote_arg.fpp new file mode 100644 index 0000000000..d46465e97c --- /dev/null +++ b/compiler/tools/fpp-check/test/port_matching/template_unmatched_remote_arg.fpp @@ -0,0 +1,42 @@ +port P + +interface I { + sync input port pIn: P + output port pOut: P +} + +passive component CArg { + + sync input port pIn: P + output port pOut: P + +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +instance ca: CArg base id 0x100 +instance cm: CMatch base id 0x200 + +module template T(instance i: I) { + + topology Top { + + instance i + instance cm + + connections P { + unmatched cm.pOut[0] -> i.pIn + unmatched i.pOut -> cm.pIn[1] + } + + } + +} + +expand T(instance ca) diff --git a/compiler/tools/fpp-check/test/port_matching/template_unmatched_remote_arg.ref.txt b/compiler/tools/fpp-check/test/port_matching/template_unmatched_remote_arg.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/port_matching/tests.sh b/compiler/tools/fpp-check/test/port_matching/tests.sh index ca85e04ad4..8198a3c853 100644 --- a/compiler/tools/fpp-check/test/port_matching/tests.sh +++ b/compiler/tools/fpp-check/test/port_matching/tests.sh @@ -1,9 +1,16 @@ tests=" ok mismatched_sizes +missing_connection p1_not_port_instance p1_not_valid p2_not_port_instance p2_not_valid repeated_name +template_matched_remote_arg +template_mismatched_port_numbers +template_missing_connection +template_ok +template_unmatched +template_unmatched_remote_arg " diff --git a/compiler/tools/fpp-check/test/port_numbering/missing_connection.ref.txt b/compiler/tools/fpp-check/test/port_numbering/missing_connection.ref.txt new file mode 100644 index 0000000000..11b58d97b6 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_numbering/missing_connection.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/missing_connection.fpp:28.5 + c1.pOut -> c2.pIn + ^ +error: no match for this connection +port matching is specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/missing_connection.fpp:8.3 + match pIn with pOut + ^ diff --git a/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp b/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp new file mode 100644 index 0000000000..52835dbad1 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp @@ -0,0 +1,50 @@ +module M { + + port P + + interface I { + output port pOut: [4] P + sync input port pIn: [4] P + } + + passive component C1 { + + output port pOut: [4] P + sync input port pIn: [4] P + + match pOut with pIn + + } + + passive component C2 { + + output port pOut: [4] P + sync input port pIn: [4] P + + } + + instance c1: C1 base id 0x100 + instance c2: C2 base id 0x200 + + module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + + connections P { + + i.pOut[0] -> c2.pIn + c2.pOut -> i.pIn + unmatched c2.pOut -> i.pIn[0] + + } + + } + + } + + expand T(instance c1) + +} diff --git a/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.ref.txt b/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.ref.txt new file mode 100644 index 0000000000..38e3ef7efd --- /dev/null +++ b/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.ref.txt @@ -0,0 +1,20 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:39.9 + c2.pOut -> i.pIn + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:48.3 +error: implicit duplicate connection at matched port pIn[0] +connection is implied here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:38.9 + i.pOut[0] -> c2.pIn + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:48.3 +because of matching specified here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:15.5 + match pOut with pIn + ^ +conflicting connection is here: +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:40.19 + unmatched c2.pOut -> i.pIn[0] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_implicit_duplicate_at_matched_port.fpp:48.3 diff --git a/compiler/tools/fpp-check/test/port_numbering/template_ok.fpp b/compiler/tools/fpp-check/test/port_numbering/template_ok.fpp new file mode 100644 index 0000000000..2ab8f71e96 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_numbering/template_ok.fpp @@ -0,0 +1,56 @@ +port P1 +port P2 + +interface I { + + output port p1Out: [2] P1 + sync input port p1In: [2] P1 + + output port p2Out: P2 + +} + +passive component C1 { + + output port p1Out: [2] P1 + sync input port p1In: [2] P1 + + match p1In with p1Out + + output port p2Out: P2 + +} + +passive component C2 { + + output port p1Out: P1 + sync input port p1In: P1 + + sync input port p2In: P2 + +} + +instance c1: C1 base id 0x100 +instance c2: C2 base id 0x200 + +module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + + connections P1 { + i.p1Out -> c2.p1In + c2.p1Out -> i.p1In + } + + connections P2 { + i.p2Out -> c2.p2In + } + + } + +} + +expand T(instance c1) diff --git a/compiler/tools/fpp-check/test/port_numbering/template_ok.ref.txt b/compiler/tools/fpp-check/test/port_numbering/template_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.fpp b/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.fpp new file mode 100644 index 0000000000..654fb32280 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.fpp @@ -0,0 +1,50 @@ +port P + +interface I { + sync input port pIn: [2] P + output port pOut: [2] P +} + +passive component CMatch { + + sync input port pIn: [2] P + output port pOut: [2] P + match pIn with pOut + +} + +passive component C2 { + + sync input port pIn: P + output port pOut: P + +} + +instance cm: CMatch base id 0x100 +instance c2: C2 base id 0x200 +instance c3: C2 base id 0x300 +instance c4: C2 base id 0x400 + +module template T(instance i: I) { + + topology Top { + + instance i + instance c2 + instance c3 + instance c4 + + connections P { + i.pOut -> c2.pIn + c2.pOut -> i.pIn + i.pOut -> c3.pIn + c3.pOut -> i.pIn + i.pOut -> c4.pIn + c4.pOut -> i.pIn + } + + } + +} + +expand T(instance cm) diff --git a/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.ref.txt b/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.ref.txt new file mode 100644 index 0000000000..8a6b8b8ac7 --- /dev/null +++ b/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.fpp:11.3 + output port pOut: [2] P + ^ +error: too many ports connected here (found 3, max is 2) +for this component instance: +[ local path prefix ]/compiler/tools/fpp-check/test/port_numbering/template_too_many_output_ports.fpp:23.1 +instance cm: CMatch base id 0x100 +^ diff --git a/compiler/tools/fpp-check/test/port_numbering/tests.sh b/compiler/tools/fpp-check/test/port_numbering/tests.sh index a2dfce315e..2066edb06c 100644 --- a/compiler/tools/fpp-check/test/port_numbering/tests.sh +++ b/compiler/tools/fpp-check/test/port_numbering/tests.sh @@ -5,8 +5,12 @@ duplicate_output_connection implicit_duplicate_connection_at_matched_input_port implicit_duplicate_connection_at_matched_output_port mismatched_port_numbers +missing_connection negative_port_number no_port_available_for_matched_numbering ok +template_implicit_duplicate_at_matched_port +template_ok +template_too_many_output_ports too_many_output_ports " diff --git a/compiler/tools/fpp-check/test/spec_loc/shadowed_error.fpp b/compiler/tools/fpp-check/test/spec_loc/shadowed_error.fpp new file mode 100644 index 0000000000..559843eee8 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/shadowed_error.fpp @@ -0,0 +1,4 @@ +module M { + locate constant a at "incorrect.fpp" + constant a = 0 +} diff --git a/compiler/tools/fpp-check/test/spec_loc/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/spec_loc/shadowed_error.ref.txt new file mode 100644 index 0000000000..4dcb1dedf1 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/shadowed_error.ref.txt @@ -0,0 +1,8 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/shadowed_error.fpp:2.24 + locate constant a at "incorrect.fpp" + ^ +error: incorrect location path [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/incorrect.fpp +actual location is [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/shadowed_error.fpp:3.3 + constant a = 0 + ^ diff --git a/compiler/tools/fpp-check/test/spec_loc/shadowed_ok.fpp b/compiler/tools/fpp-check/test/spec_loc/shadowed_ok.fpp new file mode 100644 index 0000000000..2950abe5d7 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/shadowed_ok.fpp @@ -0,0 +1,4 @@ +module M { + locate constant .a at "somewhere_else.fpp" + constant a = 0 +} diff --git a/compiler/tools/fpp-check/test/spec_loc/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/spec_loc/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.fpp b/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.fpp new file mode 100644 index 0000000000..ef8f2a1238 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.fpp @@ -0,0 +1,6 @@ +module template T { + locate constant c at "incorrect.fpp" + constant c = 0 +} + +expand T diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.ref.txt b/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.ref.txt new file mode 100644 index 0000000000..e8ec909295 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.ref.txt @@ -0,0 +1,8 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.fpp:2.24 + locate constant c at "incorrect.fpp" + ^ +error: incorrect location path [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/incorrect.fpp +actual location is [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_expanded_path_error.fpp:6.1 +expand T +^ diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.fpp b/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.fpp new file mode 100644 index 0000000000..9af5aa16b4 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.fpp @@ -0,0 +1,7 @@ +module template T { + locate constant a at "incorrect.fpp" +} + +locate constant a at "template_body_inconsistent_path_error.fpp" + +constant a = 0 diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.ref.txt b/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.ref.txt new file mode 100644 index 0000000000..177879514a --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.fpp:5.22 +locate constant a at "template_body_inconsistent_path_error.fpp" + ^ +error: inconsistent location path [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.fpp +previous occurrence is here: +[ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_inconsistent_path_error.fpp:2.24 + locate constant a at "incorrect.fpp" + ^ +previous path is [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/incorrect.fpp diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_ok.fpp b/compiler/tools/fpp-check/test/spec_loc/template_body_ok.fpp new file mode 100644 index 0000000000..6adb5172e9 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_ok.fpp @@ -0,0 +1,5 @@ +module template T { + locate constant c at "template_body_ok.fpp" +} + +constant c = 0 diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_ok.ref.txt b/compiler/tools/fpp-check/test/spec_loc/template_body_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.fpp b/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.fpp new file mode 100644 index 0000000000..b3271cb60b --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.fpp @@ -0,0 +1,5 @@ +module template T { + locate constant c at "incorrect.fpp" +} + +constant c = 0 diff --git a/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.ref.txt b/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.ref.txt new file mode 100644 index 0000000000..9df1cb1027 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.ref.txt @@ -0,0 +1,8 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.fpp:2.24 + locate constant c at "incorrect.fpp" + ^ +error: incorrect location path [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/incorrect.fpp +actual location is [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_body_path_error.fpp:5.1 +constant c = 0 +^ diff --git a/compiler/tools/fpp-check/test/spec_loc/template_ok.fpp b/compiler/tools/fpp-check/test/spec_loc/template_ok.fpp new file mode 100644 index 0000000000..3a789fb8e5 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_ok.fpp @@ -0,0 +1,13 @@ +locate template T at "template_ok.fpp" + +module template T { + constant a = 0 +} + +locate template M.T at "template_ok.fpp" + +module M { + module template T { + constant a = 0 + } +} diff --git a/compiler/tools/fpp-check/test/spec_loc/template_ok.ref.txt b/compiler/tools/fpp-check/test/spec_loc/template_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/spec_loc/template_path_error.fpp b/compiler/tools/fpp-check/test/spec_loc/template_path_error.fpp new file mode 100644 index 0000000000..7a52ced767 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_path_error.fpp @@ -0,0 +1,5 @@ +locate template T at "incorrect.fpp" + +module template T { + constant a = 0 +} diff --git a/compiler/tools/fpp-check/test/spec_loc/template_path_error.ref.txt b/compiler/tools/fpp-check/test/spec_loc/template_path_error.ref.txt new file mode 100644 index 0000000000..e50d344fd8 --- /dev/null +++ b/compiler/tools/fpp-check/test/spec_loc/template_path_error.ref.txt @@ -0,0 +1,8 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_path_error.fpp:1.22 +locate template T at "incorrect.fpp" + ^ +error: incorrect location path [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/incorrect.fpp +actual location is [ local path prefix ]/compiler/tools/fpp-check/test/spec_loc/template_path_error.fpp:3.1 +module template T { +^ diff --git a/compiler/tools/fpp-check/test/spec_loc/tests.sh b/compiler/tools/fpp-check/test/spec_loc/tests.sh index 45c73df904..1c79a9137e 100644 --- a/compiler/tools/fpp-check/test/spec_loc/tests.sh +++ b/compiler/tools/fpp-check/test/spec_loc/tests.sh @@ -23,6 +23,8 @@ interface_ok interface_path_error port_ok port_path_error +shadowed_error +shadowed_ok state_machine_ok state_machine_path_error struct_dictionary_error @@ -30,6 +32,12 @@ struct_ok struct_path_error system_ok system_path_error +template_body_expanded_path_error +template_body_inconsistent_path_error +template_body_ok +template_body_path_error +template_ok +template_path_error topology_ok topology_path_error " diff --git a/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.fpp b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.fpp new file mode 100644 index 0000000000..d190c06b8f --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.fpp @@ -0,0 +1,13 @@ +constant a = 0 + +state machine SM { + + constant a = false + + constant b = [ a, 1 ] + + initial enter S + + state S + +} diff --git a/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.ref.txt new file mode 100644 index 0000000000..842c517599 --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/constants/shadowed_error.fpp:7.18 + constant b = [ a, 1 ] + ^ +error: cannot compute common type of bool and Integer diff --git a/compiler/tools/fpp-check/test/state_machine/constants/shadowed_ok.fpp b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_ok.fpp new file mode 100644 index 0000000000..6d975bec69 --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_ok.fpp @@ -0,0 +1,13 @@ +constant a = 0 + +state machine SM { + + constant a = false + + constant b = [ .a, 1 ] + + initial enter S + + state S + +} diff --git a/compiler/tools/fpp-check/test/state_machine/constants/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/state_machine/constants/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/state_machine/constants/tests.sh b/compiler/tools/fpp-check/test/state_machine/constants/tests.sh index 1245d52d44..3ea3de39ea 100644 --- a/compiler/tools/fpp-check/test/state_machine/constants/tests.sh +++ b/compiler/tools/fpp-check/test/state_machine/constants/tests.sh @@ -1,3 +1,5 @@ tests=" constant_ok +shadowed_error +shadowed_ok " diff --git a/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.fpp b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.fpp new file mode 100644 index 0000000000..ffa5698a82 --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.fpp @@ -0,0 +1,7 @@ +state machine M { + initial enter S + state S { + initial enter .S + state S + } +} diff --git a/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.ref.txt b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.ref.txt new file mode 100644 index 0000000000..e9178f188a --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.fpp:4.5 + initial enter .S + ^ +error: initial transition of state must go to state or choice defined in the same state +transition path goes here: +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_error.fpp:3.3 + state S { + ^ diff --git a/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_ok.fpp b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_ok.fpp new file mode 100644 index 0000000000..6f5a7f076a --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_ok.fpp @@ -0,0 +1,7 @@ +state machine M { + initial enter S + state S { + initial enter S + state S + } +} diff --git a/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_ok.ref.txt b/compiler/tools/fpp-check/test/state_machine/transition_graph/shadowed_state_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/state_machine/transition_graph/tests.sh b/compiler/tools/fpp-check/test/state_machine/transition_graph/tests.sh index 04f0a2f3d5..946b2f04d9 100644 --- a/compiler/tools/fpp-check/test/state_machine/transition_graph/tests.sh +++ b/compiler/tools/fpp-check/test/state_machine/transition_graph/tests.sh @@ -2,6 +2,8 @@ tests=" choice_cycle choice_cycle_ok cycle_ok +shadowed_state_error +shadowed_state_ok unreachable_choice unreachable_state " diff --git a/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.fpp b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.fpp new file mode 100644 index 0000000000..895faf0b73 --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.fpp @@ -0,0 +1,15 @@ +type T = U32 +state machine M { + type T = bool + signal s1: U32 + signal s2: T + guard g + initial enter S + state S { + initial enter T + choice C { if g enter T else enter T } + on s1 enter C + on s2 enter C + state T + } +} diff --git a/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.ref.txt b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.ref.txt new file mode 100644 index 0000000000..40eddf9e4a --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.ref.txt @@ -0,0 +1,13 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.fpp:10.5 + choice C { if g enter T else enter T } + ^ +error: type mismatch at choice +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.fpp:11.5 + on s1 enter C + ^ +type of transition is U32 +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_error.fpp:12.5 + on s2 enter C + ^ +type of transition is T diff --git a/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_ok.fpp b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_ok.fpp new file mode 100644 index 0000000000..4434b05b4d --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_ok.fpp @@ -0,0 +1,15 @@ +type T = U32 +state machine M { + type T = bool + signal s1: U32 + signal s2: .T + guard g + initial enter S + state S { + initial enter T + choice C { if g enter T else enter T } + on s1 enter C + on s2 enter C + state T + } +} diff --git a/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/state_machine/typed_elements/choice_shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/state_machine/typed_elements/tests.sh b/compiler/tools/fpp-check/test/state_machine/typed_elements/tests.sh index d6d46001fc..6e2ba432fe 100644 --- a/compiler/tools/fpp-check/test/state_machine/typed_elements/tests.sh +++ b/compiler/tools/fpp-check/test/state_machine/typed_elements/tests.sh @@ -4,6 +4,8 @@ choice_alias_i16_i32 choice_f32_f64 choice_i16_i32 choice_i32_f32 +choice_shadowed_error +choice_shadowed_ok choice_u32_bool choice_u32_bool_transitive choice_u32_none diff --git a/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.fpp b/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.fpp new file mode 100644 index 0000000000..eb32365471 --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.fpp @@ -0,0 +1,7 @@ +struct S {} + +state machine M { + struct S { x: S } + state ST + initial enter ST +} diff --git a/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.ref.txt new file mode 100644 index 0000000000..d9959727db --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.fpp:4.3 + struct S { x: S } + ^ +error: encountered a use-def cycle: + use S at [ local path prefix ]/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.fpp:4.17 refers to definition S at [ local path prefix ]/compiler/tools/fpp-check/test/state_machine/types/shadowed_error.fpp:4.3 diff --git a/compiler/tools/fpp-check/test/state_machine/types/shadowed_ok.fpp b/compiler/tools/fpp-check/test/state_machine/types/shadowed_ok.fpp new file mode 100644 index 0000000000..b2f9d75dbb --- /dev/null +++ b/compiler/tools/fpp-check/test/state_machine/types/shadowed_ok.fpp @@ -0,0 +1,7 @@ +struct S {} + +state machine M { + struct S { x: .S } + state ST + initial enter ST +} diff --git a/compiler/tools/fpp-check/test/state_machine/types/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/state_machine/types/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/state_machine/types/tests.sh b/compiler/tools/fpp-check/test/state_machine/types/tests.sh index b0e94ae237..c8d5e6fb56 100644 --- a/compiler/tools/fpp-check/test/state_machine/types/tests.sh +++ b/compiler/tools/fpp-check/test/state_machine/types/tests.sh @@ -12,6 +12,8 @@ enum_ok enum_undef_constant enum_undef_type guard_undef_type +shadowed_error +shadowed_ok signal_undef_type state_enum_ok struct_alias_format_not_numeric diff --git a/compiler/tools/fpp-check/test/struct/default_shadowed_error.fpp b/compiler/tools/fpp-check/test/struct/default_shadowed_error.fpp new file mode 100644 index 0000000000..df3bf716b9 --- /dev/null +++ b/compiler/tools/fpp-check/test/struct/default_shadowed_error.fpp @@ -0,0 +1,5 @@ +constant s = { x = 1 } +module M { + constant s = { x = false} + struct S { x: U32 } default s +} diff --git a/compiler/tools/fpp-check/test/struct/default_shadowed_error.ref.txt b/compiler/tools/fpp-check/test/struct/default_shadowed_error.ref.txt new file mode 100644 index 0000000000..4256a1eab8 --- /dev/null +++ b/compiler/tools/fpp-check/test/struct/default_shadowed_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/struct/default_shadowed_error.fpp:4.31 + struct S { x: U32 } default s + ^ +error: cannot convert { x: bool } to struct S diff --git a/compiler/tools/fpp-check/test/struct/default_shadowed_ok.fpp b/compiler/tools/fpp-check/test/struct/default_shadowed_ok.fpp new file mode 100644 index 0000000000..297797bc9e --- /dev/null +++ b/compiler/tools/fpp-check/test/struct/default_shadowed_ok.fpp @@ -0,0 +1,5 @@ +constant s = { x = 1 } +module M { + constant s = { x = false} + struct S { x: U32 } default .s +} diff --git a/compiler/tools/fpp-check/test/struct/default_shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/struct/default_shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/struct/tests.sh b/compiler/tools/fpp-check/test/struct/tests.sh index 68c65497e0..938cfa1ebd 100644 --- a/compiler/tools/fpp-check/test/struct/tests.sh +++ b/compiler/tools/fpp-check/test/struct/tests.sh @@ -1,6 +1,8 @@ tests=" default_error default_ok +default_shadowed_error +default_shadowed_ok dictionary_not_displayable dictionary_ok duplicate_names diff --git a/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.fpp b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.fpp new file mode 100644 index 0000000000..65b27003d8 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.fpp @@ -0,0 +1,13 @@ +port P + +passive component C { + sync input port pIn: P +} + +instance c: C base id 0x100 + +module template T(constant p: U32) { + constant k = p +} + +expand T(instance c) diff --git a/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.ref.txt b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.ref.txt new file mode 100644 index 0000000000..476e5fce36 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.fpp:13.10 +expand T(instance c) + ^ +error: invalid argument for template parameter p: expected a constant argument, got a instance argument +template parameter is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_constant_param_instance_arg.fpp:9.19 +module template T(constant p: U32) { + ^ diff --git a/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.fpp b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.fpp new file mode 100644 index 0000000000..2ade148fe9 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.fpp @@ -0,0 +1,5 @@ +module template T(constant p: U32) { + constant c = p +} + +expand T(type U32) diff --git a/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.ref.txt b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.ref.txt new file mode 100644 index 0000000000..58865fa9c8 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.fpp:5.10 +expand T(type U32) + ^ +error: invalid argument for template parameter p: expected a constant argument, got a type argument +template parameter is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_constant_param_type_arg.fpp:1.19 +module template T(constant p: U32) { + ^ diff --git a/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.fpp b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.fpp new file mode 100644 index 0000000000..a3a5e2763f --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.fpp @@ -0,0 +1,13 @@ +port P + +interface I { + sync input port pIn: P +} + +module template T(instance i: I) { + topology Top { + instance i + } +} + +expand T(constant 0) diff --git a/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.ref.txt b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.ref.txt new file mode 100644 index 0000000000..9479fdf82c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.fpp:13.10 +expand T(constant 0) + ^ +error: invalid argument for template parameter i: expected a instance argument, got a constant argument +template parameter is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_instance_param_constant_arg.fpp:7.19 +module template T(instance i: I) { + ^ diff --git a/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.fpp b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.fpp new file mode 100644 index 0000000000..9ed949142a --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.fpp @@ -0,0 +1,13 @@ +port P + +interface I { + sync input port pIn: P +} + +module template T(instance i: I) { + topology Top { + instance i + } +} + +expand T(type U32) diff --git a/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.ref.txt b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.ref.txt new file mode 100644 index 0000000000..b80455078b --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.fpp:13.10 +expand T(type U32) + ^ +error: invalid argument for template parameter i: expected a instance argument, got a type argument +template parameter is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_instance_param_type_arg.fpp:7.19 +module template T(instance i: I) { + ^ diff --git a/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.fpp b/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.fpp new file mode 100644 index 0000000000..d3168b53a3 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.fpp @@ -0,0 +1,5 @@ +module template T(type Ty) { + array A = [1] Ty +} + +expand T(constant 0) diff --git a/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.ref.txt b/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.ref.txt new file mode 100644 index 0000000000..d87d50e7a8 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.fpp:5.10 +expand T(constant 0) + ^ +error: invalid argument for template parameter Ty: expected a type argument, got a constant argument +template parameter is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_type_param_constant_arg.fpp:1.19 +module template T(type Ty) { + ^ diff --git a/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.fpp b/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.fpp new file mode 100644 index 0000000000..93418a5bd5 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.fpp @@ -0,0 +1,13 @@ +port P + +passive component C { + sync input port pIn: P +} + +instance c: C base id 0x100 + +module template T(type Ty) { + array A = [1] Ty +} + +expand T(instance c) diff --git a/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.ref.txt b/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.ref.txt new file mode 100644 index 0000000000..785d5ff338 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.fpp:13.10 +expand T(instance c) + ^ +error: invalid argument for template parameter Ty: expected a type argument, got a instance argument +template parameter is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arg_kind_type_param_instance_arg.fpp:9.19 +module template T(type Ty) { + ^ diff --git a/compiler/tools/fpp-check/test/template/arity_no_params_ok.fpp b/compiler/tools/fpp-check/test/template/arity_no_params_ok.fpp new file mode 100644 index 0000000000..5b4827a39d --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_no_params_ok.fpp @@ -0,0 +1,25 @@ +module template T { + constant c = 1 +} + +module template U() { + constant d = 2 +} + +module M1 { + expand T +} + +module M2 { + expand T() +} + +module M3 { + expand U +} + +module M4 { + expand U() +} + +constant e = M1.c + M2.c + M3.d + M4.d diff --git a/compiler/tools/fpp-check/test/template/arity_no_params_ok.ref.txt b/compiler/tools/fpp-check/test/template/arity_no_params_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/arity_omitted_args.fpp b/compiler/tools/fpp-check/test/template/arity_omitted_args.fpp new file mode 100644 index 0000000000..e0bc10c0c1 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_omitted_args.fpp @@ -0,0 +1,5 @@ +module template T(constant p: U32) { + constant c = p +} + +expand T diff --git a/compiler/tools/fpp-check/test/template/arity_omitted_args.ref.txt b/compiler/tools/fpp-check/test/template/arity_omitted_args.ref.txt new file mode 100644 index 0000000000..a84eec3230 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_omitted_args.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arity_omitted_args.fpp:5.1 +expand T +^ +error: expected 1 template argument, got 0 +template defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arity_omitted_args.fpp:1.1 +module template T(constant p: U32) { +^ diff --git a/compiler/tools/fpp-check/test/template/arity_too_few_args.fpp b/compiler/tools/fpp-check/test/template/arity_too_few_args.fpp new file mode 100644 index 0000000000..c8ee707da6 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_too_few_args.fpp @@ -0,0 +1,5 @@ +module template T(constant p: U32, constant q: U32) { + constant c = p + q +} + +expand T(constant 1) diff --git a/compiler/tools/fpp-check/test/template/arity_too_few_args.ref.txt b/compiler/tools/fpp-check/test/template/arity_too_few_args.ref.txt new file mode 100644 index 0000000000..d15e9b7e3f --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_too_few_args.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arity_too_few_args.fpp:5.1 +expand T(constant 1) +^ +error: expected 2 template arguments, got 1 +template defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arity_too_few_args.fpp:1.1 +module template T(constant p: U32, constant q: U32) { +^ diff --git a/compiler/tools/fpp-check/test/template/arity_too_many_args.fpp b/compiler/tools/fpp-check/test/template/arity_too_many_args.fpp new file mode 100644 index 0000000000..7a8ae52e95 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_too_many_args.fpp @@ -0,0 +1,5 @@ +module template T(constant p: U32) { + constant c = p +} + +expand T(constant 1, constant 2) diff --git a/compiler/tools/fpp-check/test/template/arity_too_many_args.ref.txt b/compiler/tools/fpp-check/test/template/arity_too_many_args.ref.txt new file mode 100644 index 0000000000..3d69b275a9 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/arity_too_many_args.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/arity_too_many_args.fpp:5.1 +expand T(constant 1, constant 2) +^ +error: expected 1 template argument, got 2 +template defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/arity_too_many_args.fpp:1.1 +module template T(constant p: U32) { +^ diff --git a/compiler/tools/fpp-check/test/template/basic_constant.fpp b/compiler/tools/fpp-check/test/template/basic_constant.fpp new file mode 100644 index 0000000000..ea5065436b --- /dev/null +++ b/compiler/tools/fpp-check/test/template/basic_constant.fpp @@ -0,0 +1,7 @@ +module template T(constant p: U32) { + constant cOut = p + 2 +} + +expand T(constant 10) + +constant cOut2 = cOut + 2 diff --git a/compiler/tools/fpp-check/test/template/basic_constant.ref.txt b/compiler/tools/fpp-check/test/template/basic_constant.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/bound_param_capture.fpp b/compiler/tools/fpp-check/test/template/bound_param_capture.fpp new file mode 100644 index 0000000000..8e1a0db8d3 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/bound_param_capture.fpp @@ -0,0 +1,13 @@ +module template T(constant n: U32) { + module Inner { + array A = [n] U32 + } +} + +module M { + module Inner { + constant n = 3 + } + + expand T(constant 0) +} diff --git a/compiler/tools/fpp-check/test/template/bound_param_capture.ref.txt b/compiler/tools/fpp-check/test/template/bound_param_capture.ref.txt new file mode 100644 index 0000000000..f3ded4fd68 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/bound_param_capture.ref.txt @@ -0,0 +1,7 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/bound_param_capture.fpp:3.16 + array A = [n] U32 + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/bound_param_capture.fpp:12.3 +error: invalid array size 0 +note: size must be greater than zero diff --git a/compiler/tools/fpp-check/test/template/bound_param_capture_ok.fpp b/compiler/tools/fpp-check/test/template/bound_param_capture_ok.fpp new file mode 100644 index 0000000000..d62f818ac7 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/bound_param_capture_ok.fpp @@ -0,0 +1,13 @@ +module template T(constant n: U32) { + module Inner { + array A = [n] U32 default [1, 2, 3] + } +} + +module M { + module Inner { + constant n = 0 + } + + expand T(constant 3) +} diff --git a/compiler/tools/fpp-check/test/template/bound_param_capture_ok.ref.txt b/compiler/tools/fpp-check/test/template/bound_param_capture_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/chained_constants.fpp b/compiler/tools/fpp-check/test/template/chained_constants.fpp new file mode 100644 index 0000000000..4d2b07dd25 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/chained_constants.fpp @@ -0,0 +1,7 @@ +module template T(constant c: U32) { + constant k1 = c + constant k2 = k1 + c + constant k3 = k2 + c +} + +expand T(constant 10) diff --git a/compiler/tools/fpp-check/test/template/chained_constants.ref.txt b/compiler/tools/fpp-check/test/template/chained_constants.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/constant_param_array_promote.fpp b/compiler/tools/fpp-check/test/template/constant_param_array_promote.fpp new file mode 100644 index 0000000000..c588be4c16 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/constant_param_array_promote.fpp @@ -0,0 +1,26 @@ +array B = [2] U32 +struct S { b: B } + +module template M(constant b: B, constant s: S) { + + @ An array type whose default value promotes a scalar to an array of B + array C = [2] B default [ 1, b ] + + @ An array value that promotes a scalar to an array of B + constant c = [ 1, b ] + + @ An array value whose elements are array values + constant d = [ c, c ] + + @ A subscript of a promoted array value + constant e = c[0][0] + + @ An array value whose elements are subscripts + constant f = [ c[1], c[1] ] + + @ An array value that promotes a scalar to an array of a struct member + constant g = [ 1, s.b ] + +} + +expand M(constant [2, 3], constant { b = [4, 5] }) diff --git a/compiler/tools/fpp-check/test/template/constant_param_array_promote.ref.txt b/compiler/tools/fpp-check/test/template/constant_param_array_promote.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.fpp b/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.fpp new file mode 100644 index 0000000000..18dcaef377 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.fpp @@ -0,0 +1,15 @@ +array B = [3] U32 + +# The size of B is not known when the constant expressions are first +# evaluated, so the subscript below is checked when they are finalized +module template M(constant b: B) { + + @ An array value that promotes a scalar to an array of B + constant c = [ 1, b ] + + @ A subscript that is out of range for the size of B + constant e = c[0][3] + +} + +expand M(constant [2, 3, 5]) diff --git a/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.ref.txt b/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.ref.txt new file mode 100644 index 0000000000..b11a2ce898 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.ref.txt @@ -0,0 +1,7 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.fpp:11.21 + constant e = c[0][3] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/constant_param_array_promote_bad_subscript.fpp:15.1 +error: invalid integer value 3 +index value is not in the range [0, 2] diff --git a/compiler/tools/fpp-check/test/template/constant_with_default.fpp b/compiler/tools/fpp-check/test/template/constant_with_default.fpp new file mode 100644 index 0000000000..7a7c764e6d --- /dev/null +++ b/compiler/tools/fpp-check/test/template/constant_with_default.fpp @@ -0,0 +1,21 @@ +type FwSizeStoreType = U16 +array StringArray = [3] string size 10 + +struct ParamTy { + field1: U32 + field2: string size 10 + field3: StringArray +} default { + field1 = 1, + field2 = "field 2" + field3 = [ "field3[0]", "field3[1]", "field3[2]" ] +} + +module template T( + constant p: ParamTy +) { + constant newField = p.field2 + constant newField2 = p.field3[1] +} + +expand T(constant {}) diff --git a/compiler/tools/fpp-check/test/template/constant_with_default.ref.txt b/compiler/tools/fpp-check/test/template/constant_with_default.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/definition_point_scoping.fpp b/compiler/tools/fpp-check/test/template/definition_point_scoping.fpp new file mode 100644 index 0000000000..3ef56f5b2c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/definition_point_scoping.fpp @@ -0,0 +1,15 @@ +module M { + constant a = 0 + + module template T { + constant b = a + } +} + +module N { + constant a = 4 + + expand M.T +} + +array Discriminator = [N.b] U32 diff --git a/compiler/tools/fpp-check/test/template/definition_point_scoping.ref.txt b/compiler/tools/fpp-check/test/template/definition_point_scoping.ref.txt new file mode 100644 index 0000000000..d547ceb63c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/definition_point_scoping.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/definition_point_scoping.fpp:15.24 +array Discriminator = [N.b] U32 + ^ +error: invalid array size 0 +note: size must be greater than zero diff --git a/compiler/tools/fpp-check/test/template/definition_point_scoping_ok.fpp b/compiler/tools/fpp-check/test/template/definition_point_scoping_ok.fpp new file mode 100644 index 0000000000..3a870e66f6 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/definition_point_scoping_ok.fpp @@ -0,0 +1,15 @@ +module M { + constant a = 3 + + module template T { + constant b = a + } +} + +module N { + constant a = 0 + + expand M.T +} + +array Discriminator = [N.b] U32 default [1, 2, 3] diff --git a/compiler/tools/fpp-check/test/template/definition_point_scoping_ok.ref.txt b/compiler/tools/fpp-check/test/template/definition_point_scoping_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.fpp b/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.fpp new file mode 100644 index 0000000000..5268914d74 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.fpp @@ -0,0 +1,6 @@ +# A deployment topology may not appear in a template expansion +module template T() {} + +expand T() { + deployment topology D {} +} diff --git a/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.ref.txt b/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.ref.txt new file mode 100644 index 0000000000..a20ec3ae3c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.fpp:5.3 + deployment topology D {} + ^ +error: deployment topology cannot appear inside a module template expansion +enclosing template expansion is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/deployment_topology_in_expansion.fpp:4.1 +expand T() { +^ diff --git a/compiler/tools/fpp-check/test/template/deployment_topology_in_template.fpp b/compiler/tools/fpp-check/test/template/deployment_topology_in_template.fpp new file mode 100644 index 0000000000..0f30faec75 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/deployment_topology_in_template.fpp @@ -0,0 +1,5 @@ +# A deployment topology may not appear in a template definition, +# even if the template is not expanded +module template T() { + deployment topology D {} +} diff --git a/compiler/tools/fpp-check/test/template/deployment_topology_in_template.ref.txt b/compiler/tools/fpp-check/test/template/deployment_topology_in_template.ref.txt new file mode 100644 index 0000000000..607b0963ea --- /dev/null +++ b/compiler/tools/fpp-check/test/template/deployment_topology_in_template.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/deployment_topology_in_template.fpp:4.3 + deployment topology D {} + ^ +error: deployment topology cannot appear inside a module template +enclosing template is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/deployment_topology_in_template.fpp:3.1 +module template T() { +^ diff --git a/compiler/tools/fpp-check/test/template/duplicate_def.fpp b/compiler/tools/fpp-check/test/template/duplicate_def.fpp new file mode 100644 index 0000000000..b293ba45f1 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/duplicate_def.fpp @@ -0,0 +1,8 @@ +module template T(constant p: U32) { + constant cOut1 = p + 2 + constant cOut2 = p + 2 +} + +expand T(constant 10) + +constant cOut2 = cOut1 + 2 diff --git a/compiler/tools/fpp-check/test/template/duplicate_def.ref.txt b/compiler/tools/fpp-check/test/template/duplicate_def.ref.txt new file mode 100644 index 0000000000..706059e3c8 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/duplicate_def.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/duplicate_def.fpp:3.5 + constant cOut2 = p + 2 + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/duplicate_def.fpp:6.1 +error: redefinition of symbol cOut2 +previous definition is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/duplicate_def.fpp:8.1 +constant cOut2 = cOut1 + 2 +^ diff --git a/compiler/tools/fpp-check/test/template/expand_in_template_def.fpp b/compiler/tools/fpp-check/test/template/expand_in_template_def.fpp new file mode 100644 index 0000000000..54621c4d93 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/expand_in_template_def.fpp @@ -0,0 +1,9 @@ +module template T1 { + +} + +module template T2 { + + expand T1 + +} diff --git a/compiler/tools/fpp-check/test/template/expand_in_template_def.ref.txt b/compiler/tools/fpp-check/test/template/expand_in_template_def.ref.txt new file mode 100644 index 0000000000..469ffdc576 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/expand_in_template_def.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/expand_in_template_def.fpp:7.3 + expand T1 + ^ +error: template expansion specifiers cannot appear inside a module template +enclosing template is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/expand_in_template_def.fpp:5.1 +module template T2 { +^ diff --git a/compiler/tools/fpp-check/test/template/import_two_expansions_ok-unconnected.ref.txt b/compiler/tools/fpp-check/test/template/import_two_expansions_ok-unconnected.ref.txt new file mode 100644 index 0000000000..9f1efa7449 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/import_two_expansions_ok-unconnected.ref.txt @@ -0,0 +1,10 @@ +Topology E1.Sub: + w1.spare + +Topology E2.Sub: + w2.spare + +Topology Dep: + w1.spare + w2.spare + diff --git a/compiler/tools/fpp-check/test/template/import_two_expansions_ok.fpp b/compiler/tools/fpp-check/test/template/import_two_expansions_ok.fpp new file mode 100644 index 0000000000..1680a9bcdd --- /dev/null +++ b/compiler/tools/fpp-check/test/template/import_two_expansions_ok.fpp @@ -0,0 +1,40 @@ +port P + +passive component Worker { + output port pOut: P + sync input port pIn: P + sync input port spare: P +} + +passive component Hub { + output port hOut: [2] P + sync input port hIn: [2] P +} + +instance w1: Worker base id 0x100 +instance w2: Worker base id 0x200 +instance hub: Hub base id 0x300 + +interface WorkerI { + output port pOut: P + sync input port pIn: P +} + +module template T(instance w: WorkerI, constant idx: U32) { + topology Sub { + instance w + instance hub + connections C { + w.pOut -> hub.hIn[idx] + hub.hOut[idx] -> w.pIn + } + } +} + +module E1 { expand T(instance w1, constant 0) } +module E2 { expand T(instance w2, constant 1) } + +deployment topology Dep { + import E1.Sub + import E2.Sub +} diff --git a/compiler/tools/fpp-check/test/template/import_two_expansions_ok.ref.txt b/compiler/tools/fpp-check/test/template/import_two_expansions_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces.fpp b/compiler/tools/fpp-check/test/template/interfaces.fpp new file mode 100644 index 0000000000..48b217d714 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces.fpp @@ -0,0 +1,48 @@ +port P + +interface A_I { + async input port aIn: [2] P + output port bOut: [2] P +} + +interface B_I { + output port aOut: [2] P + async input port bIn: [2] P +} + +active component A { + import A_I +} + +active component B { + import B_I +} + +# Two instances of the same component +instance a1: A base id 10 queue size 10 stack size 1024 +instance a2: A base id 20 queue size 10 stack size 1024 + +instance b: B base id 100 queue size 10 stack size 1024 + +module template T(instance i: A_I, constant idx: U32) { + topology P { + instance i + instance b + + connections C { + i.bOut[idx] -> b.bIn[idx] + b.aOut[idx] -> i.aIn[idx] + } + } +} + +# Instantiate two topologies that point to separate connections of b +module M1 { + expand T(instance a1, constant 0) +} + +module M2 { + module M { + expand T(instance a2, constant 1) + } +} diff --git a/compiler/tools/fpp-check/test/template/interfaces.ref.txt b/compiler/tools/fpp-check/test/template/interfaces.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.fpp b/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.fpp new file mode 100644 index 0000000000..2977cca29a --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.fpp @@ -0,0 +1,24 @@ +port P + +interface I { + sync input port pIn: P +} + +# A component that has a port named pIn, but with the wrong direction, +# so it does not conform to I +passive component C { + output port pIn: P +} + +instance c: C base id 0x100 + +module template T(instance i: I) { + topology Top { + instance i + } +} + +module M { + # c.pIn does not match I.pIn, so it does not implement I + expand T(instance c) +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.ref.txt new file mode 100644 index 0000000000..22cab6e65c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.ref.txt @@ -0,0 +1,13 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.fpp:23.23 + expand T(instance c) + ^ +error: port interface not implemented +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.fpp:10.5 + output port pIn: P + ^ +error: port instance does not match definition in interface: +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_arg_bad_signature.fpp:4.5 + sync input port pIn: P + ^ diff --git a/compiler/tools/fpp-check/test/template/interfaces_arg_conformance_ok.fpp b/compiler/tools/fpp-check/test/template/interfaces_arg_conformance_ok.fpp new file mode 100644 index 0000000000..69cfe3a5c7 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_arg_conformance_ok.fpp @@ -0,0 +1,25 @@ +port P + +interface I { + sync input port pIn: P + output port pOut: P +} + +passive component C { + sync input port pIn: P + output port pOut: P + output port extra: P +} + +instance c: C base id 0x100 + +module template T(instance i: I) { + topology Top { + instance i + } +} + +module M { + # c provides a superset of I, so it conforms + expand T(instance c) +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_arg_conformance_ok.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_arg_conformance_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.fpp b/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.fpp new file mode 100644 index 0000000000..b4aeebb4ef --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.fpp @@ -0,0 +1,23 @@ +port P + +interface I { + sync input port pIn: P + output port pOut: P +} + +passive component C { + sync input port pIn: P +} + +instance c: C base id 0x100 + +module template T(instance i: I) { + topology Top { + instance i + } +} + +module M { + # c is missing pOut, so it does not implement I + expand T(instance c) +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.ref.txt new file mode 100644 index 0000000000..c3c7d413e7 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.fpp:22.23 + expand T(instance c) + ^ +error: port interface not implemented +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_arg_missing_port.fpp:5.5 + output port pOut: P + ^ +error: port instance missing diff --git a/compiler/tools/fpp-check/test/template/interfaces_basic.fpp b/compiler/tools/fpp-check/test/template/interfaces_basic.fpp new file mode 100644 index 0000000000..25a6931b95 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_basic.fpp @@ -0,0 +1,15 @@ +interface I { + +} + +module template T(instance i: I) { + topology P { + instance i + } +} + +passive component C {} + +instance c: C base id 1 + +expand T(instance c) diff --git a/compiler/tools/fpp-check/test/template/interfaces_basic.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_basic.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.fpp b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.fpp new file mode 100644 index 0000000000..b4172f5796 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.fpp @@ -0,0 +1,56 @@ +port P + +interface A_I { + async input port aIn: [2] P + output port bOut: [2] P +} + +interface B_I { + output port aOut: [2] P + async input port bIn: [2] P +} + +active component A1 { + import A_I + + async input port aIn2: [2] P +} + +active component A2 { + import A_I +} + +active component B { + import B_I +} + +# Two instances of the same component +instance a1: A1 base id 10 queue size 10 stack size 1024 +instance a2: A2 base id 20 queue size 10 stack size 1024 + +instance b: B base id 100 queue size 10 stack size 1024 + +module template T(instance i: A_I, constant idx: U32) { + topology P { + instance i + instance b + + connections C { + i.bOut[idx] -> b.bIn[idx] + + # Input port exists on `a1` and `a2` but not in `A_I` + b.aOut[idx] -> i.aIn2[idx] + } + } +} + +# Instantiate two topologies that point to separate connections of b +module M1 { + expand T(instance a1, constant 0) +} + +module M2 { + module M { + # expand T(instance a2, constant 1) + } +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.ref.txt new file mode 100644 index 0000000000..eee693b720 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.fpp:42.30 + b.aOut[idx] -> i.aIn2[idx] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance.fpp:49.5 +error: aIn2 is not a port instance of interface A_I diff --git a/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.fpp b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.fpp new file mode 100644 index 0000000000..1a4f4cc2e9 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.fpp @@ -0,0 +1,59 @@ +port P + +interface A_I1 { + async input port aIn: [2] P + output port bOut: [2] P +} + +interface A_I2 { + async input port aIn2: [2] P + output port bOut2: [2] P +} + +interface B_I { + output port aOut: [2] P + async input port bIn: [2] P +} + +active component A1 { + import A_I1 + import A_I2 + + async input port aIn3: [2] P +} + +active component B { + import B_I +} + +# Two instances of the same component +instance a1: A1 base id 10 queue size 10 stack size 1024 +instance b: B base id 100 queue size 10 stack size 1024 + +module template T(instance i: A_I1, constant idx: U32) { + constant a = 0 + constant b = a + 1 + + topology Top { + # Import `a1` using the `A_I1` interface + instance i + + instance b + + connections C { + # Connect to a port inside `A_I1` + i.bOut[idx] -> b.bIn[idx] + + # Connect to a port inside `A_I2` + b.aOut[idx] -> i.aIn2[idx] + + # Connect to a port outside of `A_I1 | A_I2` + b.aOut[idx + 1] -> i.aIn3[idx] + } + } +} + +# Instantiate two topologies that point to separate connections of b +module M1 { + expand T(instance a1, constant 0) +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.ref.txt new file mode 100644 index 0000000000..f267e12465 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.fpp:48.30 + b.aOut[idx] -> i.aIn2[idx] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name.fpp:58.5 +error: aIn2 is not a port instance of interface A_I1 diff --git a/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.fpp b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.fpp new file mode 100644 index 0000000000..c187d5f373 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.fpp @@ -0,0 +1,59 @@ +port P + +interface A_I1 { + async input port aIn: [2] P + output port bOut: [2] P +} + +interface A_I2 { + async input port aIn2: [2] P + output port bOut2: [2] P +} + +interface B_I { + output port aOut: [2] P + async input port bIn: [2] P +} + +active component A1 { + import A_I1 + import A_I2 + + async input port aIn3: [2] P +} + +active component B { + import B_I +} + +# Two instances of the same component +instance a1: A1 base id 10 queue size 10 stack size 1024 +instance b: B base id 100 queue size 10 stack size 1024 + +module template T(instance i1: A_I1, instance i2: A_I2, constant idx: U32) { + constant a = 0 + constant b = a + 1 + + topology Top { + # Import `a1` using the `A_I1` interface + instance i1 + + # Import `a2` using `A_I2` interface + instance i2 + + instance b + + connections C { + # Connect to a port inside `A_I1` + i1.bOut[idx] -> b.bIn[idx] + + # Connect to a port inside `A_I2` on the wrong alias + b.aOut[idx] -> i1.aIn2[idx] + } + } +} + +# Instantiate two topologies that point to separate connections of b +module M1 { + expand T(instance a1, instance a1, constant 0) +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.ref.txt new file mode 100644 index 0000000000..5b1945149f --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.fpp:51.31 + b.aOut[idx] -> i1.aIn2[idx] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_invalid_port_instance_name_aliased.fpp:58.5 +error: aIn2 is not a port instance of interface A_I1 diff --git a/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok-unconnected.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok-unconnected.ref.txt new file mode 100644 index 0000000000..3c6324e889 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok-unconnected.ref.txt @@ -0,0 +1,3 @@ +Topology Top: + v.timeGetOut + diff --git a/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok.fpp b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok.fpp new file mode 100644 index 0000000000..1d10729e44 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok.fpp @@ -0,0 +1,30 @@ +module Fw { + port Time +} + +interface TimeUserI { + time get port timeGetOut +} + +passive component TimeSource { + sync input port timeGetIn: Fw.Time +} + +passive component User { + time get port timeGetOut +} + +instance timeSource: TimeSource base id 0x100 +instance u: User base id 0x200 +instance v: User base id 0x300 + +module template T(instance i: TimeUserI) { + topology Top { + instance timeSource + instance i + instance v + time connections instance timeSource { i } + } +} + +expand T(instance u) diff --git a/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.fpp b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.fpp new file mode 100644 index 0000000000..38f079abae --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.fpp @@ -0,0 +1,29 @@ +module Fw { + port Time +} + +interface I { +} + +passive component TimeSource { + sync input port timeGetIn: Fw.Time +} + +instance timeSource: TimeSource base id 0x100 + +# Sub satisfies the empty interface I, but it is a topology and not a +# component instance +topology Sub { +} + +module template T(instance i: I) { + topology Top { + instance timeSource + instance i + # i is an explicit pattern target, so it must represent a component + # instance + time connections instance timeSource { i } + } +} + +expand T(instance Sub) diff --git a/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.ref.txt new file mode 100644 index 0000000000..c619cf55f4 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.fpp:25.44 + time connections instance timeSource { i } + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.fpp:29.1 +error: invalid use of symbol i: not a component instance symbol +symbol is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_pattern_explicit_target_topology.fpp:16.1 +topology Sub { +^ diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.fpp b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.fpp new file mode 100644 index 0000000000..5ed2ef1dc0 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.fpp @@ -0,0 +1,13 @@ +interface I { +} + +deployment topology Dep { +} + +module template T(instance i: I) { + topology Outer { + instance i + } +} + +expand T(instance Dep) diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.ref.txt new file mode 100644 index 0000000000..629dc57f70 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.fpp:9.5 + instance i + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.fpp:13.1 +error: invalid use of symbol i: use of deployment topology is not allowed here +symbol is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/interfaces_topology_arg_deployment.fpp:4.1 +deployment topology Dep { +^ diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok-unconnected.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok-unconnected.ref.txt new file mode 100644 index 0000000000..0f6455a1db --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok-unconnected.ref.txt @@ -0,0 +1,8 @@ +Topology Sub: + prod.pOut + prod.pOut2 + +Topology Outer: + cons.pIn2 + prod.pOut2 + diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok.fpp b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok.fpp new file mode 100644 index 0000000000..54015c97b2 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok.fpp @@ -0,0 +1,35 @@ +port P + +passive component Producer { + output port pOut: P + output port pOut2: P +} + +passive component Consumer { + sync input port pIn: P + sync input port pIn2: P +} + +instance prod: Producer base id 0x100 +instance cons: Consumer base id 0x200 + +interface I { + output port pOut: P +} + +topology Sub { + instance prod + port pOut = prod.pOut +} + +module template T(instance i: I) { + topology Outer { + instance i + instance cons + connections C { + i.pOut -> cons.pIn + } + } +} + +expand T(instance Sub) diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok-unconnected.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok-unconnected.ref.txt new file mode 100644 index 0000000000..0f6455a1db --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok-unconnected.ref.txt @@ -0,0 +1,8 @@ +Topology Sub: + prod.pOut + prod.pOut2 + +Topology Outer: + cons.pIn2 + prod.pOut2 + diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok.fpp b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok.fpp new file mode 100644 index 0000000000..6320d28b49 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok.fpp @@ -0,0 +1,35 @@ +port P + +passive component Producer { + output port pOut: P + output port pOut2: P +} + +passive component Consumer { + sync input port pIn: P + sync input port pIn2: P +} + +instance prod: Producer base id 0x100 +instance cons: Consumer base id 0x200 + +interface I { + output port pOut: P +} + +module template T(instance i: I) { + topology Outer { + instance i + instance cons + connections C { + i.pOut -> cons.pIn + } + } +} + +expand T(instance Sub) + +topology Sub { + instance prod + port pOut = prod.pOut +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_topology_arg_order_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/interfaces_valid_port_instance_name_aliased.fpp b/compiler/tools/fpp-check/test/template/interfaces_valid_port_instance_name_aliased.fpp new file mode 100644 index 0000000000..8334c4738a --- /dev/null +++ b/compiler/tools/fpp-check/test/template/interfaces_valid_port_instance_name_aliased.fpp @@ -0,0 +1,59 @@ +port P + +interface A_I1 { + async input port aIn: [2] P + output port bOut: [2] P +} + +interface A_I2 { + async input port aIn2: [2] P + output port bOut2: [2] P +} + +interface B_I { + output port aOut: [2] P + async input port bIn: [2] P +} + +active component A1 { + import A_I1 + import A_I2 + + async input port aIn3: [2] P +} + +active component B { + import B_I +} + +# Two instances of the same component +instance a1: A1 base id 10 queue size 10 stack size 1024 +instance b: B base id 100 queue size 10 stack size 1024 + +module template T(instance i1: A_I1, instance i2: A_I2, constant idx: U32) { + constant a = 0 + constant b = a + 1 + + topology Top { + # Import `a1` using the `A_I1` interface + instance i1 + + # Import `a2` using `A_I2` interface + instance i2 + + instance b + + connections C { + # Connect to a port inside `A_I1` + i1.bOut[idx] -> b.bIn[idx] + + # Connect to a port inside `A_I2` + b.aOut[idx] -> i2.aIn2[idx] + } + } +} + +# Instantiate two topologies that point to separate connections of b +module M1 { + expand T(instance a1, instance a1, constant 0) +} diff --git a/compiler/tools/fpp-check/test/template/interfaces_valid_port_instance_name_aliased.ref.txt b/compiler/tools/fpp-check/test/template/interfaces_valid_port_instance_name_aliased.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/module_merge_ok.fpp b/compiler/tools/fpp-check/test/template/module_merge_ok.fpp new file mode 100644 index 0000000000..eacc475f2f --- /dev/null +++ b/compiler/tools/fpp-check/test/template/module_merge_ok.fpp @@ -0,0 +1,15 @@ +module template T { + module Inner { + constant a = 1 + } +} + +module M { + module Inner { + constant b = 2 + } + + expand T +} + +constant c = M.Inner.a + M.Inner.b diff --git a/compiler/tools/fpp-check/test/template/module_merge_ok.ref.txt b/compiler/tools/fpp-check/test/template/module_merge_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/nested_expand.fpp b/compiler/tools/fpp-check/test/template/nested_expand.fpp new file mode 100644 index 0000000000..a9e989c18f --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_expand.fpp @@ -0,0 +1,9 @@ +module template T1 { + +} + +expand T1 { + + expand T1 + +} diff --git a/compiler/tools/fpp-check/test/template/nested_expand.ref.txt b/compiler/tools/fpp-check/test/template/nested_expand.ref.txt new file mode 100644 index 0000000000..5db5a806b4 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_expand.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/nested_expand.fpp:7.3 + expand T1 + ^ +error: template expansions cannot be nested +enclosing template expansion is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/nested_expand.fpp:5.1 +expand T1 { +^ diff --git a/compiler/tools/fpp-check/test/template/nested_scope_resolution.fpp b/compiler/tools/fpp-check/test/template/nested_scope_resolution.fpp new file mode 100644 index 0000000000..77d7f1643e --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_scope_resolution.fpp @@ -0,0 +1,17 @@ +module M { + + constant n = 0 + + module template T { + module Inner { + array A = [n] U32 + } + } + +} + +module N { + constant n = 3 + + expand M.T +} diff --git a/compiler/tools/fpp-check/test/template/nested_scope_resolution.ref.txt b/compiler/tools/fpp-check/test/template/nested_scope_resolution.ref.txt new file mode 100644 index 0000000000..7740deac5e --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_scope_resolution.ref.txt @@ -0,0 +1,7 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/nested_scope_resolution.fpp:7.18 + array A = [n] U32 + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/nested_scope_resolution.fpp:16.3 +error: invalid array size 0 +note: size must be greater than zero diff --git a/compiler/tools/fpp-check/test/template/nested_scope_resolution_ok.fpp b/compiler/tools/fpp-check/test/template/nested_scope_resolution_ok.fpp new file mode 100644 index 0000000000..b0a03ec945 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_scope_resolution_ok.fpp @@ -0,0 +1,29 @@ +module M { + + constant n = 3 + + module template T { + + module Inner { + array IA = [n] U32 default [1, 2, 3] + } + + passive component C { + array CA = [n] U32 default [1, 2, 3] + } + + array A = [n] U32 default [1, 2, 3] + + struct S { + x: [n] U32 + } + + } + +} + +module N { + constant n = 0 + + expand M.T +} diff --git a/compiler/tools/fpp-check/test/template/nested_scope_resolution_ok.ref.txt b/compiler/tools/fpp-check/test/template/nested_scope_resolution_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/nested_template_def.fpp b/compiler/tools/fpp-check/test/template/nested_template_def.fpp new file mode 100644 index 0000000000..0b47b127ce --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_template_def.fpp @@ -0,0 +1,7 @@ +module template T1 { + + module template T2 { + + } + +} diff --git a/compiler/tools/fpp-check/test/template/nested_template_def.ref.txt b/compiler/tools/fpp-check/test/template/nested_template_def.ref.txt new file mode 100644 index 0000000000..f3c2f25428 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/nested_template_def.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/nested_template_def.fpp:3.5 + module template T2 { + ^ +error: module template definitions cannot be nested +enclosing template is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/nested_template_def.fpp:1.1 +module template T1 { +^ diff --git a/compiler/tools/fpp-check/test/template/param_body_def_different_group_ok.fpp b/compiler/tools/fpp-check/test/template/param_body_def_different_group_ok.fpp new file mode 100644 index 0000000000..e28459850e --- /dev/null +++ b/compiler/tools/fpp-check/test/template/param_body_def_different_group_ok.fpp @@ -0,0 +1,6 @@ +module template T(constant x: U32) { + type x = U32 + array A = [x] x default [1, 2, 3] +} + +expand T(constant 3) diff --git a/compiler/tools/fpp-check/test/template/param_body_def_different_group_ok.ref.txt b/compiler/tools/fpp-check/test/template/param_body_def_different_group_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/param_conflict_body_def.fpp b/compiler/tools/fpp-check/test/template/param_conflict_body_def.fpp new file mode 100644 index 0000000000..7247f49046 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/param_conflict_body_def.fpp @@ -0,0 +1,6 @@ +module template T(constant x: U32) { + constant x = 0 + constant c = x +} + +expand T(constant 3) diff --git a/compiler/tools/fpp-check/test/template/param_conflict_body_def.ref.txt b/compiler/tools/fpp-check/test/template/param_conflict_body_def.ref.txt new file mode 100644 index 0000000000..ad3584aec9 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/param_conflict_body_def.ref.txt @@ -0,0 +1,10 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/param_conflict_body_def.fpp:1.19 +module template T(constant x: U32) { + ^ +error: template parameter x conflicts with a definition in the template body +conflicting definition is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/param_conflict_body_def.fpp:2.5 + constant x = 0 + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/param_conflict_body_def.fpp:6.1 diff --git a/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.fpp b/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.fpp new file mode 100644 index 0000000000..b961c4ab5d --- /dev/null +++ b/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.fpp @@ -0,0 +1,5 @@ +module template T(constant x: U32, constant x: I32) { + constant c = x +} + +expand T(constant 1, constant 2) diff --git a/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.ref.txt b/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.ref.txt new file mode 100644 index 0000000000..73bb53bc69 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.fpp:5.31 +expand T(constant 1, constant 2) + ^ +error: redefinition of symbol x +previous definition is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/param_conflict_same_name_group.fpp:5.19 +expand T(constant 1, constant 2) + ^ diff --git a/compiler/tools/fpp-check/test/template/param_same_name_different_groups_ok.fpp b/compiler/tools/fpp-check/test/template/param_same_name_different_groups_ok.fpp new file mode 100644 index 0000000000..898954525c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/param_same_name_different_groups_ok.fpp @@ -0,0 +1,5 @@ +module template T(constant x: U32, type x) { + array A = [x] x default [1, 2, 3] +} + +expand T(constant 3, type U32) diff --git a/compiler/tools/fpp-check/test/template/param_same_name_different_groups_ok.ref.txt b/compiler/tools/fpp-check/test/template/param_same_name_different_groups_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/parameter_shadow_error.fpp b/compiler/tools/fpp-check/test/template/parameter_shadow_error.fpp new file mode 100644 index 0000000000..e45198e49d --- /dev/null +++ b/compiler/tools/fpp-check/test/template/parameter_shadow_error.fpp @@ -0,0 +1,7 @@ +constant a = 0 + +module template T(constant a: bool) { + array A = [3] U32 default [ a, a, a ] +} + +expand T(constant false) diff --git a/compiler/tools/fpp-check/test/template/parameter_shadow_error.ref.txt b/compiler/tools/fpp-check/test/template/parameter_shadow_error.ref.txt new file mode 100644 index 0000000000..cfb511f330 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/parameter_shadow_error.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/parameter_shadow_error.fpp:4.29 + array A = [3] U32 default [ a, a, a ] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/parameter_shadow_error.fpp:7.1 +error: cannot convert [3] bool to array A diff --git a/compiler/tools/fpp-check/test/template/parameter_shadow_ok.fpp b/compiler/tools/fpp-check/test/template/parameter_shadow_ok.fpp new file mode 100644 index 0000000000..5bf73ef207 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/parameter_shadow_ok.fpp @@ -0,0 +1,7 @@ +constant a = 0 + +module template T(constant a: bool) { + array A = [3] U32 default [ .a, .a, .a ] +} + +expand T(constant false) diff --git a/compiler/tools/fpp-check/test/template/parameter_shadow_ok.ref.txt b/compiler/tools/fpp-check/test/template/parameter_shadow_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/run b/compiler/tools/fpp-check/test/template/run new file mode 100755 index 0000000000..92816cad0e --- /dev/null +++ b/compiler/tools/fpp-check/test/template/run @@ -0,0 +1,4 @@ +#!/bin/sh + +export LOCAL_PATH_PREFIX=`cd ../../../../..; echo $PWD` +../run-script diff --git a/compiler/tools/fpp-check/test/template/run.sh b/compiler/tools/fpp-check/test/template/run.sh new file mode 100644 index 0000000000..ae93964cc8 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/run.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +# Tests that also check the unconnected port report. The report makes the +# instances and connections of an expanded topology observable. + +import_two_expansions_ok() +{ + run_test "-u import_two_expansions_ok-unconnected.out.txt" import_two_expansions_ok && \ + diff -u import_two_expansions_ok-unconnected.out.txt import_two_expansions_ok-unconnected.ref.txt +} + +interfaces_pattern_explicit_target_ok() +{ + run_test "-u interfaces_pattern_explicit_target_ok-unconnected.out.txt" interfaces_pattern_explicit_target_ok && \ + diff -u interfaces_pattern_explicit_target_ok-unconnected.out.txt interfaces_pattern_explicit_target_ok-unconnected.ref.txt +} + +interfaces_topology_arg_ok() +{ + run_test "-u interfaces_topology_arg_ok-unconnected.out.txt" interfaces_topology_arg_ok && \ + diff -u interfaces_topology_arg_ok-unconnected.out.txt interfaces_topology_arg_ok-unconnected.ref.txt +} + +interfaces_topology_arg_order_ok() +{ + run_test "-u interfaces_topology_arg_order_ok-unconnected.out.txt" interfaces_topology_arg_order_ok && \ + diff -u interfaces_topology_arg_order_ok-unconnected.out.txt interfaces_topology_arg_order_ok-unconnected.ref.txt +} diff --git a/compiler/tools/fpp-check/test/template/source_expand_bad_args.fpp b/compiler/tools/fpp-check/test/template/source_expand_bad_args.fpp new file mode 100644 index 0000000000..796116e62a --- /dev/null +++ b/compiler/tools/fpp-check/test/template/source_expand_bad_args.fpp @@ -0,0 +1,9 @@ +module template T { + +} + +expand T(constant 10) { + + constant a = 0 + +} diff --git a/compiler/tools/fpp-check/test/template/source_expand_bad_args.ref.txt b/compiler/tools/fpp-check/test/template/source_expand_bad_args.ref.txt new file mode 100644 index 0000000000..1c04c9f7b7 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/source_expand_bad_args.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/source_expand_bad_args.fpp:5.1 +expand T(constant 10) { +^ +error: expected 0 template arguments, got 1 +template defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/source_expand_bad_args.fpp:1.1 +module template T { +^ diff --git a/compiler/tools/fpp-check/test/template/source_expand_ok.fpp b/compiler/tools/fpp-check/test/template/source_expand_ok.fpp new file mode 100644 index 0000000000..b0de9cc16c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/source_expand_ok.fpp @@ -0,0 +1,9 @@ +module template T { + +} + +expand T { + + constant a = 0 + +} diff --git a/compiler/tools/fpp-check/test/template/source_expand_ok.ref.txt b/compiler/tools/fpp-check/test/template/source_expand_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.fpp b/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.fpp new file mode 100644 index 0000000000..76a128ddc2 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.fpp @@ -0,0 +1,9 @@ +module template T { + +} + +expand T { + + constant a = b + +} diff --git a/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.ref.txt b/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.ref.txt new file mode 100644 index 0000000000..1aa8df51b4 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/source_expand_undefined_symbol.fpp:7.16 + constant a = b + ^ +error: symbol b is not defined +note: looking for a constant here diff --git a/compiler/tools/fpp-check/test/template/state_machine_enum.fpp b/compiler/tools/fpp-check/test/template/state_machine_enum.fpp new file mode 100644 index 0000000000..56aade2648 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/state_machine_enum.fpp @@ -0,0 +1,11 @@ +module template T { + state machine M { + state S + initial enter S + } +} + +expand T + +# Verify that M.State is visible after expanding T +type X = M.State diff --git a/compiler/tools/fpp-check/test/template/state_machine_enum.ref.txt b/compiler/tools/fpp-check/test/template/state_machine_enum.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_alias_default_ok.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_alias_default_ok.fpp new file mode 100644 index 0000000000..58302306ff --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_alias_default_ok.fpp @@ -0,0 +1,12 @@ +# The parameter type is an alias of a struct defined after the expansion +module template M(constant s: T) { + array A = [s.inner.a] U32 default [1, 2, 3] +} + +expand M(constant {}) + +type T = S + +struct S { inner: Inner } + +struct Inner { a: U32 } default { a = 3 } diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_alias_default_ok.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_alias_default_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_anon_array_promote.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_anon_array_promote.fpp new file mode 100644 index 0000000000..e2d117aaf1 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_anon_array_promote.fpp @@ -0,0 +1,10 @@ +array A = [1] U32 +array B = [2] U32 + +struct S { a: A, b: B } + +module template M(constant b: B) { + constant c = [ 1, b ] +} + +expand M(constant [2, 3]) diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_anon_array_promote.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_anon_array_promote.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_array_member_default_ok.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_array_member_default_ok.fpp new file mode 100644 index 0000000000..45c6feae9f --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_array_member_default_ok.fpp @@ -0,0 +1,13 @@ +# The parameter type has an array member whose element type is a struct +# defined after the expansion +module template M(constant s: S) { + array A = [s.elts[1].a] U32 default [1, 2, 3] +} + +expand M(constant {}) + +struct S { elts: Elts } + +array Elts = [2] Inner + +struct Inner { a: U32 } default { a = 3 } diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_array_member_default_ok.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_array_member_default_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.fpp new file mode 100644 index 0000000000..a60269f2cb --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.fpp @@ -0,0 +1,10 @@ +array A = [1] U32 +array B = [2] U32 + +struct S { a: A, b: B } + +module template M(constant s: S) { + constant c = [ s.a, s.b[0] ] +} + +expand M(constant { a = [1], b = [2, 3, 5] }) diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.ref.txt new file mode 100644 index 0000000000..4f8813d490 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/struct_parameter_bad_arg.fpp:10.19 +expand M(constant { a = [1], b = [2, 3, 5] }) + ^ +error: cannot convert value { a = [ 1 ], b = [ 2, 3, 5 ] } to type struct S diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.fpp new file mode 100644 index 0000000000..d8facfacf6 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.fpp @@ -0,0 +1,10 @@ +array A = [1] U32 +array B = [2] U32 + +struct S { a: A, b: B } + +module template M(constant s: S) { + constant c = [ s.a, s.b ] +} + +expand M(constant { a = [1], b = [2, 3] }) diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.ref.txt new file mode 100644 index 0000000000..41a5370005 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.fpp:7.18 + constant c = [ s.a, s.b ] + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/struct_parameter_bad_concat.fpp:10.1 +error: cannot compute common type of array A and array B diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_concat_primitives_promote.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_concat_primitives_promote.fpp new file mode 100644 index 0000000000..7589ddf671 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_concat_primitives_promote.fpp @@ -0,0 +1,13 @@ +array A = [1] U32 +array B = [2] U32 + +struct S { a: A, b: B } + +constant b1 = [2, 3] +constant c1 = [ 1, b1 ] + +module template M(constant b: B) { + constant c = [ 1, b ] +} + +expand M(constant [2, 3]) diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_concat_primitives_promote.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_concat_primitives_promote.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.fpp new file mode 100644 index 0000000000..044d16b406 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.fpp @@ -0,0 +1,10 @@ +# The argument has the wrong type for a nested member +module template M(constant s: S) { + constant c = s.inner.a +} + +expand M(constant { inner = { a = "abc" } }) + +struct S { inner: Inner } + +struct Inner { a: U32 } default { a = 3 } diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.ref.txt new file mode 100644 index 0000000000..7d1b9253a2 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_bad_arg.fpp:6.19 +expand M(constant { inner = { a = "abc" } }) + ^ +error: cannot convert { inner: { a: string } } to struct S diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_ok.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_ok.fpp new file mode 100644 index 0000000000..90cd8085dc --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_ok.fpp @@ -0,0 +1,11 @@ +# The expansion appears before the struct definitions, so evaluating the +# argument must evaluate and finalize the nested struct defaults on demand +module template M(constant s: S) { + array A = [s.inner.a] U32 default [1, 2, 3] +} + +expand M(constant {}) + +struct S { inner: Inner } + +struct Inner { a: U32 } default { a = 3 } diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_ok.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_nested_default_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_ok.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_ok.fpp new file mode 100644 index 0000000000..bc5aeb0d0e --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_ok.fpp @@ -0,0 +1,10 @@ +array A = [1] U32 +array B = [2] U32 + +struct S { a: A, b: B } + +module template M(constant s: S) { + constant c = [ s.a[0], s.b[1] ] +} + +expand M(constant { a = [1], b = [2, 3] }) diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_ok.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_omitted_member_ok.fpp b/compiler/tools/fpp-check/test/template/struct_parameter_omitted_member_ok.fpp new file mode 100644 index 0000000000..c5024070ed --- /dev/null +++ b/compiler/tools/fpp-check/test/template/struct_parameter_omitted_member_ok.fpp @@ -0,0 +1,8 @@ +struct S { a: U32, b: U32 } default { a = 1, b = 2 } + +module template M(constant s: S) { + array A = [s.a] U32 default [1, 2, 3, 4, 5] + array B = [s.b + 3] U32 default [1, 2, 3] +} + +expand M(constant { a = 5 }) diff --git a/compiler/tools/fpp-check/test/template/struct_parameter_omitted_member_ok.ref.txt b/compiler/tools/fpp-check/test/template/struct_parameter_omitted_member_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/system_in_expansion.fpp b/compiler/tools/fpp-check/test/template/system_in_expansion.fpp new file mode 100644 index 0000000000..47ca3e5fd5 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/system_in_expansion.fpp @@ -0,0 +1,8 @@ +# A system definition may not appear in a template expansion +module template T() {} + +deployment topology D {} + +expand T() { + system S: D +} diff --git a/compiler/tools/fpp-check/test/template/system_in_expansion.ref.txt b/compiler/tools/fpp-check/test/template/system_in_expansion.ref.txt new file mode 100644 index 0000000000..6cb0ff225a --- /dev/null +++ b/compiler/tools/fpp-check/test/template/system_in_expansion.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/system_in_expansion.fpp:7.3 + system S: D + ^ +error: system definitions cannot appear inside a module template expansion +enclosing template expansion is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/system_in_expansion.fpp:6.1 +expand T() { +^ diff --git a/compiler/tools/fpp-check/test/template/system_in_template.fpp b/compiler/tools/fpp-check/test/template/system_in_template.fpp new file mode 100644 index 0000000000..8e2e19700c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/system_in_template.fpp @@ -0,0 +1,7 @@ +# A system definition may not appear in a template definition, +# even if the template is not expanded +module template T() { + system S: D +} + +deployment topology D {} diff --git a/compiler/tools/fpp-check/test/template/system_in_template.ref.txt b/compiler/tools/fpp-check/test/template/system_in_template.ref.txt new file mode 100644 index 0000000000..207f39290d --- /dev/null +++ b/compiler/tools/fpp-check/test/template/system_in_template.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/system_in_template.fpp:4.3 + system S: D + ^ +error: system definitions cannot appear inside a module template +enclosing template is defined here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/system_in_template.fpp:3.1 +module template T() { +^ diff --git a/compiler/tools/fpp-check/test/template/template_def_in_expand.fpp b/compiler/tools/fpp-check/test/template/template_def_in_expand.fpp new file mode 100644 index 0000000000..ecdf65e966 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/template_def_in_expand.fpp @@ -0,0 +1,11 @@ +module template T1 { + +} + +expand T1 { + + module template T2 { + + } + +} diff --git a/compiler/tools/fpp-check/test/template/template_def_in_expand.ref.txt b/compiler/tools/fpp-check/test/template/template_def_in_expand.ref.txt new file mode 100644 index 0000000000..ae9b5a94e9 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/template_def_in_expand.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/template_def_in_expand.fpp:7.3 + module template T2 { + ^ +error: module template definitions cannot appear inside a template expansion +enclosing template expansion is here: +[ local path prefix ]/compiler/tools/fpp-check/test/template/template_def_in_expand.fpp:5.1 +expand T1 { +^ diff --git a/compiler/tools/fpp-check/test/template/tests.sh b/compiler/tools/fpp-check/test/template/tests.sh new file mode 100644 index 0000000000..e3845abb42 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/tests.sh @@ -0,0 +1,75 @@ +tests=" +arg_kind_constant_param_instance_arg +arg_kind_constant_param_type_arg +arg_kind_instance_param_constant_arg +arg_kind_instance_param_type_arg +arg_kind_type_param_constant_arg +arg_kind_type_param_instance_arg +arity_no_params_ok +arity_omitted_args +arity_too_few_args +arity_too_many_args +basic_constant +bound_param_capture +bound_param_capture_ok +chained_constants +constant_param_array_promote +constant_param_array_promote_bad_subscript +constant_with_default +definition_point_scoping +definition_point_scoping_ok +deployment_topology_in_template +deployment_topology_in_expansion +duplicate_def +expand_in_template_def +import_two_expansions_ok +interfaces +interfaces_arg_bad_signature +interfaces_arg_conformance_ok +interfaces_arg_missing_port +interfaces_basic +interfaces_invalid_port_instance +interfaces_invalid_port_instance_name +interfaces_invalid_port_instance_name_aliased +interfaces_pattern_explicit_target_ok +interfaces_pattern_explicit_target_topology +interfaces_topology_arg_deployment +interfaces_topology_arg_ok +interfaces_topology_arg_order_ok +interfaces_valid_port_instance_name_aliased +module_merge_ok +nested_expand +nested_scope_resolution +nested_scope_resolution_ok +nested_template_def +param_body_def_different_group_ok +param_conflict_body_def +param_conflict_same_name_group +param_same_name_different_groups_ok +parameter_shadow_error +parameter_shadow_ok +source_expand_bad_args +source_expand_ok +source_expand_undefined_symbol +state_machine_enum +struct_parameter_alias_default_ok +struct_parameter_anon_array_promote +struct_parameter_array_member_default_ok +struct_parameter_bad_arg +struct_parameter_bad_concat +struct_parameter_concat_primitives_promote +struct_parameter_nested_default_bad_arg +struct_parameter_nested_default_ok +struct_parameter_ok +struct_parameter_omitted_member_ok +system_in_template +system_in_expansion +template_def_in_expand +type_arg_string +type_param_implied_use +types +undef_constant_param_type +undef_interface_param_type +use_before_expand +use_before_expand_ok +" diff --git a/compiler/tools/fpp-check/test/template/type_arg_string.fpp b/compiler/tools/fpp-check/test/template/type_arg_string.fpp new file mode 100644 index 0000000000..7b4e53ba2c --- /dev/null +++ b/compiler/tools/fpp-check/test/template/type_arg_string.fpp @@ -0,0 +1,8 @@ +# A string type name used as a template type argument +# implies a use of FwSizeStoreType + +module template T(type U) { + constant c = 0 +} + +expand T(type string size 256) diff --git a/compiler/tools/fpp-check/test/template/type_arg_string.ref.txt b/compiler/tools/fpp-check/test/template/type_arg_string.ref.txt new file mode 100644 index 0000000000..309476c0a4 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/type_arg_string.ref.txt @@ -0,0 +1,8 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/type_arg_string.fpp:8.15 +expand T(type string size 256) + ^ +error: symbol FwSizeStoreType is not defined +note: looking for a type here +note: the symbol FwSizeStoreType has an implied use at the point of the error +note: use of a string type requires this definition diff --git a/compiler/tools/fpp-check/test/template/type_param_implied_use.fpp b/compiler/tools/fpp-check/test/template/type_param_implied_use.fpp new file mode 100644 index 0000000000..69484fa151 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/type_param_implied_use.fpp @@ -0,0 +1,10 @@ +# A string type in a template body implies a use of FwSizeStoreType. +# A bound template parameter may not satisfy that implied use. +# The explicit size is load-bearing: a default-size string also implies a use +# of the constant FW_FIXED_LENGTH_STRING_SIZE, whose error masks this one. + +module template T(type FwSizeStoreType) { + array A = [1] string size 256 +} + +expand T(type U32) diff --git a/compiler/tools/fpp-check/test/template/type_param_implied_use.ref.txt b/compiler/tools/fpp-check/test/template/type_param_implied_use.ref.txt new file mode 100644 index 0000000000..514cd880d3 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/type_param_implied_use.ref.txt @@ -0,0 +1,9 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/type_param_implied_use.fpp:7.19 + array A = [1] string size 256 + ^ + expanded at [ local path prefix ]/compiler/tools/fpp-check/test/template/type_param_implied_use.fpp:10.1 +error: symbol FwSizeStoreType is not defined +note: looking for a type here +note: the symbol FwSizeStoreType has an implied use at the point of the error +note: use of a string type requires this definition diff --git a/compiler/tools/fpp-check/test/template/types.fpp b/compiler/tools/fpp-check/test/template/types.fpp new file mode 100644 index 0000000000..9e4e4291dc --- /dev/null +++ b/compiler/tools/fpp-check/test/template/types.fpp @@ -0,0 +1,26 @@ +module Fw { + + port Time + port Tlm + +} + +module template T(type P) { + port POut(p: P) -> P + + passive component C { + telemetry port tlmOut + time get port timeGetOut + + @ Telemetry channel 0 + telemetry Channel0: P id 0x00 + } +} + +struct S { + member: U32 +} + +expand T(type S) + +instance c: C base id 10 diff --git a/compiler/tools/fpp-check/test/template/types.ref.txt b/compiler/tools/fpp-check/test/template/types.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/template/undef_constant_param_type.fpp b/compiler/tools/fpp-check/test/template/undef_constant_param_type.fpp new file mode 100644 index 0000000000..895e313e17 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/undef_constant_param_type.fpp @@ -0,0 +1 @@ +module template T(constant c: S) {} diff --git a/compiler/tools/fpp-check/test/template/undef_constant_param_type.ref.txt b/compiler/tools/fpp-check/test/template/undef_constant_param_type.ref.txt new file mode 100644 index 0000000000..afb6668dbc --- /dev/null +++ b/compiler/tools/fpp-check/test/template/undef_constant_param_type.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/undef_constant_param_type.fpp:1.31 +module template T(constant c: S) {} + ^ +error: symbol S is not defined +note: looking for a type here diff --git a/compiler/tools/fpp-check/test/template/undef_interface_param_type.fpp b/compiler/tools/fpp-check/test/template/undef_interface_param_type.fpp new file mode 100644 index 0000000000..56363c5ecd --- /dev/null +++ b/compiler/tools/fpp-check/test/template/undef_interface_param_type.fpp @@ -0,0 +1 @@ +module template T(instance i: S) {} diff --git a/compiler/tools/fpp-check/test/template/undef_interface_param_type.ref.txt b/compiler/tools/fpp-check/test/template/undef_interface_param_type.ref.txt new file mode 100644 index 0000000000..4487900ae2 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/undef_interface_param_type.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/undef_interface_param_type.fpp:1.31 +module template T(instance i: S) {} + ^ +error: symbol S is not defined +note: looking for a interface here diff --git a/compiler/tools/fpp-check/test/template/update-ref b/compiler/tools/fpp-check/test/template/update-ref new file mode 100755 index 0000000000..0f11071e7a --- /dev/null +++ b/compiler/tools/fpp-check/test/template/update-ref @@ -0,0 +1,4 @@ +#!/bin/sh + +export LOCAL_PATH_PREFIX=`cd ../../../../..; echo $PWD` +../update-ref-script diff --git a/compiler/tools/fpp-check/test/template/update-ref.sh b/compiler/tools/fpp-check/test/template/update-ref.sh new file mode 100644 index 0000000000..9d16f7a9c0 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/update-ref.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +import_two_expansions_ok() +{ + update "-u import_two_expansions_ok-unconnected.out.txt" import_two_expansions_ok + mv import_two_expansions_ok-unconnected.out.txt import_two_expansions_ok-unconnected.ref.txt +} + +interfaces_pattern_explicit_target_ok() +{ + update "-u interfaces_pattern_explicit_target_ok-unconnected.out.txt" interfaces_pattern_explicit_target_ok + mv interfaces_pattern_explicit_target_ok-unconnected.out.txt interfaces_pattern_explicit_target_ok-unconnected.ref.txt +} + +interfaces_topology_arg_ok() +{ + update "-u interfaces_topology_arg_ok-unconnected.out.txt" interfaces_topology_arg_ok + mv interfaces_topology_arg_ok-unconnected.out.txt interfaces_topology_arg_ok-unconnected.ref.txt +} + +interfaces_topology_arg_order_ok() +{ + update "-u interfaces_topology_arg_order_ok-unconnected.out.txt" interfaces_topology_arg_order_ok + mv interfaces_topology_arg_order_ok-unconnected.out.txt interfaces_topology_arg_order_ok-unconnected.ref.txt +} diff --git a/compiler/tools/fpp-check/test/template/use_before_expand.fpp b/compiler/tools/fpp-check/test/template/use_before_expand.fpp new file mode 100644 index 0000000000..1059cdae01 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/use_before_expand.fpp @@ -0,0 +1,11 @@ +# Negative companion of use_before_expand_ok: the pre-expand use of the +# expansion-contributed constant k is checked against the bound value 4, +# so the default value of size 3 no longer fits. + +module template T(constant n: U32) { + constant k = n +} + +array UsesConstant = [k] U32 default [1, 2, 3] + +expand T(constant 4) diff --git a/compiler/tools/fpp-check/test/template/use_before_expand.ref.txt b/compiler/tools/fpp-check/test/template/use_before_expand.ref.txt new file mode 100644 index 0000000000..93e8d66ea2 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/use_before_expand.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/template/use_before_expand.fpp:9.38 +array UsesConstant = [k] U32 default [1, 2, 3] + ^ +error: cannot convert [3] Integer to array UsesConstant diff --git a/compiler/tools/fpp-check/test/template/use_before_expand_ok.fpp b/compiler/tools/fpp-check/test/template/use_before_expand_ok.fpp new file mode 100644 index 0000000000..c95bdf9347 --- /dev/null +++ b/compiler/tools/fpp-check/test/template/use_before_expand_ok.fpp @@ -0,0 +1,18 @@ +# A definition contributed by an expansion may be used earlier in the +# model than the expand specifier that creates it. Both uses below +# deliberately precede the expand specifier: do not reorder them. + +module template T(constant n: U32, type P) { + constant k = n + type Alias = P +} + +array Triple = [3] U32 + +# Type checks only if Alias is an array type of size 3: pins the type arg +array UsesType = [1] Alias default [ [1, 2, 3] ] + +# Type checks only if k is 3: pins the constant arg +array UsesConstant = [k] U32 default [1, 2, 3] + +expand T(constant 3, type Triple) diff --git a/compiler/tools/fpp-check/test/template/use_before_expand_ok.ref.txt b/compiler/tools/fpp-check/test/template/use_before_expand_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.fpp b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.fpp new file mode 100644 index 0000000000..3929279434 --- /dev/null +++ b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.fpp @@ -0,0 +1,23 @@ +module M { + + passive component C { + + } + + instance c1: C base id 0x500 + + deployment topology T { + + instance c1 + + telemetry packets P { + + packet P1 group 0 { + c1.T + } + + } + + } + +} diff --git a/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.ref.txt b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.ref.txt new file mode 100644 index 0000000000..1cc616e35b --- /dev/null +++ b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.ref.txt @@ -0,0 +1,5 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_error.fpp:16.12 + c1.T + ^ +error: T is not a telemetry channel of component C diff --git a/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_ok.fpp b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_ok.fpp new file mode 100644 index 0000000000..bce1df5ac4 --- /dev/null +++ b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_ok.fpp @@ -0,0 +1,23 @@ +module M { + + passive component C { + + } + + instance c1: C base id 0x500 + + deployment topology T { + + instance .c1 + + telemetry packets P { + + packet P1 group 0 { + .c1.T + } + + } + + } + +} diff --git a/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_ok.ref.txt b/compiler/tools/fpp-check/test/tlm_packets/shadowed_instance_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/tlm_packets/template_ok.fpp b/compiler/tools/fpp-check/test/tlm_packets/template_ok.fpp new file mode 100644 index 0000000000..78634d1535 --- /dev/null +++ b/compiler/tools/fpp-check/test/tlm_packets/template_ok.fpp @@ -0,0 +1,33 @@ +# A packet set may name the channels of the instances that an imported +# topology from a template contributes through its instance parameters + +interface I {} + +module template T(instance i: I, instance j: I) { + + topology Sub { + + instance i + instance j + + } + +} + +expand T(instance c1, instance c2) + +deployment topology Top { + + import Sub + + telemetry packets P { + + packet P group 0 { + c1.T + } + + } omit { + c2.T + } + +} diff --git a/compiler/tools/fpp-check/test/tlm_packets/template_ok.ref.txt b/compiler/tools/fpp-check/test/tlm_packets/template_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/tlm_packets/tests.sh b/compiler/tools/fpp-check/test/tlm_packets/tests.sh index 205d747d8e..4f20f7df30 100644 --- a/compiler/tools/fpp-check/test/tlm_packets/tests.sh +++ b/compiler/tools/fpp-check/test/tlm_packets/tests.sh @@ -18,6 +18,9 @@ not_deployment_topology ok omit_instance_not_defined omit_instance_not_in_topology +template_ok +shadowed_instance_error +shadowed_instance_ok " ok() diff --git a/compiler/tools/fpp-check/test/top_import/shadowed_error.fpp b/compiler/tools/fpp-check/test/top_import/shadowed_error.fpp new file mode 100644 index 0000000000..4babf24699 --- /dev/null +++ b/compiler/tools/fpp-check/test/top_import/shadowed_error.fpp @@ -0,0 +1,13 @@ +topology T { + +} + +module M { + + topology T { + + import T + + } + +} diff --git a/compiler/tools/fpp-check/test/top_import/shadowed_error.ref.txt b/compiler/tools/fpp-check/test/top_import/shadowed_error.ref.txt new file mode 100644 index 0000000000..0faabec6dd --- /dev/null +++ b/compiler/tools/fpp-check/test/top_import/shadowed_error.ref.txt @@ -0,0 +1,6 @@ +fpp-check +[ local path prefix ]/compiler/tools/fpp-check/test/top_import/shadowed_error.fpp:7.3 + topology T { + ^ +error: encountered a use-def cycle: + use T at [ local path prefix ]/compiler/tools/fpp-check/test/top_import/shadowed_error.fpp:9.12 refers to definition T at [ local path prefix ]/compiler/tools/fpp-check/test/top_import/shadowed_error.fpp:7.3 diff --git a/compiler/tools/fpp-check/test/top_import/shadowed_ok.fpp b/compiler/tools/fpp-check/test/top_import/shadowed_ok.fpp new file mode 100644 index 0000000000..1fdbb851ff --- /dev/null +++ b/compiler/tools/fpp-check/test/top_import/shadowed_ok.fpp @@ -0,0 +1,13 @@ +topology T { + +} + +module M { + + topology T { + + import .T + + } + +} diff --git a/compiler/tools/fpp-check/test/top_import/shadowed_ok.ref.txt b/compiler/tools/fpp-check/test/top_import/shadowed_ok.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-check/test/top_import/tests.sh b/compiler/tools/fpp-check/test/top_import/tests.sh index 64eb5f4122..7c9dbc3226 100644 --- a/compiler/tools/fpp-check/test/top_import/tests.sh +++ b/compiler/tools/fpp-check/test/top_import/tests.sh @@ -3,5 +3,7 @@ basic deployment_topology duplicate_topology instance_public +shadowed_error +shadowed_ok undef_topology " diff --git a/compiler/tools/fpp-check/test/type/string_length_shadowed.ref.txt b/compiler/tools/fpp-check/test/type/string_length_shadowed.ref.txt index f0c43a1f7d..e3d29b82ca 100644 --- a/compiler/tools/fpp-check/test/type/string_length_shadowed.ref.txt +++ b/compiler/tools/fpp-check/test/type/string_length_shadowed.ref.txt @@ -2,10 +2,7 @@ fpp-check [ local path prefix ]/compiler/tools/fpp-check/test/type/string_length_shadowed.fpp:7.12 type T = string ^ -error: invalid use of symbol M.FW_FIXED_LENGTH_STRING_SIZE: it shadows FW_FIXED_LENGTH_STRING_SIZE here -symbol is defined here: -[ local path prefix ]/compiler/tools/fpp-check/test/type/string_length_shadowed.fpp:5.3 - constant FW_FIXED_LENGTH_STRING_SIZE = 100 - ^ +error: symbol FW_FIXED_LENGTH_STRING_SIZE is not defined +note: looking for a constant here note: the symbol FW_FIXED_LENGTH_STRING_SIZE has an implied use at the point of the error note: use of a string type with default size requires this definition diff --git a/compiler/tools/fpp-check/test/type/string_size_type_shadowed.ref.txt b/compiler/tools/fpp-check/test/type/string_size_type_shadowed.ref.txt index 4e62813a27..ead73c551d 100644 --- a/compiler/tools/fpp-check/test/type/string_size_type_shadowed.ref.txt +++ b/compiler/tools/fpp-check/test/type/string_size_type_shadowed.ref.txt @@ -2,10 +2,7 @@ fpp-check [ local path prefix ]/compiler/tools/fpp-check/test/type/string_size_type_shadowed.fpp:5.12 type T = string size 100 ^ -error: invalid use of symbol M.FwSizeStoreType: it shadows FwSizeStoreType here -symbol is defined here: -[ local path prefix ]/compiler/tools/fpp-check/test/type/string_size_type_shadowed.fpp:3.3 - type FwSizeStoreType = U16 - ^ +error: symbol FwSizeStoreType is not defined +note: looking for a type here note: the symbol FwSizeStoreType has an implied use at the point of the error note: use of a string type requires this definition diff --git a/compiler/tools/fpp-depend/test/direct_already_seen.fpp b/compiler/tools/fpp-depend/test/direct_already_seen.fpp new file mode 100644 index 0000000000..e4eebdff89 --- /dev/null +++ b/compiler/tools/fpp-depend/test/direct_already_seen.fpp @@ -0,0 +1,9 @@ +# Test direct dependencies already seen at a lower level +# The dependency on b exists in direct_already_seen_a.fpp at level 2 +# But it should be reported here as a direct dependency + +locate constant a at "direct_already_seen_a.fpp" +locate constant b at "direct_already_seen_b.fpp" + +constant c = a +constant d = b diff --git a/compiler/tools/fpp-depend/test/direct_already_seen.ref.txt b/compiler/tools/fpp-depend/test/direct_already_seen.ref.txt new file mode 100644 index 0000000000..7bd3847e07 --- /dev/null +++ b/compiler/tools/fpp-depend/test/direct_already_seen.ref.txt @@ -0,0 +1,2 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/direct_already_seen_a.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/direct_already_seen_b.fpp diff --git a/compiler/tools/fpp-depend/test/direct_already_seen_a.fpp b/compiler/tools/fpp-depend/test/direct_already_seen_a.fpp new file mode 100644 index 0000000000..84b672789d --- /dev/null +++ b/compiler/tools/fpp-depend/test/direct_already_seen_a.fpp @@ -0,0 +1 @@ +constant a = b diff --git a/compiler/tools/fpp-depend/test/direct_already_seen_b.fpp b/compiler/tools/fpp-depend/test/direct_already_seen_b.fpp new file mode 100644 index 0000000000..da14871125 --- /dev/null +++ b/compiler/tools/fpp-depend/test/direct_already_seen_b.fpp @@ -0,0 +1 @@ +constant b = 0 diff --git a/compiler/tools/fpp-depend/test/direct_already_seen_output.ref.txt b/compiler/tools/fpp-depend/test/direct_already_seen_output.ref.txt new file mode 100644 index 0000000000..7bd3847e07 --- /dev/null +++ b/compiler/tools/fpp-depend/test/direct_already_seen_output.ref.txt @@ -0,0 +1,2 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/direct_already_seen_a.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/direct_already_seen_b.fpp diff --git a/compiler/tools/fpp-depend/test/enum_constant.fpp b/compiler/tools/fpp-depend/test/enum_constant.fpp index 6a7dfcf8c9..4c735745c5 100644 --- a/compiler/tools/fpp-depend/test/enum_constant.fpp +++ b/compiler/tools/fpp-depend/test/enum_constant.fpp @@ -2,4 +2,4 @@ locate type E at "E.fpp" locate dictionary type E2 at "E2.fpp" constant c = E.X -dictionary constant c = E2.Y +dictionary constant d = E2.Y diff --git a/compiler/tools/fpp-depend/test/locate_constant_modules_3.fpp b/compiler/tools/fpp-depend/test/locate_constant_modules_3.fpp new file mode 100644 index 0000000000..af3e0164c8 --- /dev/null +++ b/compiler/tools/fpp-depend/test/locate_constant_modules_3.fpp @@ -0,0 +1,11 @@ +module M { + + module N { + + locate constant .M.c at "c.fpp" + + constant x = c + + } + +} diff --git a/compiler/tools/fpp-depend/test/locate_constant_modules_3.ref.txt b/compiler/tools/fpp-depend/test/locate_constant_modules_3.ref.txt new file mode 100644 index 0000000000..d74fc6f6b1 --- /dev/null +++ b/compiler/tools/fpp-depend/test/locate_constant_modules_3.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/c.fpp diff --git a/compiler/tools/fpp-depend/test/run b/compiler/tools/fpp-depend/test/run index 58a5df2b7a..bd267f951e 100755 --- a/compiler/tools/fpp-depend/test/run +++ b/compiler/tools/fpp-depend/test/run @@ -41,66 +41,93 @@ done > default-tests.sh direct() { run_test '-d tmp.out.txt' direct_a direct + run_test_status=$? remove_path_prefix < tmp.out.txt > direct_output.out.txt - compare direct_output + compare direct_output && \ + test $run_test_status -eq 0 +} + +direct_already_seen() +{ + run_test '-d tmp.out.txt' direct_already_seen + run_test_status=$? + remove_path_prefix < tmp.out.txt > direct_already_seen_output.out.txt + compare direct_already_seen_output && \ + test $run_test_status -eq 0 } filenames() { run_test '-g filenames_generated_output.out.txt -u filenames_ut_output.out.txt' \ ../../fpp-filenames/test/ok filenames + run_test_status=$? compare filenames_generated_output && \ - compare filenames_ut_output + compare filenames_ut_output && \ + test $run_test_status -eq 0 } filenames_auto() { run_test '-a -g filenames_auto_generated_output.out.txt -u filenames_auto_ut_output.out.txt' \ ../../fpp-filenames/test/ok filenames + run_test_status=$? compare filenames_auto_generated_output && \ - compare filenames_auto_ut_output + compare filenames_auto_ut_output && \ + test $run_test_status -eq 0 } filenames_include() { run_test '-g filenames_include_generated_output.out.txt -u filenames_include_ut_output.out.txt' \ ../../fpp-filenames/test/include filenames_include + run_test_status=$? compare filenames_include_generated_output && \ - compare filenames_include_ut_output + compare filenames_include_ut_output && \ + test $run_test_status -eq 0 } filenames_include_auto() { run_test '-a -g filenames_include_auto_generated_output.out.txt -u filenames_include_auto_ut_output.out.txt' \ ../../fpp-filenames/test/include filenames_include + run_test_status=$? compare filenames_include_auto_generated_output && \ - compare filenames_include_auto_ut_output + compare filenames_include_auto_ut_output && \ + test $run_test_status -eq 0 } framework() { run_test '-f framework_output.out.txt' framework - compare framework_output + run_test_status=$? + compare framework_output && \ + test $run_test_status -eq 0 } framework_include() { run_test '-f framework_include_output.out.txt' framework_include - compare framework_include_output + run_test_status=$? + compare framework_include_output && \ + test $run_test_status -eq 0 } include() { run_test '-i tmp.out.txt' include + run_test_status=$? remove_path_prefix < tmp.out.txt > include_output.out.txt - compare include_output + compare include_output && \ + test $run_test_status -eq 0 } included_dep_i() { run_test '-i tmp.out.txt' included_dep included_dep_i + run_test_status=$? remove_path_prefix < tmp.out.txt > included_dep_i_output.out.txt - compare included_dep_i_output + compare included_dep_i_output && \ + test $run_test_status -eq 0 } input() @@ -116,15 +143,70 @@ locate_constant_include_no_i() locate_constant_include_i() { run_test '-i tmp.out.txt' locate_constant_include_1 locate_constant_include_i + run_test_status=$? remove_path_prefix < tmp.out.txt > locate_constant_include_i_output.out.txt - compare locate_constant_include_i_output + compare locate_constant_include_i_output && \ + test $run_test_status -eq 0 } missing() { run_test '-m tmp.out.txt' missing + run_test_status=$? remove_path_prefix < tmp.out.txt > missing_output.out.txt - compare missing_output + compare missing_output && \ + test $run_test_status -eq 0 +} + +template_body_direct() +{ + run_test '-d tmp.out.txt' template_body_direct + run_test_status=$? + remove_path_prefix < tmp.out.txt > template_body_direct_output.out.txt + compare template_body_direct_output && \ + test $run_test_status -eq 0 +} + +template_body_locate_split() +{ + run_test '' \ + 'template_body_locate_split_a.fpp template_body_locate_split_b' \ + template_body_locate_split +} + +template_expand_absolute() +{ + run_test '-g template_expand_absolute_generated_output.out.txt' template_expand_absolute + run_test_status=$? + compare template_expand_absolute_generated_output && \ + test $run_test_status -eq 0 +} + +template_expand_chain() +{ + run_test '-g template_expand_chain_generated_output.out.txt' template_expand_chain + run_test_status=$? + compare template_expand_chain_generated_output && \ + test $run_test_status -eq 0 +} + +template_include() +{ + run_test '-i tmp.out.txt' template_include + run_test_status=$? + remove_path_prefix < tmp.out.txt > template_include_output.out.txt + compare template_include_output && \ + test $run_test_status -eq 0 +} + +template_incomplete() +{ + run_test '-g template_incomplete_generated_output.out.txt -u template_incomplete_ut_output.out.txt' \ + template_incomplete + run_test_status=$? + compare template_incomplete_generated_output && \ + compare template_incomplete_ut_output && \ + test $run_test_status -eq 0 } run_suite $tests diff --git a/compiler/tools/fpp-depend/test/shadowed_absolute.fpp b/compiler/tools/fpp-depend/test/shadowed_absolute.fpp new file mode 100644 index 0000000000..2905a8df45 --- /dev/null +++ b/compiler/tools/fpp-depend/test/shadowed_absolute.fpp @@ -0,0 +1,8 @@ +locate constant a at "a.fpp" +locate constant M.a at "M_a.fpp" + +module M { + + constant b = .a + +} diff --git a/compiler/tools/fpp-depend/test/shadowed_absolute.ref.txt b/compiler/tools/fpp-depend/test/shadowed_absolute.ref.txt new file mode 100644 index 0000000000..699b4f65df --- /dev/null +++ b/compiler/tools/fpp-depend/test/shadowed_absolute.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/a.fpp diff --git a/compiler/tools/fpp-depend/test/shadowed_relative.fpp b/compiler/tools/fpp-depend/test/shadowed_relative.fpp new file mode 100644 index 0000000000..4051b20ffa --- /dev/null +++ b/compiler/tools/fpp-depend/test/shadowed_relative.fpp @@ -0,0 +1,8 @@ +locate constant a at "a.fpp" +locate constant M.a at "M_a.fpp" + +module M { + + constant b = a + +} diff --git a/compiler/tools/fpp-depend/test/shadowed_relative.ref.txt b/compiler/tools/fpp-depend/test/shadowed_relative.ref.txt new file mode 100644 index 0000000000..a239446185 --- /dev/null +++ b/compiler/tools/fpp-depend/test/shadowed_relative.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/M_a.fpp diff --git a/compiler/tools/fpp-depend/test/template.fpp b/compiler/tools/fpp-depend/test/template.fpp new file mode 100644 index 0000000000..b454ba13de --- /dev/null +++ b/compiler/tools/fpp-depend/test/template.fpp @@ -0,0 +1,16 @@ +locate interface ParamIface at "template_param_iface.fpp" +locate constant bodyConst at "template_body_dep.fpp" +locate type ArgType at "template_arg_type.fpp" +locate instance argInst at "template_arg_instance.fpp" + +module template T(instance i: ParamIface, type ty) { + constant cOut = bodyConst + struct S { x: ty } + topology Top { + instance i + } +} + +module M { + expand T(instance argInst, type ArgType) +} diff --git a/compiler/tools/fpp-depend/test/template.ref.txt b/compiler/tools/fpp-depend/test/template.ref.txt new file mode 100644 index 0000000000..1efc1b8b2f --- /dev/null +++ b/compiler/tools/fpp-depend/test/template.ref.txt @@ -0,0 +1,4 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_arg_instance.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/template_arg_type.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_dep.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/template_param_iface.fpp diff --git a/compiler/tools/fpp-depend/test/template_arg_instance.fpp b/compiler/tools/fpp-depend/test/template_arg_instance.fpp new file mode 100644 index 0000000000..ad2b87a092 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_arg_instance.fpp @@ -0,0 +1,3 @@ +locate interface ParamIface at "template_param_iface.fpp" +passive component ArgComp { import ParamIface } +instance argInst: ArgComp base id 0x200 diff --git a/compiler/tools/fpp-depend/test/template_arg_type.fpp b/compiler/tools/fpp-depend/test/template_arg_type.fpp new file mode 100644 index 0000000000..e73177d6d1 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_arg_type.fpp @@ -0,0 +1 @@ +type ArgType = U32 diff --git a/compiler/tools/fpp-depend/test/template_body_dep.fpp b/compiler/tools/fpp-depend/test/template_body_dep.fpp new file mode 100644 index 0000000000..adb427d372 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_dep.fpp @@ -0,0 +1 @@ +constant bodyConst = 7 diff --git a/compiler/tools/fpp-depend/test/template_body_direct.fpp b/compiler/tools/fpp-depend/test/template_body_direct.fpp new file mode 100644 index 0000000000..2b04721c89 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_direct.fpp @@ -0,0 +1,9 @@ +# The uses in a template body are direct dependencies of the file that +# defines the template, whether or not the template is expanded +locate component TBodyDirectC at "template_body_direct_comp.fpp" +locate constant tBodyDirectConst at "template_body_direct_const.fpp" + +module template TBodyDirect() { + instance c: TBodyDirectC base id 0x100 + constant c = tBodyDirectConst +} diff --git a/compiler/tools/fpp-depend/test/template_body_direct.ref.txt b/compiler/tools/fpp-depend/test/template_body_direct.ref.txt new file mode 100644 index 0000000000..bc6b869c56 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_direct.ref.txt @@ -0,0 +1,2 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_direct_comp.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_direct_const.fpp diff --git a/compiler/tools/fpp-depend/test/template_body_direct_comp.fpp b/compiler/tools/fpp-depend/test/template_body_direct_comp.fpp new file mode 100644 index 0000000000..8bf7cdb042 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_direct_comp.fpp @@ -0,0 +1 @@ +passive component TBodyDirectC {} diff --git a/compiler/tools/fpp-depend/test/template_body_direct_const.fpp b/compiler/tools/fpp-depend/test/template_body_direct_const.fpp new file mode 100644 index 0000000000..bab9add17a --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_direct_const.fpp @@ -0,0 +1 @@ +constant tBodyDirectConst = 0 diff --git a/compiler/tools/fpp-depend/test/template_body_direct_output.ref.txt b/compiler/tools/fpp-depend/test/template_body_direct_output.ref.txt new file mode 100644 index 0000000000..bc6b869c56 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_direct_output.ref.txt @@ -0,0 +1,2 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_direct_comp.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_direct_const.fpp diff --git a/compiler/tools/fpp-depend/test/template_body_locate.fpp b/compiler/tools/fpp-depend/test/template_body_locate.fpp new file mode 100644 index 0000000000..f87ee26aae --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate.fpp @@ -0,0 +1,8 @@ +module template BodyLocT(constant p: U32) { + locate constant bodyLocConst at "template_body_locate_dep.fpp" + constant cOut = p + bodyLocConst +} + +module M { + expand BodyLocT(constant 1) +} diff --git a/compiler/tools/fpp-depend/test/template_body_locate.ref.txt b/compiler/tools/fpp-depend/test/template_body_locate.ref.txt new file mode 100644 index 0000000000..c65eb0dcc8 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_locate_dep.fpp diff --git a/compiler/tools/fpp-depend/test/template_body_locate_dep.fpp b/compiler/tools/fpp-depend/test/template_body_locate_dep.fpp new file mode 100644 index 0000000000..b8ad9868ea --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate_dep.fpp @@ -0,0 +1 @@ +constant bodyLocConst = 5 diff --git a/compiler/tools/fpp-depend/test/template_body_locate_split.ref.txt b/compiler/tools/fpp-depend/test/template_body_locate_split.ref.txt new file mode 100644 index 0000000000..d1cb45aa4a --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate_split.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_body_locate_split_dep.fpp diff --git a/compiler/tools/fpp-depend/test/template_body_locate_split_a.fpp b/compiler/tools/fpp-depend/test/template_body_locate_split_a.fpp new file mode 100644 index 0000000000..72f10561e3 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate_split_a.fpp @@ -0,0 +1,7 @@ +# This file defines a template whose body uses splitConst. +# The template is expanded in template_body_locate_split_b.fpp. +locate constant splitConst at "template_body_locate_split_dep.fpp" + +module template BodyLocSplitT(constant p: U32) { + constant cOut = p + splitConst +} diff --git a/compiler/tools/fpp-depend/test/template_body_locate_split_b.fpp b/compiler/tools/fpp-depend/test/template_body_locate_split_b.fpp new file mode 100644 index 0000000000..e4ccb2f316 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate_split_b.fpp @@ -0,0 +1,5 @@ +# This file expands the template defined in +# template_body_locate_split_a.fpp. +module M { + expand BodyLocSplitT(constant 1) +} diff --git a/compiler/tools/fpp-depend/test/template_body_locate_split_dep.fpp b/compiler/tools/fpp-depend/test/template_body_locate_split_dep.fpp new file mode 100644 index 0000000000..2b6c7358cd --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_body_locate_split_dep.fpp @@ -0,0 +1 @@ +constant splitConst = 5 diff --git a/compiler/tools/fpp-depend/test/template_cycle_a.fpp b/compiler/tools/fpp-depend/test/template_cycle_a.fpp new file mode 100644 index 0000000000..db544235e7 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_cycle_a.fpp @@ -0,0 +1,8 @@ +# The template body uses cycleConst, so this file depends on the file +# that defines cycleConst. That file expands the template, so it depends +# on this file. +locate constant cycleConst at "template_cycle_b.fpp" + +module template CycleT(constant p: U32) { + constant cOut = p + cycleConst +} diff --git a/compiler/tools/fpp-depend/test/template_cycle_a.ref.txt b/compiler/tools/fpp-depend/test/template_cycle_a.ref.txt new file mode 100644 index 0000000000..b3655d5c55 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_cycle_a.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_cycle_b.fpp diff --git a/compiler/tools/fpp-depend/test/template_cycle_b.fpp b/compiler/tools/fpp-depend/test/template_cycle_b.fpp new file mode 100644 index 0000000000..aebe9201f2 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_cycle_b.fpp @@ -0,0 +1,8 @@ +# This file expands CycleT, so it depends on the file that defines CycleT +locate template CycleT at "template_cycle_a.fpp" + +constant cycleConst = 1 + +module M { + expand CycleT(constant 2) +} diff --git a/compiler/tools/fpp-depend/test/template_cycle_b.ref.txt b/compiler/tools/fpp-depend/test/template_cycle_b.ref.txt new file mode 100644 index 0000000000..04b921ad7b --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_cycle_b.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_cycle_a.fpp diff --git a/compiler/tools/fpp-depend/test/template_expand_absolute.fpp b/compiler/tools/fpp-depend/test/template_expand_absolute.fpp new file mode 100644 index 0000000000..5a53f67f70 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_absolute.fpp @@ -0,0 +1,8 @@ +# The absolute template name resolves to the template at the top level, +# not to the template M.T +locate template T at "template_expand_absolute_top.fpp" +locate template M.T at "template_expand_absolute_m.fpp" + +module M { + expand .T() +} diff --git a/compiler/tools/fpp-depend/test/template_expand_absolute.ref.txt b/compiler/tools/fpp-depend/test/template_expand_absolute.ref.txt new file mode 100644 index 0000000000..80d5527c17 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_absolute.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_expand_absolute_top.fpp diff --git a/compiler/tools/fpp-depend/test/template_expand_absolute_generated_output.ref.txt b/compiler/tools/fpp-depend/test/template_expand_absolute_generated_output.ref.txt new file mode 100644 index 0000000000..b886922a1c --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_absolute_generated_output.ref.txt @@ -0,0 +1,2 @@ +AbsTopSSerializableAc.cpp +AbsTopSSerializableAc.hpp diff --git a/compiler/tools/fpp-depend/test/template_expand_absolute_m.fpp b/compiler/tools/fpp-depend/test/template_expand_absolute_m.fpp new file mode 100644 index 0000000000..2291580a68 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_absolute_m.fpp @@ -0,0 +1,7 @@ +module M { + + module template T() { + struct AbsMS { x: U32 } + } + +} diff --git a/compiler/tools/fpp-depend/test/template_expand_absolute_top.fpp b/compiler/tools/fpp-depend/test/template_expand_absolute_top.fpp new file mode 100644 index 0000000000..4958900189 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_absolute_top.fpp @@ -0,0 +1,3 @@ +module template T() { + struct AbsTopS { x: U32 } +} diff --git a/compiler/tools/fpp-depend/test/template_expand_chain.fpp b/compiler/tools/fpp-depend/test/template_expand_chain.fpp new file mode 100644 index 0000000000..359b207fb6 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_chain.fpp @@ -0,0 +1,7 @@ +# The file that defines T1 expands T2, which is defined in a third file. +# The generated files are the files generated by this file only. +locate template T1 at "template_expand_chain_def1.fpp" + +module M { + expand T1() +} diff --git a/compiler/tools/fpp-depend/test/template_expand_chain.ref.txt b/compiler/tools/fpp-depend/test/template_expand_chain.ref.txt new file mode 100644 index 0000000000..b7ce2bee32 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_chain.ref.txt @@ -0,0 +1,2 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_expand_chain_def1.fpp +[ local path prefix ]/compiler/tools/fpp-depend/test/template_expand_chain_def2.fpp diff --git a/compiler/tools/fpp-depend/test/template_expand_chain_def1.fpp b/compiler/tools/fpp-depend/test/template_expand_chain_def1.fpp new file mode 100644 index 0000000000..e10f0ce10a --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_chain_def1.fpp @@ -0,0 +1,11 @@ +locate template T2 at "template_expand_chain_def2.fpp" + +module template T1() { + struct ChainS1 { x: U32 } +} + +struct ChainD1 { x: U32 } + +module N { + expand T2() +} diff --git a/compiler/tools/fpp-depend/test/template_expand_chain_def2.fpp b/compiler/tools/fpp-depend/test/template_expand_chain_def2.fpp new file mode 100644 index 0000000000..21a1b0c0a5 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_chain_def2.fpp @@ -0,0 +1,3 @@ +module template T2() { + struct ChainS2 { x: U32 } +} diff --git a/compiler/tools/fpp-depend/test/template_expand_chain_generated_output.ref.txt b/compiler/tools/fpp-depend/test/template_expand_chain_generated_output.ref.txt new file mode 100644 index 0000000000..4b4972cdaf --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_chain_generated_output.ref.txt @@ -0,0 +1,2 @@ +ChainS1SerializableAc.cpp +ChainS1SerializableAc.hpp diff --git a/compiler/tools/fpp-depend/test/template_expand_missing_def.fpp b/compiler/tools/fpp-depend/test/template_expand_missing_def.fpp new file mode 100644 index 0000000000..d052d7c0af --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_missing_def.fpp @@ -0,0 +1,3 @@ +locate template T at "template_expand_missing_def_def.fpp" + +expand T() diff --git a/compiler/tools/fpp-depend/test/template_expand_missing_def.ref.txt b/compiler/tools/fpp-depend/test/template_expand_missing_def.ref.txt new file mode 100644 index 0000000000..b050b14be6 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_missing_def.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_expand_missing_def_def.fpp diff --git a/compiler/tools/fpp-depend/test/template_expand_undefined.fpp b/compiler/tools/fpp-depend/test/template_expand_undefined.fpp new file mode 100644 index 0000000000..a1709b7e95 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_expand_undefined.fpp @@ -0,0 +1 @@ +expand T() diff --git a/compiler/tools/fpp-depend/test/template_expand_undefined.ref.txt b/compiler/tools/fpp-depend/test/template_expand_undefined.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-depend/test/template_include.fpp b/compiler/tools/fpp-depend/test/template_include.fpp new file mode 100644 index 0000000000..82fc157928 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_include.fpp @@ -0,0 +1,9 @@ +# An include specifier in a module template body +module template IncT(constant p: U32) { + include "template_include.fppi" + constant cOut = p + includedConst +} + +module M { + expand IncT(constant 1) +} diff --git a/compiler/tools/fpp-depend/test/template_include.fppi b/compiler/tools/fpp-depend/test/template_include.fppi new file mode 100644 index 0000000000..efc754b0c6 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_include.fppi @@ -0,0 +1 @@ +constant includedConst = 3 diff --git a/compiler/tools/fpp-depend/test/template_include.ref.txt b/compiler/tools/fpp-depend/test/template_include.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-depend/test/template_include_output.ref.txt b/compiler/tools/fpp-depend/test/template_include_output.ref.txt new file mode 100644 index 0000000000..94c0dc889f --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_include_output.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_include.fppi diff --git a/compiler/tools/fpp-depend/test/template_incomplete.fpp b/compiler/tools/fpp-depend/test/template_incomplete.fpp new file mode 100644 index 0000000000..df833eaa27 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_incomplete.fpp @@ -0,0 +1,10 @@ +# The template is defined in another file. fpp-depend loads that file to +# expand the template, so the generated files include the files that the +# expansion generates. +locate template IncompleteT at "template_incomplete_def.fpp" + +array IncompleteArr = [3] U32 + +module M { + expand IncompleteT(constant 3) +} diff --git a/compiler/tools/fpp-depend/test/template_incomplete.ref.txt b/compiler/tools/fpp-depend/test/template_incomplete.ref.txt new file mode 100644 index 0000000000..a243740ff3 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_incomplete.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_incomplete_def.fpp diff --git a/compiler/tools/fpp-depend/test/template_incomplete_def.fpp b/compiler/tools/fpp-depend/test/template_incomplete_def.fpp new file mode 100644 index 0000000000..21cb61d85a --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_incomplete_def.fpp @@ -0,0 +1,3 @@ +module template IncompleteT(constant n: U32) { + array IncompleteGenArr = [n] U32 +} diff --git a/compiler/tools/fpp-depend/test/template_incomplete_generated_output.ref.txt b/compiler/tools/fpp-depend/test/template_incomplete_generated_output.ref.txt new file mode 100644 index 0000000000..1b5d5991bd --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_incomplete_generated_output.ref.txt @@ -0,0 +1,4 @@ +IncompleteArrArrayAc.cpp +IncompleteArrArrayAc.hpp +IncompleteGenArrArrayAc.cpp +IncompleteGenArrArrayAc.hpp diff --git a/compiler/tools/fpp-depend/test/template_incomplete_ut_output.ref.txt b/compiler/tools/fpp-depend/test/template_incomplete_ut_output.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-depend/test/template_locate.fpp b/compiler/tools/fpp-depend/test/template_locate.fpp new file mode 100644 index 0000000000..2e13ffe002 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_locate.fpp @@ -0,0 +1,7 @@ +# A template expansion depends on the file that defines the template, even +# when the template definition is located in a separate file. +locate template T at "template_locate_def.fpp" + +module M { + expand T(constant 10) +} diff --git a/compiler/tools/fpp-depend/test/template_locate.ref.txt b/compiler/tools/fpp-depend/test/template_locate.ref.txt new file mode 100644 index 0000000000..6ec03f7b73 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_locate.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_locate_def.fpp diff --git a/compiler/tools/fpp-depend/test/template_locate_def.fpp b/compiler/tools/fpp-depend/test/template_locate_def.fpp new file mode 100644 index 0000000000..1cc32c111a --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_locate_def.fpp @@ -0,0 +1,3 @@ +module template T(constant p: U32) { + constant cOut = p + 1 +} diff --git a/compiler/tools/fpp-depend/test/template_param_iface.fpp b/compiler/tools/fpp-depend/test/template_param_iface.fpp new file mode 100644 index 0000000000..a38bcb6d69 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_param_iface.fpp @@ -0,0 +1,2 @@ +port P +interface ParamIface { sync input port pIn: P } diff --git a/compiler/tools/fpp-depend/test/template_type_arg_string.fpp b/compiler/tools/fpp-depend/test/template_type_arg_string.fpp new file mode 100644 index 0000000000..668c34a0f4 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_type_arg_string.fpp @@ -0,0 +1,10 @@ +locate type FwSizeStoreType at "template_type_arg_string_dep.fpp" +locate constant FW_FIXED_LENGTH_STRING_SIZE at "template_type_arg_string_dep.fpp" + +module template StringArgT(type U) { + struct StringArgS { s: U } +} + +module M { + expand StringArgT(type string) +} diff --git a/compiler/tools/fpp-depend/test/template_type_arg_string.ref.txt b/compiler/tools/fpp-depend/test/template_type_arg_string.ref.txt new file mode 100644 index 0000000000..670ef5f2e1 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_type_arg_string.ref.txt @@ -0,0 +1 @@ +[ local path prefix ]/compiler/tools/fpp-depend/test/template_type_arg_string_dep.fpp diff --git a/compiler/tools/fpp-depend/test/template_type_arg_string_dep.fpp b/compiler/tools/fpp-depend/test/template_type_arg_string_dep.fpp new file mode 100644 index 0000000000..cd0d8788b1 --- /dev/null +++ b/compiler/tools/fpp-depend/test/template_type_arg_string_dep.fpp @@ -0,0 +1,2 @@ +type FwSizeStoreType = U32 +constant FW_FIXED_LENGTH_STRING_SIZE = 256 diff --git a/compiler/tools/fpp-depend/test/tests.sh b/compiler/tools/fpp-depend/test/tests.sh index 41589ef4c6..dec1d36d1d 100644 --- a/compiler/tools/fpp-depend/test/tests.sh +++ b/compiler/tools/fpp-depend/test/tests.sh @@ -12,6 +12,7 @@ def_system dictionary dictionary_no_deployment_top direct +direct_already_seen enum_constant expr_array expr_binop @@ -40,8 +41,11 @@ locate_constant_include_no_i locate_constant_inconsistent locate_constant_modules_1 locate_constant_modules_2 +locate_constant_modules_3 locate_system_inconsistent missing +shadowed_absolute +shadowed_relative spec_async_input_port spec_async_product_recv_port spec_command @@ -63,6 +67,20 @@ special_ports top_implements string_no_size_implied_framework_defs string_with_size_implied_framework_defs +template +template_body_direct +template_body_locate +template_body_locate_split +template_cycle_a +template_cycle_b +template_expand_absolute +template_expand_chain +template_expand_missing_def +template_expand_undefined +template_include +template_incomplete +template_locate +template_type_arg_string topology_implied_type transitive_instance " diff --git a/compiler/tools/fpp-depend/test/update-ref b/compiler/tools/fpp-depend/test/update-ref index f4890a8846..db746d5cf9 100755 --- a/compiler/tools/fpp-depend/test/update-ref +++ b/compiler/tools/fpp-depend/test/update-ref @@ -42,6 +42,11 @@ direct() { remove_path_prefix < tmp.out.txt > direct_output.ref.txt } +direct_already_seen() { + update '-d tmp.out.txt' direct_already_seen + remove_path_prefix < tmp.out.txt > direct_already_seen_output.ref.txt +} + filenames() { update '-g filenames_generated_output.ref.txt -u filenames_ut_output.ref.txt' \ ../../fpp-filenames/test/ok filenames @@ -98,6 +103,35 @@ missing() { update '-m tmp.out.txt' missing; remove_path_prefix < tmp.out.txt > missing_output.ref.txt } +template_body_direct() { + update '-d tmp.out.txt' template_body_direct + remove_path_prefix < tmp.out.txt > template_body_direct_output.ref.txt +} + +template_body_locate_split() { + update '' \ + 'template_body_locate_split_a.fpp template_body_locate_split_b' \ + template_body_locate_split +} + +template_expand_absolute() { + update '-g template_expand_absolute_generated_output.ref.txt' template_expand_absolute +} + +template_expand_chain() { + update '-g template_expand_chain_generated_output.ref.txt' template_expand_chain +} + +template_include() { + update '-i tmp.out.txt' template_include + remove_path_prefix < tmp.out.txt > template_include_output.ref.txt +} + +template_incomplete() { + update '-g template_incomplete_generated_output.ref.txt -u template_incomplete_ut_output.ref.txt' \ + template_incomplete +} + for t in $tests do echo "updating ref output for $t" diff --git a/compiler/tools/fpp-filenames/test/run b/compiler/tools/fpp-filenames/test/run index c7b36692b1..1307c553bd 100755 --- a/compiler/tools/fpp-filenames/test/run +++ b/compiler/tools/fpp-filenames/test/run @@ -80,6 +80,21 @@ ok_test_template_auto_helpers() run_test "-u -t -a" "ok" ok_test_template_auto_helpers } +template() +{ + run_test "" template +} + +template_template() +{ + run_test "-t" "template" template_template +} + +template_test() +{ + run_test "-u" "template" template_test +} + tests=" include include_template @@ -93,6 +108,9 @@ ok_test ok_test_auto_helpers ok_test_template ok_test_template_auto_helpers +template +template_template +template_test " run_suite $tests diff --git a/compiler/tools/fpp-filenames/test/template.fpp b/compiler/tools/fpp-filenames/test/template.fpp new file mode 100644 index 0000000000..0750549bb1 --- /dev/null +++ b/compiler/tools/fpp-filenames/test/template.fpp @@ -0,0 +1,16 @@ +port P + +passive component TopComp { + sync input port pIn: P +} + +module template T(constant n: U32) { + array TemplateArr = [n] U32 + passive component TemplateComp { + sync input port pIn: P + } +} + +module M { + expand T(constant 3) +} diff --git a/compiler/tools/fpp-filenames/test/template.ref.txt b/compiler/tools/fpp-filenames/test/template.ref.txt new file mode 100644 index 0000000000..49a2cfb37c --- /dev/null +++ b/compiler/tools/fpp-filenames/test/template.ref.txt @@ -0,0 +1,4 @@ +PPortAc.cpp +PPortAc.hpp +TopCompComponentAc.cpp +TopCompComponentAc.hpp diff --git a/compiler/tools/fpp-filenames/test/template_template.ref.txt b/compiler/tools/fpp-filenames/test/template_template.ref.txt new file mode 100644 index 0000000000..80e80acb6e --- /dev/null +++ b/compiler/tools/fpp-filenames/test/template_template.ref.txt @@ -0,0 +1,2 @@ +TopComp.template.cpp +TopComp.template.hpp diff --git a/compiler/tools/fpp-filenames/test/template_test.ref.txt b/compiler/tools/fpp-filenames/test/template_test.ref.txt new file mode 100644 index 0000000000..d34d8a2e09 --- /dev/null +++ b/compiler/tools/fpp-filenames/test/template_test.ref.txt @@ -0,0 +1,4 @@ +TopCompGTestBase.cpp +TopCompGTestBase.hpp +TopCompTesterBase.cpp +TopCompTesterBase.hpp diff --git a/compiler/tools/fpp-filenames/test/update-ref b/compiler/tools/fpp-filenames/test/update-ref index abb351a6bb..79d1dec834 100755 --- a/compiler/tools/fpp-filenames/test/update-ref +++ b/compiler/tools/fpp-filenames/test/update-ref @@ -37,3 +37,6 @@ update "-u" "ok" ok_test update "-u -a" "ok" ok_test_auto_helpers update "-u -t" "ok" ok_test_template update "-u -t -a" "ok" ok_test_template_auto_helpers +update "" template +update "-t" "template" template_template +update "-u" "template" template_test diff --git a/compiler/tools/fpp-from-xml/test/syntax/parse_error.ref.txt b/compiler/tools/fpp-from-xml/test/syntax/parse_error.ref.txt index 0b65eb42c9..6a10800642 100644 --- a/compiler/tools/fpp-from-xml/test/syntax/parse_error.ref.txt +++ b/compiler/tools/fpp-from-xml/test/syntax/parse_error.ref.txt @@ -1,3 +1,3 @@ fpp-from-xml file: [ local path prefix ]/tools/fpp-from-xml/test/syntax/parse_error.xml -error: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. +error: org.xml.sax.SAXParseException; systemId: file:[ local path prefix ]/tools/fpp-from-xml/test/syntax/parse_error.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. diff --git a/compiler/tools/fpp-locate-defs/test/defs.ref.txt b/compiler/tools/fpp-locate-defs/test/defs.ref.txt index 5ebd11f284..8537ef65b0 100644 --- a/compiler/tools/fpp-locate-defs/test/defs.ref.txt +++ b/compiler/tools/fpp-locate-defs/test/defs.ref.txt @@ -1,57 +1,59 @@ -locate component C at "defs/defs-1.fpp" -locate component M.C at "defs/defs-2.fpp" -locate constant C.a at "defs/defs-1.fpp" -locate constant M.C.a at "defs/defs-2.fpp" -locate constant M.SM.a at "defs/defs-2.fpp" -locate constant M.a at "defs/defs-2.fpp" -locate constant SM.a at "defs/defs-1.fpp" -locate constant a at "defs/defs-1.fpp" -locate dictionary constant a2 at "defs/defs-1.fpp" -locate dictionary type Alias2 at "defs/defs-1.fpp" -locate dictionary type C.A2 at "defs/defs-1.fpp" -locate dictionary type M.C.E2 at "defs/defs-2.fpp" -locate dictionary type M.C.S2 at "defs/defs-2.fpp" -locate instance M.T at "defs/defs-2.fpp" -locate instance M.c at "defs/defs-2.fpp" -locate instance T at "defs/defs-1.fpp" -locate instance c at "defs/defs-1.fpp" -locate interface I at "defs/defs-1.fpp" -locate port M.P at "defs/defs-2.fpp" -locate port P at "defs/defs-1.fpp" -locate state machine M.C.S at "defs/defs-2.fpp" -locate state machine M.SM at "defs/defs-2.fpp" -locate state machine SM at "defs/defs-1.fpp" -locate system M.S at "defs/defs-2.fpp" -locate system S at "defs/defs-1.fpp" -locate type A at "defs/defs-1.fpp" -locate type Alias at "defs/defs-1.fpp" -locate type C.A at "defs/defs-1.fpp" -locate type C.Alias at "defs/defs-1.fpp" -locate type C.E at "defs/defs-1.fpp" -locate type C.S at "defs/defs-1.fpp" -locate type C.T at "defs/defs-1.fpp" -locate type E at "defs/defs-1.fpp" -locate type M.A at "defs/defs-2.fpp" -locate type M.Alias at "defs/defs-2.fpp" -locate type M.C.A at "defs/defs-2.fpp" -locate type M.C.Alias at "defs/defs-2.fpp" -locate type M.C.E at "defs/defs-2.fpp" -locate type M.C.S at "defs/defs-2.fpp" -locate type M.C.T at "defs/defs-2.fpp" -locate type M.E at "defs/defs-2.fpp" -locate type M.S at "defs/defs-2.fpp" -locate type M.SM.A at "defs/defs-2.fpp" -locate type M.SM.E at "defs/defs-2.fpp" -locate type M.SM.S at "defs/defs-2.fpp" -locate type M.SM.State at "defs/defs-2.fpp" -locate type M.SM.T at "defs/defs-2.fpp" -locate type M.SM.X at "defs/defs-2.fpp" -locate type M.T at "defs/defs-2.fpp" -locate type S at "defs/defs-1.fpp" -locate type SM.A at "defs/defs-1.fpp" -locate type SM.E at "defs/defs-1.fpp" -locate type SM.S at "defs/defs-1.fpp" -locate type SM.State at "defs/defs-1.fpp" -locate type SM.T at "defs/defs-1.fpp" -locate type SM.X at "defs/defs-1.fpp" -locate type T at "defs/defs-1.fpp" +locate component .C at "defs/defs-1.fpp" +locate component .M.C at "defs/defs-2.fpp" +locate constant .C.a at "defs/defs-1.fpp" +locate constant .M.C.a at "defs/defs-2.fpp" +locate constant .M.SM.a at "defs/defs-2.fpp" +locate constant .M.a at "defs/defs-2.fpp" +locate constant .SM.a at "defs/defs-1.fpp" +locate constant .a at "defs/defs-1.fpp" +locate dictionary constant .a2 at "defs/defs-1.fpp" +locate dictionary type .Alias2 at "defs/defs-1.fpp" +locate dictionary type .C.A2 at "defs/defs-1.fpp" +locate dictionary type .M.C.E2 at "defs/defs-2.fpp" +locate dictionary type .M.C.S2 at "defs/defs-2.fpp" +locate instance .M.T at "defs/defs-2.fpp" +locate instance .M.c at "defs/defs-2.fpp" +locate instance .T at "defs/defs-1.fpp" +locate instance .c at "defs/defs-1.fpp" +locate interface .I at "defs/defs-1.fpp" +locate port .M.P at "defs/defs-2.fpp" +locate port .P at "defs/defs-1.fpp" +locate state machine .M.C.SM at "defs/defs-2.fpp" +locate state machine .M.SM at "defs/defs-2.fpp" +locate state machine .SM at "defs/defs-1.fpp" +locate system .M.S at "defs/defs-2.fpp" +locate system .S at "defs/defs-1.fpp" +locate template .M.Tmpl at "defs/defs-2.fpp" +locate template .Tmpl at "defs/defs-1.fpp" +locate type .A at "defs/defs-1.fpp" +locate type .Alias at "defs/defs-1.fpp" +locate type .C.A at "defs/defs-1.fpp" +locate type .C.Alias at "defs/defs-1.fpp" +locate type .C.E at "defs/defs-1.fpp" +locate type .C.S at "defs/defs-1.fpp" +locate type .C.T at "defs/defs-1.fpp" +locate type .E at "defs/defs-1.fpp" +locate type .M.A at "defs/defs-2.fpp" +locate type .M.Alias at "defs/defs-2.fpp" +locate type .M.C.A at "defs/defs-2.fpp" +locate type .M.C.Alias at "defs/defs-2.fpp" +locate type .M.C.E at "defs/defs-2.fpp" +locate type .M.C.S at "defs/defs-2.fpp" +locate type .M.C.T at "defs/defs-2.fpp" +locate type .M.E at "defs/defs-2.fpp" +locate type .M.S at "defs/defs-2.fpp" +locate type .M.SM.A at "defs/defs-2.fpp" +locate type .M.SM.E at "defs/defs-2.fpp" +locate type .M.SM.S at "defs/defs-2.fpp" +locate type .M.SM.State at "defs/defs-2.fpp" +locate type .M.SM.T at "defs/defs-2.fpp" +locate type .M.SM.X at "defs/defs-2.fpp" +locate type .M.T at "defs/defs-2.fpp" +locate type .S at "defs/defs-1.fpp" +locate type .SM.A at "defs/defs-1.fpp" +locate type .SM.E at "defs/defs-1.fpp" +locate type .SM.S at "defs/defs-1.fpp" +locate type .SM.State at "defs/defs-1.fpp" +locate type .SM.T at "defs/defs-1.fpp" +locate type .SM.X at "defs/defs-1.fpp" +locate type .T at "defs/defs-1.fpp" diff --git a/compiler/tools/fpp-locate-defs/test/defs/defs-1.fpp b/compiler/tools/fpp-locate-defs/test/defs/defs-1.fpp index d58128b220..4d70d1390f 100644 --- a/compiler/tools/fpp-locate-defs/test/defs/defs-1.fpp +++ b/compiler/tools/fpp-locate-defs/test/defs/defs-1.fpp @@ -42,8 +42,12 @@ passive component C { instance c: C base id 0x100 -topology T { +topology T { } +module template Tmpl(constant n: U32) { + array TArr = [n] U32 +} + system S: T diff --git a/compiler/tools/fpp-locate-defs/test/defs/defs-2.fpp b/compiler/tools/fpp-locate-defs/test/defs/defs-2.fpp index 2bd385541b..223d93070e 100644 --- a/compiler/tools/fpp-locate-defs/test/defs/defs-2.fpp +++ b/compiler/tools/fpp-locate-defs/test/defs/defs-2.fpp @@ -32,7 +32,7 @@ module M { dictionary enum E2 { A, B, C } struct S { x: U32 } dictionary struct S2 { a: U32 } - state machine S + state machine SM } instance c: C base id 0x100 @@ -41,6 +41,10 @@ module M { } + module template Tmpl(constant n: U32) { + array TArr = [n] U32 + } + system S: T } diff --git a/compiler/tools/fpp-locate-defs/test/defs_dir.ref.txt b/compiler/tools/fpp-locate-defs/test/defs_dir.ref.txt index 9c6b363c61..b1c5fc7d1a 100644 --- a/compiler/tools/fpp-locate-defs/test/defs_dir.ref.txt +++ b/compiler/tools/fpp-locate-defs/test/defs_dir.ref.txt @@ -1,57 +1,59 @@ -locate component C at "defs-1.fpp" -locate component M.C at "defs-2.fpp" -locate constant C.a at "defs-1.fpp" -locate constant M.C.a at "defs-2.fpp" -locate constant M.SM.a at "defs-2.fpp" -locate constant M.a at "defs-2.fpp" -locate constant SM.a at "defs-1.fpp" -locate constant a at "defs-1.fpp" -locate dictionary constant a2 at "defs-1.fpp" -locate dictionary type Alias2 at "defs-1.fpp" -locate dictionary type C.A2 at "defs-1.fpp" -locate dictionary type M.C.E2 at "defs-2.fpp" -locate dictionary type M.C.S2 at "defs-2.fpp" -locate instance M.T at "defs-2.fpp" -locate instance M.c at "defs-2.fpp" -locate instance T at "defs-1.fpp" -locate instance c at "defs-1.fpp" -locate interface I at "defs-1.fpp" -locate port M.P at "defs-2.fpp" -locate port P at "defs-1.fpp" -locate state machine M.C.S at "defs-2.fpp" -locate state machine M.SM at "defs-2.fpp" -locate state machine SM at "defs-1.fpp" -locate system M.S at "defs-2.fpp" -locate system S at "defs-1.fpp" -locate type A at "defs-1.fpp" -locate type Alias at "defs-1.fpp" -locate type C.A at "defs-1.fpp" -locate type C.Alias at "defs-1.fpp" -locate type C.E at "defs-1.fpp" -locate type C.S at "defs-1.fpp" -locate type C.T at "defs-1.fpp" -locate type E at "defs-1.fpp" -locate type M.A at "defs-2.fpp" -locate type M.Alias at "defs-2.fpp" -locate type M.C.A at "defs-2.fpp" -locate type M.C.Alias at "defs-2.fpp" -locate type M.C.E at "defs-2.fpp" -locate type M.C.S at "defs-2.fpp" -locate type M.C.T at "defs-2.fpp" -locate type M.E at "defs-2.fpp" -locate type M.S at "defs-2.fpp" -locate type M.SM.A at "defs-2.fpp" -locate type M.SM.E at "defs-2.fpp" -locate type M.SM.S at "defs-2.fpp" -locate type M.SM.State at "defs-2.fpp" -locate type M.SM.T at "defs-2.fpp" -locate type M.SM.X at "defs-2.fpp" -locate type M.T at "defs-2.fpp" -locate type S at "defs-1.fpp" -locate type SM.A at "defs-1.fpp" -locate type SM.E at "defs-1.fpp" -locate type SM.S at "defs-1.fpp" -locate type SM.State at "defs-1.fpp" -locate type SM.T at "defs-1.fpp" -locate type SM.X at "defs-1.fpp" -locate type T at "defs-1.fpp" +locate component .C at "defs-1.fpp" +locate component .M.C at "defs-2.fpp" +locate constant .C.a at "defs-1.fpp" +locate constant .M.C.a at "defs-2.fpp" +locate constant .M.SM.a at "defs-2.fpp" +locate constant .M.a at "defs-2.fpp" +locate constant .SM.a at "defs-1.fpp" +locate constant .a at "defs-1.fpp" +locate dictionary constant .a2 at "defs-1.fpp" +locate dictionary type .Alias2 at "defs-1.fpp" +locate dictionary type .C.A2 at "defs-1.fpp" +locate dictionary type .M.C.E2 at "defs-2.fpp" +locate dictionary type .M.C.S2 at "defs-2.fpp" +locate instance .M.T at "defs-2.fpp" +locate instance .M.c at "defs-2.fpp" +locate instance .T at "defs-1.fpp" +locate instance .c at "defs-1.fpp" +locate interface .I at "defs-1.fpp" +locate port .M.P at "defs-2.fpp" +locate port .P at "defs-1.fpp" +locate state machine .M.C.SM at "defs-2.fpp" +locate state machine .M.SM at "defs-2.fpp" +locate state machine .SM at "defs-1.fpp" +locate system .M.S at "defs-2.fpp" +locate system .S at "defs-1.fpp" +locate template .M.Tmpl at "defs-2.fpp" +locate template .Tmpl at "defs-1.fpp" +locate type .A at "defs-1.fpp" +locate type .Alias at "defs-1.fpp" +locate type .C.A at "defs-1.fpp" +locate type .C.Alias at "defs-1.fpp" +locate type .C.E at "defs-1.fpp" +locate type .C.S at "defs-1.fpp" +locate type .C.T at "defs-1.fpp" +locate type .E at "defs-1.fpp" +locate type .M.A at "defs-2.fpp" +locate type .M.Alias at "defs-2.fpp" +locate type .M.C.A at "defs-2.fpp" +locate type .M.C.Alias at "defs-2.fpp" +locate type .M.C.E at "defs-2.fpp" +locate type .M.C.S at "defs-2.fpp" +locate type .M.C.T at "defs-2.fpp" +locate type .M.E at "defs-2.fpp" +locate type .M.S at "defs-2.fpp" +locate type .M.SM.A at "defs-2.fpp" +locate type .M.SM.E at "defs-2.fpp" +locate type .M.SM.S at "defs-2.fpp" +locate type .M.SM.State at "defs-2.fpp" +locate type .M.SM.T at "defs-2.fpp" +locate type .M.SM.X at "defs-2.fpp" +locate type .M.T at "defs-2.fpp" +locate type .S at "defs-1.fpp" +locate type .SM.A at "defs-1.fpp" +locate type .SM.E at "defs-1.fpp" +locate type .SM.S at "defs-1.fpp" +locate type .SM.State at "defs-1.fpp" +locate type .SM.T at "defs-1.fpp" +locate type .SM.X at "defs-1.fpp" +locate type .T at "defs-1.fpp" diff --git a/compiler/tools/fpp-locate-defs/test/include.ref.txt b/compiler/tools/fpp-locate-defs/test/include.ref.txt index e230c1b70a..cdd1fa9270 100644 --- a/compiler/tools/fpp-locate-defs/test/include.ref.txt +++ b/compiler/tools/fpp-locate-defs/test/include.ref.txt @@ -1,2 +1,2 @@ -locate constant M.a at "include.fpp" -locate constant M.b at "include.fpp" +locate constant .M.a at "include.fpp" +locate constant .M.b at "include.fpp" diff --git a/compiler/tools/fpp-locate-defs/test/template_expand_ok.fpp b/compiler/tools/fpp-locate-defs/test/template_expand_ok.fpp new file mode 100644 index 0000000000..e7704de82b --- /dev/null +++ b/compiler/tools/fpp-locate-defs/test/template_expand_ok.fpp @@ -0,0 +1,14 @@ +port P + +module Lib { + module template Tmpl(constant n: U32) { + passive component GenComp { + sync input port pIn: P + } + array GenArr = [n] U32 + } +} + +module Expanded { + expand Lib.Tmpl(constant 3) +} diff --git a/compiler/tools/fpp-locate-defs/test/template_expand_ok.ref.txt b/compiler/tools/fpp-locate-defs/test/template_expand_ok.ref.txt new file mode 100644 index 0000000000..91ed1e6021 --- /dev/null +++ b/compiler/tools/fpp-locate-defs/test/template_expand_ok.ref.txt @@ -0,0 +1,4 @@ +locate component .Expanded.GenComp at "template_expand_ok.fpp" +locate port .P at "template_expand_ok.fpp" +locate template .Lib.Tmpl at "template_expand_ok.fpp" +locate type .Expanded.GenArr at "template_expand_ok.fpp" diff --git a/compiler/tools/fpp-locate-defs/test/template_expand_undefined.fpp b/compiler/tools/fpp-locate-defs/test/template_expand_undefined.fpp new file mode 100644 index 0000000000..4fa6eb6d60 --- /dev/null +++ b/compiler/tools/fpp-locate-defs/test/template_expand_undefined.fpp @@ -0,0 +1 @@ +expand T diff --git a/compiler/tools/fpp-locate-defs/test/template_expand_undefined.ref.txt b/compiler/tools/fpp-locate-defs/test/template_expand_undefined.ref.txt new file mode 100644 index 0000000000..e4b56951da --- /dev/null +++ b/compiler/tools/fpp-locate-defs/test/template_expand_undefined.ref.txt @@ -0,0 +1,6 @@ +fpp-locate-defs +[ local path prefix ]/compiler/tools/fpp-locate-defs/test/template_expand_undefined.fpp:1.8 +expand T + ^ +error: symbol T is not defined +note: looking for a template here diff --git a/compiler/tools/fpp-locate-defs/test/tests.sh b/compiler/tools/fpp-locate-defs/test/tests.sh index a2423bb00d..c0cfec323a 100644 --- a/compiler/tools/fpp-locate-defs/test/tests.sh +++ b/compiler/tools/fpp-locate-defs/test/tests.sh @@ -3,4 +3,6 @@ defs defs_dir include stdin +template_expand_ok +template_expand_undefined " diff --git a/compiler/tools/fpp-locate-uses/test/template_arg_uses.fpp b/compiler/tools/fpp-locate-uses/test/template_arg_uses.fpp new file mode 100644 index 0000000000..c07748a842 --- /dev/null +++ b/compiler/tools/fpp-locate-uses/test/template_arg_uses.fpp @@ -0,0 +1,28 @@ +# Uses inside an expanded template body that resolve to bound template parameters +# The array size pins the constant argument to 3 +# The array default pins the type argument to Elt + +port P + +interface I { + sync input port pIn: P +} + +passive component C { + import I +} + +instance i1: C base id 0x100 + +struct Elt { x: U32 } + +module template T(constant n: U32, type Ty, instance i: I) { + array A_use = [n] Ty default [{ x = 1 }, { x = 2 }, { x = 3 }] + topology Top_use { + instance i + } +} + +module M { + expand T(constant 3, type Elt, instance i1) +} diff --git a/compiler/tools/fpp-locate-uses/test/template_arg_uses.ref.txt b/compiler/tools/fpp-locate-uses/test/template_arg_uses.ref.txt new file mode 100644 index 0000000000..a73a9fc336 --- /dev/null +++ b/compiler/tools/fpp-locate-uses/test/template_arg_uses.ref.txt @@ -0,0 +1,6 @@ +locate component C at "template_arg_uses.fpp" +locate instance i1 at "template_arg_uses.fpp" +locate interface I at "template_arg_uses.fpp" +locate port P at "template_arg_uses.fpp" +locate template T at "template_arg_uses.fpp" +locate type Elt at "template_arg_uses.fpp" diff --git a/compiler/tools/fpp-locate-uses/test/tests.sh b/compiler/tools/fpp-locate-uses/test/tests.sh index b91deed157..1a187b450b 100644 --- a/compiler/tools/fpp-locate-uses/test/tests.sh +++ b/compiler/tools/fpp-locate-uses/test/tests.sh @@ -2,4 +2,5 @@ tests=" uses uses_dir stdin +template_arg_uses " diff --git a/compiler/tools/fpp-syntax/test/include-module-template-expand.fpp b/compiler/tools/fpp-syntax/test/include-module-template-expand.fpp new file mode 100644 index 0000000000..8e05a24cf9 --- /dev/null +++ b/compiler/tools/fpp-syntax/test/include-module-template-expand.fpp @@ -0,0 +1,9 @@ +module template T { + +} + +expand T { + + include "constant.fppi" + +} diff --git a/compiler/tools/fpp-syntax/test/include-module-template-expand.ref.txt b/compiler/tools/fpp-syntax/test/include-module-template-expand.ref.txt new file mode 100644 index 0000000000..eff5fbd184 --- /dev/null +++ b/compiler/tools/fpp-syntax/test/include-module-template-expand.ref.txt @@ -0,0 +1,9 @@ +def module template + ident T +expand + qual ident T + @ Included constant + def constant + ident x + literal int 0 + @< Included constant diff --git a/compiler/tools/fpp-syntax/test/include-module-template.fpp b/compiler/tools/fpp-syntax/test/include-module-template.fpp new file mode 100644 index 0000000000..b1d2ecf330 --- /dev/null +++ b/compiler/tools/fpp-syntax/test/include-module-template.fpp @@ -0,0 +1,5 @@ +module template T { + + include "constant.fppi" + +} diff --git a/compiler/tools/fpp-syntax/test/include-module-template.ref.txt b/compiler/tools/fpp-syntax/test/include-module-template.ref.txt new file mode 100644 index 0000000000..7f8e14b51f --- /dev/null +++ b/compiler/tools/fpp-syntax/test/include-module-template.ref.txt @@ -0,0 +1,7 @@ +def module template + ident T + @ Included constant + def constant + ident x + literal int 0 + @< Included constant diff --git a/compiler/tools/fpp-syntax/test/include-state-machine.ref.txt b/compiler/tools/fpp-syntax/test/include-state-machine.ref.txt index 5f66b67436..9cd9775016 100644 --- a/compiler/tools/fpp-syntax/test/include-state-machine.ref.txt +++ b/compiler/tools/fpp-syntax/test/include-state-machine.ref.txt @@ -1,5 +1,15 @@ def state machine ident M + def enum + ident State + type name U8 + @ The uninitialized state + def enum constant + ident __FPRIME_UNINITIALIZED + def enum constant + ident S1 + def enum constant + ident S2_S1 @ Action a1 def action ident a1 diff --git a/compiler/tools/fpp-syntax/test/module-template.fpp b/compiler/tools/fpp-syntax/test/module-template.fpp new file mode 100644 index 0000000000..95ca39d6ce --- /dev/null +++ b/compiler/tools/fpp-syntax/test/module-template.fpp @@ -0,0 +1,40 @@ +module template Tmpl( + @ Constant template parameter + constant c: SomeType @< Constant parameter + @ Type template parameter + type TypeParam @< Type parameter + @ Interface instance template parameter + instance inst: InterfaceDef @< Instance parameter +) { + + @ Array + array Arr = [3] TypeParam + + @ Topology + topology Top { + instance inst + } + + @ State machine + state machine M { + state S + initial enter S + } + +} + +module Unexpanded { + + @ Unexpanded expansion specifier + expand Tmpl(constant 10, type Type, instance .instance1) + @< Unexpanded expansion specifier + +} + +module Expanded { + + @ Expanded expansion specifier + expand Tmpl(constant 10, type Type, instance .instance1) { constant a = 0 } + @< Expanded expansion specifier + +} diff --git a/compiler/tools/fpp-syntax/test/module-template.ref.txt b/compiler/tools/fpp-syntax/test/module-template.ref.txt new file mode 100644 index 0000000000..16f9f41dea --- /dev/null +++ b/compiler/tools/fpp-syntax/test/module-template.ref.txt @@ -0,0 +1,93 @@ +def module template + ident Tmpl + @ Constant template parameter + constant template param + ident c + type name qual ident SomeType + @< Constant parameter + @ Type template parameter + type template param + ident TypeParam + @< Type parameter + @ Interface instance template parameter + instance template param + ident inst + qual ident InterfaceDef + @< Instance parameter + @ Array + def array + ident Arr + size literal int 3 + type name qual ident TypeParam + @ Topology + def topology + ident Top + spec interface instance + qual ident inst + @ State machine + def state machine + ident M + def enum + ident State + type name U8 + @ The uninitialized state + def enum constant + ident __FPRIME_UNINITIALIZED + def enum constant + ident S + def state + ident S + spec initial + target qual ident S +def module + ident Unexpanded + @ Unexpanded expansion specifier + expand + qual ident Tmpl + constant template arg + literal int 10 + type template arg + type name qual ident Type + instance template arg + qual ident .instance1 + @ Array + def array + ident Arr + size literal int 3 + type name qual ident TypeParam + @ Topology + def topology + ident Top + spec interface instance + qual ident inst + @ State machine + def state machine + ident M + def enum + ident State + type name U8 + @ The uninitialized state + def enum constant + ident __FPRIME_UNINITIALIZED + def enum constant + ident S + def state + ident S + spec initial + target qual ident S + @< Unexpanded expansion specifier +def module + ident Expanded + @ Expanded expansion specifier + expand + qual ident Tmpl + constant template arg + literal int 10 + type template arg + type name qual ident Type + instance template arg + qual ident .instance1 + def constant + ident a + literal int 0 + @< Expanded expansion specifier diff --git a/compiler/tools/fpp-syntax/test/run b/compiler/tools/fpp-syntax/test/run index b9185dc67d..b6aebce1df 100755 --- a/compiler/tools/fpp-syntax/test/run +++ b/compiler/tools/fpp-syntax/test/run @@ -23,6 +23,11 @@ comments() run_test "" comments } +dictionary_specifier() +{ + run_test -a dictionary-specifier +} + embedded_tab() { run_test "" embedded-tab @@ -45,62 +50,77 @@ illegal_character() include_component() { - run_test -ia include-component + run_test -ea include-component } include_constant_1() { - run_test -ia include-constant-1 + run_test -ea include-constant-1 } include_cycle_1() { - run_test -i cycle-1 include-cycle-1 + run_test -e cycle-1 include-cycle-1 } include_cycle_2() { - run_test -i cycle-2 include-cycle-2 + run_test -e cycle-2 include-cycle-2 } include_missing_file() { - run_test -i include-missing-file + run_test -e include-missing-file } include_module() { - run_test -ia include-module + run_test -ea include-module } -include_parse_error() +include_module_template() { - run_test -i include-parse-error + run_test -ea include-module-template +} + +include_module_template_expand() +{ + run_test -ea include-module-template-expand } include_parent_dir() { - run_test -ia subdir/include-parent-dir + run_test -ea subdir/include-parent-dir +} + +include_parse_error() +{ + run_test -e include-parse-error } include_state_machine() { - run_test -ia include-state-machine + run_test -ea include-state-machine } include_subdir() { - run_test -ia include-subdir + run_test -ea include-subdir } -include_state_machine() +include_topology() { - run_test -ia include-state-machine + run_test -ea include-topology } -include_topology() +module_template() { - run_test -ia include-topology + run_test -ea module-template +} + +numeric_shift() +{ + run_test "" numeric-shift } parse_error() @@ -118,11 +138,6 @@ syntax() run_test "" syntax } -syntax_kwd_names() -{ - run_test "" syntax-kwd-names -} - syntax_ast() { run_test -a syntax syntax-ast @@ -130,38 +145,34 @@ syntax_ast() syntax_include_ast() { - run_test -ia syntax syntax-include-ast + run_test -ea syntax syntax-include-ast +} + +syntax_kwd_names() +{ + run_test "" syntax-kwd-names } syntax_stdin() { - cat syntax.fpp | $fpp_syntax -ia > syntax-stdin.out.txt + cat syntax.fpp | $fpp_syntax -ea > syntax-stdin.out.txt diff -u syntax-stdin.ref.txt syntax-stdin.out.txt > syntax-stdin.diff.txt 2>&1 } topology_ports() { - run_test -ia topology-ports + run_test -ea topology-ports } two_input_files() { - $fpp_syntax -ia include-module.fpp include-component.fpp 2>&1 > two-input-files.out.txt + $fpp_syntax -ea include-module.fpp include-component.fpp 2>&1 > two-input-files.out.txt diff -u two-input-files.ref.txt two-input-files.out.txt > two-input-files.diff.txt 2>&1 } -dictionary_specifier() -{ - run_test -a dictionary-specifier -} - -numeric_shift() -{ - run_test "" numeric-shift -} - tests=" comments +dictionary_specifier embedded_tab empty escaped_strings @@ -172,11 +183,15 @@ include_cycle_1 include_cycle_2 include_missing_file include_module +include_module_template +include_module_template_expand include_parent_dir include_parse_error include_state_machine include_subdir include_topology +module_template +numeric_shift parse_error state_machine syntax @@ -186,8 +201,6 @@ syntax_kwd_names syntax_stdin topology_ports two_input_files -dictionary_specifier -numeric_shift " run_suite $tests diff --git a/compiler/tools/fpp-syntax/test/state-machine.fpp b/compiler/tools/fpp-syntax/test/state-machine.fpp index 2dcaaa37cc..56d7123743 100644 --- a/compiler/tools/fpp-syntax/test/state-machine.fpp +++ b/compiler/tools/fpp-syntax/test/state-machine.fpp @@ -51,7 +51,7 @@ state machine M { initial do { a1 } enter C @ Choice C - choice C { if g1 enter S1 else enter S2 } + choice C { if g1 enter S1 else enter .S2 } @ State S1 state S1 @@ -66,7 +66,7 @@ state machine M { initial do { a1, a2 } enter S3 @ Choice C - choice C { if g1 do { a1, a2 } enter S1 else do { a2, a3 } enter S2.S3 } + choice C { if g1 do { a1, a2 } enter S1 else do { a2, a3 } enter .S2.S3 } @ State S3 state S3 diff --git a/compiler/tools/fpp-syntax/test/state-machine.ref.txt b/compiler/tools/fpp-syntax/test/state-machine.ref.txt index a3848b4257..e5960e343f 100644 --- a/compiler/tools/fpp-syntax/test/state-machine.ref.txt +++ b/compiler/tools/fpp-syntax/test/state-machine.ref.txt @@ -88,7 +88,7 @@ def state machine ident C guard ident g1 target qual ident S1 - target qual ident S2 + target qual ident .S2 @ State S1 def state ident S1 @@ -115,7 +115,7 @@ def state machine target qual ident S1 action ident a2 action ident a3 - target qual ident S2.S3 + target qual ident .S2.S3 @ State S3 def state ident S3 diff --git a/compiler/tools/fpp-syntax/test/syntax-ast.ref.txt b/compiler/tools/fpp-syntax/test/syntax-ast.ref.txt index eafd0cb6c3..e389ac735b 100644 --- a/compiler/tools/fpp-syntax/test/syntax-ast.ref.txt +++ b/compiler/tools/fpp-syntax/test/syntax-ast.ref.txt @@ -142,19 +142,19 @@ def module @< Async product receive port @ Internal Component State machine definition def state machine - ident S + ident SM @< State machine definition @ State machine instance 1 spec state machine instance ident s1 - state machine qual ident S + state machine qual ident SM priority literal int 10 queue full drop @< State machine instance 1 @ State machine instance 2 spec state machine instance ident s2 - state machine qual ident S + state machine qual ident SM @< State machine instance 2 @ State machine for outside definition spec state machine instance @@ -304,10 +304,56 @@ def module ident x literal int 0 @< Module definition - @ Include specifier - spec include - file constant.fppi - @< Include specifier + def module + ident Constants + @ Include specifier + spec include + file constant.fppi + @< Include specifier + @ Module template definition + def module template + ident MT + @ Constant template parameter + constant template param + ident c + type name U32 + @< Constant template parameter + @ Type template parameter + type template param + ident Ty + @< Type template parameter + @ Interface instance template parameter + instance template param + ident i + qual ident I + @< Interface instance template parameter + def constant + ident a + ident c + @< Module template definition + @ Unexpanded template expansion specifier + expand + qual ident MT + constant template arg + literal int 0 + type template arg + type name U32 + instance template arg + qual ident i1 + @< Unexpanded template expansion specifier + @ Expanded template expansion specifier + expand + qual ident MT + constant template arg + literal int 0 + type template arg + type name U32 + instance template arg + qual ident i1 + def constant + ident b + literal int 0 + @< Expanded template expansion specifier @ Port definition def port ident P @@ -344,6 +390,10 @@ def module spec interface instance qual ident i1 @< Public instance specifier + @ Public instance specifier with absolute qualified identifier + spec interface instance + qual ident .i1Abs + @< Public instance specifier with absolute qualified identifier @ Direct connection graph specifier spec connection graph direct ident C @@ -360,6 +410,9 @@ def module unmatched connection from port qual ident i1.p1 to port qual ident i2.p2 + connection + from port qual ident .i1.p3 + to port qual ident .i2.p3 @< Direct connection graph specifier @ Graph pattern specifier spec connection graph pattern @@ -386,6 +439,8 @@ def module qual ident i1.c1 tlm channel identifier qual ident i2.c2 + tlm channel identifier + qual ident .i1.c3 @< Telemetry packet @ Include specifier spec include @@ -393,26 +448,32 @@ def module @< Include specifier omitted qual ident i3.c3 + qual ident .i3.c4 @< Telemetry packet group @ Topology port specifier spec top port ident a qual ident b.a @< Topology port specifier + @ Topology port specifier with absolute qualified identifier + spec top port + ident aAbs + qual ident .b.a + @< Topology port specifier with absolute qualified identifier @< Topology definition @ Deployment topology def deployment topology - ident T + ident T1 @< Deployment topology @ Topology definition with one implements def topology - ident T + ident T2 implements qual ident I @< Topology definition with one implements @ Topology definition with two implements def topology - ident T + ident T3 implements qual ident I qual ident I @@ -422,18 +483,35 @@ def module ident S qual ident M.T @< System definition + @ System definition with absolute qualified identifier + def system + ident SAbs + qual ident .M.T + @< System definition with absolute qualified identifier @ Location specifier spec loc kind instance symbol qual ident i file instances.fpp @< Location specifier + @ Location specifier with absolute qualified identifier + spec loc + kind instance + symbol qual ident .i + file instances.fpp + @< Location specifier with absolute qualified identifier @ System location specifier spec loc kind system symbol qual ident S file system.fpp @< System location specifier + @ Template location specifier + spec loc + kind template + symbol qual ident MT + file template.fpp + @< Template location specifier @< Definitions and specifiers @ Type names def module @@ -459,6 +537,10 @@ def module ident typeNameQID size literal int 10 type name qual ident a.b.c + def array + ident typeNameAbsoluteQID + size literal int 10 + type name qual ident .a.b.c @< Type names @ Expressions def module @@ -530,7 +612,7 @@ def module @< Array Subscript @ Array Subscript with member selection def constant - ident arraySubExp2 + ident arraySubExp3 expr array subscript expr dot expr array subscript @@ -559,6 +641,15 @@ def module ident b ident c @< Dot + @ Dot with absolute qualified identifier + def constant + ident dotAbsoluteExp + expr dot + expr dot + ident .a + ident b + ident c + @< Dot with absolute qualified identifier @ FP literal def constant ident fpLiteralExp @@ -569,6 +660,11 @@ def module ident identExp ident x @< Identifier + @ Identifier with absolute qualified identifier + def constant + ident identAbsoluteExp + ident .x + @< Identifier with absolute qualified identifier @ Int literal def constant ident intLiteralExp diff --git a/compiler/tools/fpp-syntax/test/syntax-include-ast.ref.txt b/compiler/tools/fpp-syntax/test/syntax-include-ast.ref.txt index 29c54865b5..23c24dc688 100644 --- a/compiler/tools/fpp-syntax/test/syntax-include-ast.ref.txt +++ b/compiler/tools/fpp-syntax/test/syntax-include-ast.ref.txt @@ -142,19 +142,19 @@ def module @< Async product receive port @ Internal Component State machine definition def state machine - ident S + ident SM @< State machine definition @ State machine instance 1 spec state machine instance ident s1 - state machine qual ident S + state machine qual ident SM priority literal int 10 queue full drop @< State machine instance 1 @ State machine instance 2 spec state machine instance ident s2 - state machine qual ident S + state machine qual ident SM @< State machine instance 2 @ State machine for outside definition spec state machine instance @@ -304,11 +304,60 @@ def module ident x literal int 0 @< Module definition - @ Included constant - def constant - ident x - literal int 0 - @< Included constant + def module + ident Constants + @ Included constant + def constant + ident x + literal int 0 + @< Included constant + @ Module template definition + def module template + ident MT + @ Constant template parameter + constant template param + ident c + type name U32 + @< Constant template parameter + @ Type template parameter + type template param + ident Ty + @< Type template parameter + @ Interface instance template parameter + instance template param + ident i + qual ident I + @< Interface instance template parameter + def constant + ident a + ident c + @< Module template definition + @ Unexpanded template expansion specifier + expand + qual ident MT + constant template arg + literal int 0 + type template arg + type name U32 + instance template arg + qual ident i1 + def constant + ident a + ident c + @< Unexpanded template expansion specifier + @ Expanded template expansion specifier + expand + qual ident MT + constant template arg + literal int 0 + type template arg + type name U32 + instance template arg + qual ident i1 + def constant + ident b + literal int 0 + @< Expanded template expansion specifier @ Port definition def port ident P @@ -345,6 +394,10 @@ def module spec interface instance qual ident i1 @< Public instance specifier + @ Public instance specifier with absolute qualified identifier + spec interface instance + qual ident .i1Abs + @< Public instance specifier with absolute qualified identifier @ Direct connection graph specifier spec connection graph direct ident C @@ -361,6 +414,9 @@ def module unmatched connection from port qual ident i1.p1 to port qual ident i2.p2 + connection + from port qual ident .i1.p3 + to port qual ident .i2.p3 @< Direct connection graph specifier @ Graph pattern specifier spec connection graph pattern @@ -387,6 +443,8 @@ def module qual ident i1.c1 tlm channel identifier qual ident i2.c2 + tlm channel identifier + qual ident .i1.c3 @< Telemetry packet @ Included packet spec tlm packet @@ -400,26 +458,32 @@ def module @< Included packet omitted qual ident i3.c3 + qual ident .i3.c4 @< Telemetry packet group @ Topology port specifier spec top port ident a qual ident b.a @< Topology port specifier + @ Topology port specifier with absolute qualified identifier + spec top port + ident aAbs + qual ident .b.a + @< Topology port specifier with absolute qualified identifier @< Topology definition @ Deployment topology def deployment topology - ident T + ident T1 @< Deployment topology @ Topology definition with one implements def topology - ident T + ident T2 implements qual ident I @< Topology definition with one implements @ Topology definition with two implements def topology - ident T + ident T3 implements qual ident I qual ident I @@ -429,18 +493,35 @@ def module ident S qual ident M.T @< System definition + @ System definition with absolute qualified identifier + def system + ident SAbs + qual ident .M.T + @< System definition with absolute qualified identifier @ Location specifier spec loc kind instance symbol qual ident i file instances.fpp @< Location specifier + @ Location specifier with absolute qualified identifier + spec loc + kind instance + symbol qual ident .i + file instances.fpp + @< Location specifier with absolute qualified identifier @ System location specifier spec loc kind system symbol qual ident S file system.fpp @< System location specifier + @ Template location specifier + spec loc + kind template + symbol qual ident MT + file template.fpp + @< Template location specifier @< Definitions and specifiers @ Type names def module @@ -466,6 +547,10 @@ def module ident typeNameQID size literal int 10 type name qual ident a.b.c + def array + ident typeNameAbsoluteQID + size literal int 10 + type name qual ident .a.b.c @< Type names @ Expressions def module @@ -537,7 +622,7 @@ def module @< Array Subscript @ Array Subscript with member selection def constant - ident arraySubExp2 + ident arraySubExp3 expr array subscript expr dot expr array subscript @@ -566,6 +651,15 @@ def module ident b ident c @< Dot + @ Dot with absolute qualified identifier + def constant + ident dotAbsoluteExp + expr dot + expr dot + ident .a + ident b + ident c + @< Dot with absolute qualified identifier @ FP literal def constant ident fpLiteralExp @@ -576,6 +670,11 @@ def module ident identExp ident x @< Identifier + @ Identifier with absolute qualified identifier + def constant + ident identAbsoluteExp + ident .x + @< Identifier with absolute qualified identifier @ Int literal def constant ident intLiteralExp diff --git a/compiler/tools/fpp-syntax/test/syntax-stdin.ref.txt b/compiler/tools/fpp-syntax/test/syntax-stdin.ref.txt index 29c54865b5..23c24dc688 100644 --- a/compiler/tools/fpp-syntax/test/syntax-stdin.ref.txt +++ b/compiler/tools/fpp-syntax/test/syntax-stdin.ref.txt @@ -142,19 +142,19 @@ def module @< Async product receive port @ Internal Component State machine definition def state machine - ident S + ident SM @< State machine definition @ State machine instance 1 spec state machine instance ident s1 - state machine qual ident S + state machine qual ident SM priority literal int 10 queue full drop @< State machine instance 1 @ State machine instance 2 spec state machine instance ident s2 - state machine qual ident S + state machine qual ident SM @< State machine instance 2 @ State machine for outside definition spec state machine instance @@ -304,11 +304,60 @@ def module ident x literal int 0 @< Module definition - @ Included constant - def constant - ident x - literal int 0 - @< Included constant + def module + ident Constants + @ Included constant + def constant + ident x + literal int 0 + @< Included constant + @ Module template definition + def module template + ident MT + @ Constant template parameter + constant template param + ident c + type name U32 + @< Constant template parameter + @ Type template parameter + type template param + ident Ty + @< Type template parameter + @ Interface instance template parameter + instance template param + ident i + qual ident I + @< Interface instance template parameter + def constant + ident a + ident c + @< Module template definition + @ Unexpanded template expansion specifier + expand + qual ident MT + constant template arg + literal int 0 + type template arg + type name U32 + instance template arg + qual ident i1 + def constant + ident a + ident c + @< Unexpanded template expansion specifier + @ Expanded template expansion specifier + expand + qual ident MT + constant template arg + literal int 0 + type template arg + type name U32 + instance template arg + qual ident i1 + def constant + ident b + literal int 0 + @< Expanded template expansion specifier @ Port definition def port ident P @@ -345,6 +394,10 @@ def module spec interface instance qual ident i1 @< Public instance specifier + @ Public instance specifier with absolute qualified identifier + spec interface instance + qual ident .i1Abs + @< Public instance specifier with absolute qualified identifier @ Direct connection graph specifier spec connection graph direct ident C @@ -361,6 +414,9 @@ def module unmatched connection from port qual ident i1.p1 to port qual ident i2.p2 + connection + from port qual ident .i1.p3 + to port qual ident .i2.p3 @< Direct connection graph specifier @ Graph pattern specifier spec connection graph pattern @@ -387,6 +443,8 @@ def module qual ident i1.c1 tlm channel identifier qual ident i2.c2 + tlm channel identifier + qual ident .i1.c3 @< Telemetry packet @ Included packet spec tlm packet @@ -400,26 +458,32 @@ def module @< Included packet omitted qual ident i3.c3 + qual ident .i3.c4 @< Telemetry packet group @ Topology port specifier spec top port ident a qual ident b.a @< Topology port specifier + @ Topology port specifier with absolute qualified identifier + spec top port + ident aAbs + qual ident .b.a + @< Topology port specifier with absolute qualified identifier @< Topology definition @ Deployment topology def deployment topology - ident T + ident T1 @< Deployment topology @ Topology definition with one implements def topology - ident T + ident T2 implements qual ident I @< Topology definition with one implements @ Topology definition with two implements def topology - ident T + ident T3 implements qual ident I qual ident I @@ -429,18 +493,35 @@ def module ident S qual ident M.T @< System definition + @ System definition with absolute qualified identifier + def system + ident SAbs + qual ident .M.T + @< System definition with absolute qualified identifier @ Location specifier spec loc kind instance symbol qual ident i file instances.fpp @< Location specifier + @ Location specifier with absolute qualified identifier + spec loc + kind instance + symbol qual ident .i + file instances.fpp + @< Location specifier with absolute qualified identifier @ System location specifier spec loc kind system symbol qual ident S file system.fpp @< System location specifier + @ Template location specifier + spec loc + kind template + symbol qual ident MT + file template.fpp + @< Template location specifier @< Definitions and specifiers @ Type names def module @@ -466,6 +547,10 @@ def module ident typeNameQID size literal int 10 type name qual ident a.b.c + def array + ident typeNameAbsoluteQID + size literal int 10 + type name qual ident .a.b.c @< Type names @ Expressions def module @@ -537,7 +622,7 @@ def module @< Array Subscript @ Array Subscript with member selection def constant - ident arraySubExp2 + ident arraySubExp3 expr array subscript expr dot expr array subscript @@ -566,6 +651,15 @@ def module ident b ident c @< Dot + @ Dot with absolute qualified identifier + def constant + ident dotAbsoluteExp + expr dot + expr dot + ident .a + ident b + ident c + @< Dot with absolute qualified identifier @ FP literal def constant ident fpLiteralExp @@ -576,6 +670,11 @@ def module ident identExp ident x @< Identifier + @ Identifier with absolute qualified identifier + def constant + ident identAbsoluteExp + ident .x + @< Identifier with absolute qualified identifier @ Int literal def constant ident intLiteralExp diff --git a/compiler/tools/fpp-syntax/test/syntax.fpp b/compiler/tools/fpp-syntax/test/syntax.fpp index 694cd0e751..bca7a615ac 100644 --- a/compiler/tools/fpp-syntax/test/syntax.fpp +++ b/compiler/tools/fpp-syntax/test/syntax.fpp @@ -73,15 +73,15 @@ module DefinitionsAndSpecifiers { @< Async product receive port @ Internal Component State machine definition - state machine S + state machine SM @< State machine definition @ State machine instance 1 - state machine instance s1: S priority 10 drop + state machine instance s1: SM priority 10 drop @< State machine instance 1 @ State machine instance 2 - state machine instance s2: S + state machine instance s2: SM @< State machine instance 2 @ State machine for outside definition @@ -156,9 +156,41 @@ module DefinitionsAndSpecifiers { } @< Module definition - @ Include specifier - include "constant.fppi" - @< Include specifier + module Constants { + @ Include specifier + include "constant.fppi" + @< Include specifier + } + + @ Module template definition + module template MT( + @ Constant template parameter + constant c: U32 + @< Constant template parameter + @ Type template parameter + type Ty + @< Type template parameter + @ Interface instance template parameter + instance i: I + @< Interface instance template parameter + ) { + + constant a = c + + } + @< Module template definition + + @ Unexpanded template expansion specifier + expand MT(constant 0, type U32, instance i1) + @< Unexpanded template expansion specifier + + @ Expanded template expansion specifier + expand MT(constant 0, type U32, instance i1) { + + constant b = 0 + + } + @< Expanded template expansion specifier @ Port definition port P(a: U32, b: F32) -> U32 @@ -182,11 +214,16 @@ module DefinitionsAndSpecifiers { instance i1 @< Public instance specifier + @ Public instance specifier with absolute qualified identifier + instance .i1Abs + @< Public instance specifier with absolute qualified identifier + @ Direct connection graph specifier connections C { i1.p[0] -> i2.p[1] unmatched i1.p1[0] -> i2.p2[0] unmatched i1.p1 -> i2.p2 + .i1.p3 -> .i2.p3 } @< Direct connection graph specifier @@ -205,6 +242,7 @@ module DefinitionsAndSpecifiers { packet P1 id 0 group 0 { i1.c1 i2.c2 + .i1.c3 } @< Telemetry packet @@ -214,39 +252,56 @@ module DefinitionsAndSpecifiers { } omit { i3.c3 + .i3.c4 } @< Telemetry packet group @ Topology port specifier port a = b.a @< Topology port specifier + + @ Topology port specifier with absolute qualified identifier + port aAbs = .b.a + @< Topology port specifier with absolute qualified identifier } @< Topology definition @ Deployment topology - deployment topology T {} + deployment topology T1 {} @< Deployment topology @ Topology definition with one implements - topology T implements I {} + topology T2 implements I {} @< Topology definition with one implements @ Topology definition with two implements - topology T implements I, I {} + topology T3 implements I, I {} @< Topology definition with two implements @ System definition system S: M.T @< System definition + @ System definition with absolute qualified identifier + system SAbs: .M.T + @< System definition with absolute qualified identifier + @ Location specifier locate instance i at "instances.fpp" @< Location specifier + @ Location specifier with absolute qualified identifier + locate instance .i at "instances.fpp" + @< Location specifier with absolute qualified identifier + @ System location specifier locate system S at "system.fpp" @< System location specifier + @ Template location specifier + locate template MT at "template.fpp" + @< Template location specifier + } @< Definitions and specifiers @@ -258,6 +313,7 @@ module TypeNames { array typeNameBool = [10] bool array typeNameString = [10] string size 256 array typeNameQID = [10] a.b.c + array typeNameAbsoluteQID = [10] .a.b.c } @< Type names @@ -286,8 +342,8 @@ module Expressions { @< Array Subscript @ Array Subscript with member selection - constant arraySubExp2 = a.b.c[1][2].s[12] - @< Array Subscript + constant arraySubExp3 = a.b.c[1][2].s[12] + @< Array Subscript @ Boolean literal constant booleanLiteralExp = true @@ -297,6 +353,10 @@ module Expressions { constant dotExp = a.b.c @< Dot + @ Dot with absolute qualified identifier + constant dotAbsoluteExp = .a.b.c + @< Dot with absolute qualified identifier + @ FP literal constant fpLiteralExp = 0.1234 @< FP literal @@ -305,6 +365,10 @@ module Expressions { constant identExp = x @< Identifier + @ Identifier with absolute qualified identifier + constant identAbsoluteExp = .x + @< Identifier with absolute qualified identifier + @ Int literal constant intLiteralExp = 1234 @< Int literal diff --git a/compiler/tools/fpp-syntax/test/update-ref b/compiler/tools/fpp-syntax/test/update-ref index 65622597fb..cd69f87e58 100755 --- a/compiler/tools/fpp-syntax/test/update-ref +++ b/compiler/tools/fpp-syntax/test/update-ref @@ -26,30 +26,35 @@ done update "" comments update "" embedded-tab update "" illegal-character +update "" numeric-shift update "" parse-error update "" syntax update "" syntax-kwd-names -update -ia topology-ports update -a dictionary-specifier update -a empty update -a escaped-strings update -a state-machine +update -a state-machine update -a syntax syntax-ast -update -i cycle-1 include-cycle-1 -update -i cycle-2 include-cycle-2 -update -i include-missing-file -update -i include-parse-error -update -ia include-component -update -ia include-constant-1 include-constant-1 -update -ia include-module -update -ia include-state-machine -update -ia include-state-machine -update -ia include-subdir -update -ia include-topology -update -ia subdir/include-parent-dir -update -ia syntax syntax-include-ast -update "" numeric-shift +update -e cycle-1 include-cycle-1 +update -e cycle-2 include-cycle-2 +update -e include-missing-file +update -e include-parse-error +update -ea include-component +update -ea include-constant-1 include-constant-1 +update -ea include-module +update -ea include-module-template +update -ea include-module-template-expand +update -ea include-state-machine +update -ea include-state-machine +update -ea include-subdir +update -ea include-topology +update -ea module-template +update -ea subdir/include-parent-dir +update -ea syntax syntax-include-ast +update -ea topology-ports +update -ea topology-ports -cat syntax.fpp | $fpp_syntax -ia 2>&1 > syntax-stdin.ref.txt +cat syntax.fpp | $fpp_syntax -ea 2>&1 > syntax-stdin.ref.txt -$fpp_syntax -ia include-module.fpp include-component.fpp 2>&1 > two-input-files.ref.txt +$fpp_syntax -ea include-module.fpp include-component.fpp 2>&1 > two-input-files.ref.txt diff --git a/compiler/tools/fpp-to-cpp/test/array/ATF32AliasAc.ref.h b/compiler/tools/fpp-to-cpp/test/array/ATF32AliasAc.ref.h new file mode 100644 index 0000000000..98dad03932 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/array/ATF32AliasAc.ref.h @@ -0,0 +1,14 @@ +// ====================================================================== +// \title ATF32AliasAc.h +// \author Generated by fpp-to-cpp +// \brief h file for ATF32 alias +// ====================================================================== + +#ifndef ATF32AliasAc_H +#define ATF32AliasAc_H + +#include "Fw/Types/BasicTypes.h" + +typedef F32 ATF32; + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/array/ATF32AliasAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/array/ATF32AliasAc.ref.hpp new file mode 100644 index 0000000000..cbbfa19ccf --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/array/ATF32AliasAc.ref.hpp @@ -0,0 +1,16 @@ +// ====================================================================== +// \title ATF32AliasAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for ATF32 alias +// ====================================================================== + +#ifndef ATF32AliasAc_HPP +#define ATF32AliasAc_HPP + +#include "Fw/Types/BasicTypes.hpp" + +extern "C" { +#include "ATF32AliasAc.h" +} + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/array/AliasTypeFormatArrayAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/array/AliasTypeFormatArrayAc.ref.cpp new file mode 100644 index 0000000000..42081270e4 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/array/AliasTypeFormatArrayAc.ref.cpp @@ -0,0 +1,207 @@ +// ====================================================================== +// \title AliasTypeFormatArrayAc.cpp +// \author Generated by fpp-to-cpp +// \brief cpp file for AliasTypeFormat array +// ====================================================================== + +#include "AliasTypeFormatArrayAc.hpp" +#include "Fw/Types/Assert.hpp" + +// ---------------------------------------------------------------------- +// Constructors +// ---------------------------------------------------------------------- + +AliasTypeFormat :: + AliasTypeFormat() : + Serializable(), + elements() +{ + +} + +AliasTypeFormat :: + AliasTypeFormat(const ElementType (&a)[SIZE]) : + Serializable() +{ + *this = a; +} + +AliasTypeFormat :: + AliasTypeFormat(const ElementType& e) : + Serializable() +{ + *this = e; +} + +AliasTypeFormat :: + AliasTypeFormat(const std::initializer_list& il) : + Serializable() +{ + *this = il; +} + +AliasTypeFormat :: + AliasTypeFormat(const AliasTypeFormat& obj) : + Serializable() +{ + *this = obj; +} + +// ---------------------------------------------------------------------- +// Operators +// ---------------------------------------------------------------------- + +AliasTypeFormat::ElementType& AliasTypeFormat :: + operator[](const FwSizeType i) +{ + FW_ASSERT(i < SIZE, static_cast(i), static_cast(SIZE)); + return this->elements[i]; +} + +const AliasTypeFormat::ElementType& AliasTypeFormat :: + operator[](const FwSizeType i) const +{ + FW_ASSERT(i < SIZE, static_cast(i), static_cast(SIZE)); + return this->elements[i]; +} + +AliasTypeFormat& AliasTypeFormat :: + operator=(const AliasTypeFormat& obj) +{ + if (this != &obj) { + for (FwSizeType index = 0; index < SIZE; index++) { + this->elements[index] = obj.elements[index]; + } + } + return *this; +} + +AliasTypeFormat& AliasTypeFormat :: + operator=(const ElementType (&a)[SIZE]) +{ + for (FwSizeType index = 0; index < SIZE; index++) { + this->elements[index] = a[index]; + } + return *this; +} + +AliasTypeFormat& AliasTypeFormat :: + operator=(const std::initializer_list& il) +{ + // Check that the initializer has the expected size + FW_ASSERT(il.size() == SIZE, static_cast(il.size()), static_cast(SIZE)); + FwSizeType i = 0; + for (const auto& e : il) { + FW_ASSERT(i < SIZE, static_cast(i), static_cast(SIZE)); + this->elements[i] = e; + i++; + } + return *this; +} + +AliasTypeFormat& AliasTypeFormat :: + operator=(const ElementType& e) +{ + for (FwSizeType index = 0; index < SIZE; index++) { + this->elements[index] = e; + } + return *this; +} + +bool AliasTypeFormat :: + operator==(const AliasTypeFormat& obj) const +{ + for (FwSizeType index = 0; index < SIZE; index++) { + if (!((*this)[index] == obj[index])) { + return false; + } + } + return true; +} + +bool AliasTypeFormat :: + operator!=(const AliasTypeFormat& obj) const +{ + return !(*this == obj); +} + +#ifdef BUILD_UT + +std::ostream& operator<<(std::ostream& os, const AliasTypeFormat& obj) { + Fw::String s; + obj.toString(s); + os << s; + return os; +} + +#endif + +// ---------------------------------------------------------------------- +// Public member functions +// ---------------------------------------------------------------------- + +Fw::SerializeStatus AliasTypeFormat :: + serializeTo( + Fw::SerialBufferBase& buffer, + Fw::Endianness mode + ) const +{ + Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK; + for (FwSizeType index = 0; index < SIZE; index++) { + status = buffer.serializeFrom((*this)[index], mode); + if (status != Fw::FW_SERIALIZE_OK) { + return status; + } + } + return status; +} + +Fw::SerializeStatus AliasTypeFormat :: + deserializeFrom( + Fw::SerialBufferBase& buffer, + Fw::Endianness mode + ) +{ + Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK; + for (FwSizeType index = 0; index < SIZE; index++) { + status = buffer.deserializeTo((*this)[index], mode); + if (status != Fw::FW_SERIALIZE_OK) { + return status; + } + } + return status; +} + +FwSizeType AliasTypeFormat :: + serializedSize() const +{ + return SERIALIZED_SIZE; +} + +#if FW_SERIALIZABLE_TO_STRING + +void AliasTypeFormat :: + toString(Fw::StringBase& sb) const +{ + // Clear the output string + sb = ""; + + // Array prefix + sb += "[ "; + + for (FwSizeType index = 0; index < SIZE; index++) { + // Array data + Fw::String tmp; + tmp.format("%.3e", static_cast(this->elements[index])); + + if (index > 0) { + sb += ", "; + } + sb += tmp; + } + + // Array suffix + sb += " ]"; +} + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/array/AliasTypeFormatArrayAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/array/AliasTypeFormatArrayAc.ref.hpp new file mode 100644 index 0000000000..32e4b54cfc --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/array/AliasTypeFormatArrayAc.ref.hpp @@ -0,0 +1,173 @@ +// ====================================================================== +// \title AliasTypeFormatArrayAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for AliasTypeFormat array +// ====================================================================== + +#ifndef AliasTypeFormatArrayAc_HPP +#define AliasTypeFormatArrayAc_HPP + +#include + +#include "ATF32AliasAc.hpp" +#include "Fw/FPrimeBasicTypes.hpp" +#include "Fw/Types/ExternalString.hpp" +#include "Fw/Types/Serializable.hpp" +#include "Fw/Types/String.hpp" + +//! An array of aliased F32 with a format string +class AliasTypeFormat : + public Fw::Serializable +{ + + public: + + // ---------------------------------------------------------------------- + // Types + // ---------------------------------------------------------------------- + + //! The element type + using ElementType = ATF32; + + public: + + // ---------------------------------------------------------------------- + // Constants + // ---------------------------------------------------------------------- + + enum { + //! The size of the array + SIZE = 3, + //! The serialized size of each element + ELEMENT_SERIALIZED_SIZE = sizeof(ATF32), + //! The size of the serial representation + SERIALIZED_SIZE = SIZE * ELEMENT_SERIALIZED_SIZE + }; + + public: + + // ---------------------------------------------------------------------- + // Constructors + // ---------------------------------------------------------------------- + + //! Constructor (default value) + AliasTypeFormat(); + + //! Constructor (primitive array) + AliasTypeFormat( + const ElementType (&a)[SIZE] //!< The array + ); + + //! Constructor (single element) + explicit AliasTypeFormat( + const ElementType& e //!< The element + ); + + //! Constructor (initializer list) + AliasTypeFormat( + const std::initializer_list& il //!< The initializer list + ); + + //! Copy constructor + AliasTypeFormat( + const AliasTypeFormat& obj //!< The source object + ); + + public: + + // ---------------------------------------------------------------------- + // Operators + // ---------------------------------------------------------------------- + + //! Subscript operator + ElementType& operator[]( + const FwSizeType i //!< The subscript index + ); + + //! Const subscript operator + const ElementType& operator[]( + const FwSizeType i //!< The subscript index + ) const; + + //! Copy assignment operator (object) + AliasTypeFormat& operator=( + const AliasTypeFormat& obj //!< The source object + ); + + //! Copy assignment operator (primitive array) + AliasTypeFormat& operator=( + const ElementType (&a)[SIZE] //!< The source array + ); + + //! Copy assignment operator (initializer list) + AliasTypeFormat& operator=( + const std::initializer_list& il //!< The initializer list + ); + + //! Copy assignment operator (single element) + AliasTypeFormat& operator=( + const ElementType& e //!< The element + ); + + //! Equality operator + bool operator==( + const AliasTypeFormat& obj //!< The other object + ) const; + + //! Inequality operator + bool operator!=( + const AliasTypeFormat& obj //!< The other object + ) const; + +#ifdef BUILD_UT + + //! Ostream operator + friend std::ostream& operator<<( + std::ostream& os, //!< The ostream + const AliasTypeFormat& obj //!< The object + ); + +#endif + + public: + + // ---------------------------------------------------------------------- + // Public member functions + // ---------------------------------------------------------------------- + + //! Serialization + Fw::SerializeStatus serializeTo( + Fw::SerialBufferBase& buffer, //!< The serial buffer + Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer + ) const; + + //! Deserialization + Fw::SerializeStatus deserializeFrom( + Fw::SerialBufferBase& buffer, //!< The serial buffer + Fw::Endianness mode = Fw::Endianness::BIG //!< Endianness of serialized buffer + ); + + //! Get the dynamic serialized size of the array + FwSizeType serializedSize() const; + +#if FW_SERIALIZABLE_TO_STRING + + //! Convert array to string + void toString( + Fw::StringBase& sb //!< The StringBase object to hold the result + ) const; + +#endif + + private: + + // ---------------------------------------------------------------------- + // Member variables + // ---------------------------------------------------------------------- + + //! The array elements + ElementType elements[SIZE]; + +}; + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/array/alias_type.fpp b/compiler/tools/fpp-to-cpp/test/array/alias_type.fpp index 08a8accfaf..dda76072b1 100644 --- a/compiler/tools/fpp-to-cpp/test/array/alias_type.fpp +++ b/compiler/tools/fpp-to-cpp/test/array/alias_type.fpp @@ -2,3 +2,8 @@ type AT = U32 @ An array of abstract type array AliasType = [3] AT default [0, 2, 3] + +type ATF32 = F32 + +@ An array of aliased F32 with a format string +array AliasTypeFormat = [3] ATF32 format "{.3e}" diff --git a/compiler/tools/fpp-to-cpp/test/array/run.sh b/compiler/tools/fpp-to-cpp/test/array/run.sh index 6cf42d0deb..bf02e93934 100644 --- a/compiler/tools/fpp-to-cpp/test/array/run.sh +++ b/compiler/tools/fpp-to-cpp/test/array/run.sh @@ -11,7 +11,10 @@ alias_type() run_test "$fpp_options" alias_type && \ diff_cpp AliasTypeArray && \ diff -u ATAliasAc.ref.h ATAliasAc.h && \ - diff -u ATAliasAc.ref.hpp ATAliasAc.hpp + diff -u ATAliasAc.ref.hpp ATAliasAc.hpp && \ + diff_cpp AliasTypeFormatArray && \ + diff -u ATF32AliasAc.ref.h ATF32AliasAc.h && \ + diff -u ATF32AliasAc.ref.hpp ATF32AliasAc.hpp } component() diff --git a/compiler/tools/fpp-to-cpp/test/array/update-ref.sh b/compiler/tools/fpp-to-cpp/test/array/update-ref.sh index 41f3496796..13b60bf759 100644 --- a/compiler/tools/fpp-to-cpp/test/array/update-ref.sh +++ b/compiler/tools/fpp-to-cpp/test/array/update-ref.sh @@ -12,6 +12,9 @@ alias_type() move_cpp AliasTypeArray mv ATAliasAc.hpp ATAliasAc.ref.hpp mv ATAliasAc.h ATAliasAc.ref.h + move_cpp AliasTypeFormatArray + mv ATF32AliasAc.hpp ATF32AliasAc.ref.hpp + mv ATF32AliasAc.h ATF32AliasAc.ref.h } component() diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.cpp index f152455770..c8913e2b3b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.cpp @@ -5,6 +5,7 @@ // ====================================================================== #include "ActiveExternalParamsComponentAc.hpp" +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1689,6 +1690,7 @@ void ActiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -1714,6 +1716,7 @@ void ActiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -1760,6 +1763,7 @@ void ActiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -1785,6 +1789,7 @@ void ActiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -1831,6 +1836,7 @@ void ActiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -1856,6 +1862,7 @@ void ActiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -3495,6 +3502,17 @@ void ActiveExternalParamsComponentBase :: // Do nothing by default } +void ActiveExternalParamsComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.hpp index c1060e2498..30a465ad9e 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveExternalParamsComponentAc.ref.hpp @@ -1544,9 +1544,21 @@ class ActiveExternalParamsComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp index ea5c714e96..61e6fad616 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.cpp @@ -5,6 +5,7 @@ // ====================================================================== #include "ActiveParamsComponentAc.hpp" +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1685,6 +1686,7 @@ void ActiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -1706,6 +1708,7 @@ void ActiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -1733,6 +1736,7 @@ void ActiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -1754,6 +1758,7 @@ void ActiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -1781,6 +1786,7 @@ void ActiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -1802,6 +1808,7 @@ void ActiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); // Call notifier this->parametersLoaded(); @@ -3441,6 +3448,17 @@ void ActiveParamsComponentBase :: // Do nothing by default } +void ActiveParamsComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp index 469a84e3e7..33f13fc3f3 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveParamsComponentAc.ref.hpp @@ -1543,9 +1543,21 @@ class ActiveParamsComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp index f11b4f9b56..0bd9a380d4 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp @@ -5,6 +5,7 @@ // ====================================================================== #include "ActiveSerialComponentAc.hpp" +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -2147,6 +2148,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -2168,6 +2170,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -2195,6 +2198,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -2216,6 +2220,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -2243,6 +2248,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -2264,6 +2270,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); _id = _baseId + PARAMID_PARAMI32EXT; @@ -2289,6 +2296,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -2314,6 +2322,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -2360,6 +2369,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -2385,6 +2395,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -2431,6 +2442,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -2456,6 +2468,7 @@ void ActiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -7120,6 +7133,17 @@ void ActiveSerialComponentBase :: // Do nothing by default } +void ActiveSerialComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp index d8efe1c96a..0a3e28e2e8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp @@ -2550,9 +2550,21 @@ class ActiveSerialComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp index 489a6ca43c..c70ae1d36b 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.cpp @@ -5,6 +5,7 @@ // ====================================================================== #include "ActiveTestComponentAc.hpp" +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -2225,6 +2226,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -2246,6 +2248,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -2273,6 +2276,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -2294,6 +2298,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -2321,6 +2326,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -2342,6 +2348,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); _id = _baseId + PARAMID_PARAMI32EXT; @@ -2367,6 +2374,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -2392,6 +2400,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -2438,6 +2447,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -2463,6 +2473,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -2509,6 +2520,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -2534,6 +2546,7 @@ namespace M { } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -6952,6 +6965,17 @@ namespace M { // Do nothing by default } + void ActiveTestComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) + { + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } + } + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp index a1a8df7e62..f054b703d5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveTestComponentAc.ref.hpp @@ -2490,9 +2490,21 @@ namespace M { //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.cpp index ac9efcea7c..55973b619f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for PassiveExternalParams component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1404,6 +1405,7 @@ void PassiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -1429,6 +1431,7 @@ void PassiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -1475,6 +1478,7 @@ void PassiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -1500,6 +1504,7 @@ void PassiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -1546,6 +1551,7 @@ void PassiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -1571,6 +1577,7 @@ void PassiveExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -2541,6 +2548,17 @@ void PassiveExternalParamsComponentBase :: // Do nothing by default } +void PassiveExternalParamsComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.hpp index d7a1ef0f33..c534215864 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveExternalParamsComponentAc.ref.hpp @@ -1248,9 +1248,21 @@ class PassiveExternalParamsComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp index 005a7c362d..567ba29316 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for PassiveParams component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1400,6 +1401,7 @@ void PassiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -1421,6 +1423,7 @@ void PassiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -1448,6 +1451,7 @@ void PassiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -1469,6 +1473,7 @@ void PassiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -1496,6 +1501,7 @@ void PassiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -1517,6 +1523,7 @@ void PassiveParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); // Call notifier this->parametersLoaded(); @@ -2487,6 +2494,17 @@ void PassiveParamsComponentBase :: // Do nothing by default } +void PassiveParamsComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp index 7ee448ff3d..7cc5958dc6 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveParamsComponentAc.ref.hpp @@ -1247,9 +1247,21 @@ class PassiveParamsComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp index 2d3caa437a..80f62f7993 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for PassiveSerial component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1645,6 +1646,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -1666,6 +1668,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -1693,6 +1696,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -1714,6 +1718,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -1741,6 +1746,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -1762,6 +1768,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); _id = _baseId + PARAMID_PARAMI32EXT; @@ -1787,6 +1794,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -1812,6 +1820,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -1858,6 +1867,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -1883,6 +1893,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -1929,6 +1940,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -1954,6 +1966,7 @@ void PassiveSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -5026,6 +5039,17 @@ void PassiveSerialComponentBase :: // Do nothing by default } +void PassiveSerialComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp index 6b1a89ae4e..8b66825abc 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp @@ -1904,9 +1904,21 @@ class PassiveSerialComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp index 3326a875fe..7b3b888218 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for PassiveTest component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1877,6 +1878,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -1898,6 +1900,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -1925,6 +1928,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -1946,6 +1950,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -1973,6 +1978,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -1994,6 +2000,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); _id = _baseId + PARAMID_PARAMI32EXT; @@ -2019,6 +2026,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -2044,6 +2052,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -2090,6 +2099,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -2115,6 +2125,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -2161,6 +2172,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -2186,6 +2198,7 @@ void PassiveTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -5206,6 +5219,17 @@ void PassiveTestComponentBase :: // Do nothing by default } +void PassiveTestComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp index f20cdc2b72..88a0816a3c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveTestComponentAc.ref.hpp @@ -1967,9 +1967,21 @@ class PassiveTestComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.cpp index 8575cfdf03..b60f6122f5 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for QueuedExternalParams component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1689,6 +1690,7 @@ void QueuedExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -1714,6 +1716,7 @@ void QueuedExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -1760,6 +1763,7 @@ void QueuedExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -1785,6 +1789,7 @@ void QueuedExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -1831,6 +1836,7 @@ void QueuedExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -1856,6 +1862,7 @@ void QueuedExternalParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -3495,6 +3502,17 @@ void QueuedExternalParamsComponentBase :: // Do nothing by default } +void QueuedExternalParamsComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.hpp index d43cd070cc..887af58fff 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedExternalParamsComponentAc.ref.hpp @@ -1544,9 +1544,21 @@ class QueuedExternalParamsComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp index f283e49187..5943dd7274 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for QueuedParams component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -1685,6 +1686,7 @@ void QueuedParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -1706,6 +1708,7 @@ void QueuedParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -1733,6 +1736,7 @@ void QueuedParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -1754,6 +1758,7 @@ void QueuedParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -1781,6 +1786,7 @@ void QueuedParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -1802,6 +1808,7 @@ void QueuedParamsComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); // Call notifier this->parametersLoaded(); @@ -3441,6 +3448,17 @@ void QueuedParamsComponentBase :: // Do nothing by default } +void QueuedParamsComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp index 74aeb0086d..a6bb1950cb 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedParamsComponentAc.ref.hpp @@ -1543,9 +1543,21 @@ class QueuedParamsComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp index e4831a3b88..18967420d2 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for QueuedSerial component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -2147,6 +2148,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -2168,6 +2170,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -2195,6 +2198,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -2216,6 +2220,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -2243,6 +2248,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -2264,6 +2270,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); _id = _baseId + PARAMID_PARAMI32EXT; @@ -2289,6 +2296,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -2314,6 +2322,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -2360,6 +2369,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -2385,6 +2395,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -2431,6 +2442,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -2456,6 +2468,7 @@ void QueuedSerialComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -7120,6 +7133,17 @@ void QueuedSerialComponentBase :: // Do nothing by default } +void QueuedSerialComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp index 80e1cbb85f..5910798c8d 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp @@ -2550,9 +2550,21 @@ class QueuedSerialComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp index 34f6899899..d08eb65986 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.cpp @@ -4,6 +4,7 @@ // \brief cpp file for QueuedTest component base class // ====================================================================== +#include "Fw/Prm/ParamValid.hpp" #include "Fw/Types/Assert.hpp" #include "Fw/Types/ExternalString.hpp" #if FW_ENABLE_TEXT_LOGGING @@ -2223,6 +2224,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMU32, this->m_param_ParamU32_valid); _id = _baseId + PARAMID_PARAMF64; @@ -2244,6 +2246,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64, this->m_param_ParamF64_valid); _id = _baseId + PARAMID_PARAMSTRING; @@ -2271,6 +2274,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRING, this->m_param_ParamString_valid); _id = _baseId + PARAMID_PARAMENUM; @@ -2292,6 +2296,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUM, this->m_param_ParamEnum_valid); _id = _baseId + PARAMID_PARAMARRAY; @@ -2319,6 +2324,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAY, this->m_param_ParamArray_valid); _id = _baseId + PARAMID_PARAMSTRUCT; @@ -2340,6 +2346,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCT, this->m_param_ParamStruct_valid); _id = _baseId + PARAMID_PARAMI32EXT; @@ -2365,6 +2372,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMI32EXT, this->m_param_ParamI32Ext_valid); _id = _baseId + PARAMID_PARAMF64EXT; @@ -2390,6 +2398,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMF64EXT, this->m_param_ParamF64Ext_valid); _id = _baseId + PARAMID_PARAMSTRINGEXT; @@ -2436,6 +2445,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRINGEXT, this->m_param_ParamStringExt_valid); _id = _baseId + PARAMID_PARAMENUMEXT; @@ -2461,6 +2471,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMENUMEXT, this->m_param_ParamEnumExt_valid); _id = _baseId + PARAMID_PARAMARRAYEXT; @@ -2507,6 +2518,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMARRAYEXT, this->m_param_ParamArrayExt_valid); _id = _baseId + PARAMID_PARAMSTRUCTEXT; @@ -2532,6 +2544,7 @@ void QueuedTestComponentBase :: } this->m_paramLock.unlock(); + this->parameterLoaded(PARAMID_PARAMSTRUCTEXT, this->m_param_ParamStructExt_valid); // Call notifier this->parametersLoaded(); @@ -6950,6 +6963,17 @@ void QueuedTestComponentBase :: // Do nothing by default } +void QueuedTestComponentBase :: + parameterLoaded( + FwPrmIdType id, + Fw::ParamValid valid + ) +{ + if (FW_PARAM_OK(valid)) { + this->parameterUpdated(id); + } +} + // ---------------------------------------------------------------------- // Parameter get functions // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp index 7ce9a341d1..0d477b9302 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedTestComponentAc.ref.hpp @@ -2488,9 +2488,21 @@ class QueuedTestComponentBase : //! \brief Called whenever parameters are loaded //! - //! This function does nothing by default. You may override it. + //! By default this notifies the component of each parameter via + //! parameterUpdated. You may override it, for example to suppress + //! notification on load. virtual void parametersLoaded(); + //! \brief Called for each parameter when parameters are loaded + //! + //! By default this notifies the component via parameterUpdated when + //! the parameter loaded successfully (valid or default). You may + //! override it, for example to distinguish load from update. + virtual void parameterLoaded( + FwPrmIdType id, //!< The parameter ID + Fw::ParamValid valid //!< The parameter validity status + ); + protected: // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_constant_param.ref.cpp b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_constant_param.ref.cpp new file mode 100644 index 0000000000..3e2927248b --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_constant_param.ref.cpp @@ -0,0 +1,7 @@ +// ====================================================================== +// \title FppConstantsAc.cpp +// \author Generated by fpp-to-cpp +// \brief cpp file for FPP constants +// ====================================================================== + +#include "FppConstantsAc.hpp" diff --git a/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_constant_param.ref.hpp b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_constant_param.ref.hpp new file mode 100644 index 0000000000..7b67922d4c --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_constant_param.ref.hpp @@ -0,0 +1,21 @@ +// ====================================================================== +// \title FppConstantsAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for FPP constants +// ====================================================================== + +#ifndef FppConstantsAc_HPP +#define FppConstantsAc_HPP + +#include "Fw/Types/BasicTypes.hpp" + +namespace M { + + //! Constant computed from a template parameter + enum { + scaled = 20 + }; + +} + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_two_expansions.ref.cpp b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_two_expansions.ref.cpp new file mode 100644 index 0000000000..3e2927248b --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_two_expansions.ref.cpp @@ -0,0 +1,7 @@ +// ====================================================================== +// \title FppConstantsAc.cpp +// \author Generated by fpp-to-cpp +// \brief cpp file for FPP constants +// ====================================================================== + +#include "FppConstantsAc.hpp" diff --git a/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_two_expansions.ref.hpp b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_two_expansions.ref.hpp new file mode 100644 index 0000000000..62d31f3b03 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/FppConstantsAc_two_expansions.ref.hpp @@ -0,0 +1,30 @@ +// ====================================================================== +// \title FppConstantsAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for FPP constants +// ====================================================================== + +#ifndef FppConstantsAc_HPP +#define FppConstantsAc_HPP + +#include "Fw/Types/BasicTypes.hpp" + +namespace M1 { + + //! Constant computed from a template parameter + enum { + scaled = 2 + }; + +} + +namespace M2 { + + //! Constant computed from a template parameter + enum { + scaled = 4 + }; + +} + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/InstParamTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/template/InstParamTopologyAc.ref.cpp new file mode 100644 index 0000000000..a851697ca4 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/InstParamTopologyAc.ref.cpp @@ -0,0 +1,149 @@ +// ====================================================================== +// \title InstParamTopologyAc.cpp +// \author Generated by fpp-to-cpp +// \brief cpp file for InstParam topology +// ====================================================================== + +#include "InstParamTopologyAc.hpp" + +// ---------------------------------------------------------------------- +// Component instances +// ---------------------------------------------------------------------- + +CIn cIn(FW_OPTIONAL_NAME("cIn")); + +COut cOut(FW_OPTIONAL_NAME("cOut")); + +namespace M { + + // ---------------------------------------------------------------------- + // Helper functions + // ---------------------------------------------------------------------- + + void initComponents(const TopologyState& state) { + cIn.init(InstanceIds::cIn); + cOut.init(InstanceIds::cOut); + } + + void configComponents(const TopologyState& state) { + // Nothing to do + } + + void setBaseIds() { + cOut.setIdBase(BaseIds::cOut); + cIn.setIdBase(BaseIds::cIn); + } + + void connectComponents() { + +#if !FW_DIRECT_PORT_CALLS + + // C + cOut.set_pOut_OutputPort( + 0, + cIn.get_pIn_InputPort(0) + ); + +#endif + + } + + void regCommands() { + // Nothing to do + } + + void readParameters() { + // Nothing to do + } + + void loadParameters() { + // Nothing to do + } + + void startTasks(const TopologyState& state) { + // Nothing to do + } + + void stopTasks(const TopologyState& state) { + // Nothing to do + } + + void freeThreads(const TopologyState& state) { + // Nothing to do + } + + void tearDownComponents(const TopologyState& state) { + // Nothing to do + } + + void deinitComponents(const TopologyState& state) { + cIn.deinit(); + cOut.deinit(); + } + + // ---------------------------------------------------------------------- + // Setup and teardown functions + // ---------------------------------------------------------------------- + + void setup(const TopologyState& state) { + initComponents(state); + configComponents(state); + setBaseIds(); + connectComponents(); + regCommands(); + readParameters(); + loadParameters(); + startTasks(state); + } + + void teardown(const TopologyState& state) { + stopTasks(state); + freeThreads(state); + tearDownComponents(state); + deinitComponents(state); + } + +} + +#if FW_DIRECT_PORT_CALLS + +// ---------------------------------------------------------------------- +// Topology-dependent component implementation +// ---------------------------------------------------------------------- + + +bool COutComponentBase::isConnected_pOut_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_POUT_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_POUT_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + default: + break; + } + return result; +} + +void COutComponentBase::pOut_out(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_POUT_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_POUT_OUTPUT_PORTS) + ); + switch (portNum) { + case 0: + cIn.pIn_handlerBase(0); + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } +} + + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/InstParamTopologyAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/template/InstParamTopologyAc.ref.hpp new file mode 100644 index 0000000000..8df7c9b35c --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/InstParamTopologyAc.ref.hpp @@ -0,0 +1,114 @@ +// ====================================================================== +// \title InstParamTopologyAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for InstParam topology +// ====================================================================== + +#ifndef M_InstParamTopologyAc_HPP +#define M_InstParamTopologyAc_HPP + +#include "CIn.hpp" +#include "COut.hpp" +#include "InstParamTopologyDefs.hpp" + +// ---------------------------------------------------------------------- +// Component instances +// ---------------------------------------------------------------------- + +//! cIn +extern CIn cIn; + +//! cOut +extern COut cOut; + +namespace M { + + // ---------------------------------------------------------------------- + // Constants + // ---------------------------------------------------------------------- + + namespace BaseIds { + enum { + cOut = 0x100, + cIn = 0x200, + }; + } + + namespace InstanceIds { + enum { + cIn, + cOut, + }; + } + + // ---------------------------------------------------------------------- + // Helper functions + // ---------------------------------------------------------------------- + + //! Initialize components + void initComponents( + const TopologyState& state //!< The topology state + ); + + //! Configure components + void configComponents( + const TopologyState& state //!< The topology state + ); + + //! Set component base Ids + void setBaseIds(); + + //! Connect components + void connectComponents(); + + //! Register commands + void regCommands(); + + //! Read parameters + void readParameters(); + + //! Load parameters + void loadParameters(); + + //! Start tasks + void startTasks( + const TopologyState& state //!< The topology state + ); + + //! Stop tasks + void stopTasks( + const TopologyState& state //!< The topology state + ); + + //! Free threads + void freeThreads( + const TopologyState& state //!< The topology state + ); + + //! Tear down components + void tearDownComponents( + const TopologyState& state //!< The topology state + ); + + //! Deinitialize components + void deinitComponents( + const TopologyState& state //!< The topology state + ); + + // ---------------------------------------------------------------------- + // Setup and teardown functions + // ---------------------------------------------------------------------- + + //! Set up the topology + void setup( + const TopologyState& state //!< The topology state + ); + + //! Tear down the topology + void teardown( + const TopologyState& state //!< The topology state + ); + +} + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/SubParamTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/template/SubParamTopologyAc.ref.cpp new file mode 100644 index 0000000000..0537ff568a --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/SubParamTopologyAc.ref.cpp @@ -0,0 +1,149 @@ +// ====================================================================== +// \title SubParamTopologyAc.cpp +// \author Generated by fpp-to-cpp +// \brief cpp file for SubParam topology +// ====================================================================== + +#include "SubParamTopologyAc.hpp" + +// ---------------------------------------------------------------------- +// Component instances +// ---------------------------------------------------------------------- + +CI cIn(FW_OPTIONAL_NAME("cIn")); + +CO cOut(FW_OPTIONAL_NAME("cOut")); + +namespace M { + + // ---------------------------------------------------------------------- + // Helper functions + // ---------------------------------------------------------------------- + + void initComponents(const TopologyState& state) { + cIn.init(InstanceIds::cIn); + cOut.init(InstanceIds::cOut); + } + + void configComponents(const TopologyState& state) { + // Nothing to do + } + + void setBaseIds() { + cOut.setIdBase(BaseIds::cOut); + cIn.setIdBase(BaseIds::cIn); + } + + void connectComponents() { + +#if !FW_DIRECT_PORT_CALLS + + // C + cOut.set_p_OutputPort( + 0, + cIn.get_p_InputPort(0) + ); + +#endif + + } + + void regCommands() { + // Nothing to do + } + + void readParameters() { + // Nothing to do + } + + void loadParameters() { + // Nothing to do + } + + void startTasks(const TopologyState& state) { + // Nothing to do + } + + void stopTasks(const TopologyState& state) { + // Nothing to do + } + + void freeThreads(const TopologyState& state) { + // Nothing to do + } + + void tearDownComponents(const TopologyState& state) { + // Nothing to do + } + + void deinitComponents(const TopologyState& state) { + cIn.deinit(); + cOut.deinit(); + } + + // ---------------------------------------------------------------------- + // Setup and teardown functions + // ---------------------------------------------------------------------- + + void setup(const TopologyState& state) { + initComponents(state); + configComponents(state); + setBaseIds(); + connectComponents(); + regCommands(); + readParameters(); + loadParameters(); + startTasks(state); + } + + void teardown(const TopologyState& state) { + stopTasks(state); + freeThreads(state); + tearDownComponents(state); + deinitComponents(state); + } + +} + +#if FW_DIRECT_PORT_CALLS + +// ---------------------------------------------------------------------- +// Topology-dependent component implementation +// ---------------------------------------------------------------------- + + +bool COComponentBase::isConnected_p_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_P_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_P_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + default: + break; + } + return result; +} + +void COComponentBase::p_out(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_P_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_P_OUTPUT_PORTS) + ); + switch (portNum) { + case 0: + cIn.p_handlerBase(0); + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } +} + + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/SubParamTopologyAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/template/SubParamTopologyAc.ref.hpp new file mode 100644 index 0000000000..88f97f4f1f --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/SubParamTopologyAc.ref.hpp @@ -0,0 +1,114 @@ +// ====================================================================== +// \title SubParamTopologyAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for SubParam topology +// ====================================================================== + +#ifndef M_SubParamTopologyAc_HPP +#define M_SubParamTopologyAc_HPP + +#include "CI.hpp" +#include "CO.hpp" +#include "SubParamTopologyDefs.hpp" + +// ---------------------------------------------------------------------- +// Component instances +// ---------------------------------------------------------------------- + +//! cIn +extern CI cIn; + +//! cOut +extern CO cOut; + +namespace M { + + // ---------------------------------------------------------------------- + // Constants + // ---------------------------------------------------------------------- + + namespace BaseIds { + enum { + cOut = 0x100, + cIn = 0x200, + }; + } + + namespace InstanceIds { + enum { + cIn, + cOut, + }; + } + + // ---------------------------------------------------------------------- + // Helper functions + // ---------------------------------------------------------------------- + + //! Initialize components + void initComponents( + const TopologyState& state //!< The topology state + ); + + //! Configure components + void configComponents( + const TopologyState& state //!< The topology state + ); + + //! Set component base Ids + void setBaseIds(); + + //! Connect components + void connectComponents(); + + //! Register commands + void regCommands(); + + //! Read parameters + void readParameters(); + + //! Load parameters + void loadParameters(); + + //! Start tasks + void startTasks( + const TopologyState& state //!< The topology state + ); + + //! Stop tasks + void stopTasks( + const TopologyState& state //!< The topology state + ); + + //! Free threads + void freeThreads( + const TopologyState& state //!< The topology state + ); + + //! Tear down components + void tearDownComponents( + const TopologyState& state //!< The topology state + ); + + //! Deinitialize components + void deinitComponents( + const TopologyState& state //!< The topology state + ); + + // ---------------------------------------------------------------------- + // Setup and teardown functions + // ---------------------------------------------------------------------- + + //! Set up the topology + void setup( + const TopologyState& state //!< The topology state + ); + + //! Tear down the topology + void teardown( + const TopologyState& state //!< The topology state + ); + +} + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/TwoSubsTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/template/TwoSubsTopologyAc.ref.cpp new file mode 100644 index 0000000000..aea7cdc45f --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/TwoSubsTopologyAc.ref.cpp @@ -0,0 +1,202 @@ +// ====================================================================== +// \title TwoSubsTopologyAc.cpp +// \author Generated by fpp-to-cpp +// \brief cpp file for TwoSubs topology +// ====================================================================== + +#include "TwoSubsTopologyAc.hpp" + +// ---------------------------------------------------------------------- +// Component instances +// ---------------------------------------------------------------------- + +CO a1(FW_OPTIONAL_NAME("a1")); + +CO a2(FW_OPTIONAL_NAME("a2")); + +CI s1(FW_OPTIONAL_NAME("s1")); + +CI s2(FW_OPTIONAL_NAME("s2")); + +// ---------------------------------------------------------------------- +// Helper functions +// ---------------------------------------------------------------------- + +void initComponents(const TopologyState& state) { + a1.init(InstanceIds::a1); + a2.init(InstanceIds::a2); + s1.init(InstanceIds::s1); + s2.init(InstanceIds::s2); +} + +void configComponents(const TopologyState& state) { + // Nothing to do +} + +void setBaseIds() { + a1.setIdBase(BaseIds::a1); + a2.setIdBase(BaseIds::a2); + s1.setIdBase(BaseIds::s1); + s2.setIdBase(BaseIds::s2); +} + +void connectComponents() { + +#if !FW_DIRECT_PORT_CALLS + + // C + a1.set_pOut_OutputPort( + 0, + s1.get_pIn_InputPort(0) + ); + a2.set_pOut_OutputPort( + 0, + s2.get_pIn_InputPort(0) + ); + +#endif + +} + +void regCommands() { + // Nothing to do +} + +void readParameters() { + // Nothing to do +} + +void loadParameters() { + // Nothing to do +} + +void startTasks(const TopologyState& state) { + // Nothing to do +} + +void stopTasks(const TopologyState& state) { + // Nothing to do +} + +void freeThreads(const TopologyState& state) { + // Nothing to do +} + +void tearDownComponents(const TopologyState& state) { + // Nothing to do +} + +void deinitComponents(const TopologyState& state) { + a1.deinit(); + a2.deinit(); + s1.deinit(); + s2.deinit(); +} + +// ---------------------------------------------------------------------- +// Setup and teardown functions +// ---------------------------------------------------------------------- + +void setup(const TopologyState& state) { + initComponents(state); + configComponents(state); + setBaseIds(); + connectComponents(); + regCommands(); + readParameters(); + loadParameters(); + startTasks(state); +} + +void teardown(const TopologyState& state) { + stopTasks(state); + freeThreads(state); + tearDownComponents(state); + deinitComponents(state); +} + +#if FW_DIRECT_PORT_CALLS + +// ---------------------------------------------------------------------- +// Topology-dependent component implementation +// ---------------------------------------------------------------------- + + +bool COComponentBase::isConnected_pOut_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_POUT_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_POUT_OUTPUT_PORTS) + ); + bool result = false; + const auto instance = this->getInstance(); + switch (instance) { + default: +#ifdef FW_STRICT_ASSERTIONS + FW_ASSERT(false, static_cast(instance)); + break; +#else + // Fall through +#endif + case InstanceIds::a1: + switch (portNum) { + case 0: + result = true; + break; + default: + break; + } + break; + case InstanceIds::a2: + switch (portNum) { + case 0: + result = true; + break; + default: + break; + } + break; + } + return result; +} + +void COComponentBase::pOut_out(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_POUT_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_POUT_OUTPUT_PORTS) + ); + const auto instance = this->getInstance(); + switch (instance) { + default: +#ifdef FW_STRICT_ASSERTIONS + FW_ASSERT(false, static_cast(instance)); + break; +#else + // Fall through +#endif + case InstanceIds::a1: + switch (portNum) { + case 0: + s1.pIn_handlerBase(0); + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } + break; + case InstanceIds::a2: + switch (portNum) { + case 0: + s2.pIn_handlerBase(0); + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } + break; + } +} + + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/TwoSubsTopologyAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/template/TwoSubsTopologyAc.ref.hpp new file mode 100644 index 0000000000..e730e4225e --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/TwoSubsTopologyAc.ref.hpp @@ -0,0 +1,120 @@ +// ====================================================================== +// \title TwoSubsTopologyAc.hpp +// \author Generated by fpp-to-cpp +// \brief hpp file for TwoSubs topology +// ====================================================================== + +#ifndef TwoSubsTopologyAc_HPP +#define TwoSubsTopologyAc_HPP + +#include "CI.hpp" +#include "CO.hpp" +#include "TwoSubsTopologyDefs.hpp" + +// ---------------------------------------------------------------------- +// Component instances +// ---------------------------------------------------------------------- + +//! a1 +extern CO a1; + +//! a2 +extern CO a2; + +//! s1 +extern CI s1; + +//! s2 +extern CI s2; + +// ---------------------------------------------------------------------- +// Constants +// ---------------------------------------------------------------------- + +namespace BaseIds { + enum { + a1 = 0x100, + a2 = 0x200, + s1 = 0x300, + s2 = 0x400, + }; +} + +namespace InstanceIds { + enum { + a1, + a2, + s1, + s2, + }; +} + +// ---------------------------------------------------------------------- +// Helper functions +// ---------------------------------------------------------------------- + +//! Initialize components +void initComponents( + const TopologyState& state //!< The topology state +); + +//! Configure components +void configComponents( + const TopologyState& state //!< The topology state +); + +//! Set component base Ids +void setBaseIds(); + +//! Connect components +void connectComponents(); + +//! Register commands +void regCommands(); + +//! Read parameters +void readParameters(); + +//! Load parameters +void loadParameters(); + +//! Start tasks +void startTasks( + const TopologyState& state //!< The topology state +); + +//! Stop tasks +void stopTasks( + const TopologyState& state //!< The topology state +); + +//! Free threads +void freeThreads( + const TopologyState& state //!< The topology state +); + +//! Tear down components +void tearDownComponents( + const TopologyState& state //!< The topology state +); + +//! Deinitialize components +void deinitComponents( + const TopologyState& state //!< The topology state +); + +// ---------------------------------------------------------------------- +// Setup and teardown functions +// ---------------------------------------------------------------------- + +//! Set up the topology +void setup( + const TopologyState& state //!< The topology state +); + +//! Tear down the topology +void teardown( + const TopologyState& state //!< The topology state +); + +#endif diff --git a/compiler/tools/fpp-to-cpp/test/template/clean b/compiler/tools/fpp-to-cpp/test/template/clean new file mode 100755 index 0000000000..e8da5eba6a --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/clean @@ -0,0 +1,14 @@ +#!/bin/sh -e + +. ../../../../scripts/utils.sh + +for dir in `find . -maxdepth 1 -type d -name '*.out.dir'` +do + rm -r $dir +done +clean +rm -f default-tests.sh default-update-ref.sh +for file in `find . -name '*out.*' -or -name '*.names.txt' -or -name '*Ac.hpp' -or -name '*Ac.cpp'` +do + rm $file +done diff --git a/compiler/tools/fpp-to-cpp/test/template/constant_param.fpp b/compiler/tools/fpp-to-cpp/test/template/constant_param.fpp new file mode 100644 index 0000000000..c2b72b9093 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/constant_param.fpp @@ -0,0 +1,10 @@ +module template T(constant n: U32) { + + @ Constant computed from a template parameter + constant scaled = n * 2 + +} + +module M { + expand T(constant 10) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/constant_param.ref.txt b/compiler/tools/fpp-to-cpp/test/template/constant_param.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/duplicate.fpp b/compiler/tools/fpp-to-cpp/test/template/duplicate.fpp new file mode 100644 index 0000000000..0a2e11f375 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/duplicate.fpp @@ -0,0 +1,11 @@ +module template T(constant n: U32) { + array Duplicate = [n] U32 +} + +module M1 { + expand T(constant 1) +} + +module M2 { + expand T(constant 2) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/duplicate.ref.txt b/compiler/tools/fpp-to-cpp/test/template/duplicate.ref.txt new file mode 100644 index 0000000000..1198a3aacc --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/duplicate.ref.txt @@ -0,0 +1,11 @@ +fpp-to-cpp +[ local path prefix ]/tools/fpp-to-cpp/test/template/duplicate.fpp:2.3 + array Duplicate = [n] U32 + ^ + expanded at [ local path prefix ]/tools/fpp-to-cpp/test/template/duplicate.fpp:10.3 +error: duplicate C++ file DuplicateArrayAc.hpp +previous file would be generated here: +[ local path prefix ]/tools/fpp-to-cpp/test/template/duplicate.fpp:2.3 + array Duplicate = [n] U32 + ^ + expanded at [ local path prefix ]/tools/fpp-to-cpp/test/template/duplicate.fpp:6.3 diff --git a/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.fpp b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.fpp new file mode 100644 index 0000000000..3483004e97 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.fpp @@ -0,0 +1,41 @@ +module template T(constant n: U32) { + + @ Enum from a template, values computed from a constant template parameter + enum E: U32 { + @ First value + A = n + @ Second value + B = n + 1 + } + + @ State machine from a template + state machine SM { + + @ Signal carrying the enum defined by the same template + signal s: E + + @ Action + action a + + @ Guard + guard g + + initial enter S + + @ The initial state + state S { + on s if g do { a } enter Tt + } + + @ The final state + state Tt { + entry do { a } + } + + } + +} + +module M { + expand T(constant 10) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.names.ref.txt new file mode 100644 index 0000000000..30b613a217 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.names.ref.txt @@ -0,0 +1,6 @@ +EEnumAc.cpp +EEnumAc.hpp +SMStateMachineAc.cpp +SMStateMachineAc.hpp +SM_StateEnumAc.cpp +SM_StateEnumAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.ref.txt b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/enum_state_machine_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine_hand.fpp new file mode 100644 index 0000000000..7dec44f87c --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine_hand.fpp @@ -0,0 +1,37 @@ +module M { + + @ Enum from a template, values computed from a constant template parameter + enum E: U32 { + @ First value + A = 10 + @ Second value + B = 10 + 1 + } + + @ State machine from a template + state machine SM { + + @ Signal carrying the enum defined by the same template + signal s: E + + @ Action + action a + + @ Guard + guard g + + initial enter S + + @ The initial state + state S { + on s if g do { a } enter Tt + } + + @ The final state + state Tt { + entry do { a } + } + + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/enum_state_machine_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/enum_state_machine_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion.fpp b/compiler/tools/fpp-to-cpp/test/template/expansion.fpp new file mode 100644 index 0000000000..58d25edc60 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/expansion.fpp @@ -0,0 +1,30 @@ +port P + +struct Elt { x: U32 } + +module template T(constant n: U32, type Ty) { + + @ Array from a template + array A = [n] Ty + + @ Struct from a template + struct S { + e: Ty + a: A + } + + @ Port from a template + port Q(s: S) + + @ Component from a template + passive component C { + sync input port pIn: P + output port qOut: Q + constant k = n + 1 + } + +} + +module M { + expand T(constant 3, type Elt) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion.names.ref.txt new file mode 100644 index 0000000000..c62fce9cbb --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/expansion.names.ref.txt @@ -0,0 +1,14 @@ +AArrayAc.cpp +AArrayAc.hpp +CComponentAc.cpp +CComponentAc.hpp +EltSerializableAc.cpp +EltSerializableAc.hpp +FppConstantsAc.cpp +FppConstantsAc.hpp +PPortAc.cpp +PPortAc.hpp +QPortAc.cpp +QPortAc.hpp +SSerializableAc.cpp +SSerializableAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/expansion_hand.fpp new file mode 100644 index 0000000000..2a4af975b9 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/expansion_hand.fpp @@ -0,0 +1,26 @@ +port P + +struct Elt { x: U32 } + +module M { + + @ Array from a template + array A = [3] Elt + + @ Struct from a template + struct S { + e: Elt + a: A + } + + @ Port from a template + port Q(s: S) + + @ Component from a template + passive component C { + sync input port pIn: P + output port qOut: Q + constant k = 3 + 1 + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_template.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_template.names.ref.txt new file mode 100644 index 0000000000..ae29e963ce --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/expansion_template.names.ref.txt @@ -0,0 +1,2 @@ +C.template.cpp +C.template.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_template.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_template.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_template_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_template_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_test.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_test.names.ref.txt new file mode 100644 index 0000000000..f49fdc4761 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/expansion_test.names.ref.txt @@ -0,0 +1,18 @@ +AArrayAc.cpp +AArrayAc.hpp +CComponentAc.cpp +CComponentAc.hpp +CGTestBase.cpp +CGTestBase.hpp +CTesterBase.cpp +CTesterBase.hpp +EltSerializableAc.cpp +EltSerializableAc.hpp +FppConstantsAc.cpp +FppConstantsAc.hpp +PPortAc.cpp +PPortAc.hpp +QPortAc.cpp +QPortAc.hpp +SSerializableAc.cpp +SSerializableAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_test.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_test.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/expansion_test_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/expansion_test_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/imports.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/imports.names.ref.txt new file mode 100644 index 0000000000..b067f15021 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/imports.names.ref.txt @@ -0,0 +1,2 @@ +MainArrArrayAc.cpp +MainArrArrayAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/imports.ref.txt b/compiler/tools/fpp-to-cpp/test/template/imports.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/imports_lib.fpp b/compiler/tools/fpp-to-cpp/test/template/imports_lib.fpp new file mode 100644 index 0000000000..f61e416b26 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/imports_lib.fpp @@ -0,0 +1,9 @@ +struct LibElt { x: U32 } + +module template TLib(constant n: U32) { + array LibArr = [n] U32 +} + +module Lib { + expand TLib(constant 2) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/imports_main.fpp b/compiler/tools/fpp-to-cpp/test/template/imports_main.fpp new file mode 100644 index 0000000000..bf2443436a --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/imports_main.fpp @@ -0,0 +1,7 @@ +module template TMain(constant n: U32) { + array MainArr = [n] LibElt +} + +module Main { + expand TMain(constant 3) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/primitive.fpp b/compiler/tools/fpp-to-cpp/test/template/primitive.fpp new file mode 100644 index 0000000000..0cc9934927 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/primitive.fpp @@ -0,0 +1,11 @@ +module template T(type Ty) { + + array A = [3] Ty + + struct S { x: Ty } + +} + +module M { + expand T(type U32) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/primitive.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/primitive.names.ref.txt new file mode 100644 index 0000000000..50d328538f --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/primitive.names.ref.txt @@ -0,0 +1,4 @@ +AArrayAc.cpp +AArrayAc.hpp +SSerializableAc.cpp +SSerializableAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/primitive.ref.txt b/compiler/tools/fpp-to-cpp/test/template/primitive.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/primitive_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/primitive_hand.fpp new file mode 100644 index 0000000000..5c073557c3 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/primitive_hand.fpp @@ -0,0 +1,7 @@ +module M { + + array A = [3] U32 + + struct S { x: U32 } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/primitive_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/primitive_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/run b/compiler/tools/fpp-to-cpp/test/template/run new file mode 100755 index 0000000000..bf6f79f51e --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/run @@ -0,0 +1,5 @@ +#!/bin/sh + +export COMPILER_ROOT=../../../.. + +sh ../scripts/run.sh diff --git a/compiler/tools/fpp-to-cpp/test/template/run.sh b/compiler/tools/fpp-to-cpp/test/template/run.sh new file mode 100644 index 0000000000..c06fbaf831 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/run.sh @@ -0,0 +1,112 @@ +# ---------------------------------------------------------------------- +# Differential test helper +# +# Translate $model.fpp, which uses a module template, and +# $model'_hand'.fpp, which is the same model with the expansion written +# out by hand. Put the two sets of generated files in separate +# directories, and require that the directories be identical. +# +# Also check the names of the files generated from the template model +# against a reference. Otherwise the test would pass if both models +# generated nothing, which is exactly how the loss of the definitions +# contributed by an expansion went unnoticed. +# ---------------------------------------------------------------------- +diff_expansion() +{ + mode=$1 + model=$2 + if test -n "$3" + then + name=$3 + else + name=$model + fi + expand_dir=$name.expand.out.dir + hand_dir=$name.hand.out.dir + rm -rf $expand_dir $hand_dir && \ + mkdir -p $expand_dir $hand_dir && \ + run_test "$mode -p $PWD -d $expand_dir -n $name.names.txt" $model $name && \ + run_test "$mode -p $PWD -d $hand_dir" $model'_hand' $name'_hand' && \ + diff -u $name.names.ref.txt $name.names.txt && \ + diff -r $expand_dir $hand_dir +} + +# Compare the topology implementation generated from the template model +# against a reference. $1 is the directory that diff_expansion created +# for the template model and $2 is the unqualified topology name. +diff_topology() +{ + dir=$1 + top=$2 + diff -u $top'TopologyAc.ref.hpp' $dir/$top'TopologyAc.hpp' && \ + diff -u $top'TopologyAc.ref.cpp' $dir/$top'TopologyAc.cpp' +} + +constant_param() +{ + run_test "-p $PWD" constant_param && \ + diff_cpp_suffix FppConstants _constant_param +} + +enum_state_machine() +{ + diff_expansion '' enum_state_machine +} + +expansion() +{ + diff_expansion '' expansion +} + +expansion_template() +{ + diff_expansion '-t' expansion expansion_template +} + +expansion_test() +{ + diff_expansion '-u' expansion expansion_test +} + +imports() +{ + rm -rf imports.out.dir && \ + mkdir -p imports.out.dir && \ + run_test "-p $PWD -d imports.out.dir -i imports_lib.fpp -n imports.names.txt" \ + imports_main imports && \ + diff -u imports.names.ref.txt imports.names.txt +} + +primitive() +{ + diff_expansion '' primitive +} + +string_type_arg() +{ + diff_expansion '' string_type_arg +} + +topology_instance_param() +{ + diff_expansion '' topology_instance_param && \ + diff_topology topology_instance_param.expand.out.dir InstParam +} + +topology_subtopology_param() +{ + diff_expansion '' topology_subtopology_param && \ + diff_topology topology_subtopology_param.expand.out.dir SubParam +} + +two_expansions() +{ + run_test "-p $PWD" two_expansions && \ + diff_cpp_suffix FppConstants _two_expansions +} + +two_topologies() +{ + diff_expansion '' two_topologies && \ + diff_topology two_topologies.expand.out.dir TwoSubs +} diff --git a/compiler/tools/fpp-to-cpp/test/template/string_type_arg.fpp b/compiler/tools/fpp-to-cpp/test/template/string_type_arg.fpp new file mode 100644 index 0000000000..6c16a280ad --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/string_type_arg.fpp @@ -0,0 +1,21 @@ +@ Implied by any string type name +type FwSizeStoreType = U16 + +@ Implied by a string type name with the size omitted +constant FW_FIXED_LENGTH_STRING_SIZE = 80 + +module template T(type Ty) { + + @ Array of strings from a template type parameter + array StrArr = [2] Ty + + @ Struct with a string member from a template type parameter + struct StrStruct { + s: Ty + } + +} + +module M { + expand T(type string) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/string_type_arg.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/string_type_arg.names.ref.txt new file mode 100644 index 0000000000..0d4ed97c85 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/string_type_arg.names.ref.txt @@ -0,0 +1,7 @@ +FppConstantsAc.cpp +FppConstantsAc.hpp +FwSizeStoreTypeAliasAc.hpp +StrArrArrayAc.cpp +StrArrArrayAc.hpp +StrStructSerializableAc.cpp +StrStructSerializableAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/string_type_arg.ref.txt b/compiler/tools/fpp-to-cpp/test/template/string_type_arg.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/string_type_arg_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/string_type_arg_hand.fpp new file mode 100644 index 0000000000..c2851d1d06 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/string_type_arg_hand.fpp @@ -0,0 +1,17 @@ +@ Implied by any string type name +type FwSizeStoreType = U16 + +@ Implied by a string type name with the size omitted +constant FW_FIXED_LENGTH_STRING_SIZE = 80 + +module M { + + @ Array of strings from a template type parameter + array StrArr = [2] string + + @ Struct with a string member from a template type parameter + struct StrStruct { + s: string + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/string_type_arg_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/string_type_arg_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/tests.sh b/compiler/tools/fpp-to-cpp/test/template/tests.sh new file mode 100644 index 0000000000..3705db10a8 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/tests.sh @@ -0,0 +1,15 @@ +tests=" +constant_param +duplicate +enum_state_machine +expansion +expansion_template +expansion_test +imports +primitive +string_type_arg +topology_instance_param +topology_subtopology_param +two_expansions +two_topologies +" diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.fpp b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.fpp new file mode 100644 index 0000000000..697d295530 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.fpp @@ -0,0 +1,41 @@ +port P + +@ The interface required of the template parameter +interface I { + output port pOut: P +} + +passive component COut { + output port pOut: P +} + +passive component CIn { + sync input port pIn: P +} + +instance cOut: COut base id 0x100 +instance cIn: CIn base id 0x200 + +module template T(instance i: I) { + + @ Subtopology from a template, wired through the instance parameter + topology Sub { + instance i + instance cIn + connections C { + i.pOut -> cIn.pIn + } + } + +} + +module M { + + expand T(instance cOut) + + @ Deployment topology importing the subtopology from the template + deployment topology InstParam { + import Sub + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.names.ref.txt new file mode 100644 index 0000000000..f07c09a963 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.names.ref.txt @@ -0,0 +1,8 @@ +CInComponentAc.cpp +CInComponentAc.hpp +COutComponentAc.cpp +COutComponentAc.hpp +InstParamTopologyAc.cpp +InstParamTopologyAc.hpp +PPortAc.cpp +PPortAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.ref.txt b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_instance_param_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param_hand.fpp new file mode 100644 index 0000000000..bb45fd3a36 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param_hand.fpp @@ -0,0 +1,35 @@ +port P + +@ The interface required of the template parameter +interface I { + output port pOut: P +} + +passive component COut { + output port pOut: P +} + +passive component CIn { + sync input port pIn: P +} + +instance cOut: COut base id 0x100 +instance cIn: CIn base id 0x200 + +module M { + + @ Subtopology from a template, wired through the instance parameter + topology Sub { + instance cOut + instance cIn + connections C { + cOut.pOut -> cIn.pIn + } + } + + @ Deployment topology importing the subtopology from the template + deployment topology InstParam { + import Sub + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_instance_param_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/topology_instance_param_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.fpp b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.fpp new file mode 100644 index 0000000000..6deca59611 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.fpp @@ -0,0 +1,47 @@ +port P + +@ The interface required of the template parameter +interface I { + output port p: P +} + +passive component CO { + output port p: P +} + +passive component CI { + sync input port p: P +} + +instance cOut: CO base id 0x100 +instance cIn: CI base id 0x200 + +@ The subtopology that is bound to the template parameter +topology Sub { + instance cOut + port p = cOut.p +} + +module template T(instance i: I) { + + @ Topology that imports a subtopology through a template parameter + topology Wired { + instance i + instance cIn + connections C { + i.p -> cIn.p + } + } + +} + +module M { + + expand T(instance Sub) + + @ Deployment topology importing the topology from the template + deployment topology SubParam { + import Wired + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.names.ref.txt new file mode 100644 index 0000000000..d6d4bbc652 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.names.ref.txt @@ -0,0 +1,8 @@ +CIComponentAc.cpp +CIComponentAc.hpp +COComponentAc.cpp +COComponentAc.hpp +PPortAc.cpp +PPortAc.hpp +SubParamTopologyAc.cpp +SubParamTopologyAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.ref.txt b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param_hand.fpp new file mode 100644 index 0000000000..cd5b028d2f --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param_hand.fpp @@ -0,0 +1,41 @@ +port P + +@ The interface required of the template parameter +interface I { + output port p: P +} + +passive component CO { + output port p: P +} + +passive component CI { + sync input port p: P +} + +instance cOut: CO base id 0x100 +instance cIn: CI base id 0x200 + +@ The subtopology that is bound to the template parameter +topology Sub { + instance cOut + port p = cOut.p +} + +module M { + + @ Topology that imports a subtopology through a template parameter + topology Wired { + import Sub + instance cIn + connections C { + Sub.p -> cIn.p + } + } + + @ Deployment topology importing the topology from the template + deployment topology SubParam { + import Wired + } + +} diff --git a/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/topology_subtopology_param_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/two_expansions.fpp b/compiler/tools/fpp-to-cpp/test/template/two_expansions.fpp new file mode 100644 index 0000000000..4f3f0465ca --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/two_expansions.fpp @@ -0,0 +1,14 @@ +module template T(constant n: U32) { + + @ Constant computed from a template parameter + constant scaled = n * 2 + +} + +module M1 { + expand T(constant 1) +} + +module M2 { + expand T(constant 2) +} diff --git a/compiler/tools/fpp-to-cpp/test/template/two_expansions.ref.txt b/compiler/tools/fpp-to-cpp/test/template/two_expansions.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/two_topologies.fpp b/compiler/tools/fpp-to-cpp/test/template/two_topologies.fpp new file mode 100644 index 0000000000..d5b7262eef --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/two_topologies.fpp @@ -0,0 +1,51 @@ +port P + +@ The interface required of the source parameter +interface IO { + output port pOut: P +} + +@ The interface required of the sink parameter +interface II { + sync input port pIn: P +} + +passive component CO { + output port pOut: P +} + +passive component CI { + sync input port pIn: P +} + +instance a1: CO base id 0x100 +instance a2: CO base id 0x200 +instance s1: CI base id 0x300 +instance s2: CI base id 0x400 + +module template T(instance src: IO, instance snk: II) { + + @ Subtopology from a template, wired through both instance parameters + topology Sub { + instance src + instance snk + connections C { + src.pOut -> snk.pIn + } + } + +} + +module M1 { + expand T(instance a1, instance s1) +} + +module M2 { + expand T(instance a2, instance s2) +} + +@ Deployment topology importing both expansions of the same template +deployment topology TwoSubs { + import M1.Sub + import M2.Sub +} diff --git a/compiler/tools/fpp-to-cpp/test/template/two_topologies.names.ref.txt b/compiler/tools/fpp-to-cpp/test/template/two_topologies.names.ref.txt new file mode 100644 index 0000000000..329e1a1ac2 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/two_topologies.names.ref.txt @@ -0,0 +1,8 @@ +CIComponentAc.cpp +CIComponentAc.hpp +COComponentAc.cpp +COComponentAc.hpp +PPortAc.cpp +PPortAc.hpp +TwoSubsTopologyAc.cpp +TwoSubsTopologyAc.hpp diff --git a/compiler/tools/fpp-to-cpp/test/template/two_topologies.ref.txt b/compiler/tools/fpp-to-cpp/test/template/two_topologies.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/two_topologies_hand.fpp b/compiler/tools/fpp-to-cpp/test/template/two_topologies_hand.fpp new file mode 100644 index 0000000000..003f881098 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/two_topologies_hand.fpp @@ -0,0 +1,56 @@ +port P + +@ The interface required of the source parameter +interface IO { + output port pOut: P +} + +@ The interface required of the sink parameter +interface II { + sync input port pIn: P +} + +passive component CO { + output port pOut: P +} + +passive component CI { + sync input port pIn: P +} + +instance a1: CO base id 0x100 +instance a2: CO base id 0x200 +instance s1: CI base id 0x300 +instance s2: CI base id 0x400 + +module M1 { + + @ Subtopology from a template, wired through both instance parameters + topology Sub { + instance a1 + instance s1 + connections C { + a1.pOut -> s1.pIn + } + } + +} + +module M2 { + + @ Subtopology from a template, wired through both instance parameters + topology Sub { + instance a2 + instance s2 + connections C { + a2.pOut -> s2.pIn + } + } + +} + +@ Deployment topology importing both expansions of the same template +deployment topology TwoSubs { + import M1.Sub + import M2.Sub +} diff --git a/compiler/tools/fpp-to-cpp/test/template/two_topologies_hand.ref.txt b/compiler/tools/fpp-to-cpp/test/template/two_topologies_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-cpp/test/template/update-ref b/compiler/tools/fpp-to-cpp/test/template/update-ref new file mode 100755 index 0000000000..c905604d41 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/update-ref @@ -0,0 +1,5 @@ +#!/bin/sh + +export COMPILER_ROOT=../../../.. + +sh ../scripts/update-ref.sh diff --git a/compiler/tools/fpp-to-cpp/test/template/update-ref.sh b/compiler/tools/fpp-to-cpp/test/template/update-ref.sh new file mode 100644 index 0000000000..8ab7fcc918 --- /dev/null +++ b/compiler/tools/fpp-to-cpp/test/template/update-ref.sh @@ -0,0 +1,95 @@ +update_expansion() +{ + mode=$1 + model=$2 + if test -n "$3" + then + name=$3 + else + name=$model + fi + expand_dir=$name.expand.out.dir + hand_dir=$name.hand.out.dir + rm -rf $expand_dir $hand_dir + mkdir -p $expand_dir $hand_dir + update "$mode -p $PWD -d $expand_dir -n $name.names.txt" $model $name + mv $name.names.txt $name.names.ref.txt + update "$mode -p $PWD -d $hand_dir" $model'_hand' $name'_hand' +} + +move_topology() +{ + dir=$1 + top=$2 + cp $dir/$top'TopologyAc.hpp' $top'TopologyAc.ref.hpp' + cp $dir/$top'TopologyAc.cpp' $top'TopologyAc.ref.cpp' +} + +constant_param() +{ + update "-p $PWD" constant_param + move_cpp_suffix FppConstants _constant_param +} + +enum_state_machine() +{ + update_expansion '' enum_state_machine +} + +expansion() +{ + update_expansion '' expansion +} + +expansion_template() +{ + update_expansion '-t' expansion expansion_template +} + +expansion_test() +{ + update_expansion '-u' expansion expansion_test +} + +imports() +{ + rm -rf imports.out.dir + mkdir -p imports.out.dir + update "-p $PWD -d imports.out.dir -i imports_lib.fpp -n imports.names.txt" \ + imports_main imports + mv imports.names.txt imports.names.ref.txt +} + +primitive() +{ + update_expansion '' primitive +} + +string_type_arg() +{ + update_expansion '' string_type_arg +} + +topology_instance_param() +{ + update_expansion '' topology_instance_param + move_topology topology_instance_param.expand.out.dir InstParam +} + +topology_subtopology_param() +{ + update_expansion '' topology_subtopology_param + move_topology topology_subtopology_param.expand.out.dir SubParam +} + +two_expansions() +{ + update "-p $PWD" two_expansions + move_cpp_suffix FppConstants _two_expansions +} + +two_topologies() +{ + update_expansion '' two_topologies + move_topology two_topologies.expand.out.dir TwoSubs +} diff --git a/compiler/tools/fpp-to-cpp/test/top/basic/BasicTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/basic/BasicTopologyAc.ref.cpp index fa5f6a87c8..6e205f6a96 100644 --- a/compiler/tools/fpp-to-cpp/test/top/basic/BasicTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/basic/BasicTopologyAc.ref.cpp @@ -54,7 +54,13 @@ namespace M { // ---------------------------------------------------------------------- void initComponents(const TopologyState& state) { - M::active2.initSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.initSpecial(); + } M::active3.init(QueueSizes::M_active3, InstanceIds::M_active3); M::passive1.init(InstanceIds::M_passive1); M::passive2.init(InstanceIds::M_passive2); @@ -62,7 +68,19 @@ namespace M { } void configComponents(const TopologyState& state) { - M::active2.config(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + // Test that ConfigConstants::M_active2::X is in scope here + (void) X; + // Test that ConfigObjects::M_active2::x is in scope here + (void) x; + // Test that M::active2 is in scope as active2 here + (void) active2; + M::active2.config(); + } } void setBaseIds() { @@ -106,7 +124,13 @@ namespace M { } void startTasks(const TopologyState& state) { - M::active2.startSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.startSpecial(); + } M::active3.start( Os::Task::TASK_PRIORITY_DEFAULT, // Default priority Os::Task::TASK_DEFAULT, // Default stack size @@ -122,23 +146,47 @@ namespace M { } void stopTasks(const TopologyState& state) { - M::active2.stopSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.stopSpecial(); + } M::active3.exit(); active1.exit(); } void freeThreads(const TopologyState& state) { - M::active2.freeSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.freeSpecial(); + } (void) M::active3.ActiveComponentBase::join(); (void) active1.ActiveComponentBase::join(); } void tearDownComponents(const TopologyState& state) { - M::active2.tearDown(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.tearDown(); + } } void deinitComponents(const TopologyState& state) { - M::active2.deinitSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.deinitSpecial(); + } M::active3.deinit(); M::passive1.deinit(); M::passive2.deinit(); diff --git a/compiler/tools/fpp-to-cpp/test/top/basic/topology.fpp b/compiler/tools/fpp-to-cpp/test/top/basic/topology.fpp index 4bbd9950b4..47c1cd4c49 100644 --- a/compiler/tools/fpp-to-cpp/test/top/basic/topology.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/basic/topology.fpp @@ -28,6 +28,12 @@ module M { """ phase Phases.configComponents """ + // Test that ConfigConstants::M_active2::X is in scope here + (void) X; + // Test that ConfigObjects::M_active2::x is in scope here + (void) x; + // Test that M::active2 is in scope as active2 here + (void) active2; M::active2.config(); """ diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Receiver.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Receiver.hpp index 073852d0c7..acea11eeb7 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Receiver.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Receiver.hpp @@ -5,61 +5,65 @@ namespace SerialPortsActive { - class Receiver final : - public ReceiverComponentBase - { + namespace Components { - public: + class Receiver final : + public ReceiverComponentBase + { - Receiver() { + public: - } + Receiver() { - Receiver(const char* name) { + } - } + Receiver(const char* name) { - void pTypedSync_handler( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsActive::A& x5, - const SerialPortsActive::E& x6, - const SerialPortsActive::S& x7 - ) override { + } - } + void pTypedSync_handler( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsActive::Components::A& x5, + const SerialPortsActive::Components::E& x6, + const SerialPortsActive::Components::S& x7 + ) override { - void pTypedAsync_handler( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsActive::A& x5, - const SerialPortsActive::E& x6, - const SerialPortsActive::S& x7 - ) override { + } - } + void pTypedAsync_handler( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsActive::Components::A& x5, + const SerialPortsActive::Components::E& x6, + const SerialPortsActive::Components::S& x7 + ) override { - void pSerialSync_handler( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) override { + } - } + void pSerialSync_handler( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) override { - void pSerialAsync_handler( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) override { + } - } + void pSerialAsync_handler( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) override { - }; + } + + }; + + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Sender.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Sender.hpp index d6e839d010..16a32fa911 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Sender.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_active/Sender.hpp @@ -5,21 +5,25 @@ namespace SerialPortsActive { - class Sender : - public SenderComponentBase - { + namespace Components { - public: + class Sender : + public SenderComponentBase + { - Sender() { + public: - } + Sender() { - Sender(const char* name) { + } - } + Sender(const char* name) { - }; + } + + }; + + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Receiver.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Receiver.hpp index 183935e173..78d0429f9f 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Receiver.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Receiver.hpp @@ -5,61 +5,65 @@ namespace SerialPortsPassive { - class Receiver final : - public ReceiverComponentBase - { + namespace Components { - public: + class Receiver final : + public ReceiverComponentBase + { - Receiver() { + public: - } + Receiver() { - Receiver(const char* name) { + } - } + Receiver(const char* name) { - void pTypedSync_handler( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsPassive::A& x5, - const SerialPortsPassive::E& x6, - const SerialPortsPassive::S& x7 - ) override { + } - } + void pTypedSync_handler( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsPassive::Components::A& x5, + const SerialPortsPassive::Components::E& x6, + const SerialPortsPassive::Components::S& x7 + ) override { - void pTypedGuarded_handler( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsPassive::A& x5, - const SerialPortsPassive::E& x6, - const SerialPortsPassive::S& x7 - ) override { + } - } + void pTypedGuarded_handler( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsPassive::Components::A& x5, + const SerialPortsPassive::Components::E& x6, + const SerialPortsPassive::Components::S& x7 + ) override { - void pSerialSync_handler( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) override { + } - } + void pSerialSync_handler( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) override { - void pSerialGuarded_handler( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) override { + } - } + void pSerialGuarded_handler( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) override { - }; + } + + }; + + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Sender.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Sender.hpp index af1d770153..1f48cb70b0 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Sender.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_passive/Sender.hpp @@ -5,21 +5,25 @@ namespace SerialPortsPassive { - class Sender : - public SenderComponentBase - { + namespace Components { - public: + class Sender : + public SenderComponentBase + { - Sender() { + public: - } + Sender() { - Sender(const char* name) { + } - } + Sender(const char* name) { - }; + } + + }; + + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Receiver.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Receiver.hpp index 462ff84b1d..2d29f2ecce 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Receiver.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Receiver.hpp @@ -5,61 +5,65 @@ namespace SerialPortsQueued { - class Receiver final : - public ReceiverComponentBase - { + namespace Components { - public: + class Receiver final : + public ReceiverComponentBase + { - Receiver() { + public: - } + Receiver() { - Receiver(const char* name) { + } - } + Receiver(const char* name) { - void pTypedSync_handler( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsQueued::A& x5, - const SerialPortsQueued::E& x6, - const SerialPortsQueued::S& x7 - ) override { + } - } + void pTypedSync_handler( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsQueued::Components::A& x5, + const SerialPortsQueued::Components::E& x6, + const SerialPortsQueued::Components::S& x7 + ) override { - void pTypedAsync_handler( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsQueued::A& x5, - const SerialPortsQueued::E& x6, - const SerialPortsQueued::S& x7 - ) override { + } - } + void pTypedAsync_handler( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsQueued::Components::A& x5, + const SerialPortsQueued::Components::E& x6, + const SerialPortsQueued::Components::S& x7 + ) override { - void pSerialSync_handler( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) override { + } - } + void pSerialSync_handler( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) override { - void pSerialAsync_handler( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) override { + } - } + void pSerialAsync_handler( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) override { - }; + } + + }; + + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Sender.hpp b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Sender.hpp index 42de3258da..3e9fd9ba6e 100644 --- a/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Sender.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/check-cpp-dir/serial_ports_queued/Sender.hpp @@ -5,21 +5,25 @@ namespace SerialPortsQueued { - class Sender : - public SenderComponentBase - { + namespace Components { - public: + class Sender : + public SenderComponentBase + { - Sender() { + public: - } + Sender() { - Sender(const char* name) { + } - } + Sender(const char* name) { - }; + } + + }; + + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/commands/CommandsTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/commands/CommandsTopologyAc.ref.cpp index 37897ae34d..7d06ca9a77 100644 --- a/compiler/tools/fpp-to-cpp/test/top/commands/CommandsTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/commands/CommandsTopologyAc.ref.cpp @@ -81,7 +81,11 @@ namespace M { } void regCommands() { - M::c1.regCommandsSpecial(); + { + using namespace M; + + M::c1.regCommandsSpecial(); + } M::c2.regCommands(); } diff --git a/compiler/tools/fpp-to-cpp/test/top/health/HealthTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/health/HealthTopologyAc.ref.cpp index f95e823352..03354307d7 100644 --- a/compiler/tools/fpp-to-cpp/test/top/health/HealthTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/health/HealthTopologyAc.ref.cpp @@ -64,7 +64,13 @@ namespace M { } void configComponents(const TopologyState& state) { - // Nothing to do + { + using namespace M; + using namespace ConfigObjects::M_health; + + // Test that ConfigObjects::M_health::pingEntries is in scope here + (void) pingEntries; + } } void setBaseIds() { diff --git a/compiler/tools/fpp-to-cpp/test/top/health/topology.fpp b/compiler/tools/fpp-to-cpp/test/top/health/topology.fpp index b28d53cf19..76e1957902 100644 --- a/compiler/tools/fpp-to-cpp/test/top/health/topology.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/health/topology.fpp @@ -1,7 +1,11 @@ module M { - instance $health: Svc.Health base id 0x100 - + instance $health: Svc.Health base id 0x100 { + phase Phases.configComponents """ + // Test that ConfigObjects::M_health::pingEntries is in scope here + (void) pingEntries; + """ + } instance c1: C base id 0x200 instance c2: C base id 0x300 diff --git a/compiler/tools/fpp-to-cpp/test/top/params/ParamsTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/params/ParamsTopologyAc.ref.cpp index 9fe24f8cab..19138ebad3 100644 --- a/compiler/tools/fpp-to-cpp/test/top/params/ParamsTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/params/ParamsTopologyAc.ref.cpp @@ -60,11 +60,19 @@ namespace M { } void readParameters() { - M::c1.readParamFile(); + { + using namespace M; + + M::c1.readParamFile(); + } } void loadParameters() { - M::c1.loadParamsSpecial(); + { + using namespace M; + + M::c1.loadParamsSpecial(); + } M::c2.loadParameters(); } diff --git a/compiler/tools/fpp-to-cpp/test/top/ports/Ports2TopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/ports/Ports2TopologyAc.ref.cpp index 233e00aa05..e4a67d608c 100644 --- a/compiler/tools/fpp-to-cpp/test/top/ports/Ports2TopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/ports/Ports2TopologyAc.ref.cpp @@ -54,7 +54,13 @@ namespace M { // ---------------------------------------------------------------------- void initComponents(const TopologyState& state) { - M::active2.initSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.initSpecial(); + } M::active3.init(QueueSizes::M_active3, InstanceIds::M_active3); M::passive1.init(InstanceIds::M_passive1); M::passive2.init(InstanceIds::M_passive2); @@ -62,7 +68,13 @@ namespace M { } void configComponents(const TopologyState& state) { - M::active2.config(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.config(); + } } void setBaseIds() { @@ -106,7 +118,13 @@ namespace M { } void startTasks(const TopologyState& state) { - M::active2.startSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.startSpecial(); + } M::active3.start( Os::Task::TASK_PRIORITY_DEFAULT, // Default priority Os::Task::TASK_DEFAULT, // Default stack size @@ -122,19 +140,37 @@ namespace M { } void stopTasks(const TopologyState& state) { - M::active2.stopSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.stopSpecial(); + } M::active3.exit(); active1.exit(); } void freeThreads(const TopologyState& state) { - M::active2.freeSpecial(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.freeSpecial(); + } (void) M::active3.ActiveComponentBase::join(); (void) active1.ActiveComponentBase::join(); } void tearDownComponents(const TopologyState& state) { - M::active2.tearDown(); + { + using namespace M; + using namespace ConfigConstants::M_active2; + using namespace ConfigObjects::M_active2; + + M::active2.tearDown(); + } } void deinitComponents(const TopologyState& state) { diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.cpp index b69d83f15b..95a24542f3 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.cpp @@ -12,13 +12,13 @@ namespace SerialPortsActive { - SerialPortsActive::Receiver receiver(FW_OPTIONAL_NAME("SerialPortsActive.receiver")); + SerialPortsActive::Components::Receiver receiver(FW_OPTIONAL_NAME("SerialPortsActive.receiver")); } namespace SerialPortsActive { - SerialPortsActive::Sender sender(FW_OPTIONAL_NAME("SerialPortsActive.sender")); + SerialPortsActive::Components::Sender sender(FW_OPTIONAL_NAME("SerialPortsActive.sender")); } @@ -173,247 +173,249 @@ namespace SerialPortsActive { // ---------------------------------------------------------------------- namespace SerialPortsActive { - - bool SenderComponentBase::isConnected_pSerial_OutputPort(FwIndexType portNum) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PSERIAL_OUTPUT_PORTS) - ); - bool result = false; - switch (portNum) { - case 0: - result = true; - break; - case 1: - result = true; - break; - case 2: - result = true; - break; - case 3: - result = true; - break; - case 4: - result = true; - break; - case 5: - result = true; - break; - case 6: - result = true; - break; - case 7: - result = true; - break; - default: - break; + namespace Components { + + bool SenderComponentBase::isConnected_pSerial_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PSERIAL_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + case 1: + result = true; + break; + case 2: + result = true; + break; + case 3: + result = true; + break; + case 4: + result = true; + break; + case 5: + result = true; + break; + case 6: + result = true; + break; + case 7: + result = true; + break; + default: + break; + } + return result; } - return result; - } - bool SenderComponentBase::isConnected_pTyped_OutputPort(FwIndexType portNum) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PTYPED_OUTPUT_PORTS) - ); - bool result = false; - switch (portNum) { - case 0: - result = true; - break; - case 1: - result = true; - break; - case 2: - result = true; - break; - case 3: - result = true; - break; - default: - break; - } - return result; - } - - Fw::SerializeStatus SenderComponentBase::pSerial_out( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PSERIAL_OUTPUT_PORTS) - ); - Fw::SerializeStatus _result = {}; - switch (portNum) { - case 0: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsActive::receiver.pTypedSync_handlerBase( - 0, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 1: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsActive::receiver.pTypedSync_handlerBase( - 1, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 2: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsActive::receiver.pTypedAsync_handlerBase( - 0, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 3: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsActive::receiver.pTypedAsync_handlerBase( - 1, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 4: - SerialPortsActive::receiver.pSerialSync_handlerBase( - 2, - buffer - ); - break; - case 5: - SerialPortsActive::receiver.pSerialSync_handlerBase( - 3, - buffer - ); - break; - case 6: - SerialPortsActive::receiver.pSerialAsync_handlerBase( - 2, - buffer - ); - break; - case 7: - SerialPortsActive::receiver.pSerialAsync_handlerBase( - 3, - buffer - ); - break; - default: - FW_ASSERT(false, static_cast(portNum)); - break; + bool SenderComponentBase::isConnected_pTyped_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PTYPED_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + case 1: + result = true; + break; + case 2: + result = true; + break; + case 3: + result = true; + break; + default: + break; + } + return result; } - return _result; - } - void SenderComponentBase::pTyped_out( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsActive::A& x5, - const SerialPortsActive::E& x6, - const SerialPortsActive::S& x7 - ) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PTYPED_OUTPUT_PORTS) - ); - switch (portNum) { - case 0: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + Fw::SerializeStatus SenderComponentBase::pSerial_out( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PSERIAL_OUTPUT_PORTS) + ); + Fw::SerializeStatus _result = {}; + switch (portNum) { + case 0: + { + SerialPortsActive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pTypedSync_handlerBase( + 0, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 1: + { + SerialPortsActive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pTypedSync_handlerBase( + 1, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 2: + { + SerialPortsActive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pTypedAsync_handlerBase( + 0, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 3: + { + SerialPortsActive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pTypedAsync_handlerBase( + 1, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 4: SerialPortsActive::receiver.pSerialSync_handlerBase( - 0, - _buffer + 2, + buffer ); - } - break; - case 1: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 5: SerialPortsActive::receiver.pSerialSync_handlerBase( - 1, - _buffer + 3, + buffer ); - } - break; - case 2: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 6: SerialPortsActive::receiver.pSerialAsync_handlerBase( - 0, - _buffer + 2, + buffer ); - } - break; - case 3: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 7: SerialPortsActive::receiver.pSerialAsync_handlerBase( - 1, - _buffer + 3, + buffer ); - } - break; - default: - FW_ASSERT(false, static_cast(portNum)); - break; + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } + return _result; + } + + void SenderComponentBase::pTyped_out( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsActive::Components::A& x5, + const SerialPortsActive::Components::E& x6, + const SerialPortsActive::Components::S& x7 + ) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PTYPED_OUTPUT_PORTS) + ); + switch (portNum) { + case 0: + { + SerialPortsActive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsActive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pSerialSync_handlerBase( + 0, + _buffer + ); + } + break; + case 1: + { + SerialPortsActive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsActive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pSerialSync_handlerBase( + 1, + _buffer + ); + } + break; + case 2: + { + SerialPortsActive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsActive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pSerialAsync_handlerBase( + 0, + _buffer + ); + } + break; + case 3: + { + SerialPortsActive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsActive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsActive::receiver.pSerialAsync_handlerBase( + 1, + _buffer + ); + } + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } } - } + } } #endif diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.hpp index 7f1ca494ea..e7befec1fa 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/SerialPortsActiveTopologyAc.ref.hpp @@ -18,14 +18,14 @@ namespace SerialPortsActive { //! receiver - extern SerialPortsActive::Receiver receiver; + extern SerialPortsActive::Components::Receiver receiver; } namespace SerialPortsActive { //! sender - extern SerialPortsActive::Sender sender; + extern SerialPortsActive::Components::Sender sender; } diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/components.fpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/components.fpp index 49df329d95..bcff3825ed 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/components.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/components.fpp @@ -1,32 +1,36 @@ module SerialPortsActive { - array A = [3] U32 - enum E { A, B } - struct S { x: U32 } + module Components { - port PTyped( - x1: U32, - x2: F32, - x3: bool, - x4: string, - x5: A, - x6: E, - x7: S - ) + array A = [3] U32 + enum E { A, B } + struct S { x: U32 } - passive component Sender { + port PTyped( + x1: U32, + x2: F32, + x3: bool, + x4: string, + x5: A, + x6: E, + x7: S + ) - output port pTyped: [4] PTyped - output port pSerial: [8] serial + passive component Sender { - } + output port pTyped: [4] PTyped + output port pSerial: [8] serial + + } + + active component Receiver { - active component Receiver { + sync input port pTypedSync: [2] PTyped + async input port pTypedAsync: [2] PTyped + sync input port pSerialSync: [4] serial + async input port pSerialAsync: [4] serial - sync input port pTypedSync: [2] PTyped - async input port pTypedAsync: [2] PTyped - sync input port pSerialSync: [4] serial - async input port pSerialAsync: [4] serial + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/topology.fpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/topology.fpp index f2dee3275b..b683959b03 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/topology.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_active/topology.fpp @@ -1,7 +1,7 @@ module SerialPortsActive { - instance sender: Sender base id 0x100 - instance receiver: Receiver base id 0x200 \ + instance sender: Components.Sender base id 0x100 + instance receiver: Components.Receiver base id 0x200 \ queue size 10 \ stack size 1024 diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.cpp index a5b80c8a03..51ed59ecf0 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.cpp @@ -12,13 +12,13 @@ namespace SerialPortsPassive { - SerialPortsPassive::Receiver receiver(FW_OPTIONAL_NAME("SerialPortsPassive.receiver")); + SerialPortsPassive::Components::Receiver receiver(FW_OPTIONAL_NAME("SerialPortsPassive.receiver")); } namespace SerialPortsPassive { - SerialPortsPassive::Sender sender(FW_OPTIONAL_NAME("SerialPortsPassive.sender")); + SerialPortsPassive::Components::Sender sender(FW_OPTIONAL_NAME("SerialPortsPassive.sender")); } @@ -168,247 +168,249 @@ namespace SerialPortsPassive { // ---------------------------------------------------------------------- namespace SerialPortsPassive { - - bool SenderComponentBase::isConnected_pSerial_OutputPort(FwIndexType portNum) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PSERIAL_OUTPUT_PORTS) - ); - bool result = false; - switch (portNum) { - case 0: - result = true; - break; - case 1: - result = true; - break; - case 2: - result = true; - break; - case 3: - result = true; - break; - case 4: - result = true; - break; - case 5: - result = true; - break; - case 6: - result = true; - break; - case 7: - result = true; - break; - default: - break; + namespace Components { + + bool SenderComponentBase::isConnected_pSerial_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PSERIAL_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + case 1: + result = true; + break; + case 2: + result = true; + break; + case 3: + result = true; + break; + case 4: + result = true; + break; + case 5: + result = true; + break; + case 6: + result = true; + break; + case 7: + result = true; + break; + default: + break; + } + return result; } - return result; - } - bool SenderComponentBase::isConnected_pTyped_OutputPort(FwIndexType portNum) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PTYPED_OUTPUT_PORTS) - ); - bool result = false; - switch (portNum) { - case 0: - result = true; - break; - case 1: - result = true; - break; - case 2: - result = true; - break; - case 3: - result = true; - break; - default: - break; - } - return result; - } - - Fw::SerializeStatus SenderComponentBase::pSerial_out( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PSERIAL_OUTPUT_PORTS) - ); - Fw::SerializeStatus _result = {}; - switch (portNum) { - case 0: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsPassive::receiver.pTypedSync_handlerBase( - 0, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 1: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsPassive::receiver.pTypedSync_handlerBase( - 1, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 2: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsPassive::receiver.pTypedGuarded_handlerBase( - 0, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 3: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsPassive::receiver.pTypedGuarded_handlerBase( - 1, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 4: - SerialPortsPassive::receiver.pSerialSync_handlerBase( - 2, - buffer - ); - break; - case 5: - SerialPortsPassive::receiver.pSerialSync_handlerBase( - 3, - buffer - ); - break; - case 6: - SerialPortsPassive::receiver.pSerialGuarded_handlerBase( - 2, - buffer - ); - break; - case 7: - SerialPortsPassive::receiver.pSerialGuarded_handlerBase( - 3, - buffer - ); - break; - default: - FW_ASSERT(false, static_cast(portNum)); - break; + bool SenderComponentBase::isConnected_pTyped_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PTYPED_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + case 1: + result = true; + break; + case 2: + result = true; + break; + case 3: + result = true; + break; + default: + break; + } + return result; } - return _result; - } - void SenderComponentBase::pTyped_out( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsPassive::A& x5, - const SerialPortsPassive::E& x6, - const SerialPortsPassive::S& x7 - ) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PTYPED_OUTPUT_PORTS) - ); - switch (portNum) { - case 0: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + Fw::SerializeStatus SenderComponentBase::pSerial_out( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PSERIAL_OUTPUT_PORTS) + ); + Fw::SerializeStatus _result = {}; + switch (portNum) { + case 0: + { + SerialPortsPassive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pTypedSync_handlerBase( + 0, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 1: + { + SerialPortsPassive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pTypedSync_handlerBase( + 1, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 2: + { + SerialPortsPassive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pTypedGuarded_handlerBase( + 0, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 3: + { + SerialPortsPassive::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pTypedGuarded_handlerBase( + 1, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 4: SerialPortsPassive::receiver.pSerialSync_handlerBase( - 0, - _buffer + 2, + buffer ); - } - break; - case 1: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 5: SerialPortsPassive::receiver.pSerialSync_handlerBase( - 1, - _buffer + 3, + buffer ); - } - break; - case 2: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 6: SerialPortsPassive::receiver.pSerialGuarded_handlerBase( - 0, - _buffer + 2, + buffer ); - } - break; - case 3: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 7: SerialPortsPassive::receiver.pSerialGuarded_handlerBase( - 1, - _buffer + 3, + buffer ); - } - break; - default: - FW_ASSERT(false, static_cast(portNum)); - break; + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } + return _result; + } + + void SenderComponentBase::pTyped_out( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsPassive::Components::A& x5, + const SerialPortsPassive::Components::E& x6, + const SerialPortsPassive::Components::S& x7 + ) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PTYPED_OUTPUT_PORTS) + ); + switch (portNum) { + case 0: + { + SerialPortsPassive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsPassive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pSerialSync_handlerBase( + 0, + _buffer + ); + } + break; + case 1: + { + SerialPortsPassive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsPassive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pSerialSync_handlerBase( + 1, + _buffer + ); + } + break; + case 2: + { + SerialPortsPassive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsPassive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pSerialGuarded_handlerBase( + 0, + _buffer + ); + } + break; + case 3: + { + SerialPortsPassive::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsPassive::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsPassive::receiver.pSerialGuarded_handlerBase( + 1, + _buffer + ); + } + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } } - } + } } #endif diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.hpp index 5dda618c02..e403467553 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/SerialPortsPassiveTopologyAc.ref.hpp @@ -18,14 +18,14 @@ namespace SerialPortsPassive { //! receiver - extern SerialPortsPassive::Receiver receiver; + extern SerialPortsPassive::Components::Receiver receiver; } namespace SerialPortsPassive { //! sender - extern SerialPortsPassive::Sender sender; + extern SerialPortsPassive::Components::Sender sender; } diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/components.fpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/components.fpp index 4715f45f00..7ae9d1c382 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/components.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/components.fpp @@ -1,32 +1,36 @@ module SerialPortsPassive { - array A = [3] U32 - enum E { A, B } - struct S { x: U32 } + module Components { - port PTyped( - x1: U32, - x2: F32, - x3: bool, - x4: string, - x5: A, - x6: E, - x7: S - ) + array A = [3] U32 + enum E { A, B } + struct S { x: U32 } - passive component Sender { + port PTyped( + x1: U32, + x2: F32, + x3: bool, + x4: string, + x5: A, + x6: E, + x7: S + ) - output port pTyped: [4] PTyped - output port pSerial: [8] serial + passive component Sender { - } + output port pTyped: [4] PTyped + output port pSerial: [8] serial + + } + + passive component Receiver { - passive component Receiver { + sync input port pTypedSync: [2] PTyped + guarded input port pTypedGuarded: [2] PTyped + sync input port pSerialSync: [4] serial + guarded input port pSerialGuarded: [4] serial - sync input port pTypedSync: [2] PTyped - guarded input port pTypedGuarded: [2] PTyped - sync input port pSerialSync: [4] serial - guarded input port pSerialGuarded: [4] serial + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/topology.fpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/topology.fpp index 09366e8adb..bef7185f2f 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/topology.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_passive/topology.fpp @@ -1,7 +1,7 @@ module SerialPortsPassive { - instance sender: Sender base id 0x100 - instance receiver: Receiver base id 0x200 + instance sender: Components.Sender base id 0x100 + instance receiver: Components.Receiver base id 0x200 deployment topology SerialPortsPassive { diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.cpp index d83d16f320..00e6d91271 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.cpp @@ -12,13 +12,13 @@ namespace SerialPortsQueued { - SerialPortsQueued::Receiver receiver(FW_OPTIONAL_NAME("SerialPortsQueued.receiver")); + SerialPortsQueued::Components::Receiver receiver(FW_OPTIONAL_NAME("SerialPortsQueued.receiver")); } namespace SerialPortsQueued { - SerialPortsQueued::Sender sender(FW_OPTIONAL_NAME("SerialPortsQueued.sender")); + SerialPortsQueued::Components::Sender sender(FW_OPTIONAL_NAME("SerialPortsQueued.sender")); } @@ -168,247 +168,249 @@ namespace SerialPortsQueued { // ---------------------------------------------------------------------- namespace SerialPortsQueued { - - bool SenderComponentBase::isConnected_pSerial_OutputPort(FwIndexType portNum) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PSERIAL_OUTPUT_PORTS) - ); - bool result = false; - switch (portNum) { - case 0: - result = true; - break; - case 1: - result = true; - break; - case 2: - result = true; - break; - case 3: - result = true; - break; - case 4: - result = true; - break; - case 5: - result = true; - break; - case 6: - result = true; - break; - case 7: - result = true; - break; - default: - break; + namespace Components { + + bool SenderComponentBase::isConnected_pSerial_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PSERIAL_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + case 1: + result = true; + break; + case 2: + result = true; + break; + case 3: + result = true; + break; + case 4: + result = true; + break; + case 5: + result = true; + break; + case 6: + result = true; + break; + case 7: + result = true; + break; + default: + break; + } + return result; } - return result; - } - bool SenderComponentBase::isConnected_pTyped_OutputPort(FwIndexType portNum) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PTYPED_OUTPUT_PORTS) - ); - bool result = false; - switch (portNum) { - case 0: - result = true; - break; - case 1: - result = true; - break; - case 2: - result = true; - break; - case 3: - result = true; - break; - default: - break; - } - return result; - } - - Fw::SerializeStatus SenderComponentBase::pSerial_out( - FwIndexType portNum, - Fw::LinearBufferBase& buffer - ) { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PSERIAL_OUTPUT_PORTS) - ); - Fw::SerializeStatus _result = {}; - switch (portNum) { - case 0: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsQueued::receiver.pTypedSync_handlerBase( - 0, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 1: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsQueued::receiver.pTypedSync_handlerBase( - 1, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 2: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsQueued::receiver.pTypedAsync_handlerBase( - 0, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 3: - { - PTypedPortSerializer _serializer; - Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); - SerialPortsQueued::receiver.pTypedAsync_handlerBase( - 1, - _serializer.m_x1, - _serializer.m_x2, - _serializer.m_x3, - _serializer.m_x4, - _serializer.m_x5, - _serializer.m_x6, - _serializer.m_x7 - ); - } - break; - case 4: - SerialPortsQueued::receiver.pSerialSync_handlerBase( - 2, - buffer - ); - break; - case 5: - SerialPortsQueued::receiver.pSerialSync_handlerBase( - 3, - buffer - ); - break; - case 6: - SerialPortsQueued::receiver.pSerialAsync_handlerBase( - 2, - buffer - ); - break; - case 7: - SerialPortsQueued::receiver.pSerialAsync_handlerBase( - 3, - buffer - ); - break; - default: - FW_ASSERT(false, static_cast(portNum)); - break; + bool SenderComponentBase::isConnected_pTyped_OutputPort(FwIndexType portNum) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PTYPED_OUTPUT_PORTS) + ); + bool result = false; + switch (portNum) { + case 0: + result = true; + break; + case 1: + result = true; + break; + case 2: + result = true; + break; + case 3: + result = true; + break; + default: + break; + } + return result; } - return _result; - } - void SenderComponentBase::pTyped_out( - FwIndexType portNum, - U32 x1, - F32 x2, - bool x3, - const Fw::StringBase& x4, - const SerialPortsQueued::A& x5, - const SerialPortsQueued::E& x6, - const SerialPortsQueued::S& x7 - ) const { - FW_ASSERT( - (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), - static_cast(portNum), - static_cast(NUM_PTYPED_OUTPUT_PORTS) - ); - switch (portNum) { - case 0: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + Fw::SerializeStatus SenderComponentBase::pSerial_out( + FwIndexType portNum, + Fw::LinearBufferBase& buffer + ) { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PSERIAL_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PSERIAL_OUTPUT_PORTS) + ); + Fw::SerializeStatus _result = {}; + switch (portNum) { + case 0: + { + SerialPortsQueued::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pTypedSync_handlerBase( + 0, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 1: + { + SerialPortsQueued::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pTypedSync_handlerBase( + 1, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 2: + { + SerialPortsQueued::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pTypedAsync_handlerBase( + 0, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 3: + { + SerialPortsQueued::Components::PTypedPortSerializer _serializer; + Fw::SerializeStatus _status = _serializer.deserializePortArgs(buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pTypedAsync_handlerBase( + 1, + _serializer.m_x1, + _serializer.m_x2, + _serializer.m_x3, + _serializer.m_x4, + _serializer.m_x5, + _serializer.m_x6, + _serializer.m_x7 + ); + } + break; + case 4: SerialPortsQueued::receiver.pSerialSync_handlerBase( - 0, - _buffer + 2, + buffer ); - } - break; - case 1: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 5: SerialPortsQueued::receiver.pSerialSync_handlerBase( - 1, - _buffer + 3, + buffer ); - } - break; - case 2: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 6: SerialPortsQueued::receiver.pSerialAsync_handlerBase( - 0, - _buffer + 2, + buffer ); - } - break; - case 3: - { - PTypedPortBuffer _buffer; - Fw::SerializeStatus _status = PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); - FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + break; + case 7: SerialPortsQueued::receiver.pSerialAsync_handlerBase( - 1, - _buffer + 3, + buffer ); - } - break; - default: - FW_ASSERT(false, static_cast(portNum)); - break; + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } + return _result; + } + + void SenderComponentBase::pTyped_out( + FwIndexType portNum, + U32 x1, + F32 x2, + bool x3, + const Fw::StringBase& x4, + const SerialPortsQueued::Components::A& x5, + const SerialPortsQueued::Components::E& x6, + const SerialPortsQueued::Components::S& x7 + ) const { + FW_ASSERT( + (0 <= portNum) && (portNum < NUM_PTYPED_OUTPUT_PORTS), + static_cast(portNum), + static_cast(NUM_PTYPED_OUTPUT_PORTS) + ); + switch (portNum) { + case 0: + { + SerialPortsQueued::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsQueued::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pSerialSync_handlerBase( + 0, + _buffer + ); + } + break; + case 1: + { + SerialPortsQueued::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsQueued::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pSerialSync_handlerBase( + 1, + _buffer + ); + } + break; + case 2: + { + SerialPortsQueued::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsQueued::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pSerialAsync_handlerBase( + 0, + _buffer + ); + } + break; + case 3: + { + SerialPortsQueued::Components::PTypedPortBuffer _buffer; + Fw::SerializeStatus _status = SerialPortsQueued::Components::PTypedPortSerializer::serializePortArgs(x1, x2, x3, x4, x5, x6, x7, _buffer); + FW_ASSERT(_status == Fw::FW_SERIALIZE_OK, static_cast(_status)); + SerialPortsQueued::receiver.pSerialAsync_handlerBase( + 1, + _buffer + ); + } + break; + default: + FW_ASSERT(false, static_cast(portNum)); + break; + } } - } + } } #endif diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.hpp index b73ca01e90..c892b5e94a 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/SerialPortsQueuedTopologyAc.ref.hpp @@ -18,14 +18,14 @@ namespace SerialPortsQueued { //! receiver - extern SerialPortsQueued::Receiver receiver; + extern SerialPortsQueued::Components::Receiver receiver; } namespace SerialPortsQueued { //! sender - extern SerialPortsQueued::Sender sender; + extern SerialPortsQueued::Components::Sender sender; } diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/components.fpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/components.fpp index f011b75ff8..9946f31a95 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/components.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/components.fpp @@ -1,32 +1,36 @@ module SerialPortsQueued { - array A = [3] U32 - enum E { A, B } - struct S { x: U32 } + module Components { - port PTyped( - x1: U32, - x2: F32, - x3: bool, - x4: string, - x5: A, - x6: E, - x7: S - ) + array A = [3] U32 + enum E { A, B } + struct S { x: U32 } - passive component Sender { + port PTyped( + x1: U32, + x2: F32, + x3: bool, + x4: string, + x5: A, + x6: E, + x7: S + ) - output port pTyped: [4] PTyped - output port pSerial: [8] serial + passive component Sender { - } + output port pTyped: [4] PTyped + output port pSerial: [8] serial + + } + + queued component Receiver { - queued component Receiver { + sync input port pTypedSync: [2] PTyped + async input port pTypedAsync: [2] PTyped + sync input port pSerialSync: [4] serial + async input port pSerialAsync: [4] serial - sync input port pTypedSync: [2] PTyped - async input port pTypedAsync: [2] PTyped - sync input port pSerialSync: [4] serial - async input port pSerialAsync: [4] serial + } } diff --git a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/topology.fpp b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/topology.fpp index ae0b254cc3..1e5eef8740 100644 --- a/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/topology.fpp +++ b/compiler/tools/fpp-to-cpp/test/top/serial_ports_queued/topology.fpp @@ -1,7 +1,7 @@ module SerialPortsQueued { - instance sender: Sender base id 0x100 - instance receiver: Receiver base id 0x200 \ + instance sender: Components.Sender base id 0x100 + instance receiver: Components.Receiver base id 0x200 \ queue size 10 deployment topology SerialPortsQueued { diff --git a/compiler/tools/fpp-to-dict/test/dictionary.schema.json b/compiler/tools/fpp-to-dict/test/dictionary.schema.json index f9335794bb..a0d82cb72c 100644 --- a/compiler/tools/fpp-to-dict/test/dictionary.schema.json +++ b/compiler/tools/fpp-to-dict/test/dictionary.schema.json @@ -114,6 +114,9 @@ "items": { "type": "string" } + }, + "annotation": { + "type": "string" } }, "required": [ @@ -577,6 +580,9 @@ "items": { "type": "string" } + }, + "annotation": { + "type": "string" } }, "required": [ diff --git a/compiler/tools/fpp-to-dict/test/top/BasicDpTopologyDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/BasicDpTopologyDictionary.ref.json index 60d8da17b8..17823b5c52 100644 --- a/compiler/tools/fpp-to-dict/test/top/BasicDpTopologyDictionary.ref.json +++ b/compiler/tools/fpp-to-dict/test/top/BasicDpTopologyDictionary.ref.json @@ -54,68 +54,28 @@ }, { "kind" : "struct", - "qualifiedName" : "FppTest.DpTestComponent.Complex", + "qualifiedName" : "FppTest.DpTestComponent.Data", "members" : { - "f1" : { + "u16Field" : { "type" : { - "name" : "FppTest.DpTestComponent.Data", + "name" : "FppTest.DpTestComponent.AliasU16", "kind" : "qualifiedIdentifier" }, "index" : 0, - "size" : 2, - "annotation" : "A struct in the struct" - }, - "f2" : { - "type" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "index" : 1, - "annotation" : "A simple U32 field" + "size" : 5, + "annotation" : "A U16 field" } }, "default" : { - "f1" : [ - { - "u16Field" : [ - 10, - 10, - 10, - 10, - 10 - ] - }, - { - "u16Field" : [ - 10, - 10, - 10, - 10, - 10 - ] - } - ], - "f2" : 0 - }, - "annotation" : "Data for a ComplexRecord" - }, - { - "kind" : "alias", - "qualifiedName" : "BaseIdType", - "type" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false + "u16Field" : [ + 10, + 10, + 10, + 10, + 10 + ] }, - "underlyingType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - } + "annotation" : "Data for a DataRecord" }, { "kind" : "alias", @@ -224,31 +184,6 @@ "signed" : false } }, - { - "kind" : "struct", - "qualifiedName" : "FppTest.DpTestComponent.Data", - "members" : { - "u16Field" : { - "type" : { - "name" : "FppTest.DpTestComponent.AliasU16", - "kind" : "qualifiedIdentifier" - }, - "index" : 0, - "size" : 5, - "annotation" : "A U16 field" - } - }, - "default" : { - "u16Field" : [ - 10, - 10, - 10, - 10, - 10 - ] - }, - "annotation" : "Data for a DataRecord" - }, { "kind" : "alias", "qualifiedName" : "FwDpIdType", @@ -308,6 +243,71 @@ "signed" : false } }, + { + "kind" : "struct", + "qualifiedName" : "FppTest.DpTestComponent.Complex", + "members" : { + "f1" : { + "type" : { + "name" : "FppTest.DpTestComponent.Data", + "kind" : "qualifiedIdentifier" + }, + "index" : 0, + "size" : 2, + "annotation" : "A struct in the struct" + }, + "f2" : { + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "index" : 1, + "annotation" : "A simple U32 field" + } + }, + "default" : { + "f1" : [ + { + "u16Field" : [ + 10, + 10, + 10, + 10, + 10 + ] + }, + { + "u16Field" : [ + 10, + 10, + 10, + 10, + 10 + ] + } + ], + "f2" : 0 + }, + "annotation" : "Data for a ComplexRecord" + }, + { + "kind" : "alias", + "qualifiedName" : "BaseIdType", + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, { "kind" : "alias", "qualifiedName" : "FwDpPriorityType", diff --git a/compiler/tools/fpp-to-dict/test/top/Dep_ExpandedSystemDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/Dep_ExpandedSystemDictionary.ref.json new file mode 100644 index 0000000000..e2ee1cdb71 --- /dev/null +++ b/compiler/tools/fpp-to-dict/test/top/Dep_ExpandedSystemDictionary.ref.json @@ -0,0 +1,350 @@ +{ + "metadata" : { + "deploymentName" : "Dep.Expanded", + "projectVersion" : "1.0.0", + "frameworkVersion" : "3.4.3", + "libraryVersions" : [ + ], + "dictionarySpecVersion" : "1.0.0" + }, + "typeDefinitions" : [ + { + "kind" : "alias", + "qualifiedName" : "FwTlmPacketizeIdType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + } + }, + { + "kind" : "enum", + "qualifiedName" : "Fw.DpState", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "UNTRANSMITTED", + "value" : 0, + "annotation" : "The untransmitted state" + }, + { + "name" : "PARTIAL", + "value" : 1, + "annotation" : "The partially transmitted state\nA data product is in this state from the start of transmission\nuntil transmission is complete." + }, + { + "name" : "TRANSMITTED", + "value" : 2, + "annotation" : "The transmitted state" + } + ], + "default" : "Fw.DpState.UNTRANSMITTED" + }, + { + "kind" : "alias", + "qualifiedName" : "BaseIdType", + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwTimeContextStoreType", + "type" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "underlyingType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "annotation" : "The type used to serialize a time context value" + }, + { + "kind" : "alias", + "qualifiedName" : "FwEventIdType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "enum", + "qualifiedName" : "Fw.DpCfg.ProcType", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "PROC_TYPE_ZERO", + "value" : 1, + "annotation" : "Processing type 0" + }, + { + "name" : "PROC_TYPE_ONE", + "value" : 2, + "annotation" : "Processing type 1" + }, + { + "name" : "PROC_TYPE_TWO", + "value" : 4, + "annotation" : "Processing type 2" + } + ], + "default" : "Fw.DpCfg.ProcType.PROC_TYPE_ZERO", + "annotation" : "A bit mask for selecting the type of processing to perform on\na container before writing it to disk." + }, + { + "kind" : "alias", + "qualifiedName" : "FwSizeStoreType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwPacketDescriptorType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwDpIdType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwTimeBaseStoreType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "annotation" : "The type used to serialize a time base value" + }, + { + "kind" : "alias", + "qualifiedName" : "FwChanIdType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwOpcodeType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwDpPriorityType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwSizeType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + } + ], + "constants" : [ + { + "kind" : "constant", + "qualifiedName" : "FW_FIXED_LENGTH_STRING_SIZE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 256 + }, + { + "kind" : "constant", + "qualifiedName" : "Fw.DpCfg.CONTAINER_USER_DATA_SIZE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 32, + "annotation" : "The container user data size" + }, + { + "kind" : "constant", + "qualifiedName" : "FW_SERIALIZE_TRUE_VALUE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 255 + }, + { + "kind" : "constant", + "qualifiedName" : "FW_SERIALIZE_FALSE_VALUE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 0 + }, + { + "kind" : "constant", + "qualifiedName" : "STRING_SIZE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 256 + } + ], + "commands" : [ + { + "name" : "Dep.c.DoIt", + "commandKind" : "sync", + "opcode" : 256, + "formalParams" : [ + ], + "annotation" : "A command" + } + ], + "parameters" : [ + ], + "events" : [ + { + "name" : "Dep.c.Happened", + "severity" : "ACTIVITY_HI", + "formalParams" : [ + ], + "id" : 256, + "format" : "it happened", + "annotation" : "An event" + } + ], + "telemetryChannels" : [ + { + "name" : "Dep.c.Channel", + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "id" : 256, + "telemetryUpdate" : "always", + "annotation" : "A telemetry channel" + } + ], + "records" : [ + ], + "containers" : [ + ], + "telemetryPacketSets" : [ + ] +} diff --git a/compiler/tools/fpp-to-dict/test/top/DictionaryDefsSystemDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/DictionaryDefsSystemDictionary.ref.json index 7ac1c3f1f8..cab90c33c2 100644 --- a/compiler/tools/fpp-to-dict/test/top/DictionaryDefsSystemDictionary.ref.json +++ b/compiler/tools/fpp-to-dict/test/top/DictionaryDefsSystemDictionary.ref.json @@ -10,66 +10,22 @@ "dictionarySpecVersion" : "1.0.0" }, "typeDefinitions" : [ - { - "kind" : "array", - "qualifiedName" : "A", - "size" : 3, - "elementType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "default" : [ - 0, - 0, - 0 - ] - }, { "kind" : "alias", - "qualifiedName" : "FwTlmPacketizeIdType", + "qualifiedName" : "BaseIdType", "type" : { - "name" : "U16", + "name" : "U32", "kind" : "integer", - "size" : 16, + "size" : 32, "signed" : false }, "underlyingType" : { - "name" : "U16", + "name" : "U32", "kind" : "integer", - "size" : 16, + "size" : 32, "signed" : false } }, - { - "kind" : "enum", - "qualifiedName" : "Fw.DpState", - "representationType" : { - "name" : "U8", - "kind" : "integer", - "size" : 8, - "signed" : false - }, - "enumeratedConstants" : [ - { - "name" : "UNTRANSMITTED", - "value" : 0, - "annotation" : "The untransmitted state" - }, - { - "name" : "PARTIAL", - "value" : 1, - "annotation" : "The partially transmitted state\nA data product is in this state from the start of transmission\nuntil transmission is complete." - }, - { - "name" : "TRANSMITTED", - "value" : 2, - "annotation" : "The transmitted state" - } - ], - "default" : "Fw.DpState.UNTRANSMITTED" - }, { "kind" : "alias", "qualifiedName" : "FwEventIdType", @@ -215,17 +171,17 @@ }, { "kind" : "alias", - "qualifiedName" : "BaseIdType", + "qualifiedName" : "FwTlmPacketizeIdType", "type" : { - "name" : "U32", + "name" : "U16", "kind" : "integer", - "size" : 32, + "size" : 16, "signed" : false }, "underlyingType" : { - "name" : "U32", + "name" : "U16", "kind" : "integer", - "size" : 32, + "size" : 16, "signed" : false } }, @@ -279,6 +235,66 @@ } } }, + { + "kind" : "array", + "qualifiedName" : "A", + "size" : 3, + "elementType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "default" : [ + 0, + 0, + 0 + ] + }, + { + "kind" : "enum", + "qualifiedName" : "Fw.DpState", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "UNTRANSMITTED", + "value" : 0, + "annotation" : "The untransmitted state" + }, + { + "name" : "PARTIAL", + "value" : 1, + "annotation" : "The partially transmitted state\nA data product is in this state from the start of transmission\nuntil transmission is complete." + }, + { + "name" : "TRANSMITTED", + "value" : 2, + "annotation" : "The transmitted state" + } + ], + "default" : "Fw.DpState.UNTRANSMITTED" + }, + { + "kind" : "array", + "qualifiedName" : "A2", + "size" : 3, + "elementType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "default" : [ + 0, + 0, + 0 + ] + }, { "kind" : "alias", "qualifiedName" : "FwTimeContextStoreType", @@ -370,22 +386,6 @@ "signed" : false } }, - { - "kind" : "array", - "qualifiedName" : "A2", - "size" : 3, - "elementType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "default" : [ - 0, - 0, - 0 - ] - }, { "kind" : "alias", "qualifiedName" : "T", diff --git a/compiler/tools/fpp-to-dict/test/top/DictionaryDefsTopologyDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/DictionaryDefsTopologyDictionary.ref.json index 7ac1c3f1f8..cab90c33c2 100644 --- a/compiler/tools/fpp-to-dict/test/top/DictionaryDefsTopologyDictionary.ref.json +++ b/compiler/tools/fpp-to-dict/test/top/DictionaryDefsTopologyDictionary.ref.json @@ -10,66 +10,22 @@ "dictionarySpecVersion" : "1.0.0" }, "typeDefinitions" : [ - { - "kind" : "array", - "qualifiedName" : "A", - "size" : 3, - "elementType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "default" : [ - 0, - 0, - 0 - ] - }, { "kind" : "alias", - "qualifiedName" : "FwTlmPacketizeIdType", + "qualifiedName" : "BaseIdType", "type" : { - "name" : "U16", + "name" : "U32", "kind" : "integer", - "size" : 16, + "size" : 32, "signed" : false }, "underlyingType" : { - "name" : "U16", + "name" : "U32", "kind" : "integer", - "size" : 16, + "size" : 32, "signed" : false } }, - { - "kind" : "enum", - "qualifiedName" : "Fw.DpState", - "representationType" : { - "name" : "U8", - "kind" : "integer", - "size" : 8, - "signed" : false - }, - "enumeratedConstants" : [ - { - "name" : "UNTRANSMITTED", - "value" : 0, - "annotation" : "The untransmitted state" - }, - { - "name" : "PARTIAL", - "value" : 1, - "annotation" : "The partially transmitted state\nA data product is in this state from the start of transmission\nuntil transmission is complete." - }, - { - "name" : "TRANSMITTED", - "value" : 2, - "annotation" : "The transmitted state" - } - ], - "default" : "Fw.DpState.UNTRANSMITTED" - }, { "kind" : "alias", "qualifiedName" : "FwEventIdType", @@ -215,17 +171,17 @@ }, { "kind" : "alias", - "qualifiedName" : "BaseIdType", + "qualifiedName" : "FwTlmPacketizeIdType", "type" : { - "name" : "U32", + "name" : "U16", "kind" : "integer", - "size" : 32, + "size" : 16, "signed" : false }, "underlyingType" : { - "name" : "U32", + "name" : "U16", "kind" : "integer", - "size" : 32, + "size" : 16, "signed" : false } }, @@ -279,6 +235,66 @@ } } }, + { + "kind" : "array", + "qualifiedName" : "A", + "size" : 3, + "elementType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "default" : [ + 0, + 0, + 0 + ] + }, + { + "kind" : "enum", + "qualifiedName" : "Fw.DpState", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "UNTRANSMITTED", + "value" : 0, + "annotation" : "The untransmitted state" + }, + { + "name" : "PARTIAL", + "value" : 1, + "annotation" : "The partially transmitted state\nA data product is in this state from the start of transmission\nuntil transmission is complete." + }, + { + "name" : "TRANSMITTED", + "value" : 2, + "annotation" : "The transmitted state" + } + ], + "default" : "Fw.DpState.UNTRANSMITTED" + }, + { + "kind" : "array", + "qualifiedName" : "A2", + "size" : 3, + "elementType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "default" : [ + 0, + 0, + 0 + ] + }, { "kind" : "alias", "qualifiedName" : "FwTimeContextStoreType", @@ -370,22 +386,6 @@ "signed" : false } }, - { - "kind" : "array", - "qualifiedName" : "A2", - "size" : 3, - "elementType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "default" : [ - 0, - 0, - 0 - ] - }, { "kind" : "alias", "qualifiedName" : "T", diff --git a/compiler/tools/fpp-to-dict/test/top/ExpandedTopologyDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/ExpandedTopologyDictionary.ref.json new file mode 100644 index 0000000000..e2ee1cdb71 --- /dev/null +++ b/compiler/tools/fpp-to-dict/test/top/ExpandedTopologyDictionary.ref.json @@ -0,0 +1,350 @@ +{ + "metadata" : { + "deploymentName" : "Dep.Expanded", + "projectVersion" : "1.0.0", + "frameworkVersion" : "3.4.3", + "libraryVersions" : [ + ], + "dictionarySpecVersion" : "1.0.0" + }, + "typeDefinitions" : [ + { + "kind" : "alias", + "qualifiedName" : "FwTlmPacketizeIdType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + } + }, + { + "kind" : "enum", + "qualifiedName" : "Fw.DpState", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "UNTRANSMITTED", + "value" : 0, + "annotation" : "The untransmitted state" + }, + { + "name" : "PARTIAL", + "value" : 1, + "annotation" : "The partially transmitted state\nA data product is in this state from the start of transmission\nuntil transmission is complete." + }, + { + "name" : "TRANSMITTED", + "value" : 2, + "annotation" : "The transmitted state" + } + ], + "default" : "Fw.DpState.UNTRANSMITTED" + }, + { + "kind" : "alias", + "qualifiedName" : "BaseIdType", + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwTimeContextStoreType", + "type" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "underlyingType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "annotation" : "The type used to serialize a time context value" + }, + { + "kind" : "alias", + "qualifiedName" : "FwEventIdType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "enum", + "qualifiedName" : "Fw.DpCfg.ProcType", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "PROC_TYPE_ZERO", + "value" : 1, + "annotation" : "Processing type 0" + }, + { + "name" : "PROC_TYPE_ONE", + "value" : 2, + "annotation" : "Processing type 1" + }, + { + "name" : "PROC_TYPE_TWO", + "value" : 4, + "annotation" : "Processing type 2" + } + ], + "default" : "Fw.DpCfg.ProcType.PROC_TYPE_ZERO", + "annotation" : "A bit mask for selecting the type of processing to perform on\na container before writing it to disk." + }, + { + "kind" : "alias", + "qualifiedName" : "FwSizeStoreType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwPacketDescriptorType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwDpIdType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwTimeBaseStoreType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "annotation" : "The type used to serialize a time base value" + }, + { + "kind" : "alias", + "qualifiedName" : "FwChanIdType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwOpcodeType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwDpPriorityType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, + { + "kind" : "alias", + "qualifiedName" : "FwSizeType", + "type" : { + "name" : "BaseIdType", + "kind" : "qualifiedIdentifier" + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + } + ], + "constants" : [ + { + "kind" : "constant", + "qualifiedName" : "FW_FIXED_LENGTH_STRING_SIZE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 256 + }, + { + "kind" : "constant", + "qualifiedName" : "Fw.DpCfg.CONTAINER_USER_DATA_SIZE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 32, + "annotation" : "The container user data size" + }, + { + "kind" : "constant", + "qualifiedName" : "FW_SERIALIZE_TRUE_VALUE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 255 + }, + { + "kind" : "constant", + "qualifiedName" : "FW_SERIALIZE_FALSE_VALUE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 0 + }, + { + "kind" : "constant", + "qualifiedName" : "STRING_SIZE", + "type" : { + "name" : "U64", + "kind" : "integer", + "size" : 64, + "signed" : false + }, + "value" : 256 + } + ], + "commands" : [ + { + "name" : "Dep.c.DoIt", + "commandKind" : "sync", + "opcode" : 256, + "formalParams" : [ + ], + "annotation" : "A command" + } + ], + "parameters" : [ + ], + "events" : [ + { + "name" : "Dep.c.Happened", + "severity" : "ACTIVITY_HI", + "formalParams" : [ + ], + "id" : 256, + "format" : "it happened", + "annotation" : "An event" + } + ], + "telemetryChannels" : [ + { + "name" : "Dep.c.Channel", + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "id" : 256, + "telemetryUpdate" : "always", + "annotation" : "A telemetry channel" + } + ], + "records" : [ + ], + "containers" : [ + ], + "telemetryPacketSets" : [ + ] +} diff --git a/compiler/tools/fpp-to-dict/test/top/FirstTopTopologyDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/FirstTopTopologyDictionary.ref.json index c7bd3d684f..35e2facc8a 100644 --- a/compiler/tools/fpp-to-dict/test/top/FirstTopTopologyDictionary.ref.json +++ b/compiler/tools/fpp-to-dict/test/top/FirstTopTopologyDictionary.ref.json @@ -10,6 +10,79 @@ "dictionarySpecVersion" : "1.0.0" }, "typeDefinitions" : [ + { + "kind" : "enum", + "qualifiedName" : "Module1.E3", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "YES", + "value" : 0 + }, + { + "name" : "NO", + "value" : 1 + }, + { + "name" : "MAYBE", + "value" : 2 + } + ], + "default" : "Module1.E3.YES" + }, + { + "kind" : "alias", + "qualifiedName" : "FwTlmPacketizeIdType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + } + }, + { + "kind" : "array", + "qualifiedName" : "Module1.EnumArray", + "size" : 3, + "elementType" : { + "name" : "Module1.E3", + "kind" : "qualifiedIdentifier" + }, + "default" : [ + "Module1.E3.YES", + "Module1.E3.YES", + "Module1.E3.YES" + ], + "annotation" : "An array of 3 enum values" + }, + { + "kind" : "array", + "qualifiedName" : "Module1.F64x4", + "size" : 4, + "elementType" : { + "name" : "F64", + "kind" : "float", + "size" : 64 + }, + "default" : [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "annotation" : "An array of 4 F64 values" + }, { "kind" : "alias", "qualifiedName" : "BaseIdType", @@ -26,6 +99,24 @@ "signed" : false } }, + { + "kind" : "array", + "qualifiedName" : "Module1.U32x4", + "size" : 4, + "elementType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "default" : [ + 1, + 2, + 3, + 4 + ], + "annotation" : "An array of 4 U32 values" + }, { "kind" : "alias", "qualifiedName" : "FwTimeContextStoreType", @@ -161,90 +252,6 @@ "signed" : false } }, - { - "kind" : "enum", - "qualifiedName" : "Module1.E3", - "representationType" : { - "name" : "U8", - "kind" : "integer", - "size" : 8, - "signed" : false - }, - "enumeratedConstants" : [ - { - "name" : "YES", - "value" : 0 - }, - { - "name" : "NO", - "value" : 1 - }, - { - "name" : "MAYBE", - "value" : 2 - } - ], - "default" : "Module1.E3.YES" - }, - { - "kind" : "array", - "qualifiedName" : "Module1.EnumArray", - "size" : 3, - "elementType" : { - "name" : "Module1.E3", - "kind" : "qualifiedIdentifier" - }, - "default" : [ - "Module1.E3.YES", - "Module1.E3.YES", - "Module1.E3.YES" - ], - "annotation" : "An array of 3 enum values" - }, - { - "kind" : "alias", - "qualifiedName" : "FwTlmPacketizeIdType", - "type" : { - "name" : "U16", - "kind" : "integer", - "size" : 16, - "signed" : false - }, - "underlyingType" : { - "name" : "U16", - "kind" : "integer", - "size" : 16, - "signed" : false - } - }, - { - "kind" : "struct", - "qualifiedName" : "Module1.S2", - "members" : { - "x" : { - "type" : { - "name" : "Module1.E2", - "kind" : "qualifiedIdentifier" - }, - "index" : 0 - }, - "y" : { - "type" : { - "name" : "Module1.EnumArray", - "kind" : "qualifiedIdentifier" - }, - "index" : 1 - } - }, - "default" : { - "x" : "Module1.E2.PASS", - "y" : [ - "Module1.E3.YES", - "Module1.E3.YES", - "Module1.E3.YES" - ] - } - }, { "kind" : "enum", "qualifiedName" : "Fw.DpState", @@ -294,41 +301,6 @@ ], "default" : "Module1.E2.PASS" }, - { - "kind" : "array", - "qualifiedName" : "Module1.F64x4", - "size" : 4, - "elementType" : { - "name" : "F64", - "kind" : "float", - "size" : 64 - }, - "default" : [ - 0.0, - 0.0, - 0.0, - 0.0 - ], - "annotation" : "An array of 4 F64 values" - }, - { - "kind" : "array", - "qualifiedName" : "Module1.U32x4", - "size" : 4, - "elementType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "default" : [ - 1, - 2, - 3, - 4 - ], - "annotation" : "An array of 4 U32 values" - }, { "kind" : "alias", "qualifiedName" : "FwEventIdType", @@ -343,6 +315,34 @@ "signed" : false } }, + { + "kind" : "struct", + "qualifiedName" : "Module1.S2", + "members" : { + "x" : { + "type" : { + "name" : "Module1.E2", + "kind" : "qualifiedIdentifier" + }, + "index" : 0 + }, + "y" : { + "type" : { + "name" : "Module1.EnumArray", + "kind" : "qualifiedIdentifier" + }, + "index" : 1 + } + }, + "default" : { + "x" : "Module1.E2.PASS", + "y" : [ + "Module1.E3.YES", + "Module1.E3.YES", + "Module1.E3.YES" + ] + } + }, { "kind" : "struct", "qualifiedName" : "Module1.ScalarStruct", @@ -1252,7 +1252,8 @@ "members" : [ "Module1.myFirstC1.TlmChannel1", "Module1.myFirstC1.TlmChannel2" - ] + ], + "annotation" : "Pre annotation for MyTlmPacket1" }, { "name" : "MyTlmPacket2", @@ -1260,14 +1261,16 @@ "group" : 1, "members" : [ "Module1.myFirstC2.TlmChannel1" - ] + ], + "annotation" : "Pre annotation for MyTlmPacket2" } ], "omitted" : [ "Module1.myFirstC1.TlmChannel3", "Module1.myFirstC2.TlmChannel2", "Module1.myFirstC2.TlmChannel3" - ] + ], + "annotation" : "Pre annotation for Packets" } ] } diff --git a/compiler/tools/fpp-to-dict/test/top/FppTest_BasicDpSystemDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/FppTest_BasicDpSystemDictionary.ref.json index 60d8da17b8..17823b5c52 100644 --- a/compiler/tools/fpp-to-dict/test/top/FppTest_BasicDpSystemDictionary.ref.json +++ b/compiler/tools/fpp-to-dict/test/top/FppTest_BasicDpSystemDictionary.ref.json @@ -54,68 +54,28 @@ }, { "kind" : "struct", - "qualifiedName" : "FppTest.DpTestComponent.Complex", + "qualifiedName" : "FppTest.DpTestComponent.Data", "members" : { - "f1" : { + "u16Field" : { "type" : { - "name" : "FppTest.DpTestComponent.Data", + "name" : "FppTest.DpTestComponent.AliasU16", "kind" : "qualifiedIdentifier" }, "index" : 0, - "size" : 2, - "annotation" : "A struct in the struct" - }, - "f2" : { - "type" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "index" : 1, - "annotation" : "A simple U32 field" + "size" : 5, + "annotation" : "A U16 field" } }, "default" : { - "f1" : [ - { - "u16Field" : [ - 10, - 10, - 10, - 10, - 10 - ] - }, - { - "u16Field" : [ - 10, - 10, - 10, - 10, - 10 - ] - } - ], - "f2" : 0 - }, - "annotation" : "Data for a ComplexRecord" - }, - { - "kind" : "alias", - "qualifiedName" : "BaseIdType", - "type" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false + "u16Field" : [ + 10, + 10, + 10, + 10, + 10 + ] }, - "underlyingType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - } + "annotation" : "Data for a DataRecord" }, { "kind" : "alias", @@ -224,31 +184,6 @@ "signed" : false } }, - { - "kind" : "struct", - "qualifiedName" : "FppTest.DpTestComponent.Data", - "members" : { - "u16Field" : { - "type" : { - "name" : "FppTest.DpTestComponent.AliasU16", - "kind" : "qualifiedIdentifier" - }, - "index" : 0, - "size" : 5, - "annotation" : "A U16 field" - } - }, - "default" : { - "u16Field" : [ - 10, - 10, - 10, - 10, - 10 - ] - }, - "annotation" : "Data for a DataRecord" - }, { "kind" : "alias", "qualifiedName" : "FwDpIdType", @@ -308,6 +243,71 @@ "signed" : false } }, + { + "kind" : "struct", + "qualifiedName" : "FppTest.DpTestComponent.Complex", + "members" : { + "f1" : { + "type" : { + "name" : "FppTest.DpTestComponent.Data", + "kind" : "qualifiedIdentifier" + }, + "index" : 0, + "size" : 2, + "annotation" : "A struct in the struct" + }, + "f2" : { + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "index" : 1, + "annotation" : "A simple U32 field" + } + }, + "default" : { + "f1" : [ + { + "u16Field" : [ + 10, + 10, + 10, + 10, + 10 + ] + }, + { + "u16Field" : [ + 10, + 10, + 10, + 10, + 10 + ] + } + ], + "f2" : 0 + }, + "annotation" : "Data for a ComplexRecord" + }, + { + "kind" : "alias", + "qualifiedName" : "BaseIdType", + "type" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "underlyingType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + } + }, { "kind" : "alias", "qualifiedName" : "FwDpPriorityType", diff --git a/compiler/tools/fpp-to-dict/test/top/SecondTopTopologyDictionary.ref.json b/compiler/tools/fpp-to-dict/test/top/SecondTopTopologyDictionary.ref.json index 53e26b2445..3dcf89a37e 100644 --- a/compiler/tools/fpp-to-dict/test/top/SecondTopTopologyDictionary.ref.json +++ b/compiler/tools/fpp-to-dict/test/top/SecondTopTopologyDictionary.ref.json @@ -10,6 +10,79 @@ "dictionarySpecVersion" : "1.0.0" }, "typeDefinitions" : [ + { + "kind" : "enum", + "qualifiedName" : "Module1.E3", + "representationType" : { + "name" : "U8", + "kind" : "integer", + "size" : 8, + "signed" : false + }, + "enumeratedConstants" : [ + { + "name" : "YES", + "value" : 0 + }, + { + "name" : "NO", + "value" : 1 + }, + { + "name" : "MAYBE", + "value" : 2 + } + ], + "default" : "Module1.E3.YES" + }, + { + "kind" : "alias", + "qualifiedName" : "FwTlmPacketizeIdType", + "type" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + }, + "underlyingType" : { + "name" : "U16", + "kind" : "integer", + "size" : 16, + "signed" : false + } + }, + { + "kind" : "array", + "qualifiedName" : "Module1.EnumArray", + "size" : 3, + "elementType" : { + "name" : "Module1.E3", + "kind" : "qualifiedIdentifier" + }, + "default" : [ + "Module1.E3.YES", + "Module1.E3.YES", + "Module1.E3.YES" + ], + "annotation" : "An array of 3 enum values" + }, + { + "kind" : "array", + "qualifiedName" : "Module1.F64x4", + "size" : 4, + "elementType" : { + "name" : "F64", + "kind" : "float", + "size" : 64 + }, + "default" : [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "annotation" : "An array of 4 F64 values" + }, { "kind" : "alias", "qualifiedName" : "BaseIdType", @@ -26,6 +99,24 @@ "signed" : false } }, + { + "kind" : "array", + "qualifiedName" : "Module1.U32x4", + "size" : 4, + "elementType" : { + "name" : "U32", + "kind" : "integer", + "size" : 32, + "signed" : false + }, + "default" : [ + 1, + 2, + 3, + 4 + ], + "annotation" : "An array of 4 U32 values" + }, { "kind" : "alias", "qualifiedName" : "FwTimeContextStoreType", @@ -161,90 +252,6 @@ "signed" : false } }, - { - "kind" : "enum", - "qualifiedName" : "Module1.E3", - "representationType" : { - "name" : "U8", - "kind" : "integer", - "size" : 8, - "signed" : false - }, - "enumeratedConstants" : [ - { - "name" : "YES", - "value" : 0 - }, - { - "name" : "NO", - "value" : 1 - }, - { - "name" : "MAYBE", - "value" : 2 - } - ], - "default" : "Module1.E3.YES" - }, - { - "kind" : "array", - "qualifiedName" : "Module1.EnumArray", - "size" : 3, - "elementType" : { - "name" : "Module1.E3", - "kind" : "qualifiedIdentifier" - }, - "default" : [ - "Module1.E3.YES", - "Module1.E3.YES", - "Module1.E3.YES" - ], - "annotation" : "An array of 3 enum values" - }, - { - "kind" : "alias", - "qualifiedName" : "FwTlmPacketizeIdType", - "type" : { - "name" : "U16", - "kind" : "integer", - "size" : 16, - "signed" : false - }, - "underlyingType" : { - "name" : "U16", - "kind" : "integer", - "size" : 16, - "signed" : false - } - }, - { - "kind" : "struct", - "qualifiedName" : "Module1.S2", - "members" : { - "x" : { - "type" : { - "name" : "Module1.E2", - "kind" : "qualifiedIdentifier" - }, - "index" : 0 - }, - "y" : { - "type" : { - "name" : "Module1.EnumArray", - "kind" : "qualifiedIdentifier" - }, - "index" : 1 - } - }, - "default" : { - "x" : "Module1.E2.PASS", - "y" : [ - "Module1.E3.YES", - "Module1.E3.YES", - "Module1.E3.YES" - ] - } - }, { "kind" : "enum", "qualifiedName" : "Fw.DpState", @@ -294,41 +301,6 @@ ], "default" : "Module1.E2.PASS" }, - { - "kind" : "array", - "qualifiedName" : "Module1.F64x4", - "size" : 4, - "elementType" : { - "name" : "F64", - "kind" : "float", - "size" : 64 - }, - "default" : [ - 0.0, - 0.0, - 0.0, - 0.0 - ], - "annotation" : "An array of 4 F64 values" - }, - { - "kind" : "array", - "qualifiedName" : "Module1.U32x4", - "size" : 4, - "elementType" : { - "name" : "U32", - "kind" : "integer", - "size" : 32, - "signed" : false - }, - "default" : [ - 1, - 2, - 3, - 4 - ], - "annotation" : "An array of 4 U32 values" - }, { "kind" : "alias", "qualifiedName" : "FwEventIdType", @@ -343,6 +315,34 @@ "signed" : false } }, + { + "kind" : "struct", + "qualifiedName" : "Module1.S2", + "members" : { + "x" : { + "type" : { + "name" : "Module1.E2", + "kind" : "qualifiedIdentifier" + }, + "index" : 0 + }, + "y" : { + "type" : { + "name" : "Module1.EnumArray", + "kind" : "qualifiedIdentifier" + }, + "index" : 1 + } + }, + "default" : { + "x" : "Module1.E2.PASS", + "y" : [ + "Module1.E3.YES", + "Module1.E3.YES", + "Module1.E3.YES" + ] + } + }, { "kind" : "struct", "qualifiedName" : "Module1.ScalarStruct", diff --git a/compiler/tools/fpp-to-dict/test/top/multipleTops.fpp b/compiler/tools/fpp-to-dict/test/top/multipleTops.fpp index 62f693e48a..670cfd3c84 100644 --- a/compiler/tools/fpp-to-dict/test/top/multipleTops.fpp +++ b/compiler/tools/fpp-to-dict/test/top/multipleTops.fpp @@ -300,12 +300,15 @@ module Module1 { myFirstC1.pOut -> myFirstC2.pIn } + @ Pre annotation for Packets telemetry packets Packets { + @ Pre annotation for MyTlmPacket1 packet MyTlmPacket1 id 0 group 0 { Module1.myFirstC1.TlmChannel1 Module1.myFirstC1.TlmChannel2 } + @ Pre annotation for MyTlmPacket2 packet MyTlmPacket2 id 1 group 1 { Module1.myFirstC2.TlmChannel1 } diff --git a/compiler/tools/fpp-to-dict/test/top/run.sh b/compiler/tools/fpp-to-dict/test/top/run.sh index 3eb422538f..0af1aa8e13 100644 --- a/compiler/tools/fpp-to-dict/test/top/run.sh +++ b/compiler/tools/fpp-to-dict/test/top/run.sh @@ -61,6 +61,26 @@ multipleTops() diff_json SecondTop } +# template.fpp puts a component, an instance, and a topology in the body of a +# module template, and imports the expanded topology into a deployment topology. +# template_hand.fpp is the same model with the expansion written out by hand. The two must generate identical dictionaries, so both are checked +# against the same reference output. +template() +{ + run_test "-i builtin.fpp,config.fpp -p 1.0.0 -f 3.4.3" template && \ + validate_json_schema Expanded && \ + diff_json Expanded && \ + diff_system_json Dep_Expanded +} + +template_hand() +{ + run_test "-i builtin.fpp,config.fpp -p 1.0.0 -f 3.4.3" template_hand && \ + validate_json_schema Expanded && \ + diff_json Expanded && \ + diff_system_json Dep_Expanded +} + unqualifiedComponentInstances() { run_test "-i builtin.fpp,config.fpp -p 1.0.0 -f 3.4.3 -l lib1-1.0.0,lib2-2.0.0" unqualifiedComponentInstances && \ diff --git a/compiler/tools/fpp-to-dict/test/top/template.fpp b/compiler/tools/fpp-to-dict/test/top/template.fpp new file mode 100644 index 0000000000..6ae64395a0 --- /dev/null +++ b/compiler/tools/fpp-to-dict/test/top/template.fpp @@ -0,0 +1,42 @@ +module template T(constant baseId: U32) { + + passive component C { + + @ A telemetry channel + telemetry Channel: U32 + + @ A command + sync command DoIt + + @ An event + event Happened severity activity high format "it happened" + + command reg port cmdRegOut + command recv port cmdIn + command resp port cmdResponseOut + event port logOut + text event port logTextOut + telemetry port tlmOut + time get port timeGetOut + + } + + instance c: C base id baseId + + topology Sub { + instance c + } + +} + +module Dep { + + expand T(constant 0x100) + + deployment topology Expanded { + import Sub + } + + system Expanded: Expanded + +} diff --git a/compiler/tools/fpp-to-dict/test/top/template.ref.txt b/compiler/tools/fpp-to-dict/test/top/template.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-dict/test/top/template_hand.fpp b/compiler/tools/fpp-to-dict/test/top/template_hand.fpp new file mode 100644 index 0000000000..e20314d25f --- /dev/null +++ b/compiler/tools/fpp-to-dict/test/top/template_hand.fpp @@ -0,0 +1,36 @@ +module Dep { + + passive component C { + + @ A telemetry channel + telemetry Channel: U32 + + @ A command + sync command DoIt + + @ An event + event Happened severity activity high format "it happened" + + command reg port cmdRegOut + command recv port cmdIn + command resp port cmdResponseOut + event port logOut + text event port logTextOut + telemetry port tlmOut + time get port timeGetOut + + } + + instance c: C base id 0x100 + + topology Sub { + instance c + } + + deployment topology Expanded { + import Sub + } + + system Expanded: Expanded + +} diff --git a/compiler/tools/fpp-to-dict/test/top/template_hand.ref.txt b/compiler/tools/fpp-to-dict/test/top/template_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-dict/test/top/tests.sh b/compiler/tools/fpp-to-dict/test/top/tests.sh index ad96ce65a3..d0060e4bea 100644 --- a/compiler/tools/fpp-to-dict/test/top/tests.sh +++ b/compiler/tools/fpp-to-dict/test/top/tests.sh @@ -9,6 +9,8 @@ missingFwFixedLengthStringSizeConstant missingFwOpcodeType missingUserDataSizeConstant multipleTops +template +template_hand unqualifiedComponentInstances userDataSizeAsMember " diff --git a/compiler/tools/fpp-to-dict/test/top/update-ref.sh b/compiler/tools/fpp-to-dict/test/top/update-ref.sh index 65dfc2d5d0..9deea7de14 100644 --- a/compiler/tools/fpp-to-dict/test/top/update-ref.sh +++ b/compiler/tools/fpp-to-dict/test/top/update-ref.sh @@ -41,6 +41,20 @@ multipleTops() move_json SecondTop } +# The reference dictionaries are shared with template_hand, so update them +# here and not there. +template() +{ + update "-i builtin.fpp,config.fpp -p 1.0.0 -f 3.4.3" template + move_json Expanded + move_system_json Dep_Expanded +} + +template_hand() +{ + update "-i builtin.fpp,config.fpp -p 1.0.0 -f 3.4.3" template_hand +} + unqualifiedComponentInstances() { update "-i builtin.fpp,config.fpp -p 1.0.0 -f 3.4.3 -l lib1-1.0.0,lib2-2.0.0" unqualifiedComponentInstances diff --git a/compiler/tools/fpp-format/test/.gitignore b/compiler/tools/fpp-to-fpp/test/.gitignore similarity index 100% rename from compiler/tools/fpp-format/test/.gitignore rename to compiler/tools/fpp-to-fpp/test/.gitignore diff --git a/compiler/tools/fpp-format/test/clean b/compiler/tools/fpp-to-fpp/test/clean similarity index 100% rename from compiler/tools/fpp-format/test/clean rename to compiler/tools/fpp-to-fpp/test/clean diff --git a/compiler/tools/fpp-format/test/component.fpp b/compiler/tools/fpp-to-fpp/test/component.fpp similarity index 100% rename from compiler/tools/fpp-format/test/component.fpp rename to compiler/tools/fpp-to-fpp/test/component.fpp diff --git a/compiler/tools/fpp-format/test/component.ref.txt b/compiler/tools/fpp-to-fpp/test/component.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/component.ref.txt rename to compiler/tools/fpp-to-fpp/test/component.ref.txt diff --git a/compiler/tools/fpp-format/test/constant.fppi b/compiler/tools/fpp-to-fpp/test/constant.fppi similarity index 100% rename from compiler/tools/fpp-format/test/constant.fppi rename to compiler/tools/fpp-to-fpp/test/constant.fppi diff --git a/compiler/tools/fpp-format/test/dictionary_specifier.ref.txt b/compiler/tools/fpp-to-fpp/test/dictionary_specifier.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/dictionary_specifier.ref.txt rename to compiler/tools/fpp-to-fpp/test/dictionary_specifier.ref.txt diff --git a/compiler/tools/fpp-format/test/escaped_strings.fpp b/compiler/tools/fpp-to-fpp/test/escaped_strings.fpp similarity index 100% rename from compiler/tools/fpp-format/test/escaped_strings.fpp rename to compiler/tools/fpp-to-fpp/test/escaped_strings.fpp diff --git a/compiler/tools/fpp-format/test/escaped_strings.ref.txt b/compiler/tools/fpp-to-fpp/test/escaped_strings.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/escaped_strings.ref.txt rename to compiler/tools/fpp-to-fpp/test/escaped_strings.ref.txt diff --git a/compiler/tools/fpp-format/test/expressions.fpp b/compiler/tools/fpp-to-fpp/test/expressions.fpp similarity index 100% rename from compiler/tools/fpp-format/test/expressions.fpp rename to compiler/tools/fpp-to-fpp/test/expressions.fpp diff --git a/compiler/tools/fpp-format/test/expressions.ref.txt b/compiler/tools/fpp-to-fpp/test/expressions.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/expressions.ref.txt rename to compiler/tools/fpp-to-fpp/test/expressions.ref.txt diff --git a/compiler/tools/fpp-format/test/include.ref.txt b/compiler/tools/fpp-to-fpp/test/include.ref.txt similarity index 77% rename from compiler/tools/fpp-format/test/include.ref.txt rename to compiler/tools/fpp-to-fpp/test/include.ref.txt index 064e938b6a..db244390bc 100644 --- a/compiler/tools/fpp-format/test/include.ref.txt +++ b/compiler/tools/fpp-to-fpp/test/include.ref.txt @@ -86,15 +86,15 @@ module DefinitionsAndSpecifiers { assert @< Async product receive port @ Internal Component State machine definition - state machine S @< State machine definition + state machine SM @< State machine definition @ State machine instance 1 - state machine instance s1: S \ + state machine instance s1: SM \ priority 10 \ drop @< State machine instance 1 @ State machine instance 2 - state machine instance s2: S @< State machine instance 2 + state machine instance s2: SM @< State machine instance 2 @ State machine for outside definition state machine instance so: SO @< State machine for outside definition @@ -191,8 +191,48 @@ module DefinitionsAndSpecifiers { } @< Module definition - @ Included constant - constant x = 0 @< Included constant + module Constants { + + @ Included constant + constant x = 0 @< Included constant + + } + + @ Module template definition + module template MT( + @ Constant template parameter + constant c: U32 @< Constant template parameter + @ Type template parameter + type Ty @< Type template parameter + @ Interface instance template parameter + instance i: I @< Interface instance template parameter + ) { + + constant a = c + + } @< Module template definition + + @ Unexpanded template expansion specifier + expand MT( + constant 0 + type U32 + instance i1 + ) { + + constant a = c + + } @< Unexpanded template expansion specifier + + @ Expanded template expansion specifier + expand MT( + constant 0 + type U32 + instance i1 + ) { + + constant b = 0 + + } @< Expanded template expansion specifier @ Port definition port P( @@ -214,11 +254,15 @@ module DefinitionsAndSpecifiers { @ Public instance specifier instance i1 @< Public instance specifier + @ Public instance specifier with absolute qualified identifier + instance .i1Abs @< Public instance specifier with absolute qualified identifier + @ Direct connection graph specifier connections C { i1.p[0] -> i2.p[1] unmatched i1.p1[0] -> i2.p2[0] unmatched i1.p1 -> i2.p2 + .i1.p3 -> .i2.p3 } @< Direct connection graph specifier @ Graph pattern specifier @@ -238,6 +282,7 @@ module DefinitionsAndSpecifiers { packet P1 id 0 group 0 { i1.c1 i2.c2 + .i1.c3 } @< Telemetry packet @ Included packet @@ -248,21 +293,25 @@ module DefinitionsAndSpecifiers { } omit { i3.c3 + .i3.c4 } @< Telemetry packet group @ Topology port specifier port a = b.a @< Topology port specifier + @ Topology port specifier with absolute qualified identifier + port aAbs = .b.a @< Topology port specifier with absolute qualified identifier + } @< Topology definition @ Deployment topology - deployment topology T { + deployment topology T1 { } @< Deployment topology @ Topology definition with one implements - topology T implements \ + topology T2 implements \ I { @@ -270,7 +319,7 @@ module DefinitionsAndSpecifiers { } @< Topology definition with one implements @ Topology definition with two implements - topology T implements \ + topology T3 implements \ I I { @@ -281,12 +330,21 @@ module DefinitionsAndSpecifiers { @ System definition system S: M.T @< System definition + @ System definition with absolute qualified identifier + system SAbs: .M.T @< System definition with absolute qualified identifier + @ Location specifier locate instance i at "instances.fpp" @< Location specifier + @ Location specifier with absolute qualified identifier + locate instance .i at "instances.fpp" @< Location specifier with absolute qualified identifier + @ System location specifier locate system S at "system.fpp" @< System location specifier + @ Template location specifier + locate template MT at "template.fpp" @< Template location specifier + } @< Definitions and specifiers @ Type names @@ -302,6 +360,8 @@ module TypeNames { array typeNameQID = [10] a.b.c + array typeNameAbsoluteQID = [10] .a.b.c + } @< Type names @ Expressions @@ -331,7 +391,7 @@ module Expressions { constant arraySubExp2 = a.b.c[1] @< Array Subscript @ Array Subscript with member selection - constant arraySubExp2 = a.b.c[1][2].s[12] @< Array Subscript + constant arraySubExp3 = a.b.c[1][2].s[12] @< Array Subscript @ Boolean literal constant booleanLiteralExp = true @< Boolean literal @@ -339,12 +399,18 @@ module Expressions { @ Dot constant dotExp = a.b.c @< Dot + @ Dot with absolute qualified identifier + constant dotAbsoluteExp = .a.b.c @< Dot with absolute qualified identifier + @ FP literal constant fpLiteralExp = 0.1234 @< FP literal @ Identifier constant identExp = x @< Identifier + @ Identifier with absolute qualified identifier + constant identAbsoluteExp = .x @< Identifier with absolute qualified identifier + @ Int literal constant intLiteralExp = 1234 @< Int literal diff --git a/compiler/tools/fpp-format/test/interface.fpp b/compiler/tools/fpp-to-fpp/test/interface.fpp similarity index 100% rename from compiler/tools/fpp-format/test/interface.fpp rename to compiler/tools/fpp-to-fpp/test/interface.fpp diff --git a/compiler/tools/fpp-format/test/interface.ref.txt b/compiler/tools/fpp-to-fpp/test/interface.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/interface.ref.txt rename to compiler/tools/fpp-to-fpp/test/interface.ref.txt diff --git a/compiler/tools/fpp-format/test/kwd_names.fpp b/compiler/tools/fpp-to-fpp/test/kwd_names.fpp similarity index 100% rename from compiler/tools/fpp-format/test/kwd_names.fpp rename to compiler/tools/fpp-to-fpp/test/kwd_names.fpp diff --git a/compiler/tools/fpp-format/test/kwd_names.ref.txt b/compiler/tools/fpp-to-fpp/test/kwd_names.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/kwd_names.ref.txt rename to compiler/tools/fpp-to-fpp/test/kwd_names.ref.txt diff --git a/compiler/tools/fpp-to-fpp/test/module_template.fpp b/compiler/tools/fpp-to-fpp/test/module_template.fpp new file mode 100644 index 0000000000..7907638010 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template.fpp @@ -0,0 +1,39 @@ +interface Iface { + +} + +@ Template Definition +module template T ( + constant c: U32, @< A constant parameter + type Ty, @< A type parameter + instance inst: Iface @< An interface parameter +) { + port P( + a: Ty + ) -> Ty + + constant d = c + 2 +} + +@ Without -e, the expansion specifier is formatted but not expanded +expand T(constant 10, type U32, instance inst1) + +@ Template parameters and arguments whose names are escaped keywords: +@ the escapes must survive formatting so the output still parses +module template Escaped( + constant $type: U32, @< An escaped constant parameter + type $array, @< An escaped type parameter + instance $instance: Iface @< An escaped instance parameter +) { + array a = [3] $array + + constant y = $type + 1 + + module $module { + constant $constant = 1 + } + + constant z = $module.$constant +} + +expand Escaped(constant 5, type U32, instance $instance) diff --git a/compiler/tools/fpp-to-fpp/test/module_template.ref.txt b/compiler/tools/fpp-to-fpp/test/module_template.ref.txt new file mode 100644 index 0000000000..fa345412dd --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template.ref.txt @@ -0,0 +1,54 @@ +interface Iface { + + +} + +@ Template Definition +module template T( + constant c: U32 @< A constant parameter + type Ty @< A type parameter + instance inst: Iface @< An interface parameter + ) { + + port P( + a: Ty + ) -> Ty + + constant d = c + 2 + +} + +@ Without -e, the expansion specifier is formatted but not expanded +expand T( + constant 10 + type U32 + instance inst1 + ) + +@ Template parameters and arguments whose names are escaped keywords: +@ the escapes must survive formatting so the output still parses +module template Escaped( + constant $type: U32 @< An escaped constant parameter + type $array @< An escaped type parameter + instance $instance: Iface @< An escaped instance parameter + ) { + + array a = [3] $array + + constant y = $type + 1 + + module $module { + + constant $constant = 1 + + } + + constant z = $module.$constant + +} + +expand Escaped( + constant 5 + type U32 + instance $instance + ) diff --git a/compiler/tools/fpp-to-fpp/test/module_template_def.fpp b/compiler/tools/fpp-to-fpp/test/module_template_def.fpp new file mode 100644 index 0000000000..d7ceffcc92 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_def.fpp @@ -0,0 +1,5 @@ +module template T { + + constant a = 0 + +} diff --git a/compiler/tools/fpp-to-fpp/test/module_template_expand.fpp b/compiler/tools/fpp-to-fpp/test/module_template_expand.fpp new file mode 100644 index 0000000000..2e87e8be66 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_expand.fpp @@ -0,0 +1,33 @@ +@ An interface for the template's interface parameter +interface Iface { + +} + +@ Template definition with all three kinds of parameter +module template T( + constant c: U32, @< A constant parameter + type Ty, @< A type parameter + instance inst: Iface @< An interface parameter +) { + @ A port that uses the type parameter + port P( + a: Ty + ) -> Ty + + @ A constant derived from the constant parameter + constant d = c + 2 +} + +@ Expand the template with concrete arguments +expand T(constant 10, type U32, instance inst1) + +@ A template with an empty body +module template Empty( + constant c: U32 @< A constant parameter +) { + +} + +@ Expanding an empty-bodied template produces an empty brace block +expand Empty(constant 5) +@< with the specifier annotations attached to it diff --git a/compiler/tools/fpp-to-fpp/test/module_template_expand.ref.txt b/compiler/tools/fpp-to-fpp/test/module_template_expand.ref.txt new file mode 100644 index 0000000000..f95e419d3e --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_expand.ref.txt @@ -0,0 +1,55 @@ +@ An interface for the template's interface parameter +interface Iface { + + +} + +@ Template definition with all three kinds of parameter +module template T( + constant c: U32 @< A constant parameter + type Ty @< A type parameter + instance inst: Iface @< An interface parameter + ) { + + @ A port that uses the type parameter + port P( + a: Ty + ) -> Ty + + @ A constant derived from the constant parameter + constant d = c + 2 + +} + +@ Expand the template with concrete arguments +expand T( + constant 10 + type U32 + instance inst1 + ) { + + @ A port that uses the type parameter + port P( + a: Ty + ) -> Ty + + @ A constant derived from the constant parameter + constant d = c + 2 + +} + +@ A template with an empty body +module template Empty( + constant c: U32 @< A constant parameter + ) { + + +} + +@ Expanding an empty-bodied template produces an empty brace block +expand Empty( + constant 5 + ) { + + +} @< with the specifier annotations attached to it diff --git a/compiler/tools/fpp-to-fpp/test/module_template_import.fpp b/compiler/tools/fpp-to-fpp/test/module_template_import.fpp new file mode 100644 index 0000000000..4fa6eb6d60 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_import.fpp @@ -0,0 +1 @@ +expand T diff --git a/compiler/tools/fpp-to-fpp/test/module_template_import.ref.txt b/compiler/tools/fpp-to-fpp/test/module_template_import.ref.txt new file mode 100644 index 0000000000..c5b2d896a1 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_import.ref.txt @@ -0,0 +1,5 @@ +expand T { + + constant a = 0 + +} diff --git a/compiler/tools/fpp-to-fpp/test/module_template_include.fpp b/compiler/tools/fpp-to-fpp/test/module_template_include.fpp new file mode 100644 index 0000000000..b71294c627 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_include.fpp @@ -0,0 +1,5 @@ +include "module_template_include.fppi" + +@ Expanding a template defined in an included file requires -e to also +@ resolve the include so the template definition can be found +expand Included(constant 42) diff --git a/compiler/tools/fpp-to-fpp/test/module_template_include.fppi b/compiler/tools/fpp-to-fpp/test/module_template_include.fppi new file mode 100644 index 0000000000..ed216a2404 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_include.fppi @@ -0,0 +1,7 @@ +@ A module template defined in an included file +module template Included( + constant n: U32 @< A constant parameter +) { + @ A constant defined by the included template + constant m = n + 1 +} diff --git a/compiler/tools/fpp-to-fpp/test/module_template_include.ref.txt b/compiler/tools/fpp-to-fpp/test/module_template_include.ref.txt new file mode 100644 index 0000000000..83ab6cb7f5 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/module_template_include.ref.txt @@ -0,0 +1,20 @@ +@ A module template defined in an included file +module template Included( + constant n: U32 @< A constant parameter + ) { + + @ A constant defined by the included template + constant m = n + 1 + +} + +@ Expanding a template defined in an included file requires -e to also +@ resolve the include so the template definition can be found +expand Included( + constant 42 + ) { + + @ A constant defined by the included template + constant m = n + 1 + +} diff --git a/compiler/tools/fpp-format/test/no_include.ref.txt b/compiler/tools/fpp-to-fpp/test/no_include.ref.txt similarity index 77% rename from compiler/tools/fpp-format/test/no_include.ref.txt rename to compiler/tools/fpp-to-fpp/test/no_include.ref.txt index edf5642e6a..f6b80c7a4b 100644 --- a/compiler/tools/fpp-format/test/no_include.ref.txt +++ b/compiler/tools/fpp-to-fpp/test/no_include.ref.txt @@ -86,15 +86,15 @@ module DefinitionsAndSpecifiers { assert @< Async product receive port @ Internal Component State machine definition - state machine S @< State machine definition + state machine SM @< State machine definition @ State machine instance 1 - state machine instance s1: S \ + state machine instance s1: SM \ priority 10 \ drop @< State machine instance 1 @ State machine instance 2 - state machine instance s2: S @< State machine instance 2 + state machine instance s2: SM @< State machine instance 2 @ State machine for outside definition state machine instance so: SO @< State machine for outside definition @@ -191,8 +191,44 @@ module DefinitionsAndSpecifiers { } @< Module definition - @ Include specifier - include "constant.fppi" @< Include specifier + module Constants { + + @ Include specifier + include "constant.fppi" @< Include specifier + + } + + @ Module template definition + module template MT( + @ Constant template parameter + constant c: U32 @< Constant template parameter + @ Type template parameter + type Ty @< Type template parameter + @ Interface instance template parameter + instance i: I @< Interface instance template parameter + ) { + + constant a = c + + } @< Module template definition + + @ Unexpanded template expansion specifier + expand MT( + constant 0 + type U32 + instance i1 + ) @< Unexpanded template expansion specifier + + @ Expanded template expansion specifier + expand MT( + constant 0 + type U32 + instance i1 + ) { + + constant b = 0 + + } @< Expanded template expansion specifier @ Port definition port P( @@ -214,11 +250,15 @@ module DefinitionsAndSpecifiers { @ Public instance specifier instance i1 @< Public instance specifier + @ Public instance specifier with absolute qualified identifier + instance .i1Abs @< Public instance specifier with absolute qualified identifier + @ Direct connection graph specifier connections C { i1.p[0] -> i2.p[1] unmatched i1.p1[0] -> i2.p2[0] unmatched i1.p1 -> i2.p2 + .i1.p3 -> .i2.p3 } @< Direct connection graph specifier @ Graph pattern specifier @@ -238,6 +278,7 @@ module DefinitionsAndSpecifiers { packet P1 id 0 group 0 { i1.c1 i2.c2 + .i1.c3 } @< Telemetry packet @ Include specifier @@ -245,21 +286,25 @@ module DefinitionsAndSpecifiers { } omit { i3.c3 + .i3.c4 } @< Telemetry packet group @ Topology port specifier port a = b.a @< Topology port specifier + @ Topology port specifier with absolute qualified identifier + port aAbs = .b.a @< Topology port specifier with absolute qualified identifier + } @< Topology definition @ Deployment topology - deployment topology T { + deployment topology T1 { } @< Deployment topology @ Topology definition with one implements - topology T implements \ + topology T2 implements \ I { @@ -267,7 +312,7 @@ module DefinitionsAndSpecifiers { } @< Topology definition with one implements @ Topology definition with two implements - topology T implements \ + topology T3 implements \ I I { @@ -278,12 +323,21 @@ module DefinitionsAndSpecifiers { @ System definition system S: M.T @< System definition + @ System definition with absolute qualified identifier + system SAbs: .M.T @< System definition with absolute qualified identifier + @ Location specifier locate instance i at "instances.fpp" @< Location specifier + @ Location specifier with absolute qualified identifier + locate instance .i at "instances.fpp" @< Location specifier with absolute qualified identifier + @ System location specifier locate system S at "system.fpp" @< System location specifier + @ Template location specifier + locate template MT at "template.fpp" @< Template location specifier + } @< Definitions and specifiers @ Type names @@ -299,6 +353,8 @@ module TypeNames { array typeNameQID = [10] a.b.c + array typeNameAbsoluteQID = [10] .a.b.c + } @< Type names @ Expressions @@ -328,7 +384,7 @@ module Expressions { constant arraySubExp2 = a.b.c[1] @< Array Subscript @ Array Subscript with member selection - constant arraySubExp2 = a.b.c[1][2].s[12] @< Array Subscript + constant arraySubExp3 = a.b.c[1][2].s[12] @< Array Subscript @ Boolean literal constant booleanLiteralExp = true @< Boolean literal @@ -336,12 +392,18 @@ module Expressions { @ Dot constant dotExp = a.b.c @< Dot + @ Dot with absolute qualified identifier + constant dotAbsoluteExp = .a.b.c @< Dot with absolute qualified identifier + @ FP literal constant fpLiteralExp = 0.1234 @< FP literal @ Identifier constant identExp = x @< Identifier + @ Identifier with absolute qualified identifier + constant identAbsoluteExp = .x @< Identifier with absolute qualified identifier + @ Int literal constant intLiteralExp = 1234 @< Int literal diff --git a/compiler/tools/fpp-format/test/run b/compiler/tools/fpp-to-fpp/test/run similarity index 53% rename from compiler/tools/fpp-format/test/run rename to compiler/tools/fpp-to-fpp/test/run index 19a34bf373..450edea6c5 100755 --- a/compiler/tools/fpp-format/test/run +++ b/compiler/tools/fpp-to-fpp/test/run @@ -2,8 +2,9 @@ . ../../../scripts/test-utils.sh -fpp_format=../../../bin/fpp-format +fpp_to_fpp=../../../bin/fpp-to-fpp fpp_syntax=../../../bin/fpp-syntax +fpp_check=../../../bin/fpp-check compare() { @@ -21,7 +22,7 @@ run_test() else outfile=$infile fi - $fpp_format $args $infile.fpp 2>&1 | remove_path_prefix > $outfile.out.txt + $fpp_to_fpp $args $infile.fpp 2>&1 | remove_path_prefix > $outfile.out.txt compare $outfile } @@ -38,9 +39,15 @@ $t() done > default-tests.sh . ./default-tests.sh +dictionary_specifier() +{ + run_test '' ../../fpp-syntax/test/dictionary-specifier dictionary_specifier && \ + $fpp_syntax dictionary_specifier.out.txt +} + include() { - run_test '-i' ../../fpp-syntax/test/syntax include && \ + run_test '-e' ../../fpp-syntax/test/syntax include && \ $fpp_syntax include.out.txt } @@ -50,6 +57,25 @@ kwd_names() $fpp_syntax kwd_names.out.txt } +module_template_expand() +{ + run_test '-e' module_template_expand && \ + $fpp_syntax module_template_expand.out.txt + +} + +module_template_import() +{ + run_test '-e -i module_template_def.fpp' module_template_import && \ + $fpp_syntax module_template_import.out.txt +} + +module_template_include() +{ + run_test '-e' module_template_include && \ + $fpp_syntax module_template_include.out.txt +} + no_include() { run_test '' ../../fpp-syntax/test/syntax no_include && \ @@ -62,11 +88,12 @@ state_machine() $fpp_syntax state_machine.out.txt } - -dictionary_specifier() +state_machine_expand() { - run_test '' ../../fpp-syntax/test/dictionary-specifier dictionary_specifier && \ - $fpp_syntax dictionary_specifier.out.txt + run_test '-e' ../../fpp-syntax/test/state-machine state_machine_expand && \ + $fpp_syntax state_machine_expand.out.txt && \ + # Check that syntax expansion does not introduce a semantic error + $fpp_check state_machine_expand.out.txt } run_suite $tests diff --git a/compiler/tools/fpp-format/test/state_machine.ref.txt b/compiler/tools/fpp-to-fpp/test/state_machine.ref.txt similarity index 97% rename from compiler/tools/fpp-format/test/state_machine.ref.txt rename to compiler/tools/fpp-to-fpp/test/state_machine.ref.txt index 3b293f94c7..80d05fe899 100644 --- a/compiler/tools/fpp-format/test/state_machine.ref.txt +++ b/compiler/tools/fpp-to-fpp/test/state_machine.ref.txt @@ -69,7 +69,7 @@ state machine M { @ Choice C choice C { if g1 enter S1 \ - else enter S2 + else enter .S2 } @ State S1 @@ -103,7 +103,7 @@ state machine M { else do { a2 a3 - } enter S2.S3 + } enter .S2.S3 } @ State S3 diff --git a/compiler/tools/fpp-to-fpp/test/state_machine_expand.ref.txt b/compiler/tools/fpp-to-fpp/test/state_machine_expand.ref.txt new file mode 100644 index 0000000000..80d05fe899 --- /dev/null +++ b/compiler/tools/fpp-to-fpp/test/state_machine_expand.ref.txt @@ -0,0 +1,137 @@ +type FwSizeStoreType = U16 + +constant FW_FIXED_LENGTH_STRING_SIZE = 256 + +@ State machine M +state machine M { + + array A = [3] U32 + + constant c = 0 + + enum E { + X + Y + Z + } default X + + struct S { + x: [3] U32 + y: F32 + z: string + } + + type T + + type X = U32 + + @ Action a1 + action a1 + + @ Action a2 + action a2 + + @ Action a3 + action a3 + + @ Action a4 + action a4: U32 + + @ Guard g1 + guard g1 + + @ Guard g2 + guard g2: U32 + + @ Signal s1 + signal s1: U32 + + @ Signal s2 + signal s2 + + @ Signal s3 + signal s3 + + @ Signal s4 + signal s4 + + @ Signal s5 + signal s5 + + @ Signal s6 + signal s6 + + @ Initial transition + initial do { + a1 + } enter C + + @ Choice C + choice C { + if g1 enter S1 \ + else enter .S2 + } + + @ State S1 + state S1 + + @ State S2 + state S2 { + + entry do { + a1 + a2 + } + + exit do { + a1 + a2 + } + + @ Initial transition + initial do { + a1 + a2 + } enter S3 + + @ Choice C + choice C { + if g1 do { + a1 + a2 + } enter S1 \ + else do { + a2 + a3 + } enter .S2.S3 + } + + @ State S3 + state S3 + + @ Transition to S1 + on s1 if g1 do { + a1 + } enter C + + on s2 if g1 enter S1 + + @ Transition to S1 + on s3 if g1 enter S1 + + @ Transition to S1 + on s4 enter S1 + + @ Internal transition + on s5 if g1 do { + a1 + } + + @ Internal transition + on s6 do { + a1 + } + + } + +} diff --git a/compiler/tools/fpp-format/test/tests.sh b/compiler/tools/fpp-to-fpp/test/tests.sh similarity index 55% rename from compiler/tools/fpp-format/test/tests.sh rename to compiler/tools/fpp-to-fpp/test/tests.sh index 93c165a415..772b008530 100644 --- a/compiler/tools/fpp-format/test/tests.sh +++ b/compiler/tools/fpp-to-fpp/test/tests.sh @@ -1,12 +1,17 @@ tests=" component +dictionary_specifier escaped_strings expressions include interface kwd_names +module_template +module_template_expand +module_template_import +module_template_include no_include state_machine +state_machine_expand topology -dictionary_specifier " diff --git a/compiler/tools/fpp-format/test/topology.fpp b/compiler/tools/fpp-to-fpp/test/topology.fpp similarity index 100% rename from compiler/tools/fpp-format/test/topology.fpp rename to compiler/tools/fpp-to-fpp/test/topology.fpp diff --git a/compiler/tools/fpp-format/test/topology.ref.txt b/compiler/tools/fpp-to-fpp/test/topology.ref.txt similarity index 100% rename from compiler/tools/fpp-format/test/topology.ref.txt rename to compiler/tools/fpp-to-fpp/test/topology.ref.txt diff --git a/compiler/tools/fpp-format/test/update-ref b/compiler/tools/fpp-to-fpp/test/update-ref similarity index 62% rename from compiler/tools/fpp-format/test/update-ref rename to compiler/tools/fpp-to-fpp/test/update-ref index a9f64f56b8..95cb8b1beb 100755 --- a/compiler/tools/fpp-format/test/update-ref +++ b/compiler/tools/fpp-to-fpp/test/update-ref @@ -2,7 +2,7 @@ . ../../../scripts/test-utils.sh -fpp_format=../../../bin/fpp-format +fpp_to_fpp=../../../bin/fpp-to-fpp update() { @@ -14,7 +14,7 @@ update() else outfile=$infile fi - $fpp_format $args $infile.fpp 2>&1 | remove_path_prefix > $outfile.ref.txt + $fpp_to_fpp $args $infile.fpp 2>&1 | remove_path_prefix > $outfile.ref.txt } for file in `find . -name '*.ref.txt'` @@ -35,19 +35,19 @@ $t() done > default-update-ref.sh . ./default-update-ref.sh -escaped_strings() +dictionary_specifier() { - update '' escaped_strings + update '' ../../fpp-syntax/test/dictionary-specifier dictionary_specifier } -no_include() +escaped_strings() { - update '' ../../fpp-syntax/test/syntax no_include + update '' escaped_strings } include() { - update '-i' ../../fpp-syntax/test/syntax include + update '-e' ../../fpp-syntax/test/syntax include } kwd_names() @@ -55,14 +55,34 @@ kwd_names() update '' kwd_names } +module_template_expand() +{ + update '-e' module_template_expand +} + +module_template_import() +{ + update '-e -i module_template_def.fpp' module_template_import +} + +module_template_include() +{ + update '-e' module_template_include +} + +no_include() +{ + update '' ../../fpp-syntax/test/syntax no_include +} + state_machine() { update '' ../../fpp-syntax/test/state-machine state_machine } -dictionary_specifier() +state_machine_expand() { - update '' ../../fpp-syntax/test/dictionary-specifier dictionary_specifier + update '-e' ../../fpp-syntax/test/state-machine state_machine_expand } for t in $tests diff --git a/compiler/tools/fpp-to-json/test/activeComponents.ref.txt b/compiler/tools/fpp-to-json/test/activeComponents.ref.txt index d6ab9d0625..63e88474ed 100644 --- a/compiler/tools/fpp-to-json/test/activeComponents.ref.txt +++ b/compiler/tools/fpp-to-json/test/activeComponents.ref.txt @@ -137,21 +137,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 42 + "id" : 52 } }, "name" : { "AstNode" : { "data" : "BufferSend", - "id" : 43 + "id" : 51 } } } }, - "id" : 44 + "id" : 53 } } }, @@ -159,7 +160,7 @@ "queueFull" : "None" } }, - "id" : 45 + "id" : 54 } } } @@ -193,21 +194,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 54 + "id" : 67 } }, "name" : { "AstNode" : { "data" : "BufferSend", - "id" : 55 + "id" : 66 } } } }, - "id" : 56 + "id" : 68 } } }, @@ -215,7 +217,7 @@ "queueFull" : "None" } }, - "id" : 57 + "id" : 69 } } } @@ -225,7 +227,7 @@ ] ] }, - "id" : 58 + "id" : 70 } } } @@ -235,7 +237,7 @@ ] ] }, - "id" : 59 + "id" : 71 } } } @@ -295,21 +297,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 112 + "id" : 128 } }, "name" : { "AstNode" : { "data" : "Sched", - "id" : 113 + "id" : 127 } } } }, - "id" : 114 + "id" : 129 } } }, @@ -317,7 +320,7 @@ "queueFull" : "None" } }, - "id" : 115 + "id" : 130 } } } @@ -337,7 +340,7 @@ "name" : "S1", "members" : "None" }, - "id" : 116 + "id" : 131 } } } @@ -378,7 +381,7 @@ } } }, - "id" : 205 + "id" : 224 } } }, @@ -393,7 +396,7 @@ "name" : "__FPRIME_UNINITIALIZED", "value" : "None" }, - "id" : 203 + "id" : 222 } }, [ @@ -408,7 +411,7 @@ "name" : "IDLE", "value" : "None" }, - "id" : 204 + "id" : 223 } }, [ @@ -418,7 +421,7 @@ "default" : "None", "isDictionaryDef" : false }, - "id" : 206 + "id" : 225 } } } @@ -443,18 +446,19 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "IDLE" + "name" : "IDLE", + "isAbsolute" : false } }, - "id" : 118 + "id" : 133 } } }, - "id" : 119 + "id" : 134 } } }, - "id" : 120 + "id" : 135 } } } @@ -474,7 +478,7 @@ "members" : [ ] }, - "id" : 123 + "id" : 138 } } } @@ -485,7 +489,7 @@ ] } }, - "id" : 124 + "id" : 139 } } } @@ -507,16 +511,17 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S1" + "name" : "S1", + "isAbsolute" : false } }, - "id" : 126 + "id" : 141 } }, "priority" : "None", "queueFull" : "None" }, - "id" : 127 + "id" : 142 } } } @@ -538,16 +543,17 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S2" + "name" : "S2", + "isAbsolute" : false } }, - "id" : 135 + "id" : 150 } }, "priority" : "None", "queueFull" : "None" }, - "id" : 136 + "id" : 151 } } } @@ -557,7 +563,7 @@ ] ] }, - "id" : 137 + "id" : 152 } } } @@ -567,7 +573,7 @@ ] ] }, - "id" : 138 + "id" : 153 } } } @@ -612,12 +618,12 @@ "value" : "10" } }, - "id" : 139 + "id" : 154 } }, "isDictionaryDef" : false }, - "id" : 140 + "id" : 155 } } } @@ -646,7 +652,7 @@ "value" : "10" } }, - "id" : 149 + "id" : 164 } }, "op" : { @@ -661,17 +667,17 @@ "value" : "1024" } }, - "id" : 150 + "id" : 165 } } } }, - "id" : 151 + "id" : 166 } }, "isDictionaryDef" : false }, - "id" : 152 + "id" : 167 } } } @@ -681,7 +687,7 @@ ] ] }, - "id" : 153 + "id" : 168 } } } @@ -707,21 +713,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Utils" + "name" : "Utils", + "isAbsolute" : false } }, - "id" : 154 + "id" : 171 } }, "name" : { "AstNode" : { "data" : "DataCompressor", - "id" : 155 + "id" : 170 } } } }, - "id" : 156 + "id" : 172 } }, "baseId" : { @@ -731,7 +738,7 @@ "value" : "0x100" } }, - "id" : 157 + "id" : 173 } }, "implType" : "None", @@ -745,21 +752,22 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "Default" + "value" : "Default", + "isAbsolute" : false } }, - "id" : 158 + "id" : 174 } }, "id" : { "AstNode" : { "data" : "queueSize", - "id" : 159 + "id" : 175 } } } }, - "id" : 160 + "id" : 176 } } }, @@ -772,21 +780,22 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "Default" + "value" : "Default", + "isAbsolute" : false } }, - "id" : 161 + "id" : 177 } }, "id" : { "AstNode" : { "data" : "stackSize", - "id" : 162 + "id" : 178 } } } }, - "id" : 163 + "id" : 179 } } }, @@ -798,7 +807,7 @@ "value" : "30" } }, - "id" : 164 + "id" : 180 } } }, @@ -806,7 +815,7 @@ "initSpecs" : [ ] }, - "id" : 165 + "id" : 181 } } } @@ -832,21 +841,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "M" + "name" : "M", + "isAbsolute" : false } }, - "id" : 190 + "id" : 210 } }, "name" : { "AstNode" : { "data" : "StateMachines", - "id" : 191 + "id" : 209 } } } }, - "id" : 192 + "id" : 211 } }, "baseId" : { @@ -856,7 +866,7 @@ "value" : "0x200" } }, - "id" : 193 + "id" : 212 } }, "implType" : "None", @@ -870,21 +880,22 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "Default" + "value" : "Default", + "isAbsolute" : false } }, - "id" : 194 + "id" : 213 } }, "id" : { "AstNode" : { "data" : "queueSize", - "id" : 195 + "id" : 214 } } } }, - "id" : 196 + "id" : 215 } } }, @@ -897,21 +908,22 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "Default" + "value" : "Default", + "isAbsolute" : false } }, - "id" : 197 + "id" : 216 } }, "id" : { "AstNode" : { "data" : "stackSize", - "id" : 198 + "id" : 217 } } } }, - "id" : 199 + "id" : 218 } } }, @@ -923,7 +935,7 @@ "value" : "40" } }, - "id" : 200 + "id" : 219 } } }, @@ -931,7 +943,7 @@ "initSpecs" : [ ] }, - "id" : 201 + "id" : 220 } } } @@ -941,7 +953,7 @@ ] ] }, - "id" : 202 + "id" : 221 } } } @@ -959,1037 +971,1466 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "2.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "2.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "2.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "15.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "15.39", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "15.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.5", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "18.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "18.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "18.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "12.3", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.36", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.39", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.36", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.5", - "includingLoc" : "None" + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "15.39", + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "18.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "18.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "12.3", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.36", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.39", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.36", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "15.5", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "18.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "15.39", + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "15.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "15.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.35", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.32", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "12.3", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "9.1", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.31", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.35", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.31", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.5", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "33.5", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.23", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.23", - "includingLoc" : "None" + "pos" : "18.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.17", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.9", - "includingLoc" : "None" + "pos" : "18.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "9.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "36.5", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.32", - "includingLoc" : "None" + "pos" : "30.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.32", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.5", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "33.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "37.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "37.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "27.3", - "includingLoc" : "None" + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.31", - "includingLoc" : "None" + "pos" : "42.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.35", - "includingLoc" : "None" + "pos" : "42.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.31", - "includingLoc" : "None" + "pos" : "42.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.5", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "33.5", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.23", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.23", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.17", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.9", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "36.5", - "includingLoc" : "None" + "pos" : "27.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.32", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.32", - "includingLoc" : "None" + "pos" : "30.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.5", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "33.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "37.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "27.3", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.31", - "includingLoc" : "None" + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.35", - "includingLoc" : "None" + "pos" : "42.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.31", - "includingLoc" : "None" + "pos" : "42.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "30.5", - "includingLoc" : "None" + "pos" : "42.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "33.5", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.23", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.23", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.17", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "37.9", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "38.9", - "includingLoc" : "None" + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "36.5", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.32", - "includingLoc" : "None" + "pos" : "27.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.32", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "42.5", - "includingLoc" : "None" + "pos" : "30.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "129" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "30.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "130" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "131" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "33.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "132" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "133" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "37.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "134" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "135" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.32", - "includingLoc" : "None" + "pos" : "37.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "136" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "137" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "27.3", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "138" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", - "pos" : "24.1", - "includingLoc" : "None" + "pos" : "38.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "139" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "140" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "42.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "141" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "42.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "142" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "42.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "143" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "144" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "145" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "146" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "147" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "148" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "149" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "150" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.32", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "151" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "152" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "27.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "153" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "24.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "154" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "55.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "140" : { + "155" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "55.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "141" : { + "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "142" : { + "157" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "143" : { + "158" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "144" : { + "159" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "145" : { + "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "146" : { + "161" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "147" : { + "162" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "148" : { + "163" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "149" : { + "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "150" : { + "165" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "151" : { + "166" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "152" : { + "167" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "153" : { + "168" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "53.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "154" : { + "169" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "61.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "155" : { + "170" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "61.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "156" : { + "171" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "61.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "157" : { + "172" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "61.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "173" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "61.57", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "158" : { + "174" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "62.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "159" : { + "175" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "62.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "160" : { + "176" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "62.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "161" : { + "177" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "63.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "162" : { + "178" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "63.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "163" : { + "179" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "63.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "164" : { + "180" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "64.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "165" : { + "181" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "61.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "166" : { + "182" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "167" : { + "183" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "168" : { + "184" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "169" : { + "185" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "67.27", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "186" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.51", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "170" : { + "187" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "171" : { + "188" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "172" : { + "189" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "173" : { + "190" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "174" : { + "191" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "175" : { + "192" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "176" : { + "193" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "70.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "177" : { + "194" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "178" : { + "195" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "179" : { + "196" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "180" : { + "197" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "181" : { + "198" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "67.27", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "199" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.51", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "182" : { + "200" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "183" : { + "201" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "184" : { + "202" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "185" : { + "203" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "186" : { + "204" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "187" : { + "205" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "188" : { + "206" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "70.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "189" : { + "207" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "190" : { + "208" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "191" : { + "209" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "192" : { + "210" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "193" : { + "211" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "67.27", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "212" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.51", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "194" : { + "213" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "195" : { + "214" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "196" : { + "215" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "197" : { + "216" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "198" : { + "217" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "199" : { + "218" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "69.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "200" : { + "219" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "70.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "201" : { + "220" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "67.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "202" : { + "221" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "51.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "203" : { + "222" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "36.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "204" : { + "223" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "36.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "205" : { + "224" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "36.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "206" : { + "225" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "226" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "227" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "228" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "229" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "230" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "231" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "232" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "233" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "234" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "235" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "236" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "237" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "238" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "239" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "240" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "241" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "242" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", + "pos" : "36.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "243" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/activeComponents.fpp", "pos" : "36.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1997,9 +2438,9 @@ "fppVersion" : "[ fpp version ]", "analysis" : { "componentInstanceMap" : { - "165" : { + "181" : { "aNode" : { - "astNodeId" : 165 + "astNodeId" : 181 }, "qualifiedName" : { "qualifier" : [ @@ -2008,7 +2449,7 @@ "base" : "dataCompressor" }, "component" : { - "astNodeId" : 58 + "astNodeId" : 70 }, "baseId" : 256, "maxId" : 255, @@ -2027,9 +2468,9 @@ } }, - "201" : { + "220" : { "aNode" : { - "astNodeId" : 201 + "astNodeId" : 220 }, "qualifiedName" : { "qualifier" : [ @@ -2038,7 +2479,7 @@ "base" : "stateMachines" }, "component" : { - "astNodeId" : 137 + "astNodeId" : 152 }, "baseId" : 512, "maxId" : 511, @@ -2059,9 +2500,9 @@ } }, "componentMap" : { - "58" : { + "70" : { "aNode" : { - "astNodeId" : 58 + "astNodeId" : 70 }, "portInterface" : { "instanceType" : "component", @@ -2069,7 +2510,7 @@ "bufferSendIn" : { "General" : { "aNode" : { - "astNodeId" : 45 + "astNodeId" : 54 }, "specifier" : { "kind" : { @@ -2081,7 +2522,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 44 + "astNodeId" : 53 } }, "priority" : "None", @@ -2106,7 +2547,7 @@ "bufferSendOut" : { "General" : { "aNode" : { - "astNodeId" : 57 + "astNodeId" : 69 }, "specifier" : { "kind" : { @@ -2118,7 +2559,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 56 + "astNodeId" : 68 } }, "priority" : "None", @@ -2180,9 +2621,9 @@ }, "defaultRecordId" : 0 }, - "137" : { + "152" : { "aNode" : { - "astNodeId" : 137 + "astNodeId" : 152 }, "portInterface" : { "instanceType" : "component", @@ -2190,7 +2631,7 @@ "schedIn" : { "General" : { "aNode" : { - "astNodeId" : 115 + "astNodeId" : 130 }, "specifier" : { "kind" : { @@ -2202,7 +2643,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 114 + "astNodeId" : 129 } }, "priority" : "None", @@ -2252,11 +2693,11 @@ "stateMachineInstanceMap" : { "s1" : { "aNode" : { - "astNodeId" : 127 + "astNodeId" : 142 }, "symbol" : { "node" : { - "astNodeId" : 116 + "astNodeId" : 131 } }, "priority" : "None", @@ -2268,11 +2709,11 @@ }, "s2" : { "aNode" : { - "astNodeId" : 136 + "astNodeId" : 151 }, "symbol" : { "node" : { - "astNodeId" : 124 + "astNodeId" : 139 } }, "priority" : "None", @@ -2324,75 +2765,75 @@ "unqualifiedName" : "Svc" } }, - "58" : { + "70" : { "Module" : { - "nodeId" : 59, + "nodeId" : 71, "unqualifiedName" : "Utils" } }, - "116" : { + "131" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } }, - "124" : { + "139" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } }, - "137" : { + "152" : { "Module" : { - "nodeId" : 138, + "nodeId" : 153, "unqualifiedName" : "M" } }, - "140" : { + "155" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, - "152" : { + "167" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, - "153" : { + "168" : { "Module" : { - "nodeId" : 202, + "nodeId" : 221, "unqualifiedName" : "FSW" } }, - "165" : { + "181" : { "Module" : { - "nodeId" : 202, + "nodeId" : 221, "unqualifiedName" : "FSW" } }, - "201" : { + "220" : { "Module" : { - "nodeId" : 202, + "nodeId" : 221, "unqualifiedName" : "FSW" } }, - "203" : { + "222" : { "Enum" : { - "nodeId" : 206, + "nodeId" : 225, "unqualifiedName" : "State" } }, - "204" : { + "223" : { "Enum" : { - "nodeId" : 206, + "nodeId" : 225, "unqualifiedName" : "State" } }, - "206" : { + "225" : { "StateMachine" : { - "nodeId" : 124, + "nodeId" : 139, "unqualifiedName" : "S2" } } @@ -2426,18 +2867,18 @@ } } }, - "58" : { + "70" : { "map" : { } }, - "59" : { + "71" : { "map" : { "Component" : { "map" : { "DataCompressor" : { "Component" : { - "nodeId" : 58, + "nodeId" : 70, "unqualifiedName" : "DataCompressor" } } @@ -2447,7 +2888,7 @@ "map" : { "DataCompressor" : { "Component" : { - "nodeId" : 58, + "nodeId" : 70, "unqualifiedName" : "DataCompressor" } } @@ -2457,7 +2898,7 @@ "map" : { "DataCompressor" : { "Component" : { - "nodeId" : 58, + "nodeId" : 70, "unqualifiedName" : "DataCompressor" } } @@ -2467,7 +2908,7 @@ "map" : { "DataCompressor" : { "Component" : { - "nodeId" : 58, + "nodeId" : 70, "unqualifiedName" : "DataCompressor" } } @@ -2475,18 +2916,18 @@ } } }, - "116" : { + "131" : { "map" : { } }, - "124" : { + "139" : { "map" : { "Type" : { "map" : { "State" : { "Enum" : { - "nodeId" : 206, + "nodeId" : 225, "unqualifiedName" : "State" } } @@ -2496,7 +2937,7 @@ "map" : { "State" : { "Enum" : { - "nodeId" : 206, + "nodeId" : 225, "unqualifiedName" : "State" } } @@ -2504,19 +2945,19 @@ } } }, - "137" : { + "152" : { "map" : { "StateMachine" : { "map" : { "S1" : { "StateMachine" : { - "nodeId" : 116, + "nodeId" : 131, "unqualifiedName" : "S1" } }, "S2" : { "StateMachine" : { - "nodeId" : 124, + "nodeId" : 139, "unqualifiedName" : "S2" } } @@ -2526,13 +2967,13 @@ "map" : { "S1" : { "StateMachine" : { - "nodeId" : 116, + "nodeId" : 131, "unqualifiedName" : "S1" } }, "S2" : { "StateMachine" : { - "nodeId" : 124, + "nodeId" : 139, "unqualifiedName" : "S2" } } @@ -2542,13 +2983,13 @@ "map" : { "S1" : { "StateMachine" : { - "nodeId" : 116, + "nodeId" : 131, "unqualifiedName" : "S1" } }, "S2" : { "StateMachine" : { - "nodeId" : 124, + "nodeId" : 139, "unqualifiedName" : "S2" } } @@ -2556,13 +2997,13 @@ } } }, - "138" : { + "153" : { "map" : { "Component" : { "map" : { "StateMachines" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } } @@ -2572,7 +3013,7 @@ "map" : { "StateMachines" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } } @@ -2582,7 +3023,7 @@ "map" : { "StateMachines" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } } @@ -2592,7 +3033,7 @@ "map" : { "StateMachines" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } } @@ -2600,19 +3041,19 @@ } } }, - "153" : { + "168" : { "map" : { "Value" : { "map" : { "queueSize" : { "Constant" : { - "nodeId" : 140, + "nodeId" : 155, "unqualifiedName" : "queueSize" } }, "stackSize" : { "Constant" : { - "nodeId" : 152, + "nodeId" : 167, "unqualifiedName" : "stackSize" } } @@ -2620,13 +3061,13 @@ } } }, - "202" : { + "221" : { "map" : { "Component" : { "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } } @@ -2636,7 +3077,7 @@ "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } } @@ -2646,7 +3087,7 @@ "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } } @@ -2656,19 +3097,19 @@ "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, "dataCompressor" : { "ComponentInstance" : { - "nodeId" : 165, + "nodeId" : 181, "unqualifiedName" : "dataCompressor" } }, "stateMachines" : { "ComponentInstance" : { - "nodeId" : 201, + "nodeId" : 220, "unqualifiedName" : "stateMachines" } } @@ -2678,7 +3119,17 @@ "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, + "unqualifiedName" : "Default" + } + } + } + }, + "Template" : { + "map" : { + "Default" : { + "Module" : { + "nodeId" : 168, "unqualifiedName" : "Default" } } @@ -2688,7 +3139,7 @@ "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } } @@ -2698,7 +3149,7 @@ "map" : { "Default" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } } @@ -2706,19 +3157,19 @@ } } }, - "206" : { + "225" : { "map" : { "Value" : { "map" : { "IDLE" : { "EnumConstant" : { - "nodeId" : 204, + "nodeId" : 223, "unqualifiedName" : "IDLE" } }, "__FPRIME_UNINITIALIZED" : { "EnumConstant" : { - "nodeId" : 203, + "nodeId" : 222, "unqualifiedName" : "__FPRIME_UNINITIALIZED" } } @@ -2731,10 +3182,10 @@ }, "typeMap" : { - "124" : { + "139" : { "Enum" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -2746,108 +3197,108 @@ "default" : "None" } }, - "139" : { + "154" : { "Int" : { "Integer" : { } } }, - "140" : { + "155" : { "Int" : { "Integer" : { } } }, - "149" : { + "164" : { "Int" : { "Integer" : { } } }, - "150" : { + "165" : { "Int" : { "Integer" : { } } }, - "151" : { + "166" : { "Int" : { "Integer" : { } } }, - "152" : { + "167" : { "Int" : { "Integer" : { } } }, - "157" : { + "173" : { "Int" : { "Integer" : { } } }, - "160" : { + "176" : { "Int" : { "Integer" : { } } }, - "163" : { + "179" : { "Int" : { "Integer" : { } } }, - "164" : { + "180" : { "Int" : { "Integer" : { } } }, - "193" : { + "212" : { "Int" : { "Integer" : { } } }, - "196" : { + "215" : { "Int" : { "Integer" : { } } }, - "199" : { + "218" : { "Int" : { "Integer" : { } } }, - "200" : { + "219" : { "Int" : { "Integer" : { } } }, - "203" : { + "222" : { "Enum" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -2859,10 +3310,10 @@ "default" : "None" } }, - "204" : { + "223" : { "Enum" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -2874,7 +3325,7 @@ "default" : "None" } }, - "205" : { + "224" : { "Int" : { "PrimitiveInt" : { "kind" : { @@ -2885,10 +3336,10 @@ } } }, - "206" : { + "225" : { "Enum" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -2905,7 +3356,7 @@ ], "t" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -2922,205 +3373,223 @@ } }, "useDefMap" : { - "42" : { + "52" : { "Module" : { "nodeId" : 3, "unqualifiedName" : "Fw" } }, - "44" : { + "53" : { "Port" : { "nodeId" : 2, "unqualifiedName" : "BufferSend" } }, - "54" : { + "67" : { "Module" : { "nodeId" : 3, "unqualifiedName" : "Fw" } }, - "56" : { + "68" : { "Port" : { "nodeId" : 2, "unqualifiedName" : "BufferSend" } }, - "112" : { + "128" : { "Module" : { "nodeId" : 7, "unqualifiedName" : "Svc" } }, - "114" : { + "129" : { "Port" : { "nodeId" : 6, "unqualifiedName" : "Sched" } }, - "124" : { + "139" : { "Enum" : { - "nodeId" : 206, + "nodeId" : 225, "unqualifiedName" : "State" } }, - "126" : { + "141" : { "StateMachine" : { - "nodeId" : 116, + "nodeId" : 131, "unqualifiedName" : "S1" } }, - "135" : { + "150" : { "StateMachine" : { - "nodeId" : 124, + "nodeId" : 139, "unqualifiedName" : "S2" } }, - "154" : { + "171" : { "Module" : { - "nodeId" : 59, + "nodeId" : 71, "unqualifiedName" : "Utils" } }, - "156" : { + "172" : { "Component" : { - "nodeId" : 58, + "nodeId" : 70, "unqualifiedName" : "DataCompressor" } }, - "158" : { + "174" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, - "160" : { + "176" : { "Constant" : { - "nodeId" : 140, + "nodeId" : 155, "unqualifiedName" : "queueSize" } }, - "161" : { + "177" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, - "163" : { + "179" : { "Constant" : { - "nodeId" : 152, + "nodeId" : 167, "unqualifiedName" : "stackSize" } }, - "190" : { + "210" : { "Module" : { - "nodeId" : 138, + "nodeId" : 153, "unqualifiedName" : "M" } }, - "192" : { + "211" : { "Component" : { - "nodeId" : 137, + "nodeId" : 152, "unqualifiedName" : "StateMachines" } }, - "194" : { + "213" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, - "196" : { + "215" : { "Constant" : { - "nodeId" : 140, + "nodeId" : 155, "unqualifiedName" : "queueSize" } }, - "197" : { + "216" : { "Module" : { - "nodeId" : 153, + "nodeId" : 168, "unqualifiedName" : "Default" } }, - "199" : { + "218" : { "Constant" : { - "nodeId" : 152, + "nodeId" : 167, "unqualifiedName" : "stackSize" } + }, + "226" : { + "Module" : { + "nodeId" : 153, + "unqualifiedName" : "M" + } + }, + "227" : { + "Component" : { + "nodeId" : 152, + "unqualifiedName" : "StateMachines" + } + }, + "228" : { + "StateMachine" : { + "nodeId" : 139, + "unqualifiedName" : "S2" + } } }, "valueMap" : { - "139" : { + "154" : { "Integer" : { "value" : 10 } }, - "140" : { + "155" : { "Integer" : { "value" : 10 } }, - "149" : { + "164" : { "Integer" : { "value" : 10 } }, - "150" : { + "165" : { "Integer" : { "value" : 1024 } }, - "151" : { + "166" : { "Integer" : { "value" : 10240 } }, - "152" : { + "167" : { "Integer" : { "value" : 10240 } }, - "157" : { + "173" : { "Integer" : { "value" : 256 } }, - "160" : { + "176" : { "Integer" : { "value" : 10 } }, - "163" : { + "179" : { "Integer" : { "value" : 10240 } }, - "164" : { + "180" : { "Integer" : { "value" : 30 } }, - "193" : { + "212" : { "Integer" : { "value" : 512 } }, - "196" : { + "215" : { "Integer" : { "value" : 10 } }, - "199" : { + "218" : { "Integer" : { "value" : 10240 } }, - "200" : { + "219" : { "Integer" : { "value" : 40 } }, - "203" : { + "222" : { "EnumConstant" : { "value" : [ "__FPRIME_UNINITIALIZED", @@ -3128,7 +3597,7 @@ ], "t" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -3141,7 +3610,7 @@ } } }, - "204" : { + "223" : { "EnumConstant" : { "value" : [ "IDLE", @@ -3149,7 +3618,7 @@ ], "t" : { "node" : { - "astNodeId" : 206 + "astNodeId" : 225 }, "repType" : { "kind" : { @@ -3164,14 +3633,14 @@ } }, "stateMachineMap" : { - "116" : { + "131" : { "aNode" : { - "astNodeId" : 116 + "astNodeId" : 131 }, "sma" : { "symbol" : { "node" : { - "astNodeId" : 116 + "astNodeId" : 131 } }, "symbolScopeMap" : { @@ -3203,27 +3672,27 @@ } } }, - "124" : { + "139" : { "aNode" : { - "astNodeId" : 124 + "astNodeId" : 139 }, "sma" : { "symbol" : { "node" : { - "astNodeId" : 124 + "astNodeId" : 139 } }, "symbolScopeMap" : { - "123" : { + "138" : { "map" : { } } }, "useDefMap" : { - "118" : { + "133" : { "State" : { - "nodeId" : 123, + "nodeId" : 138, "unqualifiedName" : "IDLE" } } @@ -3235,7 +3704,7 @@ "State" : { "symbol" : { "node" : { - "astNodeId" : 123 + "astNodeId" : 138 } } } @@ -3243,7 +3712,7 @@ } }, "arcMap" : { - "123" : [ + "138" : [ ] } }, @@ -3254,7 +3723,7 @@ "State" : { "symbol" : { "node" : { - "astNodeId" : 123 + "astNodeId" : 138 } } } @@ -3262,12 +3731,12 @@ } }, "arcMap" : { - "123" : [ + "138" : [ ] } }, "typeOptionMap" : { - "120" : "None" + "135" : "None" }, "flattenedStateTransitionMap" : { diff --git a/compiler/tools/fpp-to-json/test/commands.ref.txt b/compiler/tools/fpp-to-json/test/commands.ref.txt index f17bbc41ef..ded767f93b 100644 --- a/compiler/tools/fpp-to-json/test/commands.ref.txt +++ b/compiler/tools/fpp-to-json/test/commands.ref.txt @@ -509,282 +509,458 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "1.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "2.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "16.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "26.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "26.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.52", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "29.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.62", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.62", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.62", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "37.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", "pos" : "36.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "56" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "32.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "57" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "32.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "58" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "59" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "16.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "60" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "61" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "62" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "16.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "63" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "64" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "65" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "16.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "66" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "67" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "68" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "16.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "69" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "70" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "71" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "16.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "72" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "73" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "74" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "16.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "75" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1296,6 +1472,24 @@ "nodeId" : 3, "unqualifiedName" : "FW_FIXED_LENGTH_STRING_SIZE" } + }, + "58" : { + "Module" : { + "nodeId" : 55, + "unqualifiedName" : "Fw" + } + }, + "59" : { + "Module" : { + "nodeId" : 55, + "unqualifiedName" : "Fw" + } + }, + "60" : { + "Module" : { + "nodeId" : 55, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/commands_no_format.ref.txt b/compiler/tools/fpp-to-json/test/commands_no_format.ref.txt index 27de45fbf2..de21131361 100644 --- a/compiler/tools/fpp-to-json/test/commands_no_format.ref.txt +++ b/compiler/tools/fpp-to-json/test/commands_no_format.ref.txt @@ -1,3 +1,3 @@ {"fppVersion":"[ fpp version ]","ast":[{"members":[[[],{"DefAliasType":{"node":{"AstNode":{"data":{"name":"FwSizeStoreType","typeName":{"AstNode":{"data":{"TypeNameInt":{"name":{"U16":{}}}},"id":0}},"isDictionaryDef":false},"id":1}}}},[]],[[],{"DefConstant":{"node":{"AstNode":{"data":{"name":"FW_FIXED_LENGTH_STRING_SIZE","value":{"AstNode":{"data":{"ExprLiteralInt":{"value":"256"}},"id":2}},"isDictionaryDef":false},"id":3}}}},[]],[["A component for illustrating priority and queue full behavior for async","commands"],{"DefComponent":{"node":{"AstNode":{"data":{"kind":{"Active":{}},"name":"PriorityQueueFull","members":[[["Command registration"],{"SpecPortInstance":{"node":{"AstNode":{"data":{"Special":{"inputKind":"None","kind":{"CommandReg":{}},"name":"cmdRegOut","priority":"None","queueFull":"None"}},"id":4}}}},[]],[["Command input"],{"SpecPortInstance":{"node":{"AstNode":{"data":{"Special":{"inputKind":"None","kind":{"CommandRecv":{}},"name":"cmdIn","priority":"None","queueFull":"None"}},"id":5}}}},[]],[["Command response"],{"SpecPortInstance":{"node":{"AstNode":{"data":{"Special":{"inputKind":"None","kind":{"CommandResp":{}},"name":"cmdResponseOut","priority":"None","queueFull":"None"}},"id":6}}}},[]],[["Command with priority"],{"SpecCommand":{"node":{"AstNode":{"data":{"kind":{"Async":{}},"name":"COMMAND_1","params":[],"opcode":"None","priority":{"Some":{"AstNode":{"data":{"ExprLiteralInt":{"value":"10"}},"id":7}}},"queueFull":"None"},"id":8}}}},[]],[["Command with formal parameters and priority"],{"SpecCommand":{"node":{"AstNode":{"data":{"kind":{"Async":{}},"name":"COMMAND_2","params":[[[],{"AstNode":{"data":{"kind":{"Value":{}},"name":"a","typeName":{"AstNode":{"data":{"TypeNameInt":{"name":{"U32":{}}}},"id":9}}},"id":10}},[]],[[],{"AstNode":{"data":{"kind":{"Value":{}},"name":"b","typeName":{"AstNode":{"data":{"TypeNameFloat":{"name":{"F32":{}}}},"id":15}}},"id":16}},[]]],"opcode":"None","priority":{"Some":{"AstNode":{"data":{"ExprLiteralInt":{"value":"20"}},"id":17}}},"queueFull":"None"},"id":18}}}},[]],[["Command with formal parameters, opcode, priority, and queue full behavior"],{"SpecCommand":{"node":{"AstNode":{"data":{"kind":{"Async":{}},"name":"COMMAND_3","params":[[[],{"AstNode":{"data":{"kind":{"Value":{}},"name":"a","typeName":{"AstNode":{"data":{"TypeNameString":{"size":"None"}},"id":43}}},"id":44}},[]]],"opcode":{"Some":{"AstNode":{"data":{"ExprLiteralInt":{"value":"0x10"}},"id":45}}},"priority":{"Some":{"AstNode":{"data":{"ExprLiteralInt":{"value":"30"}},"id":46}}},"queueFull":{"Some":{"AstNode":{"data":{"Drop":{}},"id":47}}}},"id":48}}}},[]]]},"id":49}}}},[]],[[],{"DefModule":{"node":{"AstNode":{"data":{"name":"Fw","members":[[[],{"DefPort":{"node":{"AstNode":{"data":{"name":"Cmd","params":[],"returnType":"None"},"id":50}}}},[]],[[],{"DefPort":{"node":{"AstNode":{"data":{"name":"CmdReg","params":[],"returnType":"None"},"id":51}}}},[]],[[],{"DefPort":{"node":{"AstNode":{"data":{"name":"CmdResponse","params":[],"returnType":"None"},"id":54}}}},[]]]},"id":55}}}},[]]]}]} -{"fppVersion":"[ fpp version ]","locationMap":{"0":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"1.24","includingLoc":"None"},"1":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"1.1","includingLoc":"None"},"2":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"2.40","includingLoc":"None"},"3":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"2.1","includingLoc":"None"},"4":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None"},"5":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None"},"6":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None"},"7":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"26.36","includingLoc":"None"},"8":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"26.3","includingLoc":"None"},"9":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.30","includingLoc":"None"},"10":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.27","includingLoc":"None"},"11":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.38","includingLoc":"None"},"12":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.35","includingLoc":"None"},"13":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.38","includingLoc":"None"},"14":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.35","includingLoc":"None"},"15":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.38","includingLoc":"None"},"16":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.35","includingLoc":"None"},"17":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.52","includingLoc":"None"},"18":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.3","includingLoc":"None"},"19":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"20":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"21":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"22":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"23":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"24":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"25":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.45","includingLoc":"None"},"26":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.59","includingLoc":"None"},"27":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.62","includingLoc":"None"},"28":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.3","includingLoc":"None"},"29":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"30":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"31":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"32":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"33":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"34":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"35":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.45","includingLoc":"None"},"36":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.59","includingLoc":"None"},"37":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.62","includingLoc":"None"},"38":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.3","includingLoc":"None"},"39":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"40":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"41":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"42":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"43":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None"},"44":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None"},"45":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.45","includingLoc":"None"},"46":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.59","includingLoc":"None"},"47":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.62","includingLoc":"None"},"48":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.3","includingLoc":"None"},"49":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"6.1","includingLoc":"None"},"50":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"37.3","includingLoc":"None"},"51":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"38.3","includingLoc":"None"},"52":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"39.3","includingLoc":"None"},"53":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"39.3","includingLoc":"None"},"54":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"39.3","includingLoc":"None"},"55":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"36.1","includingLoc":"None"}}} -{"fppVersion":"[ fpp version ]","analysis":{"componentInstanceMap":{},"componentMap":{"49":{"aNode":{"astNodeId":49},"portInterface":{"instanceType":"component","portMap":{"cmdIn":{"Special":{"aNode":{"astNodeId":5},"specifier":{"inputKind":"None","kind":{"CommandRecv":{}},"name":"cmdIn","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"priority":"None","queueFull":"None","importNodeIds":[]}},"cmdRegOut":{"Special":{"aNode":{"astNodeId":4},"specifier":{"inputKind":"None","kind":{"CommandReg":{}},"name":"cmdRegOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"priority":"None","queueFull":"None","importNodeIds":[]}},"cmdResponseOut":{"Special":{"aNode":{"astNodeId":6},"specifier":{"inputKind":"None","kind":{"CommandResp":{}},"name":"cmdResponseOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}},"priority":"None","queueFull":"None","importNodeIds":[]}}},"specialPortMap":{"command recv":{"aNode":{"astNodeId":5},"specifier":{"inputKind":"None","kind":{"CommandRecv":{}},"name":"cmdIn","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"priority":"None","queueFull":"None","importNodeIds":[]},"command reg":{"aNode":{"astNodeId":4},"specifier":{"inputKind":"None","kind":{"CommandReg":{}},"name":"cmdRegOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"priority":"None","queueFull":"None","importNodeIds":[]},"command resp":{"aNode":{"astNodeId":6},"specifier":{"inputKind":"None","kind":{"CommandResp":{}},"name":"cmdResponseOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}},"priority":"None","queueFull":"None","importNodeIds":[]}}},"commandMap":{"0":{"NonParam":{"aNode":{"astNodeId":8},"kind":{"Async":{"priority":{"Some":10},"queueFull":{"Assert":{}}}}}},"1":{"NonParam":{"aNode":{"astNodeId":18},"kind":{"Async":{"priority":{"Some":20},"queueFull":{"Assert":{}}}}}},"16":{"NonParam":{"aNode":{"astNodeId":48},"kind":{"Async":{"priority":{"Some":30},"queueFull":{"Drop":{}}}}}}},"defaultOpcode":17,"tlmChannelMap":{},"tlmChannelNameMap":{},"defaultTlmChannelId":0,"eventMap":{},"defaultEventId":0,"paramMap":{},"specPortMatchingList":[],"stateMachineInstanceMap":{},"portMatchingList":[],"defaultParamId":0,"containerMap":{},"defaultContainerId":0,"recordMap":{},"defaultRecordId":0}},"frameworkDefinitions":{"constantMap":{"FW_FIXED_LENGTH_STRING_SIZE":{"node":{"astNodeId":3}}},"typeMap":{"FwSizeStoreType":{"AliasType":{"node":{"astNodeId":1}}}}},"includedFileSet":[],"inputFileSet":["[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp"],"locationSpecifierMap":[],"parentSymbolMap":{"50":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}},"51":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}},"54":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}}},"symbolScopeMap":{"49":{"map":{}},"55":{"map":{"Port":{"map":{"Cmd":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"CmdReg":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"CmdResponse":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}}}}}}},"topologyMap":{},"typeMap":{"0":{"Int":{"PrimitiveInt":{"kind":{"U16":{}}}}},"1":{"AliasType":{"node":{"astNodeId":1},"aliasType":{"Int":{"PrimitiveInt":{"kind":{"U16":{}}}}}}},"2":{"Int":{"Integer":{}}},"3":{"Int":{"Integer":{}}},"7":{"Int":{"Integer":{}}},"9":{"Int":{"PrimitiveInt":{"kind":{"U32":{}}}}},"15":{"Primitive":{"Float":{"kind":{"F32":{}}}}},"17":{"Int":{"Integer":{}}},"43":{"String":{"size":"None"}},"45":{"Int":{"Integer":{}}},"46":{"Int":{"Integer":{}}},"56":{"AliasType":{"node":{"astNodeId":1},"aliasType":{"Int":{"PrimitiveInt":{"kind":{"U16":{}}}}}}},"57":{"Int":{"Integer":{}}}},"useDefMap":{"4":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"5":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"6":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}},"56":{"AliasType":{"nodeId":1,"unqualifiedName":"FwSizeStoreType"}},"57":{"Constant":{"nodeId":3,"unqualifiedName":"FW_FIXED_LENGTH_STRING_SIZE"}}},"valueMap":{"2":{"Integer":{"value":256}},"3":{"Integer":{"value":256}},"7":{"Integer":{"value":10}},"17":{"Integer":{"value":20}},"45":{"Integer":{"value":16}},"46":{"Integer":{"value":30}},"57":{"Integer":{"value":256}}},"stateMachineMap":{},"dictionarySymbolSet":[],"interfaceMap":{},"dictionaryMap":{}}} +{"fppVersion":"[ fpp version ]","locationMap":{"0":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"1.24","includingLoc":"None","expandingLoc":"None"},"1":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"1.1","includingLoc":"None","expandingLoc":"None"},"2":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"2.40","includingLoc":"None","expandingLoc":"None"},"3":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"2.1","includingLoc":"None","expandingLoc":"None"},"4":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"5":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"6":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"},"7":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"26.36","includingLoc":"None","expandingLoc":"None"},"8":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"26.3","includingLoc":"None","expandingLoc":"None"},"9":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.30","includingLoc":"None","expandingLoc":"None"},"10":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.27","includingLoc":"None","expandingLoc":"None"},"11":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.38","includingLoc":"None","expandingLoc":"None"},"12":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.35","includingLoc":"None","expandingLoc":"None"},"13":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.38","includingLoc":"None","expandingLoc":"None"},"14":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.35","includingLoc":"None","expandingLoc":"None"},"15":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.38","includingLoc":"None","expandingLoc":"None"},"16":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.35","includingLoc":"None","expandingLoc":"None"},"17":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.52","includingLoc":"None","expandingLoc":"None"},"18":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"29.3","includingLoc":"None","expandingLoc":"None"},"19":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"20":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"21":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"22":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"23":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"24":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"25":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.45","includingLoc":"None","expandingLoc":"None"},"26":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.59","includingLoc":"None","expandingLoc":"None"},"27":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.62","includingLoc":"None","expandingLoc":"None"},"28":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.3","includingLoc":"None","expandingLoc":"None"},"29":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"30":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"31":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"32":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"33":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"34":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"35":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.45","includingLoc":"None","expandingLoc":"None"},"36":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.59","includingLoc":"None","expandingLoc":"None"},"37":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.62","includingLoc":"None","expandingLoc":"None"},"38":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.3","includingLoc":"None","expandingLoc":"None"},"39":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"40":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"41":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"42":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"43":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"44":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.27","includingLoc":"None","expandingLoc":"None"},"45":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.45","includingLoc":"None","expandingLoc":"None"},"46":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.59","includingLoc":"None","expandingLoc":"None"},"47":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.62","includingLoc":"None","expandingLoc":"None"},"48":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.3","includingLoc":"None","expandingLoc":"None"},"49":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"6.1","includingLoc":"None","expandingLoc":"None"},"50":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"37.3","includingLoc":"None","expandingLoc":"None"},"51":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"38.3","includingLoc":"None","expandingLoc":"None"},"52":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"39.3","includingLoc":"None","expandingLoc":"None"},"53":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"39.3","includingLoc":"None","expandingLoc":"None"},"54":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"39.3","includingLoc":"None","expandingLoc":"None"},"55":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"36.1","includingLoc":"None","expandingLoc":"None"},"56":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"57":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"32.30","includingLoc":"None","expandingLoc":"None"},"58":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"59":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"60":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"},"61":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"62":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"63":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"},"64":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"65":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"66":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"},"67":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"68":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"69":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"},"70":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"71":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"72":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"},"73":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"13.3","includingLoc":"None","expandingLoc":"None"},"74":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"16.3","includingLoc":"None","expandingLoc":"None"},"75":{"file":"[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp","pos":"19.3","includingLoc":"None","expandingLoc":"None"}}} +{"fppVersion":"[ fpp version ]","analysis":{"componentInstanceMap":{},"componentMap":{"49":{"aNode":{"astNodeId":49},"portInterface":{"instanceType":"component","portMap":{"cmdIn":{"Special":{"aNode":{"astNodeId":5},"specifier":{"inputKind":"None","kind":{"CommandRecv":{}},"name":"cmdIn","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"priority":"None","queueFull":"None","importNodeIds":[]}},"cmdRegOut":{"Special":{"aNode":{"astNodeId":4},"specifier":{"inputKind":"None","kind":{"CommandReg":{}},"name":"cmdRegOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"priority":"None","queueFull":"None","importNodeIds":[]}},"cmdResponseOut":{"Special":{"aNode":{"astNodeId":6},"specifier":{"inputKind":"None","kind":{"CommandResp":{}},"name":"cmdResponseOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}},"priority":"None","queueFull":"None","importNodeIds":[]}}},"specialPortMap":{"command recv":{"aNode":{"astNodeId":5},"specifier":{"inputKind":"None","kind":{"CommandRecv":{}},"name":"cmdIn","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"priority":"None","queueFull":"None","importNodeIds":[]},"command reg":{"aNode":{"astNodeId":4},"specifier":{"inputKind":"None","kind":{"CommandReg":{}},"name":"cmdRegOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"priority":"None","queueFull":"None","importNodeIds":[]},"command resp":{"aNode":{"astNodeId":6},"specifier":{"inputKind":"None","kind":{"CommandResp":{}},"name":"cmdResponseOut","priority":"None","queueFull":"None"},"symbol":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}},"priority":"None","queueFull":"None","importNodeIds":[]}}},"commandMap":{"0":{"NonParam":{"aNode":{"astNodeId":8},"kind":{"Async":{"priority":{"Some":10},"queueFull":{"Assert":{}}}}}},"1":{"NonParam":{"aNode":{"astNodeId":18},"kind":{"Async":{"priority":{"Some":20},"queueFull":{"Assert":{}}}}}},"16":{"NonParam":{"aNode":{"astNodeId":48},"kind":{"Async":{"priority":{"Some":30},"queueFull":{"Drop":{}}}}}}},"defaultOpcode":17,"tlmChannelMap":{},"tlmChannelNameMap":{},"defaultTlmChannelId":0,"eventMap":{},"defaultEventId":0,"paramMap":{},"specPortMatchingList":[],"stateMachineInstanceMap":{},"portMatchingList":[],"defaultParamId":0,"containerMap":{},"defaultContainerId":0,"recordMap":{},"defaultRecordId":0}},"frameworkDefinitions":{"constantMap":{"FW_FIXED_LENGTH_STRING_SIZE":{"node":{"astNodeId":3}}},"typeMap":{"FwSizeStoreType":{"AliasType":{"node":{"astNodeId":1}}}}},"includedFileSet":[],"inputFileSet":["[ local path prefix ]/compiler/tools/fpp-to-json/test/commands.fpp"],"locationSpecifierMap":[],"parentSymbolMap":{"50":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}},"51":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}},"54":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}}},"symbolScopeMap":{"49":{"map":{}},"55":{"map":{"Port":{"map":{"Cmd":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"CmdReg":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"CmdResponse":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}}}}}}},"topologyMap":{},"typeMap":{"0":{"Int":{"PrimitiveInt":{"kind":{"U16":{}}}}},"1":{"AliasType":{"node":{"astNodeId":1},"aliasType":{"Int":{"PrimitiveInt":{"kind":{"U16":{}}}}}}},"2":{"Int":{"Integer":{}}},"3":{"Int":{"Integer":{}}},"7":{"Int":{"Integer":{}}},"9":{"Int":{"PrimitiveInt":{"kind":{"U32":{}}}}},"15":{"Primitive":{"Float":{"kind":{"F32":{}}}}},"17":{"Int":{"Integer":{}}},"43":{"String":{"size":"None"}},"45":{"Int":{"Integer":{}}},"46":{"Int":{"Integer":{}}},"56":{"AliasType":{"node":{"astNodeId":1},"aliasType":{"Int":{"PrimitiveInt":{"kind":{"U16":{}}}}}}},"57":{"Int":{"Integer":{}}}},"useDefMap":{"4":{"Port":{"nodeId":51,"unqualifiedName":"CmdReg"}},"5":{"Port":{"nodeId":50,"unqualifiedName":"Cmd"}},"6":{"Port":{"nodeId":54,"unqualifiedName":"CmdResponse"}},"56":{"AliasType":{"nodeId":1,"unqualifiedName":"FwSizeStoreType"}},"57":{"Constant":{"nodeId":3,"unqualifiedName":"FW_FIXED_LENGTH_STRING_SIZE"}},"58":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}},"59":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}},"60":{"Module":{"nodeId":55,"unqualifiedName":"Fw"}}},"valueMap":{"2":{"Integer":{"value":256}},"3":{"Integer":{"value":256}},"7":{"Integer":{"value":10}},"17":{"Integer":{"value":20}},"45":{"Integer":{"value":16}},"46":{"Integer":{"value":30}},"57":{"Integer":{"value":256}}},"stateMachineMap":{},"dictionarySymbolSet":[],"interfaceMap":{},"dictionaryMap":{}}} diff --git a/compiler/tools/fpp-to-json/test/constTypesComponents.ref.txt b/compiler/tools/fpp-to-json/test/constTypesComponents.ref.txt index e5e79f8383..7be2efac32 100644 --- a/compiler/tools/fpp-to-json/test/constTypesComponents.ref.txt +++ b/compiler/tools/fpp-to-json/test/constTypesComponents.ref.txt @@ -198,7 +198,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "State" + "name" : "State", + "isAbsolute" : false } }, "id" : 31 @@ -333,212 +334,362 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "10.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "10.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "11.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "11.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "25.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "33.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "40.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", "pos" : "38.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "42" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "43" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "44" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "25.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "45" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "46" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "47" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "25.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "48" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "49" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "50" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "25.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "51" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "52" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "53" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "25.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "54" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "55" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "56" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "25.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "57" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "58" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "59" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constTypesComponents.fpp", + "pos" : "25.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1034,6 +1185,24 @@ "nodeId" : 4, "unqualifiedName" : "State" } + }, + "42" : { + "Module" : { + "nodeId" : 41, + "unqualifiedName" : "Fw" + } + }, + "43" : { + "Module" : { + "nodeId" : 41, + "unqualifiedName" : "Fw" + } + }, + "44" : { + "Module" : { + "nodeId" : 41, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/constants.ref.txt b/compiler/tools/fpp-to-json/test/constants.ref.txt index b09e2b7679..f003c7e9b6 100644 --- a/compiler/tools/fpp-to-json/test/constants.ref.txt +++ b/compiler/tools/fpp-to-json/test/constants.ref.txt @@ -309,7 +309,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "f" + "value" : "f", + "isAbsolute" : false } }, "id" : 23 @@ -361,7 +362,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "f" + "value" : "f", + "isAbsolute" : false } }, "id" : 27 @@ -673,7 +675,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "l" + "value" : "l", + "isAbsolute" : false } }, "id" : 55 @@ -1007,407 +1010,488 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "1.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "2.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "4.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "4.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "6.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "6.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "6.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "6.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "7.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "7.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "7.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "7.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "10.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "11.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "11.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "11.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "13.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "14.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "14.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "18.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "18.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "19.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "19.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "21.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "21.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "21.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "22.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "23.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "23.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "23.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "25.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "25.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "26.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "26.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "30.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "30.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "30.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "30.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "33.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "33.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/constants.fpp", "pos" : "33.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -2265,7 +2349,8 @@ "value" : 3 } } - ] + ], + "scalar" : "None" } }, "10" : { @@ -2286,7 +2371,8 @@ "value" : 3 } } - ] + ], + "scalar" : "None" } }, "11" : { @@ -2327,7 +2413,8 @@ } } } - ] + ], + "scalar" : "None" } }, "14" : { @@ -2353,7 +2440,8 @@ } } } - ] + ], + "scalar" : "None" } }, "15" : { @@ -2379,7 +2467,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, "18" : { @@ -2405,7 +2494,8 @@ "value" : 4 } } - ] + ], + "scalar" : "None" } }, "21" : { @@ -2424,7 +2514,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, { @@ -2440,10 +2531,12 @@ "value" : 4 } } - ] + ], + "scalar" : "None" } } - ] + ], + "scalar" : "None" } }, "22" : { @@ -2462,7 +2555,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, { @@ -2478,10 +2572,12 @@ "value" : 4 } } - ] + ], + "scalar" : "None" } } - ] + ], + "scalar" : "None" } }, "23" : { @@ -2500,7 +2596,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, { @@ -2516,10 +2613,12 @@ "value" : 4 } } - ] + ], + "scalar" : "None" } } - ] + ], + "scalar" : "None" } }, "24" : { @@ -2540,7 +2639,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, "26" : { @@ -2556,7 +2656,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, "27" : { @@ -2575,7 +2676,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, { @@ -2591,10 +2693,12 @@ "value" : 4 } } - ] + ], + "scalar" : "None" } } - ] + ], + "scalar" : "None" } }, "28" : { @@ -2620,7 +2724,8 @@ "value" : 2 } } - ] + ], + "scalar" : "None" } }, "31" : { @@ -2781,7 +2886,8 @@ } } } - ] + ], + "scalar" : "None" } }, "52" : { @@ -2819,7 +2925,8 @@ } } } - ] + ], + "scalar" : "None" } }, "53" : { diff --git a/compiler/tools/fpp-to-json/test/dataProducts.ref.txt b/compiler/tools/fpp-to-json/test/dataProducts.ref.txt index 423b7ec69b..3e3bcc167a 100644 --- a/compiler/tools/fpp-to-json/test/dataProducts.ref.txt +++ b/compiler/tools/fpp-to-json/test/dataProducts.ref.txt @@ -437,147 +437,320 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "15.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "21.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "21.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "24.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "24.58", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "24.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "27.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "29" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "30" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "31" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "14.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "32" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "33" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "34" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "35" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "14.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "36" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "37" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "38" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "39" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "14.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "40" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "41" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "42" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "43" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "14.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "44" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "45" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "46" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "47" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "14.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "48" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "49" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "50" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "51" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "14.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "52" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/dataProducts.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1086,6 +1259,30 @@ "nodeId" : 5, "unqualifiedName" : "Time" } + }, + "29" : { + "Module" : { + "nodeId" : 6, + "unqualifiedName" : "Fw" + } + }, + "30" : { + "Module" : { + "nodeId" : 6, + "unqualifiedName" : "Fw" + } + }, + "31" : { + "Module" : { + "nodeId" : 6, + "unqualifiedName" : "Fw" + } + }, + "32" : { + "Module" : { + "nodeId" : 6, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/enums.ref.txt b/compiler/tools/fpp-to-json/test/enums.ref.txt index 65f525d982..b074e8df40 100644 --- a/compiler/tools/fpp-to-json/test/enums.ref.txt +++ b/compiler/tools/fpp-to-json/test/enums.ref.txt @@ -88,7 +88,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "Decision" + "value" : "Decision", + "isAbsolute" : false } }, "id" : 6 @@ -237,7 +238,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "E" + "value" : "E", + "isAbsolute" : false } }, "id" : 21 @@ -361,7 +363,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "B" + "value" : "B", + "isAbsolute" : false } }, "id" : 33 @@ -388,177 +391,212 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "2.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "6.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "6.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "6.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "9.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "9.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "9.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "9.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "9.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "9.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/enums.fpp", "pos" : "11.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } diff --git a/compiler/tools/fpp-to-json/test/events.ref.txt b/compiler/tools/fpp-to-json/test/events.ref.txt index 69b02957d5..059fc2177e 100644 --- a/compiler/tools/fpp-to-json/test/events.ref.txt +++ b/compiler/tools/fpp-to-json/test/events.ref.txt @@ -940,1022 +940,1442 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "15.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "24.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "25.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "23.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "30.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "30.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "33.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "34.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "29.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "39.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "39.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "39.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "52.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "55.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "58.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "66.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "67.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "68.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "65.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "75.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "76.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "77.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "77.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "71.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "88.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "89.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "82.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "45.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "52.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "55.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "58.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "66.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "67.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "68.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "65.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "75.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "76.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "77.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "77.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "71.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "88.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "89.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "82.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "129" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "130" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "131" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "132" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "133" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "134" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "135" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "136" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "137" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "45.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "138" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "52.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "139" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "55.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "140" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "58.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "141" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "66.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "142" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "67.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "143" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "68.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "144" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "68.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "145" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "65.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "146" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "147" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "148" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "149" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "72.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "150" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "75.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "151" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "76.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "152" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "77.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "153" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "154" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "155" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "157" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "78.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "158" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "77.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "159" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "71.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "161" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "162" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "163" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "83.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "165" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "166" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "167" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "84.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "168" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "169" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "170" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "171" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "85.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "172" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "88.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "173" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "89.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "174" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "82.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "175" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "176" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "177" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "178" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "179" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "180" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "181" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "182" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "183" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "184" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "185" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "186" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "187" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "188" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "189" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "190" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "191" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "192" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "193" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "96.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "194" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "97.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "195" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "92.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "196" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "45.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "197" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "43.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "198" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "103.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "199" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "104.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "200" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "105.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "201" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "105.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "202" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "105.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "203" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", "pos" : "102.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "204" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "205" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "206" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "207" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "208" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "209" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "58.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "210" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "211" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "212" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "213" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "214" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "215" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "58.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "216" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "217" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "218" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "219" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "220" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "221" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "58.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "222" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "223" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "224" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "225" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "226" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "227" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "58.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "228" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "229" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "230" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "231" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "232" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "233" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "58.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "234" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "235" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "236" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "237" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "238" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "239" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/events.fpp", + "pos" : "58.5", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -2850,6 +3270,42 @@ "nodeId" : 202, "unqualifiedName" : "Time" } + }, + "204" : { + "Module" : { + "nodeId" : 203, + "unqualifiedName" : "Fw" + } + }, + "205" : { + "Module" : { + "nodeId" : 203, + "unqualifiedName" : "Fw" + } + }, + "206" : { + "Module" : { + "nodeId" : 203, + "unqualifiedName" : "Fw" + } + }, + "207" : { + "Module" : { + "nodeId" : 203, + "unqualifiedName" : "Fw" + } + }, + "208" : { + "Module" : { + "nodeId" : 203, + "unqualifiedName" : "Fw" + } + }, + "209" : { + "Module" : { + "nodeId" : 203, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/frameworkDefs.ref.txt b/compiler/tools/fpp-to-json/test/frameworkDefs.ref.txt index 9896050902..a69f1dd4e7 100644 --- a/compiler/tools/fpp-to-json/test/frameworkDefs.ref.txt +++ b/compiler/tools/fpp-to-json/test/frameworkDefs.ref.txt @@ -53,7 +53,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 3 @@ -91,7 +92,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 7 @@ -129,7 +131,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 11 @@ -167,7 +170,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 15 @@ -205,7 +209,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 19 @@ -243,7 +248,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 23 @@ -314,7 +320,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "BaseIdType" + "name" : "BaseIdType", + "isAbsolute" : false } }, "id" : 29 @@ -528,7 +535,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "UNTRANSMITTED" + "value" : "UNTRANSMITTED", + "isAbsolute" : false } }, "id" : 44 @@ -826,7 +834,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 170 @@ -855,7 +864,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "STRING_SIZE" + "value" : "STRING_SIZE", + "isAbsolute" : false } }, "id" : 172 @@ -884,7 +894,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 174 @@ -942,7 +953,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 178 @@ -971,7 +983,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "STRING_SIZE" + "value" : "STRING_SIZE", + "isAbsolute" : false } }, "id" : 180 @@ -1000,7 +1013,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "STRING_SIZE" + "value" : "STRING_SIZE", + "isAbsolute" : false } }, "id" : 182 @@ -1029,7 +1043,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 184 @@ -1058,7 +1073,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "STRING_SIZE" + "value" : "STRING_SIZE", + "isAbsolute" : false } }, "id" : 186 @@ -1087,7 +1103,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 188 @@ -1116,7 +1133,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 190 @@ -1174,7 +1192,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 194 @@ -1203,7 +1222,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "STRING_SIZE" + "value" : "STRING_SIZE", + "isAbsolute" : false } }, "id" : 196 @@ -1232,7 +1252,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 198 @@ -1290,7 +1311,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 202 @@ -1319,7 +1341,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 204 @@ -1348,7 +1371,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 206 @@ -1377,7 +1401,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "BUFFER_SIZE" + "value" : "BUFFER_SIZE", + "isAbsolute" : false } }, "id" : 208 @@ -1406,7 +1431,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "STRING_SIZE" + "value" : "STRING_SIZE", + "isAbsolute" : false } }, "id" : 210 @@ -1490,1082 +1516,1298 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "1.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "2.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "2.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "2.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "3.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "3.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "3.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "3.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "4.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "4.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "4.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "4.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "5.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "5.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "5.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "6.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "6.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "6.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "7.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "7.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "7.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "7.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "8.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "9.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "9.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "9.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "9.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "10.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "13.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "13.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "16.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "19.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "21.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "25.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "27.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "27.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "27.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "28.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "32.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "32.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "32.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "32.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "32.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "32.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "129" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "130" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "131" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "132" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "133" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "134" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "135" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "136" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "137" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "138" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "139" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "140" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "141" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "142" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "143" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "144" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "145" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "146" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "147" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "148" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "149" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "150" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "151" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "152" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "38.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "153" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "154" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "40.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "155" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "157" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "158" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "159" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "42.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "161" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "36.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "162" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "163" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "18.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "47.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "165" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "47.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "166" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "48.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "167" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "48.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "168" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "50.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "169" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "50.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "170" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "51.39", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "171" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "51.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "172" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "52.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "173" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "52.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "174" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "53.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "175" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "53.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "176" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "54.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "177" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "54.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "178" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "55.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "179" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "55.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "180" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "56.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "181" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "56.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "182" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "57.50", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "183" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "57.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "184" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "58.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "185" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "58.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "186" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "59.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "187" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "59.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "188" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "60.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "189" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "60.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "190" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "61.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "191" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "61.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "192" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "62.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "193" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "62.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "194" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "63.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "195" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "63.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "196" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "64.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "197" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "64.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "198" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "65.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "199" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "65.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "200" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "66.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "201" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "66.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "202" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "67.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "203" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "67.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "204" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "68.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "205" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "68.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "206" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "69.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "207" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "69.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "208" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "70.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "209" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "70.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "210" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "71.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "211" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "71.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "212" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "72.48", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "213" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "72.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "214" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "73.47", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "215" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-dict/test/top/config.fpp", "pos" : "73.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -3004,6 +3246,16 @@ } } }, + "Template" : { + "map" : { + "DpCfg" : { + "Module" : { + "nodeId" : 162, + "unqualifiedName" : "DpCfg" + } + } + } + }, "Type" : { "map" : { "DpCfg" : { diff --git a/compiler/tools/fpp-to-json/test/importedTopologies.ref.txt b/compiler/tools/fpp-to-json/test/importedTopologies.ref.txt index a5dbbf68b4..a112943363 100644 --- a/compiler/tools/fpp-to-json/test/importedTopologies.ref.txt +++ b/compiler/tools/fpp-to-json/test/importedTopologies.ref.txt @@ -60,7 +60,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 2 @@ -100,7 +101,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 11 @@ -142,7 +144,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 15 @@ -188,7 +191,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 19 @@ -234,7 +238,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 23 @@ -280,7 +285,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 27 @@ -338,7 +344,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 31 @@ -366,7 +373,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 34 @@ -402,7 +410,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 38 @@ -426,7 +435,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 42 @@ -476,7 +486,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 65 @@ -500,7 +511,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 69 @@ -565,7 +577,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Simple1" + "name" : "Simple1", + "isAbsolute" : false } }, "id" : 74 @@ -593,7 +606,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c3" + "name" : "c3", + "isAbsolute" : false } }, "id" : 77 @@ -621,7 +635,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c4" + "name" : "c4", + "isAbsolute" : false } }, "id" : 80 @@ -657,7 +672,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c3" + "name" : "c3", + "isAbsolute" : false } }, "id" : 84 @@ -681,7 +697,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c4" + "name" : "c4", + "isAbsolute" : false } }, "id" : 88 @@ -731,7 +748,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c4" + "name" : "c4", + "isAbsolute" : false } }, "id" : 111 @@ -755,7 +773,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c3" + "name" : "c3", + "isAbsolute" : false } }, "id" : 115 @@ -820,7 +839,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Simple2" + "name" : "Simple2", + "isAbsolute" : false } }, "id" : 126 @@ -857,647 +877,776 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "4.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "4.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "3.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "8.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "8.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "8.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "9.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "9.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "9.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "9.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "10.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "11.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "11.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "14.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "35.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "35.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "35.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "37.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "37.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "37.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "39.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "39.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "42.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "47.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "47.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "47.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "34.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "54.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1763,39 +1912,42 @@ "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ ], "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -1823,13 +1975,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -1876,13 +2027,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -1934,13 +2084,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -1987,13 +2136,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2040,6 +2188,8 @@ } ] }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { "C1" : [ { @@ -2047,13 +2197,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2100,13 +2249,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2158,13 +2306,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2211,13 +2358,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2268,9 +2414,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2316,13 +2460,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2369,13 +2512,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2425,9 +2567,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2473,13 +2613,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2526,13 +2665,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2584,9 +2722,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2632,13 +2768,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2685,13 +2820,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2741,9 +2875,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2789,13 +2921,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2842,13 +2973,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -2903,13 +3033,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -2956,13 +3085,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -3015,13 +3143,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -3068,13 +3195,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -3129,13 +3255,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -3182,13 +3307,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -3241,13 +3365,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -3294,13 +3417,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -3364,20 +3486,26 @@ "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "35.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } }, "directComponentInstances" : { "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "37.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ { @@ -3389,62 +3517,57 @@ "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceTopology" : { - "astNodeId" : 72 - } + "InterfaceTopology" : 72 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "35.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "37.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -3472,13 +3595,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -3525,13 +3647,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -3583,13 +3704,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -3636,13 +3756,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -3694,13 +3813,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -3747,13 +3865,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -3805,13 +3922,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -3858,13 +3974,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -3911,6 +4026,8 @@ } ] }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { "C3" : [ { @@ -3918,13 +4035,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -3971,13 +4087,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -4029,13 +4144,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -4082,13 +4196,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -4139,9 +4252,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -4187,13 +4298,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -4240,13 +4350,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -4296,9 +4405,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -4344,13 +4451,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -4397,13 +4503,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -4453,9 +4558,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -4501,13 +4604,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -4554,13 +4656,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -4610,9 +4711,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -4658,13 +4757,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -4711,13 +4809,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -4769,9 +4866,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -4817,13 +4912,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -4870,13 +4964,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -4926,9 +5019,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -4974,13 +5065,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -5027,13 +5117,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -5083,9 +5172,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -5131,13 +5218,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -5184,13 +5270,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -5240,9 +5325,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -5288,13 +5371,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -5341,13 +5423,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -5402,13 +5483,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -5455,13 +5535,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -5514,13 +5593,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -5567,13 +5645,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -5626,13 +5703,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -5679,13 +5755,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -5738,13 +5813,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -5791,13 +5865,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -5852,13 +5925,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -5905,13 +5977,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -5964,13 +6035,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -6017,13 +6087,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -6076,13 +6145,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -6129,13 +6197,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -6188,13 +6255,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -6241,13 +6307,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -6311,11 +6376,15 @@ "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } }, "directComponentInstances" : { + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ { @@ -6332,74 +6401,68 @@ "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceTopology" : { - "astNodeId" : 72 - } + "InterfaceTopology" : 72 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "35.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "37.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceTopology" : { - "astNodeId" : 118 - } + "InterfaceTopology" : 118 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "55.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -6427,13 +6490,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -6480,13 +6542,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -6538,13 +6599,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -6591,13 +6651,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -6649,13 +6708,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -6702,13 +6760,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -6760,13 +6817,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -6813,13 +6869,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -6866,6 +6921,8 @@ } ] }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { }, @@ -6873,9 +6930,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -6921,13 +6976,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -6974,13 +7028,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -7030,9 +7083,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -7078,13 +7129,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -7131,13 +7181,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -7187,9 +7236,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -7235,13 +7282,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -7288,13 +7334,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -7344,9 +7389,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -7392,13 +7435,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -7445,13 +7487,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -7503,9 +7544,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -7551,13 +7590,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -7604,13 +7642,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -7660,9 +7697,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -7708,13 +7743,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -7761,13 +7795,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -7817,9 +7850,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -7865,13 +7896,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -7918,13 +7948,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -7974,9 +8003,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -8022,13 +8049,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -8075,13 +8101,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -8136,13 +8161,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -8189,13 +8213,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -8248,13 +8271,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -8301,13 +8323,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -8360,13 +8381,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -8413,13 +8433,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -8472,13 +8491,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -8525,13 +8543,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -8586,13 +8603,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -8639,13 +8655,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -8698,13 +8713,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 21 - } + "InterfaceComponentInstance" : 21 }, "portInstance" : { "General" : { @@ -8751,13 +8765,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 17 - } + "InterfaceComponentInstance" : 17 }, "portInstance" : { "General" : { @@ -8810,13 +8823,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { @@ -8863,13 +8875,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "43.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -8922,13 +8933,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 29 - } + "InterfaceComponentInstance" : 29 }, "portInstance" : { "General" : { @@ -8975,13 +8985,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/importedTopologies.fpp", "pos" : "48.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 25 - } + "InterfaceComponentInstance" : 25 }, "portInstance" : { "General" : { diff --git a/compiler/tools/fpp-to-json/test/interfaces.ref.txt b/compiler/tools/fpp-to-json/test/interfaces.ref.txt index f732a0d775..411547df28 100644 --- a/compiler/tools/fpp-to-json/test/interfaces.ref.txt +++ b/compiler/tools/fpp-to-json/test/interfaces.ref.txt @@ -309,7 +309,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "General" + "name" : "General", + "isAbsolute" : false } }, "id" : 24 @@ -365,7 +366,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "ICmd" + "name" : "ICmd", + "isAbsolute" : false } }, "id" : 28 @@ -392,7 +394,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "IPort" + "name" : "IPort", + "isAbsolute" : false } }, "id" : 31 @@ -664,382 +667,578 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "2.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "7.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "9.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "9.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "10.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "20.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "23.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "26.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "26.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "26.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "14.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "29.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "34.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "34.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "34.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "35.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "35.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "35.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "42.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "42.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.52", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "45.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.62", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.62", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.62", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "48.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", "pos" : "33.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "76" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "48.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "77" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "48.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "78" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "20.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "79" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "23.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "80" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "81" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "20.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "82" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "23.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "83" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "84" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "20.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "85" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "23.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "86" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "87" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "20.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "88" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "23.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "89" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "90" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "20.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "91" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "23.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "92" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "93" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "20.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "94" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "23.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "95" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/interfaces.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1613,6 +1812,24 @@ "nodeId" : 10, "unqualifiedName" : "FW_FIXED_LENGTH_STRING_SIZE" } + }, + "78" : { + "Module" : { + "nodeId" : 5, + "unqualifiedName" : "Fw" + } + }, + "79" : { + "Module" : { + "nodeId" : 5, + "unqualifiedName" : "Fw" + } + }, + "80" : { + "Module" : { + "nodeId" : 5, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/internalPorts.ref.txt b/compiler/tools/fpp-to-json/test/internalPorts.ref.txt index adcfbcfe1e..f496bb0dab 100644 --- a/compiler/tools/fpp-to-json/test/internalPorts.ref.txt +++ b/compiler/tools/fpp-to-json/test/internalPorts.ref.txt @@ -70,7 +70,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "T" + "name" : "T", + "isAbsolute" : false } }, "id" : 38 @@ -137,222 +138,266 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/internalPorts.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } diff --git a/compiler/tools/fpp-to-json/test/matchedPorts.ref.txt b/compiler/tools/fpp-to-json/test/matchedPorts.ref.txt index 649fec19b2..db34b23c77 100644 --- a/compiler/tools/fpp-to-json/test/matchedPorts.ref.txt +++ b/compiler/tools/fpp-to-json/test/matchedPorts.ref.txt @@ -69,7 +69,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "numPingPorts" + "value" : "numPingPorts", + "isAbsolute" : false } }, "id" : 2 @@ -85,10 +86,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 3 + "id" : 5 } }, "name" : { @@ -99,7 +101,7 @@ } } }, - "id" : 5 + "id" : 6 } } }, @@ -107,7 +109,7 @@ "queueFull" : "None" } }, - "id" : 6 + "id" : 7 } } } @@ -136,10 +138,11 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "numPingPorts" + "value" : "numPingPorts", + "isAbsolute" : false } }, - "id" : 7 + "id" : 8 } } }, @@ -152,21 +155,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 8 + "id" : 11 } }, "name" : { "AstNode" : { "data" : "Ping", - "id" : 9 + "id" : 10 } } } }, - "id" : 10 + "id" : 12 } } }, @@ -174,7 +178,7 @@ "queueFull" : "None" } }, - "id" : 11 + "id" : 13 } } } @@ -194,17 +198,17 @@ "port1" : { "AstNode" : { "data" : "pingOut", - "id" : 18 + "id" : 20 } }, "port2" : { "AstNode" : { "data" : "pingIn", - "id" : 19 + "id" : 21 } } }, - "id" : 20 + "id" : 22 } } } @@ -214,7 +218,7 @@ ] ] }, - "id" : 21 + "id" : 23 } } } @@ -245,7 +249,7 @@ ], "returnType" : "None" }, - "id" : 24 + "id" : 26 } } } @@ -255,7 +259,7 @@ ] ] }, - "id" : 25 + "id" : 27 } } } @@ -273,132 +277,170 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "2.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "7.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "7.39", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "7.43", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "7.39", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "7.3", - "includingLoc" : "None" + "pos" : "7.39", + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "10.29", - "includingLoc" : "None" + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "10.43", - "includingLoc" : "None" + "pos" : "10.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "10.47", - "includingLoc" : "None" + "pos" : "10.43", + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "10.43", - "includingLoc" : "None" + "pos" : "10.47", + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "10.3", - "includingLoc" : "None" + "pos" : "10.43", + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.9", - "includingLoc" : "None" + "pos" : "10.43", + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.22", - "includingLoc" : "None" + "pos" : "10.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.3", - "includingLoc" : "None" + "pos" : "13.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.9", - "includingLoc" : "None" + "pos" : "13.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.22", - "includingLoc" : "None" + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.3", - "includingLoc" : "None" + "pos" : "13.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.9", - "includingLoc" : "None" + "pos" : "13.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.22", - "includingLoc" : "None" + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "13.3", - "includingLoc" : "None" + "pos" : "13.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "4.1", - "includingLoc" : "None" + "pos" : "13.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "18.3", - "includingLoc" : "None" + "pos" : "13.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", - "pos" : "18.3", - "includingLoc" : "None" + "pos" : "4.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "26" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/matchedPorts.fpp", "pos" : "17.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -409,9 +451,9 @@ }, "componentMap" : { - "21" : { + "23" : { "aNode" : { - "astNodeId" : 21 + "astNodeId" : 23 }, "portInterface" : { "instanceType" : "component", @@ -419,7 +461,7 @@ "pingIn" : { "General" : { "aNode" : { - "astNodeId" : 11 + "astNodeId" : 13 }, "specifier" : { "kind" : { @@ -430,12 +472,12 @@ "name" : "pingIn", "size" : { "Some" : { - "astNodeId" : 7 + "astNodeId" : 8 } }, "port" : { "Some" : { - "astNodeId" : 10 + "astNodeId" : 12 } }, "priority" : "None", @@ -447,7 +489,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } } @@ -460,7 +502,7 @@ "pingOut" : { "General" : { "aNode" : { - "astNodeId" : 6 + "astNodeId" : 7 }, "specifier" : { "kind" : { @@ -476,7 +518,7 @@ }, "port" : { "Some" : { - "astNodeId" : 5 + "astNodeId" : 6 } }, "priority" : "None", @@ -488,7 +530,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } } @@ -523,7 +565,7 @@ }, "specPortMatchingList" : [ { - "astNodeId" : 20 + "astNodeId" : 22 } ], "stateMachineInstanceMap" : { @@ -532,11 +574,11 @@ "portMatchingList" : [ { "aNode" : { - "astNodeId" : 20 + "astNodeId" : 22 }, "instance1" : { "aNode" : { - "astNodeId" : 6 + "astNodeId" : 7 }, "specifier" : { "kind" : { @@ -552,7 +594,7 @@ }, "port" : { "Some" : { - "astNodeId" : 5 + "astNodeId" : 6 } }, "priority" : "None", @@ -564,7 +606,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } } @@ -575,7 +617,7 @@ }, "instance2" : { "aNode" : { - "astNodeId" : 11 + "astNodeId" : 13 }, "specifier" : { "kind" : { @@ -586,12 +628,12 @@ "name" : "pingIn", "size" : { "Some" : { - "astNodeId" : 7 + "astNodeId" : 8 } }, "port" : { "Some" : { - "astNodeId" : 10 + "astNodeId" : 12 } }, "priority" : "None", @@ -603,7 +645,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } } @@ -641,26 +683,26 @@ "locationSpecifierMap" : [ ], "parentSymbolMap" : { - "24" : { + "26" : { "Module" : { - "nodeId" : 25, + "nodeId" : 27, "unqualifiedName" : "Svc" } } }, "symbolScopeMap" : { - "21" : { + "23" : { "map" : { } }, - "25" : { + "27" : { "map" : { "Port" : { "map" : { "Ping" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } } @@ -694,7 +736,7 @@ } } }, - "7" : { + "8" : { "Int" : { "Integer" : { @@ -709,33 +751,33 @@ "unqualifiedName" : "numPingPorts" } }, - "3" : { + "5" : { "Module" : { - "nodeId" : 25, + "nodeId" : 27, "unqualifiedName" : "Svc" } }, - "5" : { + "6" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } }, - "7" : { + "8" : { "Constant" : { "nodeId" : 1, "unqualifiedName" : "numPingPorts" } }, - "8" : { + "11" : { "Module" : { - "nodeId" : 25, + "nodeId" : 27, "unqualifiedName" : "Svc" } }, - "10" : { + "12" : { "Port" : { - "nodeId" : 24, + "nodeId" : 26, "unqualifiedName" : "Ping" } } @@ -756,7 +798,7 @@ "value" : 10 } }, - "7" : { + "8" : { "Integer" : { "value" : 10 } diff --git a/compiler/tools/fpp-to-json/test/modules.ref.txt b/compiler/tools/fpp-to-json/test/modules.ref.txt index c9cba21bb6..1de2280d5c 100644 --- a/compiler/tools/fpp-to-json/test/modules.ref.txt +++ b/compiler/tools/fpp-to-json/test/modules.ref.txt @@ -56,7 +56,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "a" + "value" : "a", + "isAbsolute" : false } }, "id" : 2 @@ -89,7 +90,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "M1" + "value" : "M1", + "isAbsolute" : false } }, "id" : 12 @@ -143,7 +145,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "M1" + "value" : "M1", + "isAbsolute" : false } }, "id" : 17 @@ -358,7 +361,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "A" + "value" : "A", + "isAbsolute" : false } }, "id" : 57 @@ -406,317 +410,380 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "3.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "4.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "8.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "8.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "8.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "11.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "11.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "11.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "14.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "14.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "14.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "13.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "17.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "22.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "22.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "22.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "22.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "22.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/modules.fpp", "pos" : "22.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -901,6 +968,16 @@ } } }, + "Template" : { + "map" : { + "B" : { + "Module" : { + "nodeId" : 55, + "unqualifiedName" : "B" + } + } + } + }, "Type" : { "map" : { "B" : { diff --git a/compiler/tools/fpp-to-json/test/parameters.ref.txt b/compiler/tools/fpp-to-json/test/parameters.ref.txt index 0e08597ee6..b5de755c51 100644 --- a/compiler/tools/fpp-to-json/test/parameters.ref.txt +++ b/compiler/tools/fpp-to-json/test/parameters.ref.txt @@ -365,7 +365,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F64x3" + "name" : "F64x3", + "isAbsolute" : false } }, "id" : 18 @@ -639,222 +640,446 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "2.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "2.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "15.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "21.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "24.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "33.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "33.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "33.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "38.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "39.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "40.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "41.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "42.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "47.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "47.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "47.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "48.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "48.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "48.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "48.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "49.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "47.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "54.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "55.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "54.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "54.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "55.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "54.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "54.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "55.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "54.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "60.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "61.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "62.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "63.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "64.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "64.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "64.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", "pos" : "59.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "44" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "45" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "46" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "47" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "21.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "48" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "24.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "49" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "50" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "51" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "52" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "21.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "53" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "24.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "54" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "55" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "56" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "57" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "21.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "58" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "24.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "59" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "60" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "61" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "62" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "21.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "63" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "24.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "64" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "65" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "66" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "67" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "21.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "68" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "24.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "69" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "70" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "15.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "71" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "18.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "72" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "21.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "73" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/parameters.fpp", + "pos" : "24.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1378,7 +1603,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -1443,7 +1669,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -1499,7 +1726,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -1754,7 +1982,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -1900,7 +2129,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2049,6 +2279,36 @@ "nodeId" : 2, "unqualifiedName" : "F64x3" } + }, + "44" : { + "Module" : { + "nodeId" : 43, + "unqualifiedName" : "Fw" + } + }, + "45" : { + "Module" : { + "nodeId" : 43, + "unqualifiedName" : "Fw" + } + }, + "46" : { + "Module" : { + "nodeId" : 43, + "unqualifiedName" : "Fw" + } + }, + "47" : { + "Module" : { + "nodeId" : 43, + "unqualifiedName" : "Fw" + } + }, + "48" : { + "Module" : { + "nodeId" : 43, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { @@ -2150,7 +2410,8 @@ } } } - ] + ], + "scalar" : "None" } }, "24" : { diff --git a/compiler/tools/fpp-to-json/test/passiveComponent.ref.txt b/compiler/tools/fpp-to-json/test/passiveComponent.ref.txt index 5b5b7592d5..c0ef7ced9d 100644 --- a/compiler/tools/fpp-to-json/test/passiveComponent.ref.txt +++ b/compiler/tools/fpp-to-json/test/passiveComponent.ref.txt @@ -55,21 +55,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 30 + "id" : 34 } }, "name" : { "AstNode" : { "data" : "Sched", - "id" : 31 + "id" : 33 } } } }, - "id" : 32 + "id" : 35 } } }, @@ -77,7 +78,7 @@ "queueFull" : "None" } }, - "id" : 33 + "id" : 36 } } } @@ -106,7 +107,7 @@ "queueFull" : "None" } }, - "id" : 34 + "id" : 37 } } } @@ -135,7 +136,7 @@ "queueFull" : "None" } }, - "id" : 35 + "id" : 38 } } } @@ -164,7 +165,7 @@ } } }, - "id" : 36 + "id" : 39 } }, "id" : "None", @@ -175,7 +176,7 @@ "high" : [ ] }, - "id" : 37 + "id" : 40 } } } @@ -204,7 +205,7 @@ } } }, - "id" : 42 + "id" : 45 } }, "id" : "None", @@ -215,7 +216,7 @@ "high" : [ ] }, - "id" : 43 + "id" : 46 } } } @@ -225,7 +226,7 @@ ] ] }, - "id" : 44 + "id" : 47 } } } @@ -235,7 +236,7 @@ ] ] }, - "id" : 45 + "id" : 48 } } } @@ -271,21 +272,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Sensors" + "name" : "Sensors", + "isAbsolute" : false } }, - "id" : 56 + "id" : 63 } }, "name" : { "AstNode" : { "data" : "EngineTemp", - "id" : 57 + "id" : 62 } } } }, - "id" : 58 + "id" : 64 } }, "baseId" : { @@ -295,7 +297,7 @@ "value" : "0x100" } }, - "id" : 59 + "id" : 65 } }, "implType" : "None", @@ -307,7 +309,7 @@ "initSpecs" : [ ] }, - "id" : 60 + "id" : 66 } } } @@ -317,7 +319,7 @@ ] ] }, - "id" : 61 + "id" : 67 } } } @@ -348,7 +350,7 @@ ], "returnType" : "None" }, - "id" : 64 + "id" : 70 } } } @@ -358,7 +360,7 @@ ] ] }, - "id" : 65 + "id" : 71 } } } @@ -389,7 +391,7 @@ ], "returnType" : "None" }, - "id" : 66 + "id" : 72 } } } @@ -410,7 +412,7 @@ ], "returnType" : "None" }, - "id" : 69 + "id" : 75 } } } @@ -420,7 +422,7 @@ ] ] }, - "id" : 70 + "id" : 76 } } } @@ -438,357 +440,536 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "7.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "7.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "7.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.5", - "includingLoc" : "None" + "pos" : "7.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "10.5", - "includingLoc" : "None" + "pos" : "7.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "16.28", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "16.5", - "includingLoc" : "None" + "pos" : "16.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "4.3", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.30", - "includingLoc" : "None" + "pos" : "4.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.34", - "includingLoc" : "None" + "pos" : "7.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.30", - "includingLoc" : "None" + "pos" : "7.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.5", - "includingLoc" : "None" + "pos" : "7.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "10.5", - "includingLoc" : "None" + "pos" : "7.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "7.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "16.28", - "includingLoc" : "None" + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "16.5", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "16.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "19.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "19.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "19.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "4.3", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.30", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.34", - "includingLoc" : "None" + "pos" : "4.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "7.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "7.5", - "includingLoc" : "None" + "pos" : "7.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "10.5", - "includingLoc" : "None" + "pos" : "7.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "7.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "16.28", - "includingLoc" : "None" + "pos" : "7.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "16.5", - "includingLoc" : "None" + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "16.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.25", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "4.3", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "1.1", - "includingLoc" : "None" + "pos" : "19.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.24", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.32", - "includingLoc" : "None" + "pos" : "4.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.24", - "includingLoc" : "None" + "pos" : "1.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.51", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.3", - "includingLoc" : "None" + "pos" : "28.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "28.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.32", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.24", - "includingLoc" : "None" + "pos" : "28.51", + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.51", - "includingLoc" : "None" + "pos" : "28.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.3", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.24", - "includingLoc" : "None" + "pos" : "28.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "28.32", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "28.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "28.51", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "28.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "25.1", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "33.3", - "includingLoc" : "None" + "pos" : "28.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "33.3", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "33.3", - "includingLoc" : "None" + "pos" : "28.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "32.1", - "includingLoc" : "None" + "pos" : "28.51", + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "37.3", - "includingLoc" : "None" + "pos" : "28.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "38.3", - "includingLoc" : "None" + "pos" : "25.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "38.3", - "includingLoc" : "None" + "pos" : "33.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", - "pos" : "38.3", - "includingLoc" : "None" + "pos" : "33.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "33.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "71" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "32.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "72" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "37.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "73" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "74" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "75" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", "pos" : "36.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "77" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "78" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "79" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "80" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "81" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "82" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "83" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "84" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "85" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "86" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "87" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "88" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/passiveComponent.fpp", + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -796,9 +977,9 @@ "fppVersion" : "[ fpp version ]", "analysis" : { "componentInstanceMap" : { - "60" : { + "66" : { "aNode" : { - "astNodeId" : 60 + "astNodeId" : 66 }, "qualifiedName" : { "qualifier" : [ @@ -807,7 +988,7 @@ "base" : "engineTemp" }, "component" : { - "astNodeId" : 44 + "astNodeId" : 47 }, "baseId" : 256, "maxId" : 257, @@ -822,9 +1003,9 @@ } }, "componentMap" : { - "44" : { + "47" : { "aNode" : { - "astNodeId" : 44 + "astNodeId" : 47 }, "portInterface" : { "instanceType" : "component", @@ -832,7 +1013,7 @@ "schedIn" : { "General" : { "aNode" : { - "astNodeId" : 33 + "astNodeId" : 36 }, "specifier" : { "kind" : { @@ -844,7 +1025,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 32 + "astNodeId" : 35 } }, "priority" : "None", @@ -856,7 +1037,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 64, + "nodeId" : 70, "unqualifiedName" : "Sched" } } @@ -869,7 +1050,7 @@ "timeGetOut" : { "Special" : { "aNode" : { - "astNodeId" : 35 + "astNodeId" : 38 }, "specifier" : { "inputKind" : "None", @@ -884,7 +1065,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 69, + "nodeId" : 75, "unqualifiedName" : "Time" } }, @@ -897,7 +1078,7 @@ "tlmOut" : { "Special" : { "aNode" : { - "astNodeId" : 34 + "astNodeId" : 37 }, "specifier" : { "inputKind" : "None", @@ -912,7 +1093,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 66, + "nodeId" : 72, "unqualifiedName" : "Tlm" } }, @@ -926,7 +1107,7 @@ "specialPortMap" : { "telemetry" : { "aNode" : { - "astNodeId" : 34 + "astNodeId" : 37 }, "specifier" : { "inputKind" : "None", @@ -941,7 +1122,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 66, + "nodeId" : 72, "unqualifiedName" : "Tlm" } }, @@ -952,7 +1133,7 @@ }, "time get" : { "aNode" : { - "astNodeId" : 35 + "astNodeId" : 38 }, "specifier" : { "inputKind" : "None", @@ -967,7 +1148,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 69, + "nodeId" : 75, "unqualifiedName" : "Time" } }, @@ -985,7 +1166,7 @@ "tlmChannelMap" : { "0" : { "aNode" : { - "astNodeId" : 37 + "astNodeId" : 40 }, "channelType" : { "Primitive" : { @@ -1013,7 +1194,7 @@ }, "1" : { "aNode" : { - "astNodeId" : 43 + "astNodeId" : 46 }, "channelType" : { "Primitive" : { @@ -1043,7 +1224,7 @@ "tlmChannelNameMap" : { "ImpulseTemp" : { "aNode" : { - "astNodeId" : 37 + "astNodeId" : 40 }, "channelType" : { "Primitive" : { @@ -1071,7 +1252,7 @@ }, "WarpTemp" : { "aNode" : { - "astNodeId" : 43 + "astNodeId" : 46 }, "channelType" : { "Primitive" : { @@ -1140,50 +1321,50 @@ "locationSpecifierMap" : [ ], "parentSymbolMap" : { - "44" : { + "47" : { "Module" : { - "nodeId" : 45, + "nodeId" : 48, "unqualifiedName" : "Sensors" } }, - "60" : { + "66" : { "Module" : { - "nodeId" : 61, + "nodeId" : 67, "unqualifiedName" : "FSW" } }, - "64" : { + "70" : { "Module" : { - "nodeId" : 65, + "nodeId" : 71, "unqualifiedName" : "Svc" } }, - "66" : { + "72" : { "Module" : { - "nodeId" : 70, + "nodeId" : 76, "unqualifiedName" : "Fw" } }, - "69" : { + "75" : { "Module" : { - "nodeId" : 70, + "nodeId" : 76, "unqualifiedName" : "Fw" } } }, "symbolScopeMap" : { - "44" : { + "47" : { "map" : { } }, - "45" : { + "48" : { "map" : { "Component" : { "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 44, + "nodeId" : 47, "unqualifiedName" : "EngineTemp" } } @@ -1193,7 +1374,7 @@ "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 44, + "nodeId" : 47, "unqualifiedName" : "EngineTemp" } } @@ -1203,7 +1384,7 @@ "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 44, + "nodeId" : 47, "unqualifiedName" : "EngineTemp" } } @@ -1213,7 +1394,7 @@ "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 44, + "nodeId" : 47, "unqualifiedName" : "EngineTemp" } } @@ -1221,13 +1402,13 @@ } } }, - "61" : { + "67" : { "map" : { "PortInterfaceInstance" : { "map" : { "engineTemp" : { "ComponentInstance" : { - "nodeId" : 60, + "nodeId" : 66, "unqualifiedName" : "engineTemp" } } @@ -1235,13 +1416,13 @@ } } }, - "65" : { + "71" : { "map" : { "Port" : { "map" : { "Sched" : { "Port" : { - "nodeId" : 64, + "nodeId" : 70, "unqualifiedName" : "Sched" } } @@ -1249,19 +1430,19 @@ } } }, - "70" : { + "76" : { "map" : { "Port" : { "map" : { "Time" : { "Port" : { - "nodeId" : 69, + "nodeId" : 75, "unqualifiedName" : "Time" } }, "Tlm" : { "Port" : { - "nodeId" : 66, + "nodeId" : 72, "unqualifiedName" : "Tlm" } } @@ -1274,7 +1455,7 @@ }, "typeMap" : { - "36" : { + "39" : { "Primitive" : { "Float" : { "kind" : { @@ -1285,7 +1466,7 @@ } } }, - "42" : { + "45" : { "Primitive" : { "Float" : { "kind" : { @@ -1296,7 +1477,7 @@ } } }, - "59" : { + "65" : { "Int" : { "Integer" : { @@ -1305,45 +1486,57 @@ } }, "useDefMap" : { - "30" : { + "34" : { "Module" : { - "nodeId" : 65, + "nodeId" : 71, "unqualifiedName" : "Svc" } }, - "32" : { + "35" : { "Port" : { - "nodeId" : 64, + "nodeId" : 70, "unqualifiedName" : "Sched" } }, - "34" : { + "37" : { "Port" : { - "nodeId" : 66, + "nodeId" : 72, "unqualifiedName" : "Tlm" } }, - "35" : { + "38" : { "Port" : { - "nodeId" : 69, + "nodeId" : 75, "unqualifiedName" : "Time" } }, - "56" : { + "63" : { "Module" : { - "nodeId" : 45, + "nodeId" : 48, "unqualifiedName" : "Sensors" } }, - "58" : { + "64" : { "Component" : { - "nodeId" : 44, + "nodeId" : 47, "unqualifiedName" : "EngineTemp" } + }, + "77" : { + "Module" : { + "nodeId" : 76, + "unqualifiedName" : "Fw" + } + }, + "78" : { + "Module" : { + "nodeId" : 76, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { - "59" : { + "65" : { "Integer" : { "value" : 256 } diff --git a/compiler/tools/fpp-to-json/test/patternedConnections.ref.txt b/compiler/tools/fpp-to-json/test/patternedConnections.ref.txt index 8843a6b786..b2dded9dbf 100644 --- a/compiler/tools/fpp-to-json/test/patternedConnections.ref.txt +++ b/compiler/tools/fpp-to-json/test/patternedConnections.ref.txt @@ -43,21 +43,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 8 + "id" : 12 } }, "name" : { "AstNode" : { "data" : "Time", - "id" : 9 + "id" : 11 } } } }, - "id" : 10 + "id" : 13 } } }, @@ -65,7 +66,7 @@ "queueFull" : "None" } }, - "id" : 11 + "id" : 14 } } } @@ -75,7 +76,7 @@ ] ] }, - "id" : 12 + "id" : 15 } } } @@ -123,21 +124,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 13 + "id" : 18 } }, "name" : { "AstNode" : { "data" : "Cmd", - "id" : 14 + "id" : 17 } } } }, - "id" : 15 + "id" : 19 } } }, @@ -145,7 +147,7 @@ "queueFull" : "None" } }, - "id" : 16 + "id" : 20 } } } @@ -178,21 +180,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 17 + "id" : 23 } }, "name" : { "AstNode" : { "data" : "CmdReg", - "id" : 18 + "id" : 22 } } } }, - "id" : 19 + "id" : 24 } } }, @@ -200,7 +203,7 @@ "queueFull" : "None" } }, - "id" : 20 + "id" : 25 } } } @@ -233,21 +236,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 21 + "id" : 28 } }, "name" : { "AstNode" : { "data" : "CmdResponse", - "id" : 22 + "id" : 27 } } } }, - "id" : 23 + "id" : 29 } } }, @@ -255,7 +259,7 @@ "queueFull" : "None" } }, - "id" : 24 + "id" : 30 } } } @@ -288,21 +292,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 33 + "id" : 43 } }, "name" : { "AstNode" : { "data" : "Cmd", - "id" : 34 + "id" : 42 } } } }, - "id" : 35 + "id" : 44 } } }, @@ -310,7 +315,7 @@ "queueFull" : "None" } }, - "id" : 36 + "id" : 45 } } } @@ -320,7 +325,7 @@ ] ] }, - "id" : 37 + "id" : 46 } } } @@ -368,21 +373,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 46 + "id" : 59 } }, "name" : { "AstNode" : { "data" : "Log", - "id" : 47 + "id" : 58 } } } }, - "id" : 48 + "id" : 60 } } }, @@ -390,7 +396,7 @@ "queueFull" : "None" } }, - "id" : 49 + "id" : 61 } } } @@ -400,7 +406,7 @@ ] ] }, - "id" : 50 + "id" : 62 } } } @@ -448,21 +454,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 51 + "id" : 65 } }, "name" : { "AstNode" : { "data" : "Ping", - "id" : 52 + "id" : 64 } } } }, - "id" : 53 + "id" : 66 } } }, @@ -470,7 +477,7 @@ "queueFull" : "None" } }, - "id" : 54 + "id" : 67 } } } @@ -503,21 +510,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 63 + "id" : 80 } }, "name" : { "AstNode" : { "data" : "Ping", - "id" : 64 + "id" : 79 } } } }, - "id" : 65 + "id" : 81 } } }, @@ -525,7 +533,7 @@ "queueFull" : "None" } }, - "id" : 66 + "id" : 82 } } } @@ -535,7 +543,7 @@ ] ] }, - "id" : 67 + "id" : 83 } } } @@ -583,21 +591,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 68 + "id" : 86 } }, "name" : { "AstNode" : { "data" : "PrmGet", - "id" : 69 + "id" : 85 } } } }, - "id" : 70 + "id" : 87 } } }, @@ -605,7 +614,7 @@ "queueFull" : "None" } }, - "id" : 71 + "id" : 88 } } } @@ -638,21 +647,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 80 + "id" : 101 } }, "name" : { "AstNode" : { "data" : "PrmSet", - "id" : 81 + "id" : 100 } } } }, - "id" : 82 + "id" : 102 } } }, @@ -660,7 +670,7 @@ "queueFull" : "None" } }, - "id" : 83 + "id" : 103 } } } @@ -670,7 +680,7 @@ ] ] }, - "id" : 84 + "id" : 104 } } } @@ -718,21 +728,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 93 + "id" : 117 } }, "name" : { "AstNode" : { "data" : "Tlm", - "id" : 94 + "id" : 116 } } } }, - "id" : 95 + "id" : 118 } } }, @@ -740,7 +751,7 @@ "queueFull" : "None" } }, - "id" : 96 + "id" : 119 } } } @@ -750,7 +761,7 @@ ] ] }, - "id" : 97 + "id" : 120 } } } @@ -798,21 +809,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Fw" + "name" : "Fw", + "isAbsolute" : false } }, - "id" : 106 + "id" : 133 } }, "name" : { "AstNode" : { "data" : "LogText", - "id" : 107 + "id" : 132 } } } }, - "id" : 108 + "id" : 134 } } }, @@ -820,7 +832,7 @@ "queueFull" : "None" } }, - "id" : 109 + "id" : 135 } } } @@ -830,7 +842,7 @@ ] ] }, - "id" : 110 + "id" : 136 } } } @@ -851,10 +863,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Time" + "name" : "Time", + "isAbsolute" : false } }, - "id" : 112 + "id" : 138 } }, "baseId" : { @@ -864,7 +877,7 @@ "value" : "0x100" } }, - "id" : 113 + "id" : 139 } }, "implType" : "None", @@ -876,7 +889,7 @@ "initSpecs" : [ ] }, - "id" : 114 + "id" : 140 } } } @@ -897,10 +910,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Command" + "name" : "Command", + "isAbsolute" : false } }, - "id" : 116 + "id" : 142 } }, "baseId" : { @@ -910,7 +924,7 @@ "value" : "0x200" } }, - "id" : 117 + "id" : 143 } }, "implType" : "None", @@ -922,7 +936,7 @@ "initSpecs" : [ ] }, - "id" : 118 + "id" : 144 } } } @@ -943,10 +957,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Event" + "name" : "Event", + "isAbsolute" : false } }, - "id" : 120 + "id" : 146 } }, "baseId" : { @@ -956,7 +971,7 @@ "value" : "0x300" } }, - "id" : 121 + "id" : 147 } }, "implType" : "None", @@ -968,7 +983,7 @@ "initSpecs" : [ ] }, - "id" : 122 + "id" : 148 } } } @@ -989,10 +1004,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Health" + "name" : "Health", + "isAbsolute" : false } }, - "id" : 124 + "id" : 150 } }, "baseId" : { @@ -1002,7 +1018,7 @@ "value" : "0x400" } }, - "id" : 125 + "id" : 151 } }, "implType" : "None", @@ -1014,7 +1030,7 @@ "initSpecs" : [ ] }, - "id" : 126 + "id" : 152 } } } @@ -1035,10 +1051,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Param" + "name" : "Param", + "isAbsolute" : false } }, - "id" : 128 + "id" : 154 } }, "baseId" : { @@ -1048,7 +1065,7 @@ "value" : "0x500" } }, - "id" : 129 + "id" : 155 } }, "implType" : "None", @@ -1060,7 +1077,7 @@ "initSpecs" : [ ] }, - "id" : 130 + "id" : 156 } } } @@ -1081,10 +1098,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Telemetry" + "name" : "Telemetry", + "isAbsolute" : false } }, - "id" : 132 + "id" : 158 } }, "baseId" : { @@ -1094,7 +1112,7 @@ "value" : "0x600" } }, - "id" : 133 + "id" : 159 } }, "implType" : "None", @@ -1106,7 +1124,7 @@ "initSpecs" : [ ] }, - "id" : 134 + "id" : 160 } } } @@ -1127,10 +1145,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "TextEvent" + "name" : "TextEvent", + "isAbsolute" : false } }, - "id" : 136 + "id" : 162 } }, "baseId" : { @@ -1140,7 +1159,7 @@ "value" : "0x700" } }, - "id" : 137 + "id" : 163 } }, "implType" : "None", @@ -1152,7 +1171,7 @@ "initSpecs" : [ ] }, - "id" : 138 + "id" : 164 } } } @@ -1183,14 +1202,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, - "id" : 238 + "id" : 264 } } }, - "id" : 239 + "id" : 265 } } } @@ -1210,14 +1230,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, - "id" : 241 + "id" : 267 } } }, - "id" : 242 + "id" : 268 } } } @@ -1237,14 +1258,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c3" + "name" : "c3", + "isAbsolute" : false } }, - "id" : 244 + "id" : 270 } } }, - "id" : 245 + "id" : 271 } } } @@ -1264,14 +1286,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c4" + "name" : "c4", + "isAbsolute" : false } }, - "id" : 247 + "id" : 273 } } }, - "id" : 248 + "id" : 274 } } } @@ -1291,14 +1314,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c5" + "name" : "c5", + "isAbsolute" : false } }, - "id" : 250 + "id" : 276 } } }, - "id" : 251 + "id" : 277 } } } @@ -1318,14 +1342,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c6" + "name" : "c6", + "isAbsolute" : false } }, - "id" : 253 + "id" : 279 } } }, - "id" : 254 + "id" : 280 } } } @@ -1345,14 +1370,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c7" + "name" : "c7", + "isAbsolute" : false } }, - "id" : 256 + "id" : 282 } } }, - "id" : 257 + "id" : 283 } } } @@ -1378,17 +1404,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, - "id" : 259 + "id" : 285 } }, "targets" : [ ] } }, - "id" : 260 + "id" : 286 } } } @@ -1414,17 +1441,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, - "id" : 262 + "id" : 288 } }, "targets" : [ ] } }, - "id" : 263 + "id" : 289 } } } @@ -1450,17 +1478,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c3" + "name" : "c3", + "isAbsolute" : false } }, - "id" : 265 + "id" : 291 } }, "targets" : [ ] } }, - "id" : 266 + "id" : 292 } } } @@ -1486,17 +1515,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c4" + "name" : "c4", + "isAbsolute" : false } }, - "id" : 268 + "id" : 294 } }, "targets" : [ ] } }, - "id" : 269 + "id" : 295 } } } @@ -1522,17 +1552,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c5" + "name" : "c5", + "isAbsolute" : false } }, - "id" : 271 + "id" : 297 } }, "targets" : [ ] } }, - "id" : 272 + "id" : 298 } } } @@ -1558,17 +1589,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c6" + "name" : "c6", + "isAbsolute" : false } }, - "id" : 274 + "id" : 300 } }, "targets" : [ ] } }, - "id" : 275 + "id" : 301 } } } @@ -1594,17 +1626,18 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c7" + "name" : "c7", + "isAbsolute" : false } }, - "id" : 283 + "id" : 309 } }, "targets" : [ ] } }, - "id" : 284 + "id" : 310 } } } @@ -1616,7 +1649,7 @@ "implements" : [ ] }, - "id" : 285 + "id" : 311 } } } @@ -1651,7 +1684,7 @@ ], "returnType" : "None" }, - "id" : 286 + "id" : 312 } } } @@ -1672,7 +1705,7 @@ ], "returnType" : "None" }, - "id" : 287 + "id" : 313 } } } @@ -1693,7 +1726,7 @@ ], "returnType" : "None" }, - "id" : 288 + "id" : 314 } } } @@ -1714,7 +1747,7 @@ ], "returnType" : "None" }, - "id" : 289 + "id" : 315 } } } @@ -1735,7 +1768,7 @@ ], "returnType" : "None" }, - "id" : 290 + "id" : 316 } } } @@ -1756,7 +1789,7 @@ ], "returnType" : "None" }, - "id" : 291 + "id" : 317 } } } @@ -1777,7 +1810,7 @@ ], "returnType" : "None" }, - "id" : 292 + "id" : 318 } } } @@ -1798,7 +1831,7 @@ ], "returnType" : "None" }, - "id" : 293 + "id" : 319 } } } @@ -1819,7 +1852,7 @@ ], "returnType" : "None" }, - "id" : 294 + "id" : 320 } } } @@ -1840,7 +1873,7 @@ ], "returnType" : "None" }, - "id" : 297 + "id" : 323 } } } @@ -1850,7 +1883,7 @@ ] ] }, - "id" : 298 + "id" : 324 } } } @@ -1881,7 +1914,7 @@ ], "returnType" : "None" }, - "id" : 301 + "id" : 327 } } } @@ -1891,7 +1924,7 @@ ] ] }, - "id" : 302 + "id" : 328 } } } @@ -1909,1517 +1942,1976 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "2.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "2.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "2.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.5", - "includingLoc" : "None" + "pos" : "2.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.34", - "includingLoc" : "None" + "pos" : "2.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.37", - "includingLoc" : "None" + "pos" : "2.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.34", - "includingLoc" : "None" + "pos" : "2.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.5", - "includingLoc" : "None" + "pos" : "2.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "2.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.37", - "includingLoc" : "None" + "pos" : "2.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "2.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "2.5", - "includingLoc" : "None" + "pos" : "2.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "1.1", - "includingLoc" : "None" + "pos" : "2.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "6.28", - "includingLoc" : "None" + "pos" : "2.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "6.31", - "includingLoc" : "None" + "pos" : "2.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "6.28", - "includingLoc" : "None" + "pos" : "1.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "6.5", - "includingLoc" : "None" + "pos" : "6.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "7.32", - "includingLoc" : "None" + "pos" : "6.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "7.35", - "includingLoc" : "None" + "pos" : "6.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "7.32", - "includingLoc" : "None" + "pos" : "6.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "7.5", - "includingLoc" : "None" + "pos" : "6.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "8.37", - "includingLoc" : "None" + "pos" : "7.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "8.40", - "includingLoc" : "None" + "pos" : "7.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "8.37", - "includingLoc" : "None" + "pos" : "7.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "8.5", - "includingLoc" : "None" + "pos" : "7.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.26", - "includingLoc" : "None" + "pos" : "7.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.29", - "includingLoc" : "None" + "pos" : "8.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.26", - "includingLoc" : "None" + "pos" : "8.40", + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.5", - "includingLoc" : "None" + "pos" : "8.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.26", - "includingLoc" : "None" + "pos" : "8.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.29", - "includingLoc" : "None" + "pos" : "8.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "9.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.5", - "includingLoc" : "None" + "pos" : "9.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "9.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.29", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.26", - "includingLoc" : "None" + "pos" : "9.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "9.5", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "5.1", - "includingLoc" : "None" + "pos" : "9.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.31", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.34", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.31", - "includingLoc" : "None" + "pos" : "9.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.31", - "includingLoc" : "None" + "pos" : "9.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.34", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.31", - "includingLoc" : "None" + "pos" : "9.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "9.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.31", - "includingLoc" : "None" + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.34", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.31", - "includingLoc" : "None" + "pos" : "13.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "12.1", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "17.27", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "17.31", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "17.27", - "includingLoc" : "None" + "pos" : "13.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "17.5", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.33", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.37", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.33", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "13.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.33", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.37", - "includingLoc" : "None" + "pos" : "13.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.33", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "12.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.33", - "includingLoc" : "None" + "pos" : "17.27", + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.37", - "includingLoc" : "None" + "pos" : "17.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.33", - "includingLoc" : "None" + "pos" : "17.27", + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "18.5", - "includingLoc" : "None" + "pos" : "17.27", + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "16.1", - "includingLoc" : "None" + "pos" : "17.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "22.31", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "22.34", - "includingLoc" : "None" + "pos" : "18.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "22.31", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "22.5", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.31", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.34", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.31", - "includingLoc" : "None" + "pos" : "18.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.5", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.31", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.34", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.31", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.5", - "includingLoc" : "None" + "pos" : "18.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.31", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.34", - "includingLoc" : "None" + "pos" : "18.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.31", - "includingLoc" : "None" + "pos" : "18.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "23.5", - "includingLoc" : "None" + "pos" : "16.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "21.1", - "includingLoc" : "None" + "pos" : "22.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.26", - "includingLoc" : "None" + "pos" : "22.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.29", - "includingLoc" : "None" + "pos" : "22.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.26", - "includingLoc" : "None" + "pos" : "22.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.5", - "includingLoc" : "None" + "pos" : "22.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.26", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.29", - "includingLoc" : "None" + "pos" : "23.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.26", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.5", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.26", - "includingLoc" : "None" + "pos" : "23.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.29", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.26", - "includingLoc" : "None" + "pos" : "23.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "27.5", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "26.1", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.35", - "includingLoc" : "None" + "pos" : "23.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.38", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.35", - "includingLoc" : "None" + "pos" : "23.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.5", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.35", - "includingLoc" : "None" + "pos" : "23.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.38", - "includingLoc" : "None" + "pos" : "23.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.35", - "includingLoc" : "None" + "pos" : "21.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.5", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.35", - "includingLoc" : "None" + "pos" : "27.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.38", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.35", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "31.5", - "includingLoc" : "None" + "pos" : "27.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "30.1", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "34.14", - "includingLoc" : "None" + "pos" : "27.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "34.14", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "34.27", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "34.1", - "includingLoc" : "None" + "pos" : "27.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "35.14", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "35.14", - "includingLoc" : "None" + "pos" : "27.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "35.30", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "35.1", - "includingLoc" : "None" + "pos" : "27.26", + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "36.14", - "includingLoc" : "None" + "pos" : "27.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "36.14", - "includingLoc" : "None" + "pos" : "26.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "36.28", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "36.1", - "includingLoc" : "None" + "pos" : "31.38", + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "37.14", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "37.14", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "37.29", - "includingLoc" : "None" + "pos" : "31.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "37.1", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "38.14", - "includingLoc" : "None" + "pos" : "31.38", + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "38.14", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "129" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "38.28", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "130" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "38.1", - "includingLoc" : "None" + "pos" : "31.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "131" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "39.14", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "132" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "39.14", - "includingLoc" : "None" + "pos" : "31.38", + "includingLoc" : "None", + "expandingLoc" : "None" }, "133" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "39.32", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "134" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "39.1", - "includingLoc" : "None" + "pos" : "31.35", + "includingLoc" : "None", + "expandingLoc" : "None" }, "135" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "40.14", - "includingLoc" : "None" + "pos" : "31.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "136" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "40.14", - "includingLoc" : "None" + "pos" : "30.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "137" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "40.32", - "includingLoc" : "None" + "pos" : "34.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "138" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "40.1", - "includingLoc" : "None" + "pos" : "34.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "139" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "43.14", - "includingLoc" : "None" + "pos" : "34.27", + "includingLoc" : "None", + "expandingLoc" : "None" }, "140" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "43.14", - "includingLoc" : "None" + "pos" : "34.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "141" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "43.5", - "includingLoc" : "None" + "pos" : "35.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "142" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "44.14", - "includingLoc" : "None" + "pos" : "35.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "143" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "44.14", - "includingLoc" : "None" + "pos" : "35.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "144" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "44.5", - "includingLoc" : "None" + "pos" : "35.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "145" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "45.14", - "includingLoc" : "None" + "pos" : "36.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "146" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "45.14", - "includingLoc" : "None" + "pos" : "36.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "147" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "36.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "148" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "46.14", - "includingLoc" : "None" + "pos" : "36.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "149" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "46.14", - "includingLoc" : "None" + "pos" : "37.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "150" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "46.5", - "includingLoc" : "None" + "pos" : "37.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "151" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "47.14", - "includingLoc" : "None" + "pos" : "37.29", + "includingLoc" : "None", + "expandingLoc" : "None" }, "152" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "47.14", - "includingLoc" : "None" + "pos" : "37.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "153" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "47.5", - "includingLoc" : "None" + "pos" : "38.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "154" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "48.14", - "includingLoc" : "None" + "pos" : "38.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "155" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "48.14", - "includingLoc" : "None" + "pos" : "38.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "48.5", - "includingLoc" : "None" + "pos" : "38.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "157" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "49.14", - "includingLoc" : "None" + "pos" : "39.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "158" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "49.14", - "includingLoc" : "None" + "pos" : "39.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "159" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "49.5", - "includingLoc" : "None" + "pos" : "39.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "51.31", - "includingLoc" : "None" + "pos" : "39.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "161" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "51.31", - "includingLoc" : "None" + "pos" : "40.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "162" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "51.5", - "includingLoc" : "None" + "pos" : "40.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "163" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "52.34", - "includingLoc" : "None" + "pos" : "40.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "52.34", - "includingLoc" : "None" + "pos" : "40.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "165" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "52.5", - "includingLoc" : "None" + "pos" : "43.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "166" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "53.32", - "includingLoc" : "None" + "pos" : "43.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "167" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "53.32", - "includingLoc" : "None" + "pos" : "43.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "168" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "53.5", - "includingLoc" : "None" + "pos" : "44.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "169" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "54.33", - "includingLoc" : "None" + "pos" : "44.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "170" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "54.33", - "includingLoc" : "None" + "pos" : "44.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "171" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "54.5", - "includingLoc" : "None" + "pos" : "45.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "172" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "55.32", - "includingLoc" : "None" + "pos" : "45.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "173" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "55.32", - "includingLoc" : "None" + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "174" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "55.5", - "includingLoc" : "None" + "pos" : "46.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "175" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "56.36", - "includingLoc" : "None" + "pos" : "46.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "176" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "56.36", - "includingLoc" : "None" + "pos" : "46.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "177" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "56.5", - "includingLoc" : "None" + "pos" : "47.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "178" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.37", - "includingLoc" : "None" + "pos" : "47.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "179" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.37", - "includingLoc" : "None" + "pos" : "47.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "180" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.5", - "includingLoc" : "None" + "pos" : "48.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "181" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.37", - "includingLoc" : "None" + "pos" : "48.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "182" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.37", - "includingLoc" : "None" + "pos" : "48.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "183" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.5", - "includingLoc" : "None" + "pos" : "49.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "184" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.37", - "includingLoc" : "None" + "pos" : "49.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "185" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.37", - "includingLoc" : "None" + "pos" : "49.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "186" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "57.5", - "includingLoc" : "None" + "pos" : "51.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "187" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "42.1", - "includingLoc" : "None" + "pos" : "51.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "188" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "43.14", - "includingLoc" : "None" + "pos" : "51.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "189" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "43.14", - "includingLoc" : "None" + "pos" : "52.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "190" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "43.5", - "includingLoc" : "None" + "pos" : "52.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "191" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "44.14", - "includingLoc" : "None" + "pos" : "52.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "192" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "44.14", - "includingLoc" : "None" + "pos" : "53.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "193" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "44.5", - "includingLoc" : "None" + "pos" : "53.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "194" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "45.14", - "includingLoc" : "None" + "pos" : "53.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "195" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "45.14", - "includingLoc" : "None" + "pos" : "54.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "196" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "45.5", - "includingLoc" : "None" + "pos" : "54.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "197" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "46.14", - "includingLoc" : "None" + "pos" : "54.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "198" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "46.14", - "includingLoc" : "None" + "pos" : "55.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "199" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "46.5", - "includingLoc" : "None" + "pos" : "55.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "200" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "47.14", - "includingLoc" : "None" + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "201" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "47.14", - "includingLoc" : "None" + "pos" : "56.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "202" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", - "pos" : "47.5", - "includingLoc" : "None" + "pos" : "56.36", + "includingLoc" : "None", + "expandingLoc" : "None" }, "203" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "204" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "205" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "206" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "207" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "208" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "209" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "210" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "211" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "212" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "213" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "42.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "214" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "43.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "215" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "43.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "216" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "43.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "217" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "44.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "218" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "44.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "219" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "44.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "220" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "45.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "221" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "45.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "222" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "45.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "223" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "46.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "224" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "46.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "225" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "46.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "226" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "47.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "227" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "47.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "228" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", + "pos" : "47.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "229" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "204" : { + "230" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "205" : { + "231" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "206" : { + "232" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "207" : { + "233" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "208" : { + "234" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "209" : { + "235" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "210" : { + "236" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "211" : { + "237" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "212" : { + "238" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "213" : { + "239" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "214" : { + "240" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "215" : { + "241" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "216" : { + "242" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "217" : { + "243" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "218" : { + "244" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "219" : { + "245" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "220" : { + "246" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "221" : { + "247" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "222" : { + "248" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "223" : { + "249" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "224" : { + "250" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "225" : { + "251" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "226" : { + "252" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "227" : { + "253" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "228" : { + "254" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "229" : { + "255" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "230" : { + "256" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "231" : { + "257" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "232" : { + "258" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "233" : { + "259" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "234" : { + "260" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "235" : { + "261" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "236" : { + "262" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "42.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "237" : { + "263" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "43.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "238" : { + "264" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "43.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "239" : { + "265" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "240" : { + "266" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "44.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "241" : { + "267" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "44.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "242" : { + "268" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "44.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "243" : { + "269" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "45.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "244" : { + "270" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "45.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "245" : { + "271" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "45.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "246" : { + "272" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "46.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "247" : { + "273" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "46.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "248" : { + "274" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "46.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "249" : { + "275" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "47.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "250" : { + "276" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "47.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "251" : { + "277" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "47.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "252" : { + "278" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "253" : { + "279" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "254" : { + "280" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "255" : { + "281" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "256" : { + "282" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "257" : { + "283" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "258" : { + "284" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "259" : { + "285" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "260" : { + "286" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "261" : { + "287" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "262" : { + "288" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "263" : { + "289" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "264" : { + "290" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "265" : { + "291" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "266" : { + "292" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "267" : { + "293" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "268" : { + "294" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "269" : { + "295" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "270" : { + "296" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "271" : { + "297" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "272" : { + "298" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "273" : { + "299" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "274" : { + "300" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "275" : { + "301" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "276" : { + "302" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "277" : { + "303" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "278" : { + "304" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "279" : { + "305" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "280" : { + "306" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "281" : { + "307" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "282" : { + "308" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "283" : { + "309" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "284" : { + "310" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "285" : { + "311" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "42.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "286" : { + "312" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "287" : { + "313" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "288" : { + "314" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "289" : { + "315" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "7.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "290" : { + "316" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "8.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "291" : { + "317" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "292" : { + "318" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "10.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "293" : { + "319" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "294" : { + "320" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "295" : { + "321" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "296" : { + "322" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "297" : { + "323" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "298" : { + "324" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "3.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "299" : { + "325" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "300" : { + "326" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "301" : { + "327" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "302" : { + "328" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/fprime/defs.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -3427,9 +3919,9 @@ "fppVersion" : "[ fpp version ]", "analysis" : { "componentInstanceMap" : { - "114" : { + "140" : { "aNode" : { - "astNodeId" : 114 + "astNodeId" : 140 }, "qualifiedName" : { "qualifier" : [ @@ -3437,7 +3929,7 @@ "base" : "c1" }, "component" : { - "astNodeId" : 12 + "astNodeId" : 15 }, "baseId" : 256, "maxId" : 255, @@ -3450,9 +3942,9 @@ } }, - "118" : { + "144" : { "aNode" : { - "astNodeId" : 118 + "astNodeId" : 144 }, "qualifiedName" : { "qualifier" : [ @@ -3460,7 +3952,7 @@ "base" : "c2" }, "component" : { - "astNodeId" : 37 + "astNodeId" : 46 }, "baseId" : 512, "maxId" : 511, @@ -3473,9 +3965,9 @@ } }, - "122" : { + "148" : { "aNode" : { - "astNodeId" : 122 + "astNodeId" : 148 }, "qualifiedName" : { "qualifier" : [ @@ -3483,7 +3975,7 @@ "base" : "c3" }, "component" : { - "astNodeId" : 50 + "astNodeId" : 62 }, "baseId" : 768, "maxId" : 767, @@ -3496,9 +3988,9 @@ } }, - "126" : { + "152" : { "aNode" : { - "astNodeId" : 126 + "astNodeId" : 152 }, "qualifiedName" : { "qualifier" : [ @@ -3506,7 +3998,7 @@ "base" : "c4" }, "component" : { - "astNodeId" : 67 + "astNodeId" : 83 }, "baseId" : 1024, "maxId" : 1023, @@ -3519,9 +4011,9 @@ } }, - "130" : { + "156" : { "aNode" : { - "astNodeId" : 130 + "astNodeId" : 156 }, "qualifiedName" : { "qualifier" : [ @@ -3529,7 +4021,7 @@ "base" : "c5" }, "component" : { - "astNodeId" : 84 + "astNodeId" : 104 }, "baseId" : 1280, "maxId" : 1279, @@ -3542,9 +4034,9 @@ } }, - "134" : { + "160" : { "aNode" : { - "astNodeId" : 134 + "astNodeId" : 160 }, "qualifiedName" : { "qualifier" : [ @@ -3552,7 +4044,7 @@ "base" : "c6" }, "component" : { - "astNodeId" : 97 + "astNodeId" : 120 }, "baseId" : 1536, "maxId" : 1535, @@ -3565,9 +4057,9 @@ } }, - "138" : { + "164" : { "aNode" : { - "astNodeId" : 138 + "astNodeId" : 164 }, "qualifiedName" : { "qualifier" : [ @@ -3575,7 +4067,7 @@ "base" : "c7" }, "component" : { - "astNodeId" : 110 + "astNodeId" : 136 }, "baseId" : 1792, "maxId" : 1791, @@ -3590,9 +4082,9 @@ } }, "componentMap" : { - "12" : { + "15" : { "aNode" : { - "astNodeId" : 12 + "astNodeId" : 15 }, "portInterface" : { "instanceType" : "component", @@ -3600,7 +4092,7 @@ "timeGetPort" : { "General" : { "aNode" : { - "astNodeId" : 11 + "astNodeId" : 14 }, "specifier" : { "kind" : { @@ -3612,7 +4104,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 10 + "astNodeId" : 13 } }, "priority" : "None", @@ -3624,7 +4116,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 293, + "nodeId" : 319, "unqualifiedName" : "Time" } } @@ -3674,9 +4166,9 @@ }, "defaultRecordId" : 0 }, - "37" : { + "46" : { "aNode" : { - "astNodeId" : 37 + "astNodeId" : 46 }, "portInterface" : { "instanceType" : "component", @@ -3684,7 +4176,7 @@ "cmdIn" : { "General" : { "aNode" : { - "astNodeId" : 16 + "astNodeId" : 20 }, "specifier" : { "kind" : { @@ -3696,7 +4188,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 15 + "astNodeId" : 19 } }, "priority" : "None", @@ -3708,7 +4200,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } } @@ -3721,7 +4213,7 @@ "cmdRegOut" : { "General" : { "aNode" : { - "astNodeId" : 20 + "astNodeId" : 25 }, "specifier" : { "kind" : { @@ -3733,7 +4225,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 19 + "astNodeId" : 24 } }, "priority" : "None", @@ -3745,7 +4237,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 287, + "nodeId" : 313, "unqualifiedName" : "CmdReg" } } @@ -3758,7 +4250,7 @@ "cmdResponseOut" : { "General" : { "aNode" : { - "astNodeId" : 24 + "astNodeId" : 30 }, "specifier" : { "kind" : { @@ -3770,7 +4262,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 23 + "astNodeId" : 29 } }, "priority" : "None", @@ -3782,7 +4274,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 288, + "nodeId" : 314, "unqualifiedName" : "CmdResponse" } } @@ -3795,7 +4287,7 @@ "cmdSend" : { "General" : { "aNode" : { - "astNodeId" : 36 + "astNodeId" : 45 }, "specifier" : { "kind" : { @@ -3807,7 +4299,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 35 + "astNodeId" : 44 } }, "priority" : "None", @@ -3819,7 +4311,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } } @@ -3869,9 +4361,9 @@ }, "defaultRecordId" : 0 }, - "50" : { + "62" : { "aNode" : { - "astNodeId" : 50 + "astNodeId" : 62 }, "portInterface" : { "instanceType" : "component", @@ -3879,7 +4371,7 @@ "eventLog" : { "General" : { "aNode" : { - "astNodeId" : 49 + "astNodeId" : 61 }, "specifier" : { "kind" : { @@ -3891,7 +4383,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 48 + "astNodeId" : 60 } }, "priority" : "None", @@ -3903,7 +4395,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 289, + "nodeId" : 315, "unqualifiedName" : "Log" } } @@ -3953,9 +4445,9 @@ }, "defaultRecordId" : 0 }, - "67" : { + "83" : { "aNode" : { - "astNodeId" : 67 + "astNodeId" : 83 }, "portInterface" : { "instanceType" : "component", @@ -3963,7 +4455,7 @@ "PingReturn" : { "General" : { "aNode" : { - "astNodeId" : 66 + "astNodeId" : 82 }, "specifier" : { "kind" : { @@ -3975,7 +4467,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 65 + "astNodeId" : 81 } }, "priority" : "None", @@ -3987,7 +4479,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } } @@ -4000,7 +4492,7 @@ "PingSend" : { "General" : { "aNode" : { - "astNodeId" : 54 + "astNodeId" : 67 }, "specifier" : { "kind" : { @@ -4012,7 +4504,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 53 + "astNodeId" : 66 } }, "priority" : "None", @@ -4024,7 +4516,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } } @@ -4074,9 +4566,9 @@ }, "defaultRecordId" : 0 }, - "84" : { + "104" : { "aNode" : { - "astNodeId" : 84 + "astNodeId" : 104 }, "portInterface" : { "instanceType" : "component", @@ -4084,7 +4576,7 @@ "paramGet" : { "General" : { "aNode" : { - "astNodeId" : 71 + "astNodeId" : 88 }, "specifier" : { "kind" : { @@ -4096,7 +4588,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 70 + "astNodeId" : 87 } }, "priority" : "None", @@ -4108,7 +4600,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 291, + "nodeId" : 317, "unqualifiedName" : "PrmGet" } } @@ -4121,7 +4613,7 @@ "paramSet" : { "General" : { "aNode" : { - "astNodeId" : 83 + "astNodeId" : 103 }, "specifier" : { "kind" : { @@ -4133,7 +4625,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 82 + "astNodeId" : 102 } }, "priority" : "None", @@ -4145,7 +4637,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 292, + "nodeId" : 318, "unqualifiedName" : "PrmSet" } } @@ -4195,9 +4687,9 @@ }, "defaultRecordId" : 0 }, - "97" : { + "120" : { "aNode" : { - "astNodeId" : 97 + "astNodeId" : 120 }, "portInterface" : { "instanceType" : "component", @@ -4205,7 +4697,7 @@ "tlm" : { "General" : { "aNode" : { - "astNodeId" : 96 + "astNodeId" : 119 }, "specifier" : { "kind" : { @@ -4217,7 +4709,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 95 + "astNodeId" : 118 } }, "priority" : "None", @@ -4229,7 +4721,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 294, + "nodeId" : 320, "unqualifiedName" : "Tlm" } } @@ -4279,9 +4771,9 @@ }, "defaultRecordId" : 0 }, - "110" : { + "136" : { "aNode" : { - "astNodeId" : 110 + "astNodeId" : 136 }, "portInterface" : { "instanceType" : "component", @@ -4289,7 +4781,7 @@ "textEventLog" : { "General" : { "aNode" : { - "astNodeId" : 109 + "astNodeId" : 135 }, "specifier" : { "kind" : { @@ -4301,7 +4793,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 108 + "astNodeId" : 134 } }, "priority" : "None", @@ -4313,7 +4805,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 290, + "nodeId" : 316, "unqualifiedName" : "LogText" } } @@ -4381,170 +4873,170 @@ "locationSpecifierMap" : [ ], "parentSymbolMap" : { - "286" : { + "312" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "287" : { + "313" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "288" : { + "314" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "289" : { + "315" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "290" : { + "316" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "291" : { + "317" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "292" : { + "318" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "293" : { + "319" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "294" : { + "320" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "297" : { + "323" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "301" : { + "327" : { "Module" : { - "nodeId" : 302, + "nodeId" : 328, "unqualifiedName" : "Svc" } } }, "symbolScopeMap" : { - "12" : { + "15" : { "map" : { } }, - "37" : { + "46" : { "map" : { } }, - "50" : { + "62" : { "map" : { } }, - "67" : { + "83" : { "map" : { } }, - "84" : { + "104" : { "map" : { } }, - "97" : { + "120" : { "map" : { } }, - "110" : { + "136" : { "map" : { } }, - "298" : { + "324" : { "map" : { "Port" : { "map" : { "Cmd" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } }, "CmdReg" : { "Port" : { - "nodeId" : 287, + "nodeId" : 313, "unqualifiedName" : "CmdReg" } }, "CmdResponse" : { "Port" : { - "nodeId" : 288, + "nodeId" : 314, "unqualifiedName" : "CmdResponse" } }, "Log" : { "Port" : { - "nodeId" : 289, + "nodeId" : 315, "unqualifiedName" : "Log" } }, "LogText" : { "Port" : { - "nodeId" : 290, + "nodeId" : 316, "unqualifiedName" : "LogText" } }, "PrmGet" : { "Port" : { - "nodeId" : 291, + "nodeId" : 317, "unqualifiedName" : "PrmGet" } }, "PrmSet" : { "Port" : { - "nodeId" : 292, + "nodeId" : 318, "unqualifiedName" : "PrmSet" } }, "Time" : { "Port" : { - "nodeId" : 293, + "nodeId" : 319, "unqualifiedName" : "Time" } }, "Tlm" : { "Port" : { - "nodeId" : 294, + "nodeId" : 320, "unqualifiedName" : "Tlm" } }, "TlmGet" : { "Port" : { - "nodeId" : 297, + "nodeId" : 323, "unqualifiedName" : "TlmGet" } } @@ -4552,13 +5044,13 @@ } } }, - "302" : { + "328" : { "map" : { "Port" : { "map" : { "Ping" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } } @@ -4568,9 +5060,9 @@ } }, "topologyMap" : { - "285" : { + "311" : { "aNode" : { - "astNodeId" : 285 + "astNodeId" : 311 }, "qualifiedName" : { "qualifier" : [ @@ -4581,127 +5073,130 @@ }, "directComponentInstances" : { - "114" : { + "140" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "118" : { + "144" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "44.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "122" : { + "148" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "45.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "126" : { + "152" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "46.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "130" : { + "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "47.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "134" : { + "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, - "138" : { + "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ ], "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 114 - } + "InterfaceComponentInstance" : 140 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "43.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 118 - } + "InterfaceComponentInstance" : 144 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "44.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 122 - } + "InterfaceComponentInstance" : 148 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "45.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 126 - } + "InterfaceComponentInstance" : 152 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "46.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 130 - } + "InterfaceComponentInstance" : 156 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "47.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 134 - } + "InterfaceComponentInstance" : 160 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "48.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 138 - } + "InterfaceComponentInstance" : 164 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "49.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -4722,7 +5217,7 @@ "patternMap" : { "Command" : { "aNode" : { - "astNodeId" : 263 + "astNodeId" : 289 }, "ast" : { "kind" : { @@ -4731,7 +5226,7 @@ } }, "source" : { - "astNodeId" : 262 + "astNodeId" : 288 }, "targets" : [ ] @@ -4739,7 +5234,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 118 + "astNodeId" : 144 }, "qualifiedName" : { "qualifier" : [ @@ -4747,7 +5242,7 @@ "base" : "c2" }, "component" : { - "astNodeId" : 37 + "astNodeId" : 46 }, "baseId" : 512, "maxId" : 511, @@ -4763,7 +5258,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "52.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -4771,7 +5267,7 @@ }, "Event" : { "aNode" : { - "astNodeId" : 266 + "astNodeId" : 292 }, "ast" : { "kind" : { @@ -4780,7 +5276,7 @@ } }, "source" : { - "astNodeId" : 265 + "astNodeId" : 291 }, "targets" : [ ] @@ -4788,7 +5284,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 122 + "astNodeId" : 148 }, "qualifiedName" : { "qualifier" : [ @@ -4796,7 +5292,7 @@ "base" : "c3" }, "component" : { - "astNodeId" : 50 + "astNodeId" : 62 }, "baseId" : 768, "maxId" : 767, @@ -4812,7 +5308,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "53.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -4820,7 +5317,7 @@ }, "Health" : { "aNode" : { - "astNodeId" : 269 + "astNodeId" : 295 }, "ast" : { "kind" : { @@ -4829,7 +5326,7 @@ } }, "source" : { - "astNodeId" : 268 + "astNodeId" : 294 }, "targets" : [ ] @@ -4837,7 +5334,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 126 + "astNodeId" : 152 }, "qualifiedName" : { "qualifier" : [ @@ -4845,7 +5342,7 @@ "base" : "c4" }, "component" : { - "astNodeId" : 67 + "astNodeId" : 83 }, "baseId" : 1024, "maxId" : 1023, @@ -4861,7 +5358,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "54.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -4869,7 +5367,7 @@ }, "Param" : { "aNode" : { - "astNodeId" : 272 + "astNodeId" : 298 }, "ast" : { "kind" : { @@ -4878,7 +5376,7 @@ } }, "source" : { - "astNodeId" : 271 + "astNodeId" : 297 }, "targets" : [ ] @@ -4886,7 +5384,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 130 + "astNodeId" : 156 }, "qualifiedName" : { "qualifier" : [ @@ -4894,7 +5392,7 @@ "base" : "c5" }, "component" : { - "astNodeId" : 84 + "astNodeId" : 104 }, "baseId" : 1280, "maxId" : 1279, @@ -4910,7 +5408,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "55.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -4918,7 +5417,7 @@ }, "Telemetry" : { "aNode" : { - "astNodeId" : 275 + "astNodeId" : 301 }, "ast" : { "kind" : { @@ -4927,7 +5426,7 @@ } }, "source" : { - "astNodeId" : 274 + "astNodeId" : 300 }, "targets" : [ ] @@ -4935,7 +5434,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 134 + "astNodeId" : 160 }, "qualifiedName" : { "qualifier" : [ @@ -4943,7 +5442,7 @@ "base" : "c6" }, "component" : { - "astNodeId" : 97 + "astNodeId" : 120 }, "baseId" : 1536, "maxId" : 1535, @@ -4959,7 +5458,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "56.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -4967,7 +5467,7 @@ }, "TextEvent" : { "aNode" : { - "astNodeId" : 284 + "astNodeId" : 310 }, "ast" : { "kind" : { @@ -4976,7 +5476,7 @@ } }, "source" : { - "astNodeId" : 283 + "astNodeId" : 309 }, "targets" : [ ] @@ -4984,7 +5484,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 138 + "astNodeId" : 164 }, "qualifiedName" : { "qualifier" : [ @@ -4992,7 +5492,7 @@ "base" : "c7" }, "component" : { - "astNodeId" : 110 + "astNodeId" : 136 }, "baseId" : 1792, "maxId" : 1791, @@ -5008,7 +5508,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "57.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -5016,7 +5517,7 @@ }, "Time" : { "aNode" : { - "astNodeId" : 260 + "astNodeId" : 286 }, "ast" : { "kind" : { @@ -5025,7 +5526,7 @@ } }, "source" : { - "astNodeId" : 259 + "astNodeId" : 285 }, "targets" : [ ] @@ -5033,7 +5534,7 @@ "source" : [ { "aNode" : { - "astNodeId" : 114 + "astNodeId" : 140 }, "qualifiedName" : { "qualifier" : [ @@ -5041,7 +5542,7 @@ "base" : "c1" }, "component" : { - "astNodeId" : 12 + "astNodeId" : 15 }, "baseId" : 256, "maxId" : 255, @@ -5057,7 +5558,8 @@ { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/patternedConnections.fpp", "pos" : "51.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], "targets" : [ @@ -5067,6 +5569,8 @@ "connectionMap" : { }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { }, @@ -5081,14 +5585,12 @@ "unconnectedPortSet" : [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 114 - } + "InterfaceComponentInstance" : 140 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 11 + "astNodeId" : 14 }, "specifier" : { "kind" : { @@ -5100,7 +5602,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 10 + "astNodeId" : 13 } }, "priority" : "None", @@ -5112,7 +5614,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 293, + "nodeId" : 319, "unqualifiedName" : "Time" } } @@ -5125,14 +5627,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 118 - } + "InterfaceComponentInstance" : 144 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 16 + "astNodeId" : 20 }, "specifier" : { "kind" : { @@ -5144,7 +5644,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 15 + "astNodeId" : 19 } }, "priority" : "None", @@ -5156,7 +5656,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } } @@ -5169,14 +5669,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 118 - } + "InterfaceComponentInstance" : 144 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 20 + "astNodeId" : 25 }, "specifier" : { "kind" : { @@ -5188,7 +5686,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 19 + "astNodeId" : 24 } }, "priority" : "None", @@ -5200,7 +5698,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 287, + "nodeId" : 313, "unqualifiedName" : "CmdReg" } } @@ -5213,14 +5711,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 118 - } + "InterfaceComponentInstance" : 144 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 24 + "astNodeId" : 30 }, "specifier" : { "kind" : { @@ -5232,7 +5728,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 23 + "astNodeId" : 29 } }, "priority" : "None", @@ -5244,7 +5740,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 288, + "nodeId" : 314, "unqualifiedName" : "CmdResponse" } } @@ -5257,14 +5753,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 118 - } + "InterfaceComponentInstance" : 144 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 36 + "astNodeId" : 45 }, "specifier" : { "kind" : { @@ -5276,7 +5770,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 35 + "astNodeId" : 44 } }, "priority" : "None", @@ -5288,7 +5782,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } } @@ -5301,14 +5795,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 122 - } + "InterfaceComponentInstance" : 148 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 49 + "astNodeId" : 61 }, "specifier" : { "kind" : { @@ -5320,7 +5812,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 48 + "astNodeId" : 60 } }, "priority" : "None", @@ -5332,7 +5824,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 289, + "nodeId" : 315, "unqualifiedName" : "Log" } } @@ -5345,14 +5837,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 126 - } + "InterfaceComponentInstance" : 152 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 66 + "astNodeId" : 82 }, "specifier" : { "kind" : { @@ -5364,7 +5854,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 65 + "astNodeId" : 81 } }, "priority" : "None", @@ -5376,7 +5866,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } } @@ -5389,14 +5879,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 126 - } + "InterfaceComponentInstance" : 152 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 54 + "astNodeId" : 67 }, "specifier" : { "kind" : { @@ -5408,7 +5896,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 53 + "astNodeId" : 66 } }, "priority" : "None", @@ -5420,7 +5908,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } } @@ -5433,14 +5921,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 130 - } + "InterfaceComponentInstance" : 156 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 71 + "astNodeId" : 88 }, "specifier" : { "kind" : { @@ -5452,7 +5938,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 70 + "astNodeId" : 87 } }, "priority" : "None", @@ -5464,7 +5950,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 291, + "nodeId" : 317, "unqualifiedName" : "PrmGet" } } @@ -5477,14 +5963,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 130 - } + "InterfaceComponentInstance" : 156 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 83 + "astNodeId" : 103 }, "specifier" : { "kind" : { @@ -5496,7 +5980,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 82 + "astNodeId" : 102 } }, "priority" : "None", @@ -5508,7 +5992,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 292, + "nodeId" : 318, "unqualifiedName" : "PrmSet" } } @@ -5521,14 +6005,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 134 - } + "InterfaceComponentInstance" : 160 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 96 + "astNodeId" : 119 }, "specifier" : { "kind" : { @@ -5540,7 +6022,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 95 + "astNodeId" : 118 } }, "priority" : "None", @@ -5552,7 +6034,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 294, + "nodeId" : 320, "unqualifiedName" : "Tlm" } } @@ -5565,14 +6047,12 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 138 - } + "InterfaceComponentInstance" : 164 }, "portInstance" : { "General" : { "aNode" : { - "astNodeId" : 109 + "astNodeId" : 135 }, "specifier" : { "kind" : { @@ -5584,7 +6064,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 108 + "astNodeId" : 134 } }, "priority" : "None", @@ -5596,7 +6076,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 290, + "nodeId" : 316, "unqualifiedName" : "LogText" } } @@ -5611,49 +6091,49 @@ } }, "typeMap" : { - "113" : { + "139" : { "Int" : { "Integer" : { } } }, - "117" : { + "143" : { "Int" : { "Integer" : { } } }, - "121" : { + "147" : { "Int" : { "Integer" : { } } }, - "125" : { + "151" : { "Int" : { "Integer" : { } } }, - "129" : { + "155" : { "Int" : { "Integer" : { } } }, - "133" : { + "159" : { "Int" : { "Integer" : { } } }, - "137" : { + "163" : { "Int" : { "Integer" : { @@ -5662,309 +6142,309 @@ } }, "useDefMap" : { - "8" : { + "12" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "10" : { + "13" : { "Port" : { - "nodeId" : 293, + "nodeId" : 319, "unqualifiedName" : "Time" } }, - "13" : { + "18" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "15" : { + "19" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } }, - "17" : { + "23" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "19" : { + "24" : { "Port" : { - "nodeId" : 287, + "nodeId" : 313, "unqualifiedName" : "CmdReg" } }, - "21" : { + "28" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "23" : { + "29" : { "Port" : { - "nodeId" : 288, + "nodeId" : 314, "unqualifiedName" : "CmdResponse" } }, - "33" : { + "43" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "35" : { + "44" : { "Port" : { - "nodeId" : 286, + "nodeId" : 312, "unqualifiedName" : "Cmd" } }, - "46" : { + "59" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "48" : { + "60" : { "Port" : { - "nodeId" : 289, + "nodeId" : 315, "unqualifiedName" : "Log" } }, - "51" : { + "65" : { "Module" : { - "nodeId" : 302, + "nodeId" : 328, "unqualifiedName" : "Svc" } }, - "53" : { + "66" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } }, - "63" : { + "80" : { "Module" : { - "nodeId" : 302, + "nodeId" : 328, "unqualifiedName" : "Svc" } }, - "65" : { + "81" : { "Port" : { - "nodeId" : 301, + "nodeId" : 327, "unqualifiedName" : "Ping" } }, - "68" : { + "86" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "70" : { + "87" : { "Port" : { - "nodeId" : 291, + "nodeId" : 317, "unqualifiedName" : "PrmGet" } }, - "80" : { + "101" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "82" : { + "102" : { "Port" : { - "nodeId" : 292, + "nodeId" : 318, "unqualifiedName" : "PrmSet" } }, - "93" : { + "117" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "95" : { + "118" : { "Port" : { - "nodeId" : 294, + "nodeId" : 320, "unqualifiedName" : "Tlm" } }, - "106" : { + "133" : { "Module" : { - "nodeId" : 298, + "nodeId" : 324, "unqualifiedName" : "Fw" } }, - "108" : { + "134" : { "Port" : { - "nodeId" : 290, + "nodeId" : 316, "unqualifiedName" : "LogText" } }, - "112" : { + "138" : { "Component" : { - "nodeId" : 12, + "nodeId" : 15, "unqualifiedName" : "Time" } }, - "116" : { + "142" : { "Component" : { - "nodeId" : 37, + "nodeId" : 46, "unqualifiedName" : "Command" } }, - "120" : { + "146" : { "Component" : { - "nodeId" : 50, + "nodeId" : 62, "unqualifiedName" : "Event" } }, - "124" : { + "150" : { "Component" : { - "nodeId" : 67, + "nodeId" : 83, "unqualifiedName" : "Health" } }, - "128" : { + "154" : { "Component" : { - "nodeId" : 84, + "nodeId" : 104, "unqualifiedName" : "Param" } }, - "132" : { + "158" : { "Component" : { - "nodeId" : 97, + "nodeId" : 120, "unqualifiedName" : "Telemetry" } }, - "136" : { + "162" : { "Component" : { - "nodeId" : 110, + "nodeId" : 136, "unqualifiedName" : "TextEvent" } }, - "238" : { + "264" : { "ComponentInstance" : { - "nodeId" : 114, + "nodeId" : 140, "unqualifiedName" : "c1" } }, - "241" : { + "267" : { "ComponentInstance" : { - "nodeId" : 118, + "nodeId" : 144, "unqualifiedName" : "c2" } }, - "244" : { + "270" : { "ComponentInstance" : { - "nodeId" : 122, + "nodeId" : 148, "unqualifiedName" : "c3" } }, - "247" : { + "273" : { "ComponentInstance" : { - "nodeId" : 126, + "nodeId" : 152, "unqualifiedName" : "c4" } }, - "250" : { + "276" : { "ComponentInstance" : { - "nodeId" : 130, + "nodeId" : 156, "unqualifiedName" : "c5" } }, - "253" : { + "279" : { "ComponentInstance" : { - "nodeId" : 134, + "nodeId" : 160, "unqualifiedName" : "c6" } }, - "256" : { + "282" : { "ComponentInstance" : { - "nodeId" : 138, + "nodeId" : 164, "unqualifiedName" : "c7" } }, - "259" : { + "285" : { "ComponentInstance" : { - "nodeId" : 114, + "nodeId" : 140, "unqualifiedName" : "c1" } }, - "262" : { + "288" : { "ComponentInstance" : { - "nodeId" : 118, + "nodeId" : 144, "unqualifiedName" : "c2" } }, - "265" : { + "291" : { "ComponentInstance" : { - "nodeId" : 122, + "nodeId" : 148, "unqualifiedName" : "c3" } }, - "268" : { + "294" : { "ComponentInstance" : { - "nodeId" : 126, + "nodeId" : 152, "unqualifiedName" : "c4" } }, - "271" : { + "297" : { "ComponentInstance" : { - "nodeId" : 130, + "nodeId" : 156, "unqualifiedName" : "c5" } }, - "274" : { + "300" : { "ComponentInstance" : { - "nodeId" : 134, + "nodeId" : 160, "unqualifiedName" : "c6" } }, - "283" : { + "309" : { "ComponentInstance" : { - "nodeId" : 138, + "nodeId" : 164, "unqualifiedName" : "c7" } } }, "valueMap" : { - "113" : { + "139" : { "Integer" : { "value" : 256 } }, - "117" : { + "143" : { "Integer" : { "value" : 512 } }, - "121" : { + "147" : { "Integer" : { "value" : 768 } }, - "125" : { + "151" : { "Integer" : { "value" : 1024 } }, - "129" : { + "155" : { "Integer" : { "value" : 1280 } }, - "133" : { + "159" : { "Integer" : { "value" : 1536 } }, - "137" : { + "163" : { "Integer" : { "value" : 1792 } diff --git a/compiler/tools/fpp-to-json/test/ports.ref.txt b/compiler/tools/fpp-to-json/test/ports.ref.txt index 166ecc73a3..ccbb62cf3d 100644 --- a/compiler/tools/fpp-to-json/test/ports.ref.txt +++ b/compiler/tools/fpp-to-json/test/ports.ref.txt @@ -378,7 +378,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "E" + "name" : "E", + "isAbsolute" : false } }, "id" : 31 @@ -416,7 +417,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "T" + "name" : "T", + "isAbsolute" : false } }, "id" : 35 @@ -454,7 +456,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "T" + "name" : "T", + "isAbsolute" : false } }, "id" : 47 @@ -482,7 +485,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "T" + "name" : "T", + "isAbsolute" : false } }, "id" : 51 @@ -610,7 +614,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Status" + "name" : "Status", + "isAbsolute" : false } }, "id" : 66 @@ -791,10 +796,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "M" + "name" : "M", + "isAbsolute" : false } }, - "id" : 87 + "id" : 89 } }, "name" : { @@ -805,7 +811,7 @@ } } }, - "id" : 89 + "id" : 90 } }, "baseId" : { @@ -815,7 +821,7 @@ "value" : "0x2100" } }, - "id" : 90 + "id" : 91 } }, "implType" : "None", @@ -828,7 +834,7 @@ "value" : "10" } }, - "id" : 91 + "id" : 92 } } }, @@ -838,7 +844,7 @@ "initSpecs" : [ ] }, - "id" : 92 + "id" : 93 } } } @@ -879,14 +885,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, - "id" : 120 + "id" : 121 } } }, - "id" : 121 + "id" : 122 } } } @@ -898,7 +905,7 @@ "implements" : [ ] }, - "id" : 122 + "id" : 123 } } } @@ -908,7 +915,7 @@ ] ] }, - "id" : 123 + "id" : 124 } } } @@ -926,622 +933,800 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "1.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "2.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "4.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "7.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "10.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "10.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "10.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "10.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "11.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "12.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "14.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "14.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "14.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "14.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "14.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "20.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "20.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "20.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "19.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "24.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "30.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "23.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "36.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "36.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "36.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "36.25", - "includingLoc" : "None" + "pos" : "36.13", + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "37.16", - "includingLoc" : "None" + "pos" : "36.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "36.1", - "includingLoc" : "None" + "pos" : "37.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "36.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "41.5", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "41.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "41.5", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "41.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.18", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "42.9", - "includingLoc" : "None" + "pos" : "42.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", - "pos" : "41.5", - "includingLoc" : "None" + "pos" : "42.9", + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "41.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "40.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "125" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "8.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "126" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "8.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "127" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "128" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "129" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "130" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "131" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "132" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", + "pos" : "30.5", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1549,9 +1734,9 @@ "fppVersion" : "[ fpp version ]", "analysis" : { "componentInstanceMap" : { - "92" : { + "93" : { "aNode" : { - "astNodeId" : 92 + "astNodeId" : 93 }, "qualifiedName" : { "qualifier" : [ @@ -1769,7 +1954,7 @@ "unqualifiedName" : "M" } }, - "122" : { + "123" : { "Module" : { "nodeId" : 86, "unqualifiedName" : "M" @@ -1862,7 +2047,7 @@ "map" : { "T" : { "Topology" : { - "nodeId" : 122, + "nodeId" : 123, "unqualifiedName" : "T" } } @@ -1902,9 +2087,9 @@ } }, "topologyMap" : { - "122" : { + "123" : { "aNode" : { - "astNodeId" : 122 + "astNodeId" : 123 }, "qualifiedName" : { "qualifier" : [ @@ -1916,25 +2101,28 @@ }, "directComponentInstances" : { - "92" : { + "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ ], "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 92 - } + "InterfaceComponentInstance" : 93 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/ports.fpp", "pos" : "42.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -1958,6 +2146,8 @@ "connectionMap" : { }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { }, @@ -1972,9 +2162,7 @@ "unconnectedPortSet" : [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 92 - } + "InterfaceComponentInstance" : 93 }, "portInstance" : { "Special" : { @@ -2341,21 +2529,21 @@ } } }, - "90" : { + "91" : { "Int" : { "Integer" : { } } }, - "91" : { + "92" : { "Int" : { "Integer" : { } } }, - "124" : { + "125" : { "AliasType" : { "node" : { "astNodeId" : 1 @@ -2373,7 +2561,7 @@ } } }, - "125" : { + "126" : { "Int" : { "Integer" : { @@ -2448,35 +2636,41 @@ "unqualifiedName" : "DpResponse" } }, - "87" : { + "89" : { "Module" : { "nodeId" : 86, "unqualifiedName" : "M" } }, - "89" : { + "90" : { "Component" : { "nodeId" : 85, "unqualifiedName" : "Q" } }, - "120" : { + "121" : { "ComponentInstance" : { - "nodeId" : 92, + "nodeId" : 93, "unqualifiedName" : "i" } }, - "124" : { + "125" : { "AliasType" : { "nodeId" : 1, "unqualifiedName" : "FwSizeStoreType" } }, - "125" : { + "126" : { "Constant" : { "nodeId" : 3, "unqualifiedName" : "FW_FIXED_LENGTH_STRING_SIZE" } + }, + "127" : { + "Module" : { + "nodeId" : 72, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { @@ -2574,17 +2768,17 @@ } } }, - "90" : { + "91" : { "Integer" : { "value" : 8448 } }, - "91" : { + "92" : { "Integer" : { "value" : 10 } }, - "125" : { + "126" : { "Integer" : { "value" : 256 } diff --git a/compiler/tools/fpp-to-json/test/queuedComponents.ref.txt b/compiler/tools/fpp-to-json/test/queuedComponents.ref.txt index 54fb54f25c..9319e89caf 100644 --- a/compiler/tools/fpp-to-json/test/queuedComponents.ref.txt +++ b/compiler/tools/fpp-to-json/test/queuedComponents.ref.txt @@ -110,21 +110,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Svc" + "name" : "Svc", + "isAbsolute" : false } }, - "id" : 43 + "id" : 47 } }, "name" : { "AstNode" : { "data" : "Sched", - "id" : 44 + "id" : 46 } } } }, - "id" : 45 + "id" : 48 } } }, @@ -132,7 +133,7 @@ "queueFull" : "None" } }, - "id" : 46 + "id" : 49 } } } @@ -162,10 +163,11 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Calibration" + "name" : "Calibration", + "isAbsolute" : false } }, - "id" : 48 + "id" : 51 } } }, @@ -173,7 +175,7 @@ "queueFull" : "None" } }, - "id" : 49 + "id" : 52 } } } @@ -202,7 +204,7 @@ "queueFull" : "None" } }, - "id" : 50 + "id" : 53 } } } @@ -231,7 +233,7 @@ "queueFull" : "None" } }, - "id" : 51 + "id" : 54 } } } @@ -260,7 +262,7 @@ } } }, - "id" : 52 + "id" : 55 } }, "id" : "None", @@ -271,7 +273,7 @@ "high" : [ ] }, - "id" : 53 + "id" : 56 } } } @@ -300,7 +302,7 @@ } } }, - "id" : 58 + "id" : 61 } }, "id" : "None", @@ -311,7 +313,7 @@ "high" : [ ] }, - "id" : 59 + "id" : 62 } } } @@ -321,7 +323,7 @@ ] ] }, - "id" : 60 + "id" : 63 } } } @@ -331,7 +333,7 @@ ] ] }, - "id" : 61 + "id" : 64 } } } @@ -367,21 +369,22 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "Sensors" + "name" : "Sensors", + "isAbsolute" : false } }, - "id" : 74 + "id" : 81 } }, "name" : { "AstNode" : { "data" : "EngineTemp", - "id" : 75 + "id" : 80 } } } }, - "id" : 76 + "id" : 82 } }, "baseId" : { @@ -391,7 +394,7 @@ "value" : "0x100" } }, - "id" : 77 + "id" : 83 } }, "implType" : "None", @@ -404,7 +407,7 @@ "value" : "10" } }, - "id" : 78 + "id" : 84 } } }, @@ -414,7 +417,7 @@ "initSpecs" : [ ] }, - "id" : 79 + "id" : 85 } } } @@ -424,7 +427,7 @@ ] ] }, - "id" : 80 + "id" : 86 } } } @@ -455,7 +458,7 @@ ], "returnType" : "None" }, - "id" : 83 + "id" : 89 } } } @@ -465,7 +468,7 @@ ] ] }, - "id" : 84 + "id" : 90 } } } @@ -496,7 +499,7 @@ ], "returnType" : "None" }, - "id" : 85 + "id" : 91 } } } @@ -517,7 +520,7 @@ ], "returnType" : "None" }, - "id" : 88 + "id" : 94 } } } @@ -527,7 +530,7 @@ ] ] }, - "id" : 89 + "id" : 95 } } } @@ -545,452 +548,650 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "4.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "10.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "10.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "10.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.5", - "includingLoc" : "None" + "pos" : "10.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.37", - "includingLoc" : "None" + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "13.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "13.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "16.5", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "22.28", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "22.5", - "includingLoc" : "None" + "pos" : "22.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "22.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "7.3", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.30", - "includingLoc" : "None" + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.34", - "includingLoc" : "None" + "pos" : "10.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.30", - "includingLoc" : "None" + "pos" : "10.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.5", - "includingLoc" : "None" + "pos" : "10.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.37", - "includingLoc" : "None" + "pos" : "10.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.37", - "includingLoc" : "None" + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "13.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "16.5", - "includingLoc" : "None" + "pos" : "13.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "22.28", - "includingLoc" : "None" + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "22.5", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "22.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "22.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "25.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "25.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "25.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "25.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "7.3", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.30", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.34", - "includingLoc" : "None" + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "10.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "10.5", - "includingLoc" : "None" + "pos" : "10.34", + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.37", - "includingLoc" : "None" + "pos" : "10.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.37", - "includingLoc" : "None" + "pos" : "10.30", + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "13.5", - "includingLoc" : "None" + "pos" : "10.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "16.5", - "includingLoc" : "None" + "pos" : "13.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "19.5", - "includingLoc" : "None" + "pos" : "13.37", + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "22.28", - "includingLoc" : "None" + "pos" : "13.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "22.5", - "includingLoc" : "None" + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "22.28", + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "22.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.25", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "25.5", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "7.3", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "1.1", - "includingLoc" : "None" + "pos" : "25.25", + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.24", - "includingLoc" : "None" + "pos" : "25.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.32", - "includingLoc" : "None" + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.24", - "includingLoc" : "None" + "pos" : "1.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.51", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "35.16", - "includingLoc" : "None" + "pos" : "34.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.3", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "34.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.32", - "includingLoc" : "None" + "pos" : "34.51", + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.24", - "includingLoc" : "None" + "pos" : "35.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.51", - "includingLoc" : "None" + "pos" : "34.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "35.16", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.3", - "includingLoc" : "None" + "pos" : "34.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "34.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.32", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.24", - "includingLoc" : "None" + "pos" : "34.51", + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.51", - "includingLoc" : "None" + "pos" : "35.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "35.16", - "includingLoc" : "None" + "pos" : "34.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "34.3", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "31.1", - "includingLoc" : "None" + "pos" : "34.32", + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "40.3", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "40.3", - "includingLoc" : "None" + "pos" : "34.24", + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "40.3", - "includingLoc" : "None" + "pos" : "34.51", + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "39.1", - "includingLoc" : "None" + "pos" : "35.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "44.3", - "includingLoc" : "None" + "pos" : "34.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "45.3", - "includingLoc" : "None" + "pos" : "31.1", + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "45.3", - "includingLoc" : "None" + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", - "pos" : "45.3", - "includingLoc" : "None" + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "90" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "39.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "91" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "44.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "92" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "45.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "93" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "45.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "94" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "45.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", "pos" : "43.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "96" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "97" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "98" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "99" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "100" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "101" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "102" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "103" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "104" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "105" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "106" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "16.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "107" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/queuedComponents.fpp", + "pos" : "19.5", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -998,9 +1199,9 @@ "fppVersion" : "[ fpp version ]", "analysis" : { "componentInstanceMap" : { - "79" : { + "85" : { "aNode" : { - "astNodeId" : 79 + "astNodeId" : 85 }, "qualifiedName" : { "qualifier" : [ @@ -1009,7 +1210,7 @@ "base" : "engineTemp" }, "component" : { - "astNodeId" : 60 + "astNodeId" : 63 }, "baseId" : 256, "maxId" : 257, @@ -1026,9 +1227,9 @@ } }, "componentMap" : { - "60" : { + "63" : { "aNode" : { - "astNodeId" : 60 + "astNodeId" : 63 }, "portInterface" : { "instanceType" : "component", @@ -1036,7 +1237,7 @@ "calibrationIn" : { "General" : { "aNode" : { - "astNodeId" : 49 + "astNodeId" : 52 }, "specifier" : { "kind" : { @@ -1048,7 +1249,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 48 + "astNodeId" : 51 } }, "priority" : "None", @@ -1073,7 +1274,7 @@ "schedIn" : { "General" : { "aNode" : { - "astNodeId" : 46 + "astNodeId" : 49 }, "specifier" : { "kind" : { @@ -1085,7 +1286,7 @@ "size" : "None", "port" : { "Some" : { - "astNodeId" : 45 + "astNodeId" : 48 } }, "priority" : "None", @@ -1097,7 +1298,7 @@ "DefPort" : { "symbol" : { "Port" : { - "nodeId" : 83, + "nodeId" : 89, "unqualifiedName" : "Sched" } } @@ -1110,7 +1311,7 @@ "timeGetOut" : { "Special" : { "aNode" : { - "astNodeId" : 51 + "astNodeId" : 54 }, "specifier" : { "inputKind" : "None", @@ -1125,7 +1326,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 88, + "nodeId" : 94, "unqualifiedName" : "Time" } }, @@ -1138,7 +1339,7 @@ "tlmOut" : { "Special" : { "aNode" : { - "astNodeId" : 50 + "astNodeId" : 53 }, "specifier" : { "inputKind" : "None", @@ -1153,7 +1354,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 85, + "nodeId" : 91, "unqualifiedName" : "Tlm" } }, @@ -1167,7 +1368,7 @@ "specialPortMap" : { "telemetry" : { "aNode" : { - "astNodeId" : 50 + "astNodeId" : 53 }, "specifier" : { "inputKind" : "None", @@ -1182,7 +1383,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 85, + "nodeId" : 91, "unqualifiedName" : "Tlm" } }, @@ -1193,7 +1394,7 @@ }, "time get" : { "aNode" : { - "astNodeId" : 51 + "astNodeId" : 54 }, "specifier" : { "inputKind" : "None", @@ -1208,7 +1409,7 @@ }, "symbol" : { "Port" : { - "nodeId" : 88, + "nodeId" : 94, "unqualifiedName" : "Time" } }, @@ -1226,7 +1427,7 @@ "tlmChannelMap" : { "0" : { "aNode" : { - "astNodeId" : 53 + "astNodeId" : 56 }, "channelType" : { "Primitive" : { @@ -1254,7 +1455,7 @@ }, "1" : { "aNode" : { - "astNodeId" : 59 + "astNodeId" : 62 }, "channelType" : { "Primitive" : { @@ -1284,7 +1485,7 @@ "tlmChannelNameMap" : { "ImpulseTemp" : { "aNode" : { - "astNodeId" : 53 + "astNodeId" : 56 }, "channelType" : { "Primitive" : { @@ -1312,7 +1513,7 @@ }, "WarpTemp" : { "aNode" : { - "astNodeId" : 59 + "astNodeId" : 62 }, "channelType" : { "Primitive" : { @@ -1383,54 +1584,54 @@ "parentSymbolMap" : { "6" : { "Module" : { - "nodeId" : 61, + "nodeId" : 64, "unqualifiedName" : "Sensors" } }, - "60" : { + "63" : { "Module" : { - "nodeId" : 61, + "nodeId" : 64, "unqualifiedName" : "Sensors" } }, - "79" : { + "85" : { "Module" : { - "nodeId" : 80, + "nodeId" : 86, "unqualifiedName" : "FSW" } }, - "83" : { + "89" : { "Module" : { - "nodeId" : 84, + "nodeId" : 90, "unqualifiedName" : "Svc" } }, - "85" : { + "91" : { "Module" : { - "nodeId" : 89, + "nodeId" : 95, "unqualifiedName" : "Fw" } }, - "88" : { + "94" : { "Module" : { - "nodeId" : 89, + "nodeId" : 95, "unqualifiedName" : "Fw" } } }, "symbolScopeMap" : { - "60" : { + "63" : { "map" : { } }, - "61" : { + "64" : { "map" : { "Component" : { "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 60, + "nodeId" : 63, "unqualifiedName" : "EngineTemp" } } @@ -1450,7 +1651,7 @@ "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 60, + "nodeId" : 63, "unqualifiedName" : "EngineTemp" } } @@ -1460,7 +1661,7 @@ "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 60, + "nodeId" : 63, "unqualifiedName" : "EngineTemp" } } @@ -1470,7 +1671,7 @@ "map" : { "EngineTemp" : { "Component" : { - "nodeId" : 60, + "nodeId" : 63, "unqualifiedName" : "EngineTemp" } } @@ -1478,13 +1679,13 @@ } } }, - "80" : { + "86" : { "map" : { "PortInterfaceInstance" : { "map" : { "engineTemp" : { "ComponentInstance" : { - "nodeId" : 79, + "nodeId" : 85, "unqualifiedName" : "engineTemp" } } @@ -1492,13 +1693,13 @@ } } }, - "84" : { + "90" : { "map" : { "Port" : { "map" : { "Sched" : { "Port" : { - "nodeId" : 83, + "nodeId" : 89, "unqualifiedName" : "Sched" } } @@ -1506,19 +1707,19 @@ } } }, - "89" : { + "95" : { "map" : { "Port" : { "map" : { "Time" : { "Port" : { - "nodeId" : 88, + "nodeId" : 94, "unqualifiedName" : "Time" } }, "Tlm" : { "Port" : { - "nodeId" : 85, + "nodeId" : 91, "unqualifiedName" : "Tlm" } } @@ -1542,7 +1743,7 @@ } } }, - "52" : { + "55" : { "Primitive" : { "Float" : { "kind" : { @@ -1553,7 +1754,7 @@ } } }, - "58" : { + "61" : { "Primitive" : { "Float" : { "kind" : { @@ -1564,14 +1765,14 @@ } } }, - "77" : { + "83" : { "Int" : { "Integer" : { } } }, - "78" : { + "84" : { "Int" : { "Integer" : { @@ -1580,56 +1781,68 @@ } }, "useDefMap" : { - "43" : { + "47" : { "Module" : { - "nodeId" : 84, + "nodeId" : 90, "unqualifiedName" : "Svc" } }, - "45" : { + "48" : { "Port" : { - "nodeId" : 83, + "nodeId" : 89, "unqualifiedName" : "Sched" } }, - "48" : { + "51" : { "Port" : { "nodeId" : 6, "unqualifiedName" : "Calibration" } }, - "50" : { + "53" : { "Port" : { - "nodeId" : 85, + "nodeId" : 91, "unqualifiedName" : "Tlm" } }, - "51" : { + "54" : { "Port" : { - "nodeId" : 88, + "nodeId" : 94, "unqualifiedName" : "Time" } }, - "74" : { + "81" : { "Module" : { - "nodeId" : 61, + "nodeId" : 64, "unqualifiedName" : "Sensors" } }, - "76" : { + "82" : { "Component" : { - "nodeId" : 60, + "nodeId" : 63, "unqualifiedName" : "EngineTemp" } + }, + "96" : { + "Module" : { + "nodeId" : 95, + "unqualifiedName" : "Fw" + } + }, + "97" : { + "Module" : { + "nodeId" : 95, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { - "77" : { + "83" : { "Integer" : { "value" : 256 } }, - "78" : { + "84" : { "Integer" : { "value" : 10 } diff --git a/compiler/tools/fpp-to-json/test/run b/compiler/tools/fpp-to-json/test/run index 3009bb48c7..66cc7f505c 100755 --- a/compiler/tools/fpp-to-json/test/run +++ b/compiler/tools/fpp-to-json/test/run @@ -186,6 +186,14 @@ telemetryPackets(){ run_test "" telemetryPackets } +templateSystem(){ + run_test "" templateSystem +} + +templateSystem_syntax_only(){ + run_test "-s" templateSystem templateSystem_syntax_only +} + types() { run_test "" types @@ -218,6 +226,8 @@ stateMachine syntaxOnly telemetry telemetryPackets +templateSystem +templateSystem_syntax_only types " diff --git a/compiler/tools/fpp-to-json/test/simpleComponents.ref.txt b/compiler/tools/fpp-to-json/test/simpleComponents.ref.txt index d447177541..cf0f154c17 100644 --- a/compiler/tools/fpp-to-json/test/simpleComponents.ref.txt +++ b/compiler/tools/fpp-to-json/test/simpleComponents.ref.txt @@ -96,7 +96,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 8 @@ -137,7 +138,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 11 @@ -178,7 +180,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 20 @@ -245,7 +248,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 24 @@ -286,7 +290,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 27 @@ -327,7 +332,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 36 @@ -395,7 +401,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 40 @@ -458,7 +465,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 45 @@ -521,7 +529,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "F32Value" + "name" : "F32Value", + "isAbsolute" : false } }, "id" : 56 @@ -647,7 +656,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "splitFactor" + "value" : "splitFactor", + "isAbsolute" : false } }, "id" : 66 @@ -687,347 +697,416 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "8.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "8.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "8.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "11.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "11.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "14.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "22.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "22.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "25.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "25.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "25.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "28.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "19.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "38.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "38.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "38.51", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "38.54", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "41.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "41.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "41.51", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "41.54", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "44.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "35.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "50.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "50.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "56.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "59.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "59.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "59.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "59.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "59.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "59.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleComponents.fpp", "pos" : "53.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } diff --git a/compiler/tools/fpp-to-json/test/simpleTopology.ref.txt b/compiler/tools/fpp-to-json/test/simpleTopology.ref.txt index 7bab07c4f4..bc48a7e4b7 100644 --- a/compiler/tools/fpp-to-json/test/simpleTopology.ref.txt +++ b/compiler/tools/fpp-to-json/test/simpleTopology.ref.txt @@ -80,7 +80,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 3 @@ -120,7 +121,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 12 @@ -162,7 +164,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 16 @@ -208,7 +211,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 20 @@ -266,7 +270,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 24 @@ -294,7 +299,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 27 @@ -330,7 +336,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 31 @@ -354,7 +361,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 35 @@ -404,7 +412,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 58 @@ -428,7 +437,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 62 @@ -479,332 +489,398 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "3.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "6.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "6.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "6.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "7.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "10.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "10.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "11.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "11.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "11.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "17.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "17.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "19.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "19.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "14.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1024,39 +1100,42 @@ "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ ], "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "17.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -1084,13 +1163,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1137,13 +1215,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1195,13 +1272,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1248,13 +1324,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1301,6 +1376,8 @@ } ] }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { "C1" : [ { @@ -1308,13 +1385,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1361,13 +1437,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1419,13 +1494,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1472,13 +1546,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1529,9 +1602,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1577,13 +1648,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1630,13 +1700,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1686,9 +1755,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1734,13 +1801,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1787,13 +1853,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1845,9 +1910,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -1893,13 +1956,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -1946,13 +2008,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -2002,9 +2063,7 @@ [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -2050,13 +2109,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -2103,13 +2161,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -2164,13 +2221,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -2217,13 +2273,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -2276,13 +2331,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -2329,13 +2383,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -2390,13 +2443,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { @@ -2443,13 +2495,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "23.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -2502,13 +2553,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 22 - } + "InterfaceComponentInstance" : 22 }, "portInstance" : { "General" : { @@ -2555,13 +2605,12 @@ "loc" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/simpleTopology.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "port" : { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 18 - } + "InterfaceComponentInstance" : 18 }, "portInstance" : { "General" : { diff --git a/compiler/tools/fpp-to-json/test/specialPorts.ref.txt b/compiler/tools/fpp-to-json/test/specialPorts.ref.txt index c4af05d51d..b15ba8f0c6 100644 --- a/compiler/tools/fpp-to-json/test/specialPorts.ref.txt +++ b/compiler/tools/fpp-to-json/test/specialPorts.ref.txt @@ -613,182 +613,542 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "5.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "8.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "27.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "38.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "35.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "49.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "49.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "49.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "46.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "54.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "55.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "56.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "57.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "58.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "59.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "60.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "61.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "62.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "62.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "62.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", "pos" : "53.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "36" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "5.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "37" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "8.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "38" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "39" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "40" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "41" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "30.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "42" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "43" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "41.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "44" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "45" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "5.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "46" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "8.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "47" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "48" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "49" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "50" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "30.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "51" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "52" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "41.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "53" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "54" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "5.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "55" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "8.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "56" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "57" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "58" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "59" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "30.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "60" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "61" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "41.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "62" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "63" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "5.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "64" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "8.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "65" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "66" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "67" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "68" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "30.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "69" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "70" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "41.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "71" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "72" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "5.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "73" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "8.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "74" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "75" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "76" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "77" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "30.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "78" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "79" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "41.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "80" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "81" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "5.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "82" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "8.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "83" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "84" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "19.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "85" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "22.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "86" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "30.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "87" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "88" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "41.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "89" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/specialPorts.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1736,6 +2096,60 @@ "nodeId" : 34, "unqualifiedName" : "Time" } + }, + "36" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "37" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "38" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "39" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "40" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "41" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "42" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "43" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } + }, + "44" : { + "Module" : { + "nodeId" : 35, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/stateMachine.ref.txt b/compiler/tools/fpp-to-json/test/stateMachine.ref.txt index 357e4def7f..2a6a2a5f44 100644 --- a/compiler/tools/fpp-to-json/test/stateMachine.ref.txt +++ b/compiler/tools/fpp-to-json/test/stateMachine.ref.txt @@ -98,7 +98,7 @@ } } }, - "id" : 268 + "id" : 271 } } }, @@ -113,7 +113,7 @@ "name" : "__FPRIME_UNINITIALIZED", "value" : "None" }, - "id" : 265 + "id" : 268 } }, [ @@ -129,7 +129,7 @@ "name" : "S1", "value" : "None" }, - "id" : 266 + "id" : 269 } }, [ @@ -145,7 +145,7 @@ "name" : "S2_S3", "value" : "None" }, - "id" : 267 + "id" : 270 } }, [ @@ -155,7 +155,7 @@ "default" : "None", "isDictionaryDef" : false }, - "id" : 269 + "id" : 272 } } } @@ -299,7 +299,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "X" + "value" : "X", + "isAbsolute" : false } }, "id" : 14 @@ -795,7 +796,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 48 @@ -839,7 +841,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S1" + "name" : "S1", + "isAbsolute" : false } }, "id" : 53 @@ -858,7 +861,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S2" + "name" : "S2", + "isAbsolute" : true } }, "id" : 56 @@ -921,18 +925,18 @@ { "AstNode" : { "data" : "a1", - "id" : 196 + "id" : 198 } }, { "AstNode" : { "data" : "a2", - "id" : 197 + "id" : 199 } } ] }, - "id" : 198 + "id" : 200 } } } @@ -952,18 +956,18 @@ { "AstNode" : { "data" : "a1", - "id" : 199 + "id" : 201 } }, { "AstNode" : { "data" : "a2", - "id" : 200 + "id" : 202 } } ] }, - "id" : 201 + "id" : 203 } } } @@ -987,13 +991,13 @@ { "AstNode" : { "data" : "a1", - "id" : 202 + "id" : 204 } }, { "AstNode" : { "data" : "a2", - "id" : 203 + "id" : 205 } } ], @@ -1001,18 +1005,19 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S3" + "name" : "S3", + "isAbsolute" : false } }, - "id" : 205 + "id" : 207 } } }, - "id" : 206 + "id" : 208 } } }, - "id" : 207 + "id" : 209 } } } @@ -1033,7 +1038,7 @@ "guard" : { "AstNode" : { "data" : "g1", - "id" : 208 + "id" : 210 } }, "ifTransition" : { @@ -1043,13 +1048,13 @@ { "AstNode" : { "data" : "a1", - "id" : 209 + "id" : 211 } }, { "AstNode" : { "data" : "a2", - "id" : 210 + "id" : 212 } } ], @@ -1057,14 +1062,15 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S1" + "name" : "S1", + "isAbsolute" : false } }, - "id" : 212 + "id" : 214 } } }, - "id" : 213 + "id" : 215 } }, "elseTransition" : { @@ -1074,13 +1080,13 @@ { "AstNode" : { "data" : "a2", - "id" : 214 + "id" : 216 } }, { "AstNode" : { "data" : "a3", - "id" : 215 + "id" : 217 } } ], @@ -1092,29 +1098,30 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S2" + "name" : "S2", + "isAbsolute" : true } }, - "id" : 216 + "id" : 220 } }, "name" : { "AstNode" : { "data" : "S3", - "id" : 217 + "id" : 219 } } } }, - "id" : 218 + "id" : 221 } } }, - "id" : 219 + "id" : 222 } } }, - "id" : 220 + "id" : 223 } } } @@ -1135,7 +1142,7 @@ "members" : [ ] }, - "id" : 221 + "id" : 224 } } } @@ -1155,14 +1162,14 @@ "signal" : { "AstNode" : { "data" : "s1", - "id" : 222 + "id" : 225 } }, "guard" : { "Some" : { "AstNode" : { "data" : "g1", - "id" : 223 + "id" : 226 } } }, @@ -1175,7 +1182,7 @@ { "AstNode" : { "data" : "a1", - "id" : 224 + "id" : 227 } } ], @@ -1183,20 +1190,21 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, - "id" : 226 + "id" : 229 } } }, - "id" : 227 + "id" : 230 } } } } }, - "id" : 228 + "id" : 231 } } } @@ -1215,14 +1223,14 @@ "signal" : { "AstNode" : { "data" : "s2", - "id" : 229 + "id" : 232 } }, "guard" : { "Some" : { "AstNode" : { "data" : "g1", - "id" : 230 + "id" : 233 } } }, @@ -1237,20 +1245,21 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S1" + "name" : "S1", + "isAbsolute" : false } }, - "id" : 232 + "id" : 235 } } }, - "id" : 233 + "id" : 236 } } } } }, - "id" : 234 + "id" : 237 } } } @@ -1270,14 +1279,14 @@ "signal" : { "AstNode" : { "data" : "s3", - "id" : 235 + "id" : 238 } }, "guard" : { "Some" : { "AstNode" : { "data" : "g1", - "id" : 236 + "id" : 239 } } }, @@ -1292,20 +1301,21 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S1" + "name" : "S1", + "isAbsolute" : false } }, - "id" : 238 + "id" : 241 } } }, - "id" : 239 + "id" : 242 } } } } }, - "id" : 240 + "id" : 243 } } } @@ -1325,7 +1335,7 @@ "signal" : { "AstNode" : { "data" : "s4", - "id" : 241 + "id" : 244 } }, "guard" : "None", @@ -1340,20 +1350,21 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "S1" + "name" : "S1", + "isAbsolute" : false } }, - "id" : 243 + "id" : 246 } } }, - "id" : 244 + "id" : 247 } } } } }, - "id" : 245 + "id" : 248 } } } @@ -1373,14 +1384,14 @@ "signal" : { "AstNode" : { "data" : "s5", - "id" : 246 + "id" : 249 } }, "guard" : { "Some" : { "AstNode" : { "data" : "g1", - "id" : 247 + "id" : 250 } } }, @@ -1390,14 +1401,14 @@ { "AstNode" : { "data" : "a1", - "id" : 249 + "id" : 252 } } ] } } }, - "id" : 250 + "id" : 253 } } } @@ -1417,7 +1428,7 @@ "signal" : { "AstNode" : { "data" : "s6", - "id" : 259 + "id" : 262 } }, "guard" : "None", @@ -1427,14 +1438,14 @@ { "AstNode" : { "data" : "a1", - "id" : 261 + "id" : 264 } } ] } } }, - "id" : 262 + "id" : 265 } } } @@ -1444,7 +1455,7 @@ ] ] }, - "id" : 263 + "id" : 266 } } } @@ -1455,7 +1466,7 @@ ] } }, - "id" : 264 + "id" : 267 } } } @@ -1473,1352 +1484,1688 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "1.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "2.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "7.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "7.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "7.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "8.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "8.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "10.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "12.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "15.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "18.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "21.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "24.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "24.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "30.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "30.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "33.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "33.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "36.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "42.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "45.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "48.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "51.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "51.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "51.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "51.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "51.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "54.40", - "includingLoc" : "None" + "pos" : "54.41", + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "54.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "57.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "62.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "62.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "62.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "63.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "63.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "63.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.55", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.59", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.70", - "includingLoc" : "None" + "pos" : "69.71", + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.73", - "includingLoc" : "None" + "pos" : "69.74", + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.70", - "includingLoc" : "None" + "pos" : "69.71", + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.50", - "includingLoc" : "None" + "pos" : "69.70", + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.5", - "includingLoc" : "None" + "pos" : "69.50", + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "72.5", - "includingLoc" : "None" + "pos" : "69.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.8", - "includingLoc" : "None" + "pos" : "72.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.14", - "includingLoc" : "None" + "pos" : "75.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.22", - "includingLoc" : "None" + "pos" : "75.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.33", - "includingLoc" : "None" + "pos" : "75.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "75.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.17", - "includingLoc" : "None" + "pos" : "75.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.5", - "includingLoc" : "None" + "pos" : "75.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.8", - "includingLoc" : "None" + "pos" : "75.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.14", - "includingLoc" : "None" + "pos" : "76.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.23", - "includingLoc" : "None" + "pos" : "76.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "76.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.17", - "includingLoc" : "None" + "pos" : "76.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.5", - "includingLoc" : "None" + "pos" : "76.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.8", - "includingLoc" : "None" + "pos" : "76.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.14", - "includingLoc" : "None" + "pos" : "79.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.23", - "includingLoc" : "None" + "pos" : "79.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "79.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.17", - "includingLoc" : "None" + "pos" : "79.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.5", - "includingLoc" : "None" + "pos" : "79.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.8", - "includingLoc" : "None" + "pos" : "79.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.17", - "includingLoc" : "None" + "pos" : "82.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "82.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.11", - "includingLoc" : "None" + "pos" : "82.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.5", - "includingLoc" : "None" + "pos" : "82.11", + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.8", - "includingLoc" : "None" + "pos" : "82.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.14", - "includingLoc" : "None" + "pos" : "85.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.22", - "includingLoc" : "None" + "pos" : "85.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "85.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.5", - "includingLoc" : "None" + "pos" : "85.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "85.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "88.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "88.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "88.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "60.3", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "62.16", - "includingLoc" : "None" + "pos" : "60.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "129" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "62.20", - "includingLoc" : "None" + "pos" : "62.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "130" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "62.5", - "includingLoc" : "None" + "pos" : "62.20", + "includingLoc" : "None", + "expandingLoc" : "None" }, "131" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "63.15", - "includingLoc" : "None" + "pos" : "62.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "132" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "63.19", - "includingLoc" : "None" + "pos" : "63.15", + "includingLoc" : "None", + "expandingLoc" : "None" }, "133" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "63.5", - "includingLoc" : "None" + "pos" : "63.19", + "includingLoc" : "None", + "expandingLoc" : "None" }, "134" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.18", - "includingLoc" : "None" + "pos" : "63.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "135" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.22", - "includingLoc" : "None" + "pos" : "66.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "136" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.33", - "includingLoc" : "None" + "pos" : "66.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "137" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "66.33", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "138" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.13", - "includingLoc" : "None" + "pos" : "66.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "139" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.5", - "includingLoc" : "None" + "pos" : "66.13", + "includingLoc" : "None", + "expandingLoc" : "None" }, "140" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.19", - "includingLoc" : "None" + "pos" : "66.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "141" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.27", - "includingLoc" : "None" + "pos" : "69.19", + "includingLoc" : "None", + "expandingLoc" : "None" }, "142" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.31", - "includingLoc" : "None" + "pos" : "69.27", + "includingLoc" : "None", + "expandingLoc" : "None" }, "143" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.42", - "includingLoc" : "None" + "pos" : "69.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "144" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "69.42", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "145" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.22", - "includingLoc" : "None" + "pos" : "69.42", + "includingLoc" : "None", + "expandingLoc" : "None" }, "146" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.55", - "includingLoc" : "None" + "pos" : "69.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "147" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.59", - "includingLoc" : "None" + "pos" : "69.55", + "includingLoc" : "None", + "expandingLoc" : "None" }, "148" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.70", - "includingLoc" : "None" + "pos" : "69.59", + "includingLoc" : "None", + "expandingLoc" : "None" }, "149" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.73", - "includingLoc" : "None" + "pos" : "69.71", + "includingLoc" : "None", + "expandingLoc" : "None" }, "150" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.70", - "includingLoc" : "None" + "pos" : "69.74", + "includingLoc" : "None", + "expandingLoc" : "None" }, "151" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.50", - "includingLoc" : "None" + "pos" : "69.71", + "includingLoc" : "None", + "expandingLoc" : "None" }, "152" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.5", - "includingLoc" : "None" + "pos" : "69.70", + "includingLoc" : "None", + "expandingLoc" : "None" }, "153" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "72.5", - "includingLoc" : "None" + "pos" : "69.50", + "includingLoc" : "None", + "expandingLoc" : "None" }, "154" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.8", - "includingLoc" : "None" + "pos" : "69.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "155" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.14", - "includingLoc" : "None" + "pos" : "72.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.22", - "includingLoc" : "None" + "pos" : "75.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "157" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.33", - "includingLoc" : "None" + "pos" : "75.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "158" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.33", - "includingLoc" : "None" + "pos" : "75.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "159" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.17", - "includingLoc" : "None" + "pos" : "75.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.5", - "includingLoc" : "None" + "pos" : "75.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "161" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.8", - "includingLoc" : "None" + "pos" : "75.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "162" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.14", - "includingLoc" : "None" + "pos" : "75.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "163" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.23", - "includingLoc" : "None" + "pos" : "76.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.23", - "includingLoc" : "None" + "pos" : "76.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "165" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.17", - "includingLoc" : "None" + "pos" : "76.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "166" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.5", - "includingLoc" : "None" + "pos" : "76.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "167" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.8", - "includingLoc" : "None" + "pos" : "76.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "168" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.14", - "includingLoc" : "None" + "pos" : "76.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "169" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.23", - "includingLoc" : "None" + "pos" : "79.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "170" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.23", - "includingLoc" : "None" + "pos" : "79.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "171" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.17", - "includingLoc" : "None" + "pos" : "79.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "172" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.5", - "includingLoc" : "None" + "pos" : "79.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "173" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.8", - "includingLoc" : "None" + "pos" : "79.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "174" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.17", - "includingLoc" : "None" + "pos" : "79.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "175" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.17", - "includingLoc" : "None" + "pos" : "82.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "176" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.11", - "includingLoc" : "None" + "pos" : "82.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "177" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.5", - "includingLoc" : "None" + "pos" : "82.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "178" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.8", - "includingLoc" : "None" + "pos" : "82.11", + "includingLoc" : "None", + "expandingLoc" : "None" }, "179" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.14", - "includingLoc" : "None" + "pos" : "82.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "180" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.22", - "includingLoc" : "None" + "pos" : "85.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "181" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.22", - "includingLoc" : "None" + "pos" : "85.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "182" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.5", - "includingLoc" : "None" + "pos" : "85.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "183" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "85.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "184" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "85.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "185" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "186" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "187" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "188" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "189" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "190" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "191" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "192" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "193" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "194" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "195" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "60.3", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "196" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "62.16", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "197" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "62.20", - "includingLoc" : "None" + "pos" : "60.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "198" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "62.5", - "includingLoc" : "None" + "pos" : "62.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "199" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "63.15", - "includingLoc" : "None" + "pos" : "62.20", + "includingLoc" : "None", + "expandingLoc" : "None" }, "200" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "63.19", - "includingLoc" : "None" + "pos" : "62.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "201" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "63.5", - "includingLoc" : "None" + "pos" : "63.15", + "includingLoc" : "None", + "expandingLoc" : "None" }, "202" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.18", - "includingLoc" : "None" + "pos" : "63.19", + "includingLoc" : "None", + "expandingLoc" : "None" }, "203" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.22", - "includingLoc" : "None" + "pos" : "63.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "204" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.33", - "includingLoc" : "None" + "pos" : "66.18", + "includingLoc" : "None", + "expandingLoc" : "None" }, "205" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.33", - "includingLoc" : "None" + "pos" : "66.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "206" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.13", - "includingLoc" : "None" + "pos" : "66.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "207" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "66.5", - "includingLoc" : "None" + "pos" : "66.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "208" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.19", - "includingLoc" : "None" + "pos" : "66.13", + "includingLoc" : "None", + "expandingLoc" : "None" }, "209" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.27", - "includingLoc" : "None" + "pos" : "66.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "210" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.31", - "includingLoc" : "None" + "pos" : "69.19", + "includingLoc" : "None", + "expandingLoc" : "None" }, "211" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.42", - "includingLoc" : "None" + "pos" : "69.27", + "includingLoc" : "None", + "expandingLoc" : "None" }, "212" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.42", - "includingLoc" : "None" + "pos" : "69.31", + "includingLoc" : "None", + "expandingLoc" : "None" }, "213" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.22", - "includingLoc" : "None" + "pos" : "69.42", + "includingLoc" : "None", + "expandingLoc" : "None" }, "214" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.55", - "includingLoc" : "None" + "pos" : "69.42", + "includingLoc" : "None", + "expandingLoc" : "None" }, "215" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.59", - "includingLoc" : "None" + "pos" : "69.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "216" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.70", - "includingLoc" : "None" + "pos" : "69.55", + "includingLoc" : "None", + "expandingLoc" : "None" }, "217" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.73", - "includingLoc" : "None" + "pos" : "69.59", + "includingLoc" : "None", + "expandingLoc" : "None" }, "218" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.70", - "includingLoc" : "None" + "pos" : "69.71", + "includingLoc" : "None", + "expandingLoc" : "None" }, "219" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.50", - "includingLoc" : "None" + "pos" : "69.74", + "includingLoc" : "None", + "expandingLoc" : "None" }, "220" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "69.5", - "includingLoc" : "None" + "pos" : "69.71", + "includingLoc" : "None", + "expandingLoc" : "None" }, "221" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "72.5", - "includingLoc" : "None" + "pos" : "69.70", + "includingLoc" : "None", + "expandingLoc" : "None" }, "222" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.8", - "includingLoc" : "None" + "pos" : "69.50", + "includingLoc" : "None", + "expandingLoc" : "None" }, "223" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.14", - "includingLoc" : "None" + "pos" : "69.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "224" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.22", - "includingLoc" : "None" + "pos" : "72.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "225" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.33", - "includingLoc" : "None" + "pos" : "75.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "226" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.33", - "includingLoc" : "None" + "pos" : "75.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "227" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.17", - "includingLoc" : "None" + "pos" : "75.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "228" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "75.5", - "includingLoc" : "None" + "pos" : "75.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "229" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.8", - "includingLoc" : "None" + "pos" : "75.33", + "includingLoc" : "None", + "expandingLoc" : "None" }, "230" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.14", - "includingLoc" : "None" + "pos" : "75.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "231" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.23", - "includingLoc" : "None" + "pos" : "75.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "232" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.23", - "includingLoc" : "None" + "pos" : "76.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "233" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.17", - "includingLoc" : "None" + "pos" : "76.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "234" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "76.5", - "includingLoc" : "None" + "pos" : "76.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "235" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.8", - "includingLoc" : "None" + "pos" : "76.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "236" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.14", - "includingLoc" : "None" + "pos" : "76.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "237" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.23", - "includingLoc" : "None" + "pos" : "76.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "238" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.23", - "includingLoc" : "None" + "pos" : "79.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "239" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.17", - "includingLoc" : "None" + "pos" : "79.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "240" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "79.5", - "includingLoc" : "None" + "pos" : "79.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "241" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.8", - "includingLoc" : "None" + "pos" : "79.23", + "includingLoc" : "None", + "expandingLoc" : "None" }, "242" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.17", - "includingLoc" : "None" + "pos" : "79.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "243" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.17", - "includingLoc" : "None" + "pos" : "79.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "244" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.11", - "includingLoc" : "None" + "pos" : "82.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "245" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "82.5", - "includingLoc" : "None" + "pos" : "82.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "246" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.8", - "includingLoc" : "None" + "pos" : "82.17", + "includingLoc" : "None", + "expandingLoc" : "None" }, "247" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.14", - "includingLoc" : "None" + "pos" : "82.11", + "includingLoc" : "None", + "expandingLoc" : "None" }, "248" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.22", - "includingLoc" : "None" + "pos" : "82.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "249" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.22", - "includingLoc" : "None" + "pos" : "85.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "250" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "85.5", - "includingLoc" : "None" + "pos" : "85.14", + "includingLoc" : "None", + "expandingLoc" : "None" }, "251" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "85.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "252" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "85.22", + "includingLoc" : "None", + "expandingLoc" : "None" }, "253" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "85.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "254" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "255" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "256" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "88.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "257" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "258" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "259" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.8", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "260" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "88.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "261" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.16", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "262" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "88.5", - "includingLoc" : "None" + "pos" : "88.8", + "includingLoc" : "None", + "expandingLoc" : "None" }, "263" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "60.3", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "264" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "5.1", - "includingLoc" : "None" + "pos" : "88.16", + "includingLoc" : "None", + "expandingLoc" : "None" }, "265" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "5.1", - "includingLoc" : "None" + "pos" : "88.5", + "includingLoc" : "None", + "expandingLoc" : "None" }, "266" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", - "pos" : "5.1", - "includingLoc" : "None" + "pos" : "60.3", + "includingLoc" : "None", + "expandingLoc" : "None" }, "267" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "268" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "269" : { "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "270" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "271" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "272" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "273" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "10.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "274" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "10.37", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "275" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "276" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "277" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "278" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "279" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "280" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-syntax/test/state-machine.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -2859,13 +3206,13 @@ "parentSymbolMap" : { "6" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } }, "8" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } }, @@ -2889,49 +3236,49 @@ }, "15" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } }, "27" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } }, "28" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } }, "30" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } }, - "265" : { + "268" : { "Enum" : { - "nodeId" : 269, + "nodeId" : 272, "unqualifiedName" : "State" } }, - "266" : { + "269" : { "Enum" : { - "nodeId" : 269, + "nodeId" : 272, "unqualifiedName" : "State" } }, - "267" : { + "270" : { "Enum" : { - "nodeId" : 269, + "nodeId" : 272, "unqualifiedName" : "State" } }, - "269" : { + "272" : { "StateMachine" : { - "nodeId" : 264, + "nodeId" : 267, "unqualifiedName" : "M" } } @@ -2963,7 +3310,7 @@ } } }, - "264" : { + "267" : { "map" : { "Type" : { "map" : { @@ -2987,7 +3334,7 @@ }, "State" : { "Enum" : { - "nodeId" : 269, + "nodeId" : 272, "unqualifiedName" : "State" } }, @@ -3015,7 +3362,7 @@ }, "State" : { "Enum" : { - "nodeId" : 269, + "nodeId" : 272, "unqualifiedName" : "State" } }, @@ -3029,25 +3376,25 @@ } } }, - "269" : { + "272" : { "map" : { "Value" : { "map" : { "S1" : { "EnumConstant" : { - "nodeId" : 266, + "nodeId" : 269, "unqualifiedName" : "S1" } }, "S2_S3" : { "EnumConstant" : { - "nodeId" : 267, + "nodeId" : 270, "unqualifiedName" : "S2_S3" } }, "__FPRIME_UNINITIALIZED" : { "EnumConstant" : { - "nodeId" : 265, + "nodeId" : 268, "unqualifiedName" : "__FPRIME_UNINITIALIZED" } } @@ -3176,7 +3523,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -3538,10 +3886,10 @@ } } }, - "264" : { + "267" : { "Enum" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3553,10 +3901,10 @@ "default" : "None" } }, - "265" : { + "268" : { "Enum" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3568,10 +3916,10 @@ "default" : "None" } }, - "266" : { + "269" : { "Enum" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3583,10 +3931,10 @@ "default" : "None" } }, - "267" : { + "270" : { "Enum" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3598,7 +3946,7 @@ "default" : "None" } }, - "268" : { + "271" : { "Int" : { "PrimitiveInt" : { "kind" : { @@ -3609,10 +3957,10 @@ } } }, - "269" : { + "272" : { "Enum" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3629,7 +3977,7 @@ ], "t" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3644,7 +3992,7 @@ } } }, - "270" : { + "273" : { "AliasType" : { "node" : { "astNodeId" : 1 @@ -3662,7 +4010,7 @@ } } }, - "271" : { + "274" : { "Int" : { "Integer" : { @@ -3677,23 +4025,29 @@ "unqualifiedName" : "X" } }, - "264" : { + "267" : { "Enum" : { - "nodeId" : 269, + "nodeId" : 272, "unqualifiedName" : "State" } }, - "270" : { + "273" : { "AliasType" : { "nodeId" : 1, "unqualifiedName" : "FwSizeStoreType" } }, - "271" : { + "274" : { "Constant" : { "nodeId" : 3, "unqualifiedName" : "FW_FIXED_LENGTH_STRING_SIZE" } + }, + "275" : { + "StateMachine" : { + "nodeId" : 267, + "unqualifiedName" : "M" + } } }, "valueMap" : { @@ -3811,7 +4165,7 @@ "value" : 3 } }, - "265" : { + "268" : { "EnumConstant" : { "value" : [ "__FPRIME_UNINITIALIZED", @@ -3819,7 +4173,7 @@ ], "t" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3832,7 +4186,7 @@ } } }, - "266" : { + "269" : { "EnumConstant" : { "value" : [ "S1", @@ -3840,7 +4194,7 @@ ], "t" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3853,7 +4207,7 @@ } } }, - "267" : { + "270" : { "EnumConstant" : { "value" : [ "S2_S3", @@ -3861,7 +4215,7 @@ ], "t" : { "node" : { - "astNodeId" : 269 + "astNodeId" : 272 }, "repType" : { "kind" : { @@ -3874,42 +4228,42 @@ } } }, - "271" : { + "274" : { "Integer" : { "value" : 256 } } }, "stateMachineMap" : { - "264" : { + "267" : { "aNode" : { - "astNodeId" : 264 + "astNodeId" : 267 }, "sma" : { "symbol" : { "node" : { - "astNodeId" : 264 + "astNodeId" : 267 } }, "symbolScopeMap" : { - "221" : { + "224" : { "map" : { } }, - "263" : { + "266" : { "map" : { "State" : { "map" : { "C" : { "Choice" : { - "nodeId" : 220, + "nodeId" : 223, "unqualifiedName" : "C" } }, "S3" : { "State" : { - "nodeId" : 221, + "nodeId" : 224, "unqualifiedName" : "S3" } } @@ -3950,197 +4304,197 @@ }, "56" : { "State" : { - "nodeId" : 263, + "nodeId" : 266, "unqualifiedName" : "S2" } }, - "196" : { + "198" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" } }, - "197" : { + "199" : { "Action" : { "nodeId" : 32, "unqualifiedName" : "a2" } }, - "199" : { + "201" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" } }, - "200" : { + "202" : { "Action" : { "nodeId" : 32, "unqualifiedName" : "a2" } }, - "202" : { + "204" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" } }, - "203" : { + "205" : { "Action" : { "nodeId" : 32, "unqualifiedName" : "a2" } }, - "205" : { + "207" : { "State" : { - "nodeId" : 221, + "nodeId" : 224, "unqualifiedName" : "S3" } }, - "208" : { + "210" : { "Guard" : { "nodeId" : 36, "unqualifiedName" : "g1" } }, - "209" : { + "211" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" } }, - "210" : { + "212" : { "Action" : { "nodeId" : 32, "unqualifiedName" : "a2" } }, - "212" : { + "214" : { "State" : { "nodeId" : 59, "unqualifiedName" : "S1" } }, - "214" : { + "216" : { "Action" : { "nodeId" : 32, "unqualifiedName" : "a2" } }, - "215" : { + "217" : { "Action" : { "nodeId" : 33, "unqualifiedName" : "a3" } }, - "216" : { + "220" : { "State" : { - "nodeId" : 263, + "nodeId" : 266, "unqualifiedName" : "S2" } }, - "218" : { + "221" : { "State" : { - "nodeId" : 221, + "nodeId" : 224, "unqualifiedName" : "S3" } }, - "222" : { + "225" : { "Signal" : { "nodeId" : 40, "unqualifiedName" : "s1" } }, - "223" : { + "226" : { "Guard" : { "nodeId" : 36, "unqualifiedName" : "g1" } }, - "224" : { + "227" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" } }, - "226" : { + "229" : { "Choice" : { - "nodeId" : 220, + "nodeId" : 223, "unqualifiedName" : "C" } }, - "229" : { + "232" : { "Signal" : { "nodeId" : 41, "unqualifiedName" : "s2" } }, - "230" : { + "233" : { "Guard" : { "nodeId" : 36, "unqualifiedName" : "g1" } }, - "232" : { + "235" : { "State" : { "nodeId" : 59, "unqualifiedName" : "S1" } }, - "235" : { + "238" : { "Signal" : { "nodeId" : 42, "unqualifiedName" : "s3" } }, - "236" : { + "239" : { "Guard" : { "nodeId" : 36, "unqualifiedName" : "g1" } }, - "238" : { + "241" : { "State" : { "nodeId" : 59, "unqualifiedName" : "S1" } }, - "241" : { + "244" : { "Signal" : { "nodeId" : 43, "unqualifiedName" : "s4" } }, - "243" : { + "246" : { "State" : { "nodeId" : 59, "unqualifiedName" : "S1" } }, - "246" : { + "249" : { "Signal" : { "nodeId" : 44, "unqualifiedName" : "s5" } }, - "247" : { + "250" : { "Guard" : { "nodeId" : 36, "unqualifiedName" : "g1" } }, - "249" : { + "252" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" } }, - "259" : { + "262" : { "Signal" : { "nodeId" : 45, "unqualifiedName" : "s6" } }, - "261" : { + "264" : { "Action" : { "nodeId" : 31, "unqualifiedName" : "a1" @@ -4162,16 +4516,16 @@ } }, "arcMap" : { - "220" : [ + "223" : [ { "Choice" : { "startChoice" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 223 } }, "aNode" : { - "astNodeId" : 213 + "astNodeId" : 215 }, "endNode" : { "soc" : { @@ -4190,18 +4544,18 @@ "Choice" : { "startChoice" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 223 } }, "aNode" : { - "astNodeId" : 219 + "astNodeId" : 222 }, "endNode" : { "soc" : { "State" : { "symbol" : { "node" : { - "astNodeId" : 221 + "astNodeId" : 224 } } } @@ -4210,25 +4564,25 @@ } } ], - "221" : [ + "224" : [ ], - "263" : [ + "266" : [ { - "State" : { + "Initial" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 228 + "astNodeId" : 209 }, "endNode" : { "soc" : { - "Choice" : { + "State" : { "symbol" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 224 } } } @@ -4237,21 +4591,21 @@ } }, { - "Initial" : { + "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 207 + "astNodeId" : 231 }, "endNode" : { "soc" : { - "State" : { + "Choice" : { "symbol" : { "node" : { - "astNodeId" : 221 + "astNodeId" : 223 } } } @@ -4263,11 +4617,11 @@ "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 245 + "astNodeId" : 237 }, "endNode" : { "soc" : { @@ -4286,11 +4640,11 @@ "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 234 + "astNodeId" : 248 }, "endNode" : { "soc" : { @@ -4309,11 +4663,11 @@ "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 240 + "astNodeId" : 243 }, "endNode" : { "soc" : { @@ -4368,7 +4722,7 @@ "State" : { "symbol" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } } } @@ -4396,23 +4750,23 @@ } }, "arcMap" : { - "220" : [ + "223" : [ { "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 228 + "astNodeId" : 231 }, "endNode" : { "soc" : { "Choice" : { "symbol" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 223 } } } @@ -4421,23 +4775,23 @@ } } ], - "221" : [ + "224" : [ { "Choice" : { "startChoice" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 223 } }, "aNode" : { - "astNodeId" : 219 + "astNodeId" : 222 }, "endNode" : { "soc" : { "State" : { "symbol" : { "node" : { - "astNodeId" : 221 + "astNodeId" : 224 } } } @@ -4449,18 +4803,18 @@ "Initial" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 207 + "astNodeId" : 209 }, "endNode" : { "soc" : { "State" : { "symbol" : { "node" : { - "astNodeId" : 221 + "astNodeId" : 224 } } } @@ -4469,7 +4823,7 @@ } } ], - "263" : [ + "266" : [ { "Choice" : { "startChoice" : { @@ -4485,7 +4839,7 @@ "State" : { "symbol" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } } } @@ -4498,14 +4852,14 @@ ], "59" : [ { - "Choice" : { - "startChoice" : { + "State" : { + "startState" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 213 + "astNodeId" : 237 }, "endNode" : { "soc" : { @@ -4521,14 +4875,14 @@ } }, { - "State" : { - "startState" : { + "Choice" : { + "startChoice" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 58 } }, "aNode" : { - "astNodeId" : 245 + "astNodeId" : 54 }, "endNode" : { "soc" : { @@ -4547,11 +4901,11 @@ "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 234 + "astNodeId" : 243 }, "endNode" : { "soc" : { @@ -4570,11 +4924,11 @@ "Choice" : { "startChoice" : { "node" : { - "astNodeId" : 58 + "astNodeId" : 223 } }, "aNode" : { - "astNodeId" : 54 + "astNodeId" : 215 }, "endNode" : { "soc" : { @@ -4593,11 +4947,11 @@ "State" : { "startState" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } }, "aNode" : { - "astNodeId" : 240 + "astNodeId" : 248 }, "endNode" : { "soc" : { @@ -4616,10 +4970,10 @@ } }, "typeOptionMap" : { - "198" : "None", - "201" : "None", - "207" : "None", - "220" : { + "200" : "None", + "203" : "None", + "209" : "None", + "223" : { "Some" : { "Int" : { "PrimitiveInt" : { @@ -4632,7 +4986,7 @@ } } }, - "228" : { + "231" : { "Some" : { "Int" : { "PrimitiveInt" : { @@ -4645,17 +4999,17 @@ } } }, - "234" : "None", - "240" : "None", - "245" : "None", - "250" : "None", - "262" : "None", + "237" : "None", + "243" : "None", + "248" : "None", + "253" : "None", + "265" : "None", "50" : "None", "58" : "None" }, "flattenedStateTransitionMap" : { "40" : { - "221" : { + "224" : { "guardOpt" : { "Some" : { "node" : { @@ -4676,7 +5030,7 @@ "Choice" : { "symbol" : { "node" : { - "astNodeId" : 220 + "astNodeId" : 223 } } } @@ -4686,7 +5040,7 @@ } }, "41" : { - "221" : { + "224" : { "guardOpt" : { "Some" : { "node" : { @@ -4722,7 +5076,7 @@ } }, "42" : { - "221" : { + "224" : { "guardOpt" : { "Some" : { "node" : { @@ -4758,7 +5112,7 @@ } }, "43" : { - "221" : { + "224" : { "guardOpt" : "None", "transition" : { "External" : { @@ -4788,7 +5142,7 @@ } }, "44" : { - "221" : { + "224" : { "guardOpt" : { "Some" : { "node" : { @@ -4810,7 +5164,7 @@ } }, "45" : { - "221" : { + "224" : { "guardOpt" : "None", "transition" : { "Internal" : { @@ -4827,7 +5181,7 @@ } }, "flattenedChoiceTransitionMap" : { - "213" : { + "215" : { "External" : { "actions" : [ { @@ -4862,7 +5216,7 @@ } } }, - "219" : { + "222" : { "External" : { "actions" : [ { @@ -4880,7 +5234,7 @@ "State" : { "symbol" : { "node" : { - "astNodeId" : 221 + "astNodeId" : 224 } } } @@ -4910,7 +5264,7 @@ "State" : { "symbol" : { "node" : { - "astNodeId" : 263 + "astNodeId" : 266 } } } diff --git a/compiler/tools/fpp-to-json/test/syntaxOnly.ref.txt b/compiler/tools/fpp-to-json/test/syntaxOnly.ref.txt index 351bb751bf..6ed554741a 100644 --- a/compiler/tools/fpp-to-json/test/syntaxOnly.ref.txt +++ b/compiler/tools/fpp-to-json/test/syntaxOnly.ref.txt @@ -562,7 +562,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 90 @@ -602,7 +603,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 93 @@ -739,7 +741,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 105 @@ -785,7 +788,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 109 @@ -831,7 +835,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 113 @@ -877,7 +882,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 117 @@ -923,7 +929,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 121 @@ -969,7 +976,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 125 @@ -1015,7 +1023,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 129 @@ -1071,7 +1080,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "g" + "name" : "g", + "isAbsolute" : false } }, "id" : 665 @@ -1098,7 +1108,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "h" + "name" : "h", + "isAbsolute" : false } }, "id" : 668 @@ -1125,7 +1136,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, "id" : 671 @@ -1152,7 +1164,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "j" + "name" : "j", + "isAbsolute" : false } }, "id" : 674 @@ -1179,7 +1192,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "k" + "name" : "k", + "isAbsolute" : false } }, "id" : 677 @@ -1206,7 +1220,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "l" + "name" : "l", + "isAbsolute" : false } }, "id" : 680 @@ -1233,7 +1248,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "m" + "name" : "m", + "isAbsolute" : false } }, "id" : 683 @@ -1268,7 +1284,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "g" + "name" : "g", + "isAbsolute" : false } }, "id" : 687 @@ -1292,7 +1309,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "h" + "name" : "h", + "isAbsolute" : false } }, "id" : 691 @@ -1319,7 +1337,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "h" + "name" : "h", + "isAbsolute" : false } }, "id" : 695 @@ -1343,7 +1362,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, "id" : 699 @@ -1370,7 +1390,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, "id" : 703 @@ -1394,7 +1415,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "j" + "name" : "j", + "isAbsolute" : false } }, "id" : 707 @@ -1421,7 +1443,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "j" + "name" : "j", + "isAbsolute" : false } }, "id" : 711 @@ -1445,7 +1468,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "k" + "name" : "k", + "isAbsolute" : false } }, "id" : 715 @@ -1472,7 +1496,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "k" + "name" : "k", + "isAbsolute" : false } }, "id" : 719 @@ -1496,7 +1521,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "l" + "name" : "l", + "isAbsolute" : false } }, "id" : 723 @@ -1523,7 +1549,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "l" + "name" : "l", + "isAbsolute" : false } }, "id" : 727 @@ -1547,7 +1574,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "m" + "name" : "m", + "isAbsolute" : false } }, "id" : 731 @@ -1594,7 +1622,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "g" + "name" : "g", + "isAbsolute" : false } }, "id" : 735 @@ -1630,7 +1659,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "h" + "name" : "h", + "isAbsolute" : false } }, "id" : 738 @@ -1666,7 +1696,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, "id" : 741 @@ -1702,7 +1733,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "j" + "name" : "j", + "isAbsolute" : false } }, "id" : 744 @@ -1738,7 +1770,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "k" + "name" : "k", + "isAbsolute" : false } }, "id" : 747 @@ -1774,7 +1807,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "l" + "name" : "l", + "isAbsolute" : false } }, "id" : 750 @@ -1810,7 +1844,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "m" + "name" : "m", + "isAbsolute" : false } }, "id" : 753 @@ -1879,7 +1914,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "g" + "name" : "g", + "isAbsolute" : false } }, "id" : 905 @@ -1906,7 +1942,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "h" + "name" : "h", + "isAbsolute" : false } }, "id" : 909 @@ -1933,7 +1970,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, "id" : 913 @@ -1970,7 +2008,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "j" + "name" : "j", + "isAbsolute" : false } }, "id" : 918 @@ -1993,7 +2032,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "k" + "name" : "k", + "isAbsolute" : false } }, "id" : 922 @@ -2016,7 +2056,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "l" + "name" : "l", + "isAbsolute" : false } }, "id" : 926 @@ -2074,4657 +2115,5588 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "8.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "15.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "13.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "18.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "18.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "43.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "46.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "49.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "52.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "55.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "58.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "61.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "64.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "3.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "8.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "15.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "13.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "18.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "18.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "43.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "46.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "49.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "52.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "55.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "58.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "61.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "64.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "3.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "9.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "8.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "14.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "15.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "13.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "18.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "18.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "43.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "46.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "49.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "52.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "55.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "58.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "61.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "64.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "67.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "3.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "73.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "76.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "76.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "76.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "77.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "77.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "77.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "78.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "79.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "80.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "80.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "80.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "80.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "80.22", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "80.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "75.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "83.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "83.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "83.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "83.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "84.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "84.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "84.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "84.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "85.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "85.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "85.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "85.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "86.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "86.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "86.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "86.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "87.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "87.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "87.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "87.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "124" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "88.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "125" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "88.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "126" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "88.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "127" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "88.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "128" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "89.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "129" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "89.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "130" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "89.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "131" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "89.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "132" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "133" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "134" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "135" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "136" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "137" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "138" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "139" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "140" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "141" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "142" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "143" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "144" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "145" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "146" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "147" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "148" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "149" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "150" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "151" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "152" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "153" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "154" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "155" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "156" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "157" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "158" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "159" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "160" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "161" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "162" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "163" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "164" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "165" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "166" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "167" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "168" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "169" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "170" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "171" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "172" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "173" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "174" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "175" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "176" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "177" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "178" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "179" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "180" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "181" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "182" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "183" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "184" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "185" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "186" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "187" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "188" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "189" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "190" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "191" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "192" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "193" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "194" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "195" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "196" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "197" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "198" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "199" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "200" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "201" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "100.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "202" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "203" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "204" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "205" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "206" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "207" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "208" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "209" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "210" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "211" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "212" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "213" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "214" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "215" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "216" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "217" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "218" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "219" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "220" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "221" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "222" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "223" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "224" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "225" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "226" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "227" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "228" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "229" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "230" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "231" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "232" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "233" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "234" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "235" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "236" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "237" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "238" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "239" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "240" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "241" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "242" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "243" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "244" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "245" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "246" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "247" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "248" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "249" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "250" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "251" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "252" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "253" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "254" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "255" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "256" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "257" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "258" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "259" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "260" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "261" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "262" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "263" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "264" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "265" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "266" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "267" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "268" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "269" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "270" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "271" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "272" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "273" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "274" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "275" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "276" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "277" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "278" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "279" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "280" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "281" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "282" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "283" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "284" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "285" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "286" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "287" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "288" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "289" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "290" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "291" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "292" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "293" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "294" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "295" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "296" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "297" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "298" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "299" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "300" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "301" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "302" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "303" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "304" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "305" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "306" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "307" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "308" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "309" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "310" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "311" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "312" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "313" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "314" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "315" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "316" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "317" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "318" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "319" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "320" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "321" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "322" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "323" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "324" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "325" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "326" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "327" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "328" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "329" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "330" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "331" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "332" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "333" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "334" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "335" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "336" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "337" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "338" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "339" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "340" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "341" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "342" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "343" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "344" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "345" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "346" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "347" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "348" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "349" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "350" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "351" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "352" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "353" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "354" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "355" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "356" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "357" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "358" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "359" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "360" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "361" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "362" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "363" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "364" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "365" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "366" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "367" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "368" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "369" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "370" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "371" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "372" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "373" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "374" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "375" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "376" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "377" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "378" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "379" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "380" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "381" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "382" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "383" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "384" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "385" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "386" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "387" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "388" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "389" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "390" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "391" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "392" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "393" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "394" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "395" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "396" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "397" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "91.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "398" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "399" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "400" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "401" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "402" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "403" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "404" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "405" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "406" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "407" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "408" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "409" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "410" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "411" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "412" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "413" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "414" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "415" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "416" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "417" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "418" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "419" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "420" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "421" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "422" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "423" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "424" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "425" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "426" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "427" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "428" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "429" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "430" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "431" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "432" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "433" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "434" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "435" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "436" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "437" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "438" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "439" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "440" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "441" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "442" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "443" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "444" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "445" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "446" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "447" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "448" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "449" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "450" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "451" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "452" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "453" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "454" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "455" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "456" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "457" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "458" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "459" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "460" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "461" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "462" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "463" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "464" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "465" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "466" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "467" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "100.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "468" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "469" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "470" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "471" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "472" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "473" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "474" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "475" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "476" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "477" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "478" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "479" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "480" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "481" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "482" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "483" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "484" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "485" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "486" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "487" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "488" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "489" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "490" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "491" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "492" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "493" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "494" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "495" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "496" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "497" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "498" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "499" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "500" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "501" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "502" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "503" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "504" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "505" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "506" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "507" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "508" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "509" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "510" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "511" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "512" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "513" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "514" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "515" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "516" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "517" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "518" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "519" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "520" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "521" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "522" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "523" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "524" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "525" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "526" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "527" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "528" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "529" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "530" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "531" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "532" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "533" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "534" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "535" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "536" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "537" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "538" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "539" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "540" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "541" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "542" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "543" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "544" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "545" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "546" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "547" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "548" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "549" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "550" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "551" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "552" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "553" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "554" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "555" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "556" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "557" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "558" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "559" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "560" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "561" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "562" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "563" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "564" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "565" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "566" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "567" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "568" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "569" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "570" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "571" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "572" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "573" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "574" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "575" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "576" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "577" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "578" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "579" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "580" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "581" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "582" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "583" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "584" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "585" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "586" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "587" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "588" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "589" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "590" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "591" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "592" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "593" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "594" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "595" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "596" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "597" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "598" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "599" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "600" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "601" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "602" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "603" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "604" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "605" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "606" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "607" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "608" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "609" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "610" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "611" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "612" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "613" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "614" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "615" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "616" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "617" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "618" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "619" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "620" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "621" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "622" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "623" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "624" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "625" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "626" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "627" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "628" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "629" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "630" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "631" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "632" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "633" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "634" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "635" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "636" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "637" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "638" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "639" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "640" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "641" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "642" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "643" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "644" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "645" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "646" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "647" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "648" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "649" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "650" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "651" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "652" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "653" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "654" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "655" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "656" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "657" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "658" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "659" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "660" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "661" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "662" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "663" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "91.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "664" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "665" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "666" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "92.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "667" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "668" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "669" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "93.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "670" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "671" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "672" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "94.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "673" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "674" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "675" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "95.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "676" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "677" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "678" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "96.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "679" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "680" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "681" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "97.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "682" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "683" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "684" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "98.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "685" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "686" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "687" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "688" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "689" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "690" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "691" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "692" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "101.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "693" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "694" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "695" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "696" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "697" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "698" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "699" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "700" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "102.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "701" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "702" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "703" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "704" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "705" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "706" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "707" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "708" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "103.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "709" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "710" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "711" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "712" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "713" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "714" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "715" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "716" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "104.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "717" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "718" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "719" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "720" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "721" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "722" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "723" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "724" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "105.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "725" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "726" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "727" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "728" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "729" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "730" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "731" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "732" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "106.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "733" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "100.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "734" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "735" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "736" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "109.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "737" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "738" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "739" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "111.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "740" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "741" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "742" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "113.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "743" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "744" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "745" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "115.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "746" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "747" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "748" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "117.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "749" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "750" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "751" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "119.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "752" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "753" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "754" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "121.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "755" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "756" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "757" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "758" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "759" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "760" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "761" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "762" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "763" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "764" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "765" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "766" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "767" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "768" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "769" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "770" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "771" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "772" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "773" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "774" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "775" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "776" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "777" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "778" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "779" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "780" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "781" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "782" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "783" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "784" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "785" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "786" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "787" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "788" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "789" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "790" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "791" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "792" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "793" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "794" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "795" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "796" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "797" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "798" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "799" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "800" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "801" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "802" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "803" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "804" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "805" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "806" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "807" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "808" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "809" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "810" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "811" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "812" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "813" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "814" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "815" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "816" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "817" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "818" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "819" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "820" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "821" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "822" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "823" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "824" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "825" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "826" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "827" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "828" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "829" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "830" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "831" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "832" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "833" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "834" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "835" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "836" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "837" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "838" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "839" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "840" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "841" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "842" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "843" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "844" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "845" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "846" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "847" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "848" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "849" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "850" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "851" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "852" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "853" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "854" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "855" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "856" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "857" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "858" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "859" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "860" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "861" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "862" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "863" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "864" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "865" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "866" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "867" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "868" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "869" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "870" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "871" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "872" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "873" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "874" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "875" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "876" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "877" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "878" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "879" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "880" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "881" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "882" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "883" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "884" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "885" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "886" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "887" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "888" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "889" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "890" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "891" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "892" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "893" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "894" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "895" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "896" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "897" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "898" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "899" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "900" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "901" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "902" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.32", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "903" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "904" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "905" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "906" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "126.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "907" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "908" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "909" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "910" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "127.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "911" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "912" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "913" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "914" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "128.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "915" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "125.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "916" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "917" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "918" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "919" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "132.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "920" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "921" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "922" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "923" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "133.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "924" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "925" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "926" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "927" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "134.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "928" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "123.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "929" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "91.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "930" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/syntaxOnly.fpp", "pos" : "72.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } diff --git a/compiler/tools/fpp-to-json/test/telemetry.ref.txt b/compiler/tools/fpp-to-json/test/telemetry.ref.txt index 69599c34d5..f033dde9de 100644 --- a/compiler/tools/fpp-to-json/test/telemetry.ref.txt +++ b/compiler/tools/fpp-to-json/test/telemetry.ref.txt @@ -643,7 +643,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "TlmLimits" + "name" : "TlmLimits", + "isAbsolute" : false } }, "id" : 65 @@ -709,7 +710,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "i" + "name" : "i", + "isAbsolute" : false } }, "id" : 95 @@ -756,497 +758,668 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "19.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "19.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "20.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "21.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "21.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "21.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "21.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "21.28", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "21.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "19.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "24.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "24.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "26.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.11", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.30", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.38", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "27.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "28.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "28.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "28.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "28.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "28.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "28.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "24.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "31.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "33.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "31.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "31.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "33.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "31.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "31.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "33.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.19", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.29", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "34.36", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "31.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "39.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "40.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "40.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "40.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "38.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "43.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "43.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "43.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "43.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "46.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "46.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "46.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "45.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "99" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "100" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "101" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "102" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "103" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "104" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "105" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "106" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "107" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "108" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "109" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "9.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "110" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1986,22 +2159,25 @@ "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ ], "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 67 - } + "InterfaceComponentInstance" : 67 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetry.fpp", "pos" : "47.9", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -2025,6 +2201,8 @@ "connectionMap" : { }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { }, @@ -2039,9 +2217,7 @@ "unconnectedPortSet" : [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 67 - } + "InterfaceComponentInstance" : 67 }, "portInstance" : { "Special" : { @@ -2074,9 +2250,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 67 - } + "InterfaceComponentInstance" : 67 }, "portInstance" : { "Special" : { @@ -2295,6 +2469,18 @@ "nodeId" : 67, "unqualifiedName" : "i" } + }, + "99" : { + "Module" : { + "nodeId" : 63, + "unqualifiedName" : "Fw" + } + }, + "100" : { + "Module" : { + "nodeId" : 63, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { diff --git a/compiler/tools/fpp-to-json/test/telemetryPackets.ref.txt b/compiler/tools/fpp-to-json/test/telemetryPackets.ref.txt index cc8a55729e..513fc03ebe 100644 --- a/compiler/tools/fpp-to-json/test/telemetryPackets.ref.txt +++ b/compiler/tools/fpp-to-json/test/telemetryPackets.ref.txt @@ -122,7 +122,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 7 @@ -162,7 +163,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "P" + "name" : "P", + "isAbsolute" : false } }, "id" : 10 @@ -299,7 +301,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 22 @@ -345,7 +348,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "C" + "name" : "C", + "isAbsolute" : false } }, "id" : 26 @@ -402,7 +406,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 30 @@ -429,7 +434,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 33 @@ -495,7 +501,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c1" + "name" : "c1", + "isAbsolute" : false } }, "id" : 105 @@ -532,7 +539,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "c2" + "name" : "c2", + "isAbsolute" : false } }, "id" : 110 @@ -580,572 +588,758 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "2.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "3.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "9.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "9.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "9.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "10.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "10.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "10.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "12.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "13.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "13.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "13.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "8.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "16.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "16.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "16.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "17.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "17.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "17.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "17.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "22.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "22.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "23.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "23.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "23.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "25.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "25.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.18", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "27.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.8", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "25.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "20.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "114" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "115" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "116" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "117" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "118" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "119" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "120" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "121" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "122" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "123" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "124" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "11.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "125" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1557,39 +1751,42 @@ "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "23.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } + }, + "directTemplateArgs" : { + }, "transitiveImportSet" : [ ], "instanceMap" : [ [ { - "InterfaceComponentInstance" : { - "astNodeId" : 24 - } + "InterfaceComponentInstance" : 24 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "22.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ], [ { - "InterfaceComponentInstance" : { - "astNodeId" : 28 - } + "InterfaceComponentInstance" : 28 }, { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "23.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } ] ], @@ -1613,6 +1810,8 @@ "connectionMap" : { }, + "unmatchedConnectionSet" : [ + ], "localConnectionMap" : { }, @@ -1627,9 +1826,7 @@ "unconnectedPortSet" : [ { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 24 - } + "InterfaceComponentInstance" : 24 }, "portInstance" : { "General" : { @@ -1671,9 +1868,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 24 - } + "InterfaceComponentInstance" : 24 }, "portInstance" : { "General" : { @@ -1715,9 +1910,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 24 - } + "InterfaceComponentInstance" : 24 }, "portInstance" : { "Special" : { @@ -1750,9 +1943,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 24 - } + "InterfaceComponentInstance" : 24 }, "portInstance" : { "Special" : { @@ -1785,9 +1976,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 28 - } + "InterfaceComponentInstance" : 28 }, "portInstance" : { "General" : { @@ -1829,9 +2018,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 28 - } + "InterfaceComponentInstance" : 28 }, "portInstance" : { "General" : { @@ -1873,9 +2060,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 28 - } + "InterfaceComponentInstance" : 28 }, "portInstance" : { "Special" : { @@ -1908,9 +2093,7 @@ }, { "interfaceInstance" : { - "InterfaceComponentInstance" : { - "astNodeId" : 28 - } + "InterfaceComponentInstance" : 28 }, "portInstance" : { "Special" : { @@ -2045,6 +2228,18 @@ "nodeId" : 28, "unqualifiedName" : "c2" } + }, + "114" : { + "Module" : { + "nodeId" : 4, + "unqualifiedName" : "Fw" + } + }, + "115" : { + "Module" : { + "nodeId" : 4, + "unqualifiedName" : "Fw" + } } }, "valueMap" : { @@ -2222,7 +2417,8 @@ "256" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "28.7", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -2235,7 +2431,8 @@ "512" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/telemetryPackets.fpp", "pos" : "32.5", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" } } } diff --git a/compiler/tools/fpp-to-json/test/templateSystem.fpp b/compiler/tools/fpp-to-json/test/templateSystem.fpp new file mode 100644 index 0000000000..8b142d6532 --- /dev/null +++ b/compiler/tools/fpp-to-json/test/templateSystem.fpp @@ -0,0 +1,93 @@ +@ A port for the interface +port P + +@ An interface with one output port and one input port +interface I { + output port pOut: P + sync input port pIn: P +} + +@ A component that implements interface I +passive component C { + import I +} + +instance c1: C base id 0x100 +instance c2: C base id 0x200 +instance c3: C base id 0x300 +instance c4: C base id 0x400 + +@ A topology that implements interface I by exporting the ports of c3. +@ It is used below as an interface template argument, which makes the +@ analysis output contain an InterfaceTemplateArg whose bound instance +@ is an InterfaceTopology. +topology SubTop implements I { + + instance c3 + + @ Export the output port of c3 as the output port of the topology + port pOut = c3.pOut + + @ Export the input port of c3 as the input port of the topology + port pIn = c3.pIn + +} + +@ A module template with one parameter of each kind +module template T( + constant n: U32, @< A constant parameter + type Ty, @< A type parameter + instance x: I @< An interface parameter +) { + + @ A constant that uses the constant parameter. + @ In the expanded AST this appears twice, once per expansion, with the + @ same source location but different expandingLoc values. + constant nPlusOne = n + 1 + + @ An array type that uses the type parameter + array A = [3] Ty + + @ A topology that uses the interface parameter. + @ The instance specifier for x becomes an InterfaceTemplateArg in the + @ instance map of this topology in the analysis output. + topology Top { + instance x + instance c4 + connections C { + x.pOut -> c4.pIn + } + } + +} + +@ An expansion of T that binds the interface parameter to a component +@ instance. The analysis output must show +@ InterfaceTemplateArg { paramDef { name x }, ii InterfaceComponentInstance } +@ in the instance map of MInstArg.Top. +module MInstArg { + expand T(constant 10, type U32, instance c1) +} + +@ An expansion of T that binds the interface parameter to a topology. +@ The analysis output must show +@ InterfaceTemplateArg { paramDef { name x }, ii InterfaceTopology } +@ in the instance map of MTopArg.Top. The two InterfaceTemplateArg keys +@ differ only in the bound instance, so this also pins that the two +@ expansions produce two distinct instance map entries. +module MTopArg { + expand T(constant 20, type F32, instance SubTop) +} + +@ The deployment topology named by the system definition +deployment topology Dep { + instance c1 + instance c2 + connections C { + c1.pOut -> c2.pIn + } +} + +@ The system definition. There may be at most one per model, so the +@ systemMap in the analysis output must have exactly one entry. +system Sys: Dep diff --git a/compiler/tools/fpp-to-json/test/templateSystem.ref.txt b/compiler/tools/fpp-to-json/test/templateSystem.ref.txt new file mode 100644 index 0000000000..7a91470d91 --- /dev/null +++ b/compiler/tools/fpp-to-json/test/templateSystem.ref.txt @@ -0,0 +1,9056 @@ +{ + "fppVersion" : "[ fpp version ]", + "ast" : [ + { + "members" : [ + [ + [ + "A port for the interface" + ], + { + "DefPort" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "P", + "params" : [ + ], + "returnType" : "None" + }, + "id" : 0 + } + } + } + }, + [ + ] + ], + [ + [ + "An interface with one output port and one input port" + ], + { + "DefInterface" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "I", + "members" : [ + [ + [ + ], + { + "SpecPortInstance" : { + "node" : { + "AstNode" : { + "data" : { + "General" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "P", + "isAbsolute" : false + } + }, + "id" : 2 + } + } + }, + "priority" : "None", + "queueFull" : "None" + } + }, + "id" : 3 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecPortInstance" : { + "node" : { + "AstNode" : { + "data" : { + "General" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "P", + "isAbsolute" : false + } + }, + "id" : 11 + } + } + }, + "priority" : "None", + "queueFull" : "None" + } + }, + "id" : 12 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 13 + } + } + } + }, + [ + ] + ], + [ + [ + "A component that implements interface I" + ], + { + "DefComponent" : { + "node" : { + "AstNode" : { + "data" : { + "kind" : { + "Passive" : { + + } + }, + "name" : "C", + "members" : [ + [ + [ + ], + { + "SpecImportInterface" : { + "node" : { + "AstNode" : { + "data" : { + "sym" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "I", + "isAbsolute" : false + } + }, + "id" : 21 + } + } + }, + "id" : 22 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 23 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c1", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 25 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x100" + } + }, + "id" : 26 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 27 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c2", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 29 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x200" + } + }, + "id" : 30 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 31 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c3", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 33 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x300" + } + }, + "id" : 34 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 35 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c4", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 37 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x400" + } + }, + "id" : 38 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 39 + } + } + } + }, + [ + ] + ], + [ + [ + "A topology that implements interface I by exporting the ports of c3.", + "It is used below as an interface template argument, which makes the", + "analysis output contain an InterfaceTemplateArg whose bound instance", + "is an InterfaceTopology." + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : false, + "name" : "SubTop", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c3", + "isAbsolute" : false + } + }, + "id" : 43 + } + } + }, + "id" : 44 + } + } + } + }, + [ + ] + ], + [ + [ + "Export the output port of c3 as the output port of the topology" + ], + { + "SpecTopPort" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "pOut", + "underlyingPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c3", + "isAbsolute" : false + } + }, + "id" : 47 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 46 + } + } + }, + "id" : 48 + } + } + }, + "id" : 49 + } + } + } + }, + [ + ] + ], + [ + [ + "Export the input port of c3 as the input port of the topology" + ], + { + "SpecTopPort" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "pIn", + "underlyingPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c3", + "isAbsolute" : false + } + }, + "id" : 62 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 61 + } + } + }, + "id" : 63 + } + } + }, + "id" : 64 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "I", + "isAbsolute" : false + } + }, + "id" : 41 + } + } + ] + }, + "id" : 65 + } + } + } + }, + [ + ] + ], + [ + [ + "A module template with one parameter of each kind" + ], + { + "DefModuleTemplate" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "T", + "params" : [ + [ + [ + ], + { + "AstNode" : { + "data" : { + "Constant" : { + "name" : "n", + "typeName" : { + "AstNode" : { + "data" : { + "TypeNameInt" : { + "name" : { + "U32" : { + + } + } + } + }, + "id" : 66 + } + } + } + }, + "id" : 67 + } + }, + [ + "A constant parameter" + ] + ], + [ + [ + ], + { + "AstNode" : { + "data" : { + "Type" : { + "name" : "Ty" + } + }, + "id" : 68 + } + }, + [ + "A type parameter" + ] + ], + [ + [ + ], + { + "AstNode" : { + "data" : { + "Interface" : { + "name" : "x", + "interface" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "I", + "isAbsolute" : false + } + }, + "id" : 73 + } + } + } + }, + "id" : 74 + } + }, + [ + "An interface parameter" + ] + ] + ], + "members" : [ + [ + [ + "A constant that uses the constant parameter.", + "In the expanded AST this appears twice, once per expansion, with the", + "same source location but different expandingLoc values." + ], + { + "DefConstant" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "nPlusOne", + "value" : { + "AstNode" : { + "data" : { + "ExprBinop" : { + "e1" : { + "AstNode" : { + "data" : { + "ExprIdent" : { + "value" : "n", + "isAbsolute" : false + } + }, + "id" : 75 + } + }, + "op" : { + "Add" : { + + } + }, + "e2" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "1" + } + }, + "id" : 76 + } + } + } + }, + "id" : 77 + } + }, + "isDictionaryDef" : false + }, + "id" : 78 + } + } + } + }, + [ + ] + ], + [ + [ + "An array type that uses the type parameter" + ], + { + "DefArray" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "A", + "size" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "3" + } + }, + "id" : 79 + } + }, + "eltType" : { + "AstNode" : { + "data" : { + "TypeNameQualIdent" : { + "name" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "Ty", + "isAbsolute" : false + } + }, + "id" : 81 + } + } + } + }, + "id" : 82 + } + }, + "default" : "None", + "format" : "None", + "isDictionaryDef" : false + }, + "id" : 83 + } + } + } + }, + [ + ] + ], + [ + [ + "A topology that uses the interface parameter.", + "The instance specifier for x becomes an InterfaceTemplateArg in the", + "instance map of this topology in the analysis output." + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : false, + "name" : "Top", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 153 + } + } + }, + "id" : 154 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 156 + } + } + }, + "id" : 157 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecConnectionGraph" : { + "node" : { + "AstNode" : { + "data" : { + "Direct" : { + "name" : "C", + "connections" : [ + { + "isUnmatched" : false, + "fromPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 178 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 177 + } + } + }, + "id" : 179 + } + }, + "fromIndex" : "None", + "toPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 182 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 181 + } + } + }, + "id" : 183 + } + }, + "toIndex" : "None" + } + ] + } + }, + "id" : 184 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + ] + }, + "id" : 185 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 186 + } + } + } + }, + [ + ] + ], + [ + [ + "An expansion of T that binds the interface parameter to a component", + "instance. The analysis output must show", + "InterfaceTemplateArg { paramDef { name x }, ii InterfaceComponentInstance }", + "in the instance map of MInstArg.Top." + ], + { + "DefModule" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "MInstArg", + "members" : [ + [ + [ + ], + { + "SpecTemplateExpand" : { + "node" : { + "AstNode" : { + "data" : { + "template" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "T", + "isAbsolute" : false + } + }, + "id" : 208 + } + }, + "args" : [ + { + "AstNode" : { + "data" : { + "Constant" : { + "expr" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "10" + } + }, + "id" : 209 + } + } + } + }, + "id" : 210 + } + }, + { + "AstNode" : { + "data" : { + "Type" : { + "typeName" : { + "AstNode" : { + "data" : { + "TypeNameInt" : { + "name" : { + "U32" : { + + } + } + } + }, + "id" : 211 + } + } + } + }, + "id" : 212 + } + }, + { + "AstNode" : { + "data" : { + "Interface" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c1", + "isAbsolute" : false + } + }, + "id" : 214 + } + } + } + }, + "id" : 215 + } + } + ], + "members" : { + "Some" : [ + [ + [ + "A constant that uses the constant parameter.", + "In the expanded AST this appears twice, once per expansion, with the", + "same source location but different expandingLoc values." + ], + { + "DefConstant" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "nPlusOne", + "value" : { + "AstNode" : { + "data" : { + "ExprBinop" : { + "e1" : { + "AstNode" : { + "data" : { + "ExprIdent" : { + "value" : "n", + "isAbsolute" : false + } + }, + "id" : 286 + } + }, + "op" : { + "Add" : { + + } + }, + "e2" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "1" + } + }, + "id" : 287 + } + } + } + }, + "id" : 288 + } + }, + "isDictionaryDef" : false + }, + "id" : 289 + } + } + } + }, + [ + ] + ], + [ + [ + "An array type that uses the type parameter" + ], + { + "DefArray" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "A", + "size" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "3" + } + }, + "id" : 290 + } + }, + "eltType" : { + "AstNode" : { + "data" : { + "TypeNameQualIdent" : { + "name" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "Ty", + "isAbsolute" : false + } + }, + "id" : 291 + } + } + } + }, + "id" : 292 + } + }, + "default" : "None", + "format" : "None", + "isDictionaryDef" : false + }, + "id" : 293 + } + } + } + }, + [ + ] + ], + [ + [ + "A topology that uses the interface parameter.", + "The instance specifier for x becomes an InterfaceTemplateArg in the", + "instance map of this topology in the analysis output." + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : false, + "name" : "Top", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 294 + } + } + }, + "id" : 295 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 296 + } + } + }, + "id" : 297 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecConnectionGraph" : { + "node" : { + "AstNode" : { + "data" : { + "Direct" : { + "name" : "C", + "connections" : [ + { + "isUnmatched" : false, + "fromPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 298 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 299 + } + } + }, + "id" : 300 + } + }, + "fromIndex" : "None", + "toPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 301 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 302 + } + } + }, + "id" : 303 + } + }, + "toIndex" : "None" + } + ] + } + }, + "id" : 304 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + ] + }, + "id" : 305 + } + } + } + }, + [ + ] + ] + ] + } + }, + "id" : 216 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 217 + } + } + } + }, + [ + ] + ], + [ + [ + "An expansion of T that binds the interface parameter to a topology.", + "The analysis output must show", + "InterfaceTemplateArg { paramDef { name x }, ii InterfaceTopology }", + "in the instance map of MTopArg.Top. The two InterfaceTemplateArg keys", + "differ only in the bound instance, so this also pins that the two", + "expansions produce two distinct instance map entries." + ], + { + "DefModule" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "MTopArg", + "members" : [ + [ + [ + ], + { + "SpecTemplateExpand" : { + "node" : { + "AstNode" : { + "data" : { + "template" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "T", + "isAbsolute" : false + } + }, + "id" : 239 + } + }, + "args" : [ + { + "AstNode" : { + "data" : { + "Constant" : { + "expr" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "20" + } + }, + "id" : 240 + } + } + } + }, + "id" : 241 + } + }, + { + "AstNode" : { + "data" : { + "Type" : { + "typeName" : { + "AstNode" : { + "data" : { + "TypeNameFloat" : { + "name" : { + "F32" : { + + } + } + } + }, + "id" : 242 + } + } + } + }, + "id" : 243 + } + }, + { + "AstNode" : { + "data" : { + "Interface" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "SubTop", + "isAbsolute" : false + } + }, + "id" : 245 + } + } + } + }, + "id" : 246 + } + } + ], + "members" : { + "Some" : [ + [ + [ + "A constant that uses the constant parameter.", + "In the expanded AST this appears twice, once per expansion, with the", + "same source location but different expandingLoc values." + ], + { + "DefConstant" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "nPlusOne", + "value" : { + "AstNode" : { + "data" : { + "ExprBinop" : { + "e1" : { + "AstNode" : { + "data" : { + "ExprIdent" : { + "value" : "n", + "isAbsolute" : false + } + }, + "id" : 306 + } + }, + "op" : { + "Add" : { + + } + }, + "e2" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "1" + } + }, + "id" : 307 + } + } + } + }, + "id" : 308 + } + }, + "isDictionaryDef" : false + }, + "id" : 309 + } + } + } + }, + [ + ] + ], + [ + [ + "An array type that uses the type parameter" + ], + { + "DefArray" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "A", + "size" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "3" + } + }, + "id" : 310 + } + }, + "eltType" : { + "AstNode" : { + "data" : { + "TypeNameQualIdent" : { + "name" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "Ty", + "isAbsolute" : false + } + }, + "id" : 311 + } + } + } + }, + "id" : 312 + } + }, + "default" : "None", + "format" : "None", + "isDictionaryDef" : false + }, + "id" : 313 + } + } + } + }, + [ + ] + ], + [ + [ + "A topology that uses the interface parameter.", + "The instance specifier for x becomes an InterfaceTemplateArg in the", + "instance map of this topology in the analysis output." + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : false, + "name" : "Top", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 314 + } + } + }, + "id" : 315 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 316 + } + } + }, + "id" : 317 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecConnectionGraph" : { + "node" : { + "AstNode" : { + "data" : { + "Direct" : { + "name" : "C", + "connections" : [ + { + "isUnmatched" : false, + "fromPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 318 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 319 + } + } + }, + "id" : 320 + } + }, + "fromIndex" : "None", + "toPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 321 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 322 + } + } + }, + "id" : 323 + } + }, + "toIndex" : "None" + } + ] + } + }, + "id" : 324 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + ] + }, + "id" : 325 + } + } + } + }, + [ + ] + ] + ] + } + }, + "id" : 247 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 248 + } + } + } + }, + [ + ] + ], + [ + [ + "The deployment topology named by the system definition" + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : true, + "name" : "Dep", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c1", + "isAbsolute" : false + } + }, + "id" : 250 + } + } + }, + "id" : 251 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c2", + "isAbsolute" : false + } + }, + "id" : 253 + } + } + }, + "id" : 254 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecConnectionGraph" : { + "node" : { + "AstNode" : { + "data" : { + "Direct" : { + "name" : "C", + "connections" : [ + { + "isUnmatched" : false, + "fromPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c1", + "isAbsolute" : false + } + }, + "id" : 275 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 274 + } + } + }, + "id" : 276 + } + }, + "fromIndex" : "None", + "toPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c2", + "isAbsolute" : false + } + }, + "id" : 279 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 278 + } + } + }, + "id" : 280 + } + }, + "toIndex" : "None" + } + ] + } + }, + "id" : 281 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + ] + }, + "id" : 282 + } + } + } + }, + [ + ] + ], + [ + [ + "The system definition. There may be at most one per model, so the", + "systemMap in the analysis output must have exactly one entry." + ], + { + "DefSystem" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "Sys", + "topology" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "Dep", + "isAbsolute" : false + } + }, + "id" : 284 + } + } + }, + "id" : 285 + } + } + } + }, + [ + ] + ] + ] + } + ] +} +{ + "fppVersion" : "[ fpp version ]", + "locationMap" : { + "0" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "2.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "1" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "6.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "2" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "6.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "3" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "6.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "4" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "5" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "6" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "7" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "8" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "9" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "10" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "11" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "12" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "13" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "14" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "15" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "16" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "17" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "18" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "19" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "20" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "21" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "22" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "23" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "11.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "24" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "25" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "26" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "27" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "28" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "29" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "30" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "31" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "32" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "33" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "34" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "35" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "36" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "37" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "38" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "39" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "40" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "24.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "41" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "24.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "42" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "43" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "44" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "45" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "46" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.18", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "47" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "48" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "49" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "50" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "51" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "52" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "53" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "54" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "55" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "56" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "57" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "58" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "59" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "60" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "61" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "62" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "63" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "64" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "65" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "24.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "66" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "38.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "67" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "68" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "39.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "69" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "70" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "71" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "72" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "73" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "74" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "75" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.23", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "76" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.27", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "77" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "78" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "79" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "80" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "81" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "82" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "83" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "84" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "85" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "86" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "87" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "88" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "89" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "90" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "91" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "92" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "93" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "94" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "95" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "96" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "97" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "98" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "99" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "100" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "101" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "102" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "103" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "104" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "105" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "106" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "107" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "108" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "109" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "110" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "111" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "112" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "113" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "114" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "115" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "116" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "117" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "118" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "119" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "120" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "121" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "122" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "123" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "124" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "125" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "126" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "127" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "128" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "129" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "130" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "131" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "132" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "133" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "134" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "135" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "136" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "137" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "138" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "139" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "140" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "141" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "142" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "143" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "144" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "145" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "146" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "147" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "148" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "149" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "150" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "151" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "152" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "153" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "154" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "155" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "156" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "157" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "158" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "159" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "160" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "161" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "162" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "163" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "164" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "165" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "166" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "167" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "168" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "169" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "170" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "171" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "172" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "173" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "174" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "175" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "176" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "177" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "178" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "179" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "180" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "181" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "182" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "183" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "184" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "185" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "186" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "37.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "187" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "188" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "189" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "190" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "191" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "192" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "193" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "194" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "195" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "196" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "197" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "198" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "199" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "200" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "201" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "202" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "203" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "204" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "205" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "206" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "207" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "208" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "209" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "210" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "211" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "212" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "213" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "214" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "215" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "216" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "217" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "68.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "218" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "219" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "220" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "221" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "222" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "223" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "224" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "225" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "226" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "227" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "228" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "229" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "230" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "231" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "232" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "233" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "234" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "235" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "236" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "237" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "238" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "239" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "240" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "241" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "242" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "243" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "244" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "245" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "246" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "247" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "248" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "78.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "249" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "250" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "251" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "252" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "253" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "254" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "255" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "256" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.8", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "257" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "258" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "259" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "260" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.19", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "261" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "262" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "263" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "86.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "264" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "265" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.8", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "266" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "267" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "268" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "269" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.19", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "270" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "271" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "272" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "86.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "273" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "274" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.8", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "275" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "276" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "277" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "278" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.19", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "279" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "280" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "281" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "86.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "282" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "83.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "283" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "93.13", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "284" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "93.13", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "285" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "93.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "286" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.23", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "287" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.27", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "288" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.25", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "289" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.3", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "290" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.14", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "291" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "292" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "293" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "294" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "295" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "296" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "297" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "298" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "299" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "300" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "301" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "302" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "303" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "304" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "305" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "306" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.23", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "307" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.27", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "308" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.25", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "309" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.3", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "310" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.14", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "311" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "312" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "313" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "314" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "315" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "316" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "317" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "318" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "319" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "320" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "321" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "322" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "323" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "324" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "325" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + } +} +{ + "fppVersion" : "[ fpp version ]", + "analysis" : { + "componentInstanceMap" : { + "27" : { + "aNode" : { + "astNodeId" : 27 + }, + "qualifiedName" : { + "qualifier" : [ + ], + "base" : "c1" + }, + "component" : { + "astNodeId" : 23 + }, + "baseId" : 256, + "maxId" : 255, + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecifierMap" : { + + } + }, + "31" : { + "aNode" : { + "astNodeId" : 31 + }, + "qualifiedName" : { + "qualifier" : [ + ], + "base" : "c2" + }, + "component" : { + "astNodeId" : 23 + }, + "baseId" : 512, + "maxId" : 511, + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecifierMap" : { + + } + }, + "35" : { + "aNode" : { + "astNodeId" : 35 + }, + "qualifiedName" : { + "qualifier" : [ + ], + "base" : "c3" + }, + "component" : { + "astNodeId" : 23 + }, + "baseId" : 768, + "maxId" : 767, + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecifierMap" : { + + } + }, + "39" : { + "aNode" : { + "astNodeId" : 39 + }, + "qualifiedName" : { + "qualifier" : [ + ], + "base" : "c4" + }, + "component" : { + "astNodeId" : 23 + }, + "baseId" : 1024, + "maxId" : 1023, + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecifierMap" : { + + } + } + }, + "componentMap" : { + "23" : { + "aNode" : { + "astNodeId" : 23 + }, + "portInterface" : { + "instanceType" : "component", + "portMap" : { + "pIn" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + }, + "pOut" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "specialPortMap" : { + + } + }, + "commandMap" : { + + }, + "defaultOpcode" : 0, + "tlmChannelMap" : { + + }, + "tlmChannelNameMap" : { + + }, + "defaultTlmChannelId" : 0, + "eventMap" : { + + }, + "defaultEventId" : 0, + "paramMap" : { + + }, + "specPortMatchingList" : [ + ], + "stateMachineInstanceMap" : { + + }, + "portMatchingList" : [ + ], + "defaultParamId" : 0, + "containerMap" : { + + }, + "defaultContainerId" : 0, + "recordMap" : { + + }, + "defaultRecordId" : 0 + } + }, + "frameworkDefinitions" : { + "constantMap" : { + + }, + "typeMap" : { + + } + }, + "includedFileSet" : [ + ], + "inputFileSet" : [ + "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp" + ], + "locationSpecifierMap" : [ + ], + "parentSymbolMap" : { + "289" : { + "Module" : { + "nodeId" : 217, + "unqualifiedName" : "MInstArg" + } + }, + "293" : { + "Module" : { + "nodeId" : 217, + "unqualifiedName" : "MInstArg" + } + }, + "305" : { + "Module" : { + "nodeId" : 217, + "unqualifiedName" : "MInstArg" + } + }, + "309" : { + "Module" : { + "nodeId" : 248, + "unqualifiedName" : "MTopArg" + } + }, + "313" : { + "Module" : { + "nodeId" : 248, + "unqualifiedName" : "MTopArg" + } + }, + "325" : { + "Module" : { + "nodeId" : 248, + "unqualifiedName" : "MTopArg" + } + } + }, + "symbolScopeMap" : { + "23" : { + "map" : { + + } + }, + "217" : { + "map" : { + "PortInterfaceInstance" : { + "map" : { + "Top" : { + "Topology" : { + "nodeId" : 305, + "unqualifiedName" : "Top" + } + } + } + }, + "Type" : { + "map" : { + "A" : { + "Array" : { + "nodeId" : 293, + "unqualifiedName" : "A" + } + } + } + }, + "Value" : { + "map" : { + "nPlusOne" : { + "Constant" : { + "nodeId" : 289, + "unqualifiedName" : "nPlusOne" + } + } + } + } + } + }, + "248" : { + "map" : { + "PortInterfaceInstance" : { + "map" : { + "Top" : { + "Topology" : { + "nodeId" : 325, + "unqualifiedName" : "Top" + } + } + } + }, + "Type" : { + "map" : { + "A" : { + "Array" : { + "nodeId" : 313, + "unqualifiedName" : "A" + } + } + } + }, + "Value" : { + "map" : { + "nPlusOne" : { + "Constant" : { + "nodeId" : 309, + "unqualifiedName" : "nPlusOne" + } + } + } + } + } + } + }, + "topologyMap" : { + "65" : { + "aNode" : { + "astNodeId" : 65 + }, + "qualifiedName" : { + "qualifier" : [ + ], + "base" : "SubTop" + }, + "directTopologies" : { + + }, + "directComponentInstances" : { + "35" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + }, + "directTemplateArgs" : { + + }, + "transitiveImportSet" : [ + ], + "instanceMap" : [ + [ + { + "InterfaceComponentInstance" : 35 + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + ] + ], + "ports" : [ + { + "astNodeId" : 49 + }, + { + "astNodeId" : 64 + } + ], + "portMap" : { + "pIn" : { + "aNode" : { + "astNodeId" : 64 + }, + "pii" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + }, + "pOut" : { + "aNode" : { + "astNodeId" : 49 + }, + "pii" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portInterface" : { + "instanceType" : "topology", + "portMap" : { + "pIn" : { + "Topology" : { + "aNode" : { + "astNodeId" : 64 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + }, + "pOut" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "specialPortMap" : { + + } + }, + "patternMap" : { + + }, + "connectionMap" : { + + }, + "unmatchedConnectionSet" : [ + ], + "localConnectionMap" : { + + }, + "outputConnectionMap" : [ + ], + "inputConnectionMap" : [ + ], + "fromPortNumberMap" : [ + ], + "toPortNumberMap" : [ + ], + "unconnectedPortSet" : [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + ] + }, + "282" : { + "aNode" : { + "astNodeId" : 282 + }, + "qualifiedName" : { + "qualifier" : [ + ], + "base" : "Dep" + }, + "directTopologies" : { + + }, + "directComponentInstances" : { + "27" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "31" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + }, + "directTemplateArgs" : { + + }, + "transitiveImportSet" : [ + ], + "instanceMap" : [ + [ + { + "InterfaceComponentInstance" : 27 + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + ], + [ + { + "InterfaceComponentInstance" : 31 + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + ] + ], + "ports" : [ + ], + "portMap" : { + + }, + "portInterface" : { + "instanceType" : "topology", + "portMap" : { + + }, + "specialPortMap" : { + + } + }, + "patternMap" : { + + }, + "connectionMap" : { + "C" : [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + }, + "unmatchedConnectionSet" : [ + ], + "localConnectionMap" : { + "C" : [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + }, + "outputConnectionMap" : [ + [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + ] + ], + "inputConnectionMap" : [ + [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + ] + ], + "fromPortNumberMap" : [ + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + }, + 0 + ] + ], + "toPortNumberMap" : [ + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + }, + 0 + ] + ], + "unconnectedPortSet" : [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 31 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + ] + }, + "305" : { + "aNode" : { + "astNodeId" : 305 + }, + "qualifiedName" : { + "qualifier" : [ + "MInstArg" + ], + "base" : "Top" + }, + "directTopologies" : { + + }, + "directComponentInstances" : { + "39" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + }, + "directTemplateArgs" : { + "214" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + }, + "transitiveImportSet" : [ + ], + "instanceMap" : [ + [ + { + "InterfaceTemplateArg" : { + "paramDef" : { + "name" : "x", + "interfaceNodeId" : 73 + }, + "ii" : { + "InterfaceComponentInstance" : 27 + } + } + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + ], + [ + { + "InterfaceComponentInstance" : 39 + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + ] + ], + "ports" : [ + ], + "portMap" : { + + }, + "portInterface" : { + "instanceType" : "topology", + "portMap" : { + + }, + "specialPortMap" : { + + } + }, + "patternMap" : { + + }, + "connectionMap" : { + "C" : [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + }, + "unmatchedConnectionSet" : [ + ], + "localConnectionMap" : { + "C" : [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + }, + "outputConnectionMap" : [ + [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + ] + ], + "inputConnectionMap" : [ + [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + ] + ], + "fromPortNumberMap" : [ + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + }, + 0 + ] + ], + "toPortNumberMap" : [ + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + }, + 0 + ] + ], + "unconnectedPortSet" : [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 27 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + ] + }, + "325" : { + "aNode" : { + "astNodeId" : 325 + }, + "qualifiedName" : { + "qualifier" : [ + "MTopArg" + ], + "base" : "Top" + }, + "directTopologies" : { + + }, + "directComponentInstances" : { + "39" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + }, + "directTemplateArgs" : { + "245" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + }, + "transitiveImportSet" : [ + { + "node" : { + "astNodeId" : 65 + } + } + ], + "instanceMap" : [ + [ + { + "InterfaceComponentInstance" : 35 + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + ], + [ + { + "InterfaceTemplateArg" : { + "paramDef" : { + "name" : "x", + "interfaceNodeId" : 73 + }, + "ii" : { + "InterfaceTopology" : 65 + } + } + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + ], + [ + { + "InterfaceComponentInstance" : 39 + }, + { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + } + ] + ], + "ports" : [ + ], + "portMap" : { + + }, + "portInterface" : { + "instanceType" : "topology", + "portMap" : { + + }, + "specialPortMap" : { + + } + }, + "patternMap" : { + + }, + "connectionMap" : { + "C" : [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : { + "Some" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceTopology" : 65 + }, + "portInstance" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + } + } + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + }, + "unmatchedConnectionSet" : [ + ], + "localConnectionMap" : { + "C" : [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : { + "Some" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceTopology" : 65 + }, + "portInstance" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + } + } + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + }, + "outputConnectionMap" : [ + [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : { + "Some" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceTopology" : 65 + }, + "portInstance" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + } + } + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + ] + ], + "inputConnectionMap" : [ + [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : { + "Some" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceTopology" : 65 + }, + "portInstance" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + } + } + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + } + ] + ] + ], + "fromPortNumberMap" : [ + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : { + "Some" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceTopology" : 65 + }, + "portInstance" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + } + } + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + }, + 0 + ] + ], + "toPortNumberMap" : [ + [ + { + "from" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : { + "Some" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceTopology" : 65 + }, + "portInstance" : { + "Topology" : { + "aNode" : { + "astNodeId" : 49 + }, + "underlyingPort" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + } + } + }, + "to" : { + "loc" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : { + "Some" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } + }, + "port" : { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + "portNumber" : "None", + "topologyPort" : "None" + }, + "isUnmatched" : false + }, + 0 + ] + ], + "unconnectedPortSet" : [ + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 35 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + }, + { + "interfaceInstance" : { + "InterfaceComponentInstance" : 39 + }, + "portInstance" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + 22 + ] + } + } + } + ] + } + }, + "typeMap" : { + "26" : { + "Int" : { + "Integer" : { + + } + } + }, + "30" : { + "Int" : { + "Integer" : { + + } + } + }, + "34" : { + "Int" : { + "Integer" : { + + } + } + }, + "38" : { + "Int" : { + "Integer" : { + + } + } + }, + "66" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "209" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "211" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "240" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "242" : { + "Primitive" : { + "Float" : { + "kind" : { + "F32" : { + + } + } + } + } + }, + "286" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "287" : { + "Int" : { + "Integer" : { + + } + } + }, + "288" : { + "Int" : { + "Integer" : { + + } + } + }, + "289" : { + "Int" : { + "Integer" : { + + } + } + }, + "290" : { + "Int" : { + "Integer" : { + + } + } + }, + "292" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "293" : { + "Array" : { + "node" : { + "astNodeId" : 293 + }, + "anonArray" : { + "size" : { + "Some" : 3 + }, + "eltType" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + } + }, + "default" : { + "Some" : { + "anonArray" : { + "elements" : [ + { + "PrimitiveInt" : { + "value" : 0, + "kind" : { + "U32" : { + + } + } + } + }, + { + "PrimitiveInt" : { + "value" : 0, + "kind" : { + "U32" : { + + } + } + } + }, + { + "PrimitiveInt" : { + "value" : 0, + "kind" : { + "U32" : { + + } + } + } + } + ], + "scalar" : "None" + }, + "t" : { + "node" : { + "astNodeId" : 293 + }, + "anonArray" : { + "size" : { + "Some" : 3 + }, + "eltType" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + } + }, + "default" : "None", + "format" : "None" + } + } + }, + "format" : "None" + } + }, + "306" : { + "Int" : { + "PrimitiveInt" : { + "kind" : { + "U32" : { + + } + } + } + } + }, + "307" : { + "Int" : { + "Integer" : { + + } + } + }, + "308" : { + "Int" : { + "Integer" : { + + } + } + }, + "309" : { + "Int" : { + "Integer" : { + + } + } + }, + "310" : { + "Int" : { + "Integer" : { + + } + } + }, + "312" : { + "Primitive" : { + "Float" : { + "kind" : { + "F32" : { + + } + } + } + } + }, + "313" : { + "Array" : { + "node" : { + "astNodeId" : 313 + }, + "anonArray" : { + "size" : { + "Some" : 3 + }, + "eltType" : { + "Primitive" : { + "Float" : { + "kind" : { + "F32" : { + + } + } + } + } + } + }, + "default" : { + "Some" : { + "anonArray" : { + "elements" : [ + { + "Float" : { + "value" : 0.0, + "kind" : { + "F32" : { + + } + } + } + }, + { + "Float" : { + "value" : 0.0, + "kind" : { + "F32" : { + + } + } + } + }, + { + "Float" : { + "value" : 0.0, + "kind" : { + "F32" : { + + } + } + } + } + ], + "scalar" : "None" + }, + "t" : { + "node" : { + "astNodeId" : 313 + }, + "anonArray" : { + "size" : { + "Some" : 3 + }, + "eltType" : { + "Primitive" : { + "Float" : { + "kind" : { + "F32" : { + + } + } + } + } + } + }, + "default" : "None", + "format" : "None" + } + } + }, + "format" : "None" + } + } + }, + "useDefMap" : { + "2" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + }, + "11" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + }, + "21" : { + "Interface" : { + "nodeId" : 13, + "unqualifiedName" : "I" + } + }, + "25" : { + "Component" : { + "nodeId" : 23, + "unqualifiedName" : "C" + } + }, + "29" : { + "Component" : { + "nodeId" : 23, + "unqualifiedName" : "C" + } + }, + "33" : { + "Component" : { + "nodeId" : 23, + "unqualifiedName" : "C" + } + }, + "37" : { + "Component" : { + "nodeId" : 23, + "unqualifiedName" : "C" + } + }, + "41" : { + "Interface" : { + "nodeId" : 13, + "unqualifiedName" : "I" + } + }, + "43" : { + "ComponentInstance" : { + "nodeId" : 35, + "unqualifiedName" : "c3" + } + }, + "47" : { + "ComponentInstance" : { + "nodeId" : 35, + "unqualifiedName" : "c3" + } + }, + "62" : { + "ComponentInstance" : { + "nodeId" : 35, + "unqualifiedName" : "c3" + } + }, + "73" : { + "Interface" : { + "nodeId" : 13, + "unqualifiedName" : "I" + } + }, + "208" : { + "Template" : { + "nodeId" : 186, + "unqualifiedName" : "T" + } + }, + "214" : { + "ComponentInstance" : { + "nodeId" : 27, + "unqualifiedName" : "c1" + } + }, + "239" : { + "Template" : { + "nodeId" : 186, + "unqualifiedName" : "T" + } + }, + "245" : { + "Topology" : { + "nodeId" : 65, + "unqualifiedName" : "SubTop" + } + }, + "250" : { + "ComponentInstance" : { + "nodeId" : 27, + "unqualifiedName" : "c1" + } + }, + "253" : { + "ComponentInstance" : { + "nodeId" : 31, + "unqualifiedName" : "c2" + } + }, + "275" : { + "ComponentInstance" : { + "nodeId" : 27, + "unqualifiedName" : "c1" + } + }, + "279" : { + "ComponentInstance" : { + "nodeId" : 31, + "unqualifiedName" : "c2" + } + }, + "284" : { + "Topology" : { + "nodeId" : 282, + "unqualifiedName" : "Dep" + } + }, + "286" : { + "TemplateConstantArg" : { + "nodeId" : 209, + "unqualifiedName" : "n" + } + }, + "291" : { + "TemplateTypeArg" : { + "nodeId" : 211, + "unqualifiedName" : "Ty" + } + }, + "292" : { + "TemplateTypeArg" : { + "nodeId" : 211, + "unqualifiedName" : "Ty" + } + }, + "294" : { + "TemplateInterfaceArg" : { + "nodeId" : 214, + "unqualifiedName" : "x" + } + }, + "296" : { + "ComponentInstance" : { + "nodeId" : 39, + "unqualifiedName" : "c4" + } + }, + "298" : { + "TemplateInterfaceArg" : { + "nodeId" : 214, + "unqualifiedName" : "x" + } + }, + "301" : { + "ComponentInstance" : { + "nodeId" : 39, + "unqualifiedName" : "c4" + } + }, + "306" : { + "TemplateConstantArg" : { + "nodeId" : 240, + "unqualifiedName" : "n" + } + }, + "311" : { + "TemplateTypeArg" : { + "nodeId" : 242, + "unqualifiedName" : "Ty" + } + }, + "312" : { + "TemplateTypeArg" : { + "nodeId" : 242, + "unqualifiedName" : "Ty" + } + }, + "314" : { + "TemplateInterfaceArg" : { + "nodeId" : 245, + "unqualifiedName" : "x" + } + }, + "316" : { + "ComponentInstance" : { + "nodeId" : 39, + "unqualifiedName" : "c4" + } + }, + "318" : { + "TemplateInterfaceArg" : { + "nodeId" : 245, + "unqualifiedName" : "x" + } + }, + "321" : { + "ComponentInstance" : { + "nodeId" : 39, + "unqualifiedName" : "c4" + } + } + }, + "valueMap" : { + "26" : { + "Integer" : { + "value" : 256 + } + }, + "30" : { + "Integer" : { + "value" : 512 + } + }, + "34" : { + "Integer" : { + "value" : 768 + } + }, + "38" : { + "Integer" : { + "value" : 1024 + } + }, + "209" : { + "PrimitiveInt" : { + "value" : 10, + "kind" : { + "U32" : { + + } + } + } + }, + "240" : { + "PrimitiveInt" : { + "value" : 20, + "kind" : { + "U32" : { + + } + } + } + }, + "286" : { + "PrimitiveInt" : { + "value" : 10, + "kind" : { + "U32" : { + + } + } + } + }, + "287" : { + "Integer" : { + "value" : 1 + } + }, + "288" : { + "Integer" : { + "value" : 11 + } + }, + "289" : { + "Integer" : { + "value" : 11 + } + }, + "290" : { + "Integer" : { + "value" : 3 + } + }, + "306" : { + "PrimitiveInt" : { + "value" : 20, + "kind" : { + "U32" : { + + } + } + } + }, + "307" : { + "Integer" : { + "value" : 1 + } + }, + "308" : { + "Integer" : { + "value" : 21 + } + }, + "309" : { + "Integer" : { + "value" : 21 + } + }, + "310" : { + "Integer" : { + "value" : 3 + } + } + }, + "stateMachineMap" : { + + }, + "dictionarySymbolSet" : [ + ], + "interfaceMap" : { + "13" : { + "aNode" : { + "astNodeId" : 13 + }, + "importMap" : { + + }, + "portInterface" : { + "instanceType" : "interface", + "portMap" : { + "pIn" : { + "General" : { + "aNode" : { + "astNodeId" : 12 + }, + "specifier" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 11 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "SyncInput", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + ] + } + }, + "pOut" : { + "General" : { + "aNode" : { + "astNodeId" : 3 + }, + "specifier" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "astNodeId" : 2 + } + }, + "priority" : "None", + "queueFull" : "None" + }, + "kind" : "Output", + "size" : 1, + "ty" : { + "DefPort" : { + "symbol" : { + "Port" : { + "nodeId" : 0, + "unqualifiedName" : "P" + } + } + } + }, + "importNodeIds" : [ + ] + } + } + }, + "specialPortMap" : { + + } + } + } + }, + "dictionaryMap" : { + "282" : { + "usedSymbolSet" : [ + ], + "commandEntryMap" : { + + }, + "tlmChannelEntryMap" : { + + }, + "eventEntryMap" : { + + }, + "paramEntryMap" : { + + }, + "recordEntryMap" : { + + }, + "containerEntryMap" : { + + }, + "tlmPacketSetMap" : { + + } + } + } + } +} diff --git a/compiler/tools/fpp-to-json/test/templateSystem_syntax_only.ref.txt b/compiler/tools/fpp-to-json/test/templateSystem_syntax_only.ref.txt new file mode 100644 index 0000000000..b4824454cb --- /dev/null +++ b/compiler/tools/fpp-to-json/test/templateSystem_syntax_only.ref.txt @@ -0,0 +1,3036 @@ +{ + "fppVersion" : "[ fpp version ]", + "ast" : [ + { + "members" : [ + [ + [ + "A port for the interface" + ], + { + "DefPort" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "P", + "params" : [ + ], + "returnType" : "None" + }, + "id" : 0 + } + } + } + }, + [ + ] + ], + [ + [ + "An interface with one output port and one input port" + ], + { + "DefInterface" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "I", + "members" : [ + [ + [ + ], + { + "SpecPortInstance" : { + "node" : { + "AstNode" : { + "data" : { + "General" : { + "kind" : { + "Output" : { + + } + }, + "name" : "pOut", + "size" : "None", + "port" : { + "Some" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "P", + "isAbsolute" : false + } + }, + "id" : 2 + } + } + }, + "priority" : "None", + "queueFull" : "None" + } + }, + "id" : 3 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecPortInstance" : { + "node" : { + "AstNode" : { + "data" : { + "General" : { + "kind" : { + "SyncInput" : { + + } + }, + "name" : "pIn", + "size" : "None", + "port" : { + "Some" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "P", + "isAbsolute" : false + } + }, + "id" : 11 + } + } + }, + "priority" : "None", + "queueFull" : "None" + } + }, + "id" : 12 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 13 + } + } + } + }, + [ + ] + ], + [ + [ + "A component that implements interface I" + ], + { + "DefComponent" : { + "node" : { + "AstNode" : { + "data" : { + "kind" : { + "Passive" : { + + } + }, + "name" : "C", + "members" : [ + [ + [ + ], + { + "SpecImportInterface" : { + "node" : { + "AstNode" : { + "data" : { + "sym" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "I", + "isAbsolute" : false + } + }, + "id" : 21 + } + } + }, + "id" : 22 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 23 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c1", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 25 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x100" + } + }, + "id" : 26 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 27 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c2", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 29 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x200" + } + }, + "id" : 30 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 31 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c3", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 33 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x300" + } + }, + "id" : 34 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 35 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "DefComponentInstance" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "c4", + "component" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "C", + "isAbsolute" : false + } + }, + "id" : 37 + } + }, + "baseId" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "0x400" + } + }, + "id" : 38 + } + }, + "implType" : "None", + "file" : "None", + "queueSize" : "None", + "stackSize" : "None", + "priority" : "None", + "cpu" : "None", + "initSpecs" : [ + ] + }, + "id" : 39 + } + } + } + }, + [ + ] + ], + [ + [ + "A topology that implements interface I by exporting the ports of c3.", + "It is used below as an interface template argument, which makes the", + "analysis output contain an InterfaceTemplateArg whose bound instance", + "is an InterfaceTopology." + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : false, + "name" : "SubTop", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c3", + "isAbsolute" : false + } + }, + "id" : 43 + } + } + }, + "id" : 44 + } + } + } + }, + [ + ] + ], + [ + [ + "Export the output port of c3 as the output port of the topology" + ], + { + "SpecTopPort" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "pOut", + "underlyingPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c3", + "isAbsolute" : false + } + }, + "id" : 47 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 46 + } + } + }, + "id" : 48 + } + } + }, + "id" : 49 + } + } + } + }, + [ + ] + ], + [ + [ + "Export the input port of c3 as the input port of the topology" + ], + { + "SpecTopPort" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "pIn", + "underlyingPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c3", + "isAbsolute" : false + } + }, + "id" : 62 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 61 + } + } + }, + "id" : 63 + } + } + }, + "id" : 64 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "I", + "isAbsolute" : false + } + }, + "id" : 41 + } + } + ] + }, + "id" : 65 + } + } + } + }, + [ + ] + ], + [ + [ + "A module template with one parameter of each kind" + ], + { + "DefModuleTemplate" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "T", + "params" : [ + [ + [ + ], + { + "AstNode" : { + "data" : { + "Constant" : { + "name" : "n", + "typeName" : { + "AstNode" : { + "data" : { + "TypeNameInt" : { + "name" : { + "U32" : { + + } + } + } + }, + "id" : 66 + } + } + } + }, + "id" : 67 + } + }, + [ + "A constant parameter" + ] + ], + [ + [ + ], + { + "AstNode" : { + "data" : { + "Type" : { + "name" : "Ty" + } + }, + "id" : 68 + } + }, + [ + "A type parameter" + ] + ], + [ + [ + ], + { + "AstNode" : { + "data" : { + "Interface" : { + "name" : "x", + "interface" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "I", + "isAbsolute" : false + } + }, + "id" : 73 + } + } + } + }, + "id" : 74 + } + }, + [ + "An interface parameter" + ] + ] + ], + "members" : [ + [ + [ + "A constant that uses the constant parameter.", + "In the expanded AST this appears twice, once per expansion, with the", + "same source location but different expandingLoc values." + ], + { + "DefConstant" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "nPlusOne", + "value" : { + "AstNode" : { + "data" : { + "ExprBinop" : { + "e1" : { + "AstNode" : { + "data" : { + "ExprIdent" : { + "value" : "n", + "isAbsolute" : false + } + }, + "id" : 75 + } + }, + "op" : { + "Add" : { + + } + }, + "e2" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "1" + } + }, + "id" : 76 + } + } + } + }, + "id" : 77 + } + }, + "isDictionaryDef" : false + }, + "id" : 78 + } + } + } + }, + [ + ] + ], + [ + [ + "An array type that uses the type parameter" + ], + { + "DefArray" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "A", + "size" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "3" + } + }, + "id" : 79 + } + }, + "eltType" : { + "AstNode" : { + "data" : { + "TypeNameQualIdent" : { + "name" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "Ty", + "isAbsolute" : false + } + }, + "id" : 81 + } + } + } + }, + "id" : 82 + } + }, + "default" : "None", + "format" : "None", + "isDictionaryDef" : false + }, + "id" : 83 + } + } + } + }, + [ + ] + ], + [ + [ + "A topology that uses the interface parameter.", + "The instance specifier for x becomes an InterfaceTemplateArg in the", + "instance map of this topology in the analysis output." + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : false, + "name" : "Top", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 153 + } + } + }, + "id" : 154 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 156 + } + } + }, + "id" : 157 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecConnectionGraph" : { + "node" : { + "AstNode" : { + "data" : { + "Direct" : { + "name" : "C", + "connections" : [ + { + "isUnmatched" : false, + "fromPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "x", + "isAbsolute" : false + } + }, + "id" : 178 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 177 + } + } + }, + "id" : 179 + } + }, + "fromIndex" : "None", + "toPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c4", + "isAbsolute" : false + } + }, + "id" : 182 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 181 + } + } + }, + "id" : 183 + } + }, + "toIndex" : "None" + } + ] + } + }, + "id" : 184 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + ] + }, + "id" : 185 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 186 + } + } + } + }, + [ + ] + ], + [ + [ + "An expansion of T that binds the interface parameter to a component", + "instance. The analysis output must show", + "InterfaceTemplateArg { paramDef { name x }, ii InterfaceComponentInstance }", + "in the instance map of MInstArg.Top." + ], + { + "DefModule" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "MInstArg", + "members" : [ + [ + [ + ], + { + "SpecTemplateExpand" : { + "node" : { + "AstNode" : { + "data" : { + "template" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "T", + "isAbsolute" : false + } + }, + "id" : 208 + } + }, + "args" : [ + { + "AstNode" : { + "data" : { + "Constant" : { + "expr" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "10" + } + }, + "id" : 209 + } + } + } + }, + "id" : 210 + } + }, + { + "AstNode" : { + "data" : { + "Type" : { + "typeName" : { + "AstNode" : { + "data" : { + "TypeNameInt" : { + "name" : { + "U32" : { + + } + } + } + }, + "id" : 211 + } + } + } + }, + "id" : 212 + } + }, + { + "AstNode" : { + "data" : { + "Interface" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c1", + "isAbsolute" : false + } + }, + "id" : 214 + } + } + } + }, + "id" : 215 + } + } + ], + "members" : "None" + }, + "id" : 216 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 217 + } + } + } + }, + [ + ] + ], + [ + [ + "An expansion of T that binds the interface parameter to a topology.", + "The analysis output must show", + "InterfaceTemplateArg { paramDef { name x }, ii InterfaceTopology }", + "in the instance map of MTopArg.Top. The two InterfaceTemplateArg keys", + "differ only in the bound instance, so this also pins that the two", + "expansions produce two distinct instance map entries." + ], + { + "DefModule" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "MTopArg", + "members" : [ + [ + [ + ], + { + "SpecTemplateExpand" : { + "node" : { + "AstNode" : { + "data" : { + "template" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "T", + "isAbsolute" : false + } + }, + "id" : 239 + } + }, + "args" : [ + { + "AstNode" : { + "data" : { + "Constant" : { + "expr" : { + "AstNode" : { + "data" : { + "ExprLiteralInt" : { + "value" : "20" + } + }, + "id" : 240 + } + } + } + }, + "id" : 241 + } + }, + { + "AstNode" : { + "data" : { + "Type" : { + "typeName" : { + "AstNode" : { + "data" : { + "TypeNameFloat" : { + "name" : { + "F32" : { + + } + } + } + }, + "id" : 242 + } + } + } + }, + "id" : 243 + } + }, + { + "AstNode" : { + "data" : { + "Interface" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "SubTop", + "isAbsolute" : false + } + }, + "id" : 245 + } + } + } + }, + "id" : 246 + } + } + ], + "members" : "None" + }, + "id" : 247 + } + } + } + }, + [ + ] + ] + ] + }, + "id" : 248 + } + } + } + }, + [ + ] + ], + [ + [ + "The deployment topology named by the system definition" + ], + { + "DefTopology" : { + "node" : { + "AstNode" : { + "data" : { + "isDeployment" : true, + "name" : "Dep", + "members" : [ + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c1", + "isAbsolute" : false + } + }, + "id" : 250 + } + } + }, + "id" : 251 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecInstance" : { + "node" : { + "AstNode" : { + "data" : { + "instance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c2", + "isAbsolute" : false + } + }, + "id" : 253 + } + } + }, + "id" : 254 + } + } + } + }, + [ + ] + ], + [ + [ + ], + { + "SpecConnectionGraph" : { + "node" : { + "AstNode" : { + "data" : { + "Direct" : { + "name" : "C", + "connections" : [ + { + "isUnmatched" : false, + "fromPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c1", + "isAbsolute" : false + } + }, + "id" : 275 + } + }, + "portName" : { + "AstNode" : { + "data" : "pOut", + "id" : 274 + } + } + }, + "id" : 276 + } + }, + "fromIndex" : "None", + "toPort" : { + "AstNode" : { + "data" : { + "interfaceInstance" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "c2", + "isAbsolute" : false + } + }, + "id" : 279 + } + }, + "portName" : { + "AstNode" : { + "data" : "pIn", + "id" : 278 + } + } + }, + "id" : 280 + } + }, + "toIndex" : "None" + } + ] + } + }, + "id" : 281 + } + } + } + }, + [ + ] + ] + ], + "implements" : [ + ] + }, + "id" : 282 + } + } + } + }, + [ + ] + ], + [ + [ + "The system definition. There may be at most one per model, so the", + "systemMap in the analysis output must have exactly one entry." + ], + { + "DefSystem" : { + "node" : { + "AstNode" : { + "data" : { + "name" : "Sys", + "topology" : { + "AstNode" : { + "data" : { + "Unqualified" : { + "name" : "Dep", + "isAbsolute" : false + } + }, + "id" : 284 + } + } + }, + "id" : 285 + } + } + } + }, + [ + ] + ] + ] + } + ] +} +{ + "fppVersion" : "[ fpp version ]", + "locationMap" : { + "0" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "2.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "1" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "6.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "2" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "6.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "3" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "6.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "4" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "5" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "6" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "7" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "8" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "9" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "10" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "11" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "12" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "7.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "13" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "5.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "14" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "15" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "16" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "17" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "18" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "19" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "20" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "21" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "22" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "12.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "23" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "11.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "24" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "25" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "26" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "27" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "15.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "28" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "29" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "30" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "31" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "16.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "32" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "33" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "34" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "35" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "17.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "36" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "37" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "38" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "39" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "18.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "40" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "24.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "41" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "24.28", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "42" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "43" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "44" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "26.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "45" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "46" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.18", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "47" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "48" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "49" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "29.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "50" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "51" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "52" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "53" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "54" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "55" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "56" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "57" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "58" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "59" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "60" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "61" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "62" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "63" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "64" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "32.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "65" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "24.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "66" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "38.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "67" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "38.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "68" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "39.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "69" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "70" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "71" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "72" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "73" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.15", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "74" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "40.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "75" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.23", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "76" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.27", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "77" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "78" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "46.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "79" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "80" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "81" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "82" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "83" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "49.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "84" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "85" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "86" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "87" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "88" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "89" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "90" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "91" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "92" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "93" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "94" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "95" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "96" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "97" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "98" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "99" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "100" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "101" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "102" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "103" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "104" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "105" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "106" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "107" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "108" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "109" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "110" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "111" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "112" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "113" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "114" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "115" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "116" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "117" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "118" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "119" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "120" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "121" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "122" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "123" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "124" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "125" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "126" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "127" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "128" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "129" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "130" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "131" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "132" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "133" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "134" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "135" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "136" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "137" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "138" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "139" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "140" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "141" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "142" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "143" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "144" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "145" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "146" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "147" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "148" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "149" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "150" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "151" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "152" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "153" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "154" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "55.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "155" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "156" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.14", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "157" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "56.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "158" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "159" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "160" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "161" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "162" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "163" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "164" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "165" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "166" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "167" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "168" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "169" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "170" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "171" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "172" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "173" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "174" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "175" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "176" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "177" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.9", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "178" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "179" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.7", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "180" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "181" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.20", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "182" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "183" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "58.17", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "184" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "57.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "185" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "54.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "186" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "37.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "187" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "188" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "189" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "190" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "191" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "192" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "193" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "194" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "195" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "196" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "197" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "198" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "199" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "200" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "201" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "202" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "203" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "204" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "205" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "206" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "207" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "208" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "209" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "210" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "211" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "212" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "213" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "214" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "215" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "216" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "69.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "217" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "68.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "218" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "219" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "220" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "221" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "222" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "223" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "224" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "225" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "226" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "227" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "228" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "229" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "230" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "231" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "232" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "233" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "234" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "235" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "236" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "237" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "238" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "239" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.10", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "240" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.21", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "241" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "242" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.30", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "243" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "244" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "245" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.44", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "246" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.35", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "247" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "79.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "248" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "78.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "249" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "250" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "251" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "84.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "252" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "253" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.12", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "254" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "85.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "255" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "256" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.8", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "257" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "258" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "259" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "260" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.19", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "261" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "262" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "263" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "86.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "264" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "265" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.8", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "266" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "267" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "268" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "269" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.19", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "270" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "271" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "272" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "86.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "273" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "274" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.8", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "275" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "276" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.5", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "277" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "278" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.19", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "279" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "280" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "87.16", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "281" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "86.3", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "282" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "83.1", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "283" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "93.13", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "284" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "93.13", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "285" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/templateSystem.fpp", + "pos" : "93.1", + "includingLoc" : "None", + "expandingLoc" : "None" + } + } +} diff --git a/compiler/tools/fpp-to-json/test/types.ref.txt b/compiler/tools/fpp-to-json/test/types.ref.txt index 78c35d41fb..43e978769e 100644 --- a/compiler/tools/fpp-to-json/test/types.ref.txt +++ b/compiler/tools/fpp-to-json/test/types.ref.txt @@ -107,7 +107,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "numElements" + "value" : "numElements", + "isAbsolute" : false } }, "id" : 6 @@ -222,7 +223,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "A" + "name" : "A", + "isAbsolute" : false } }, "id" : 17 @@ -467,7 +469,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "s" + "value" : "s", + "isAbsolute" : false } }, "id" : 52 @@ -556,7 +559,8 @@ "AstNode" : { "data" : { "ExprIdent" : { - "value" : "s" + "value" : "s", + "isAbsolute" : false } }, "id" : 62 @@ -618,7 +622,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "T" + "name" : "T", + "isAbsolute" : false } }, "id" : 67 @@ -667,7 +672,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "SignalType" + "name" : "SignalType", + "isAbsolute" : false } }, "id" : 71 @@ -702,7 +708,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "SignalSet" + "name" : "SignalSet", + "isAbsolute" : false } }, "id" : 75 @@ -737,7 +744,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "SignalPairSet" + "name" : "SignalPairSet", + "isAbsolute" : false } }, "id" : 87 @@ -891,7 +899,8 @@ "AstNode" : { "data" : { "Unqualified" : { - "name" : "SignalPair" + "name" : "SignalPair", + "isAbsolute" : false } }, "id" : 106 @@ -1125,622 +1134,788 @@ "0" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "1.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "1" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "1.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "2" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "2.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "3" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "2.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "4" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "4.35", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "5" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "4.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "6" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "7" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.37", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "8" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.25", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "9" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.50", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "10" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.55", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "11" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.60", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "12" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.48", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "13" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.73", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "14" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "5.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "15" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "6.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "16" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "6.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "17" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "6.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "18" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "6.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "19" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "6.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "20" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "21" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "22" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "23" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "24" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "25" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "26" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "27" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "28" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "9.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "29" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "30" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "31" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "32" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "11.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "33" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "34" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "35" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.6", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "36" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "13.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "37" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "9.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "38" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "16.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "39" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "16.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "40" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "16.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "41" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "16.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "42" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "16.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "43" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "16.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "44" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "45" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "46" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "47" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "48" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "49" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "50" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.23", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "51" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.20", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "52" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.40", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "53" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "17.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "54" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "55" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.13", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "56" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "57" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "58" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "59" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "60" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "61" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "62" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.41", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "63" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "18.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "64" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "20.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "65" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "21.14", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "66" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "21.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "67" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "21.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "68" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "21.17", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "69" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "21.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "70" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "25.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "71" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "25.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "72" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "25.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "73" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "25.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "74" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "26.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "75" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "26.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "76" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "26.12", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "77" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "26.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "78" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "79" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "80" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "81" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "82" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "83" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "84" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "85" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "86" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "87" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "88" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.16", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "89" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "27.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "90" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "24.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "91" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "31.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "92" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "31.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "93" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "31.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "94" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "95" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "96" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "97" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "98" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "99" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "100" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.10", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "101" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.21", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "102" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "32.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "103" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "30.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "104" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "35.24", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "105" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "35.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "106" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "35.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "107" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "35.27", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "108" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "35.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "109" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "37.31", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "110" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "37.34", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "111" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "37.45", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "112" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "37.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "113" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "40.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "114" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "41.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "115" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "42.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "116" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "43.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "117" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "43.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "118" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "43.3", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "119" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "39.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "120" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "46.26", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "121" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "46.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "122" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "47.15", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" }, "123" : { "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", "pos" : "47.1", - "includingLoc" : "None" + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "124" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "5.25", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "125" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "13.6", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "126" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "13.6", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "127" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "17.23", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "128" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "17.23", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "129" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "18.24", + "includingLoc" : "None", + "expandingLoc" : "None" + }, + "130" : { + "file" : "[ local path prefix ]/compiler/tools/fpp-to-json/test/types.fpp", + "pos" : "18.24", + "includingLoc" : "None", + "expandingLoc" : "None" } } } @@ -1987,7 +2162,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2104,7 +2280,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2170,7 +2347,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2214,7 +2392,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2258,7 +2437,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2283,7 +2463,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2331,7 +2512,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -2847,7 +3029,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -3035,7 +3218,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -3502,7 +3686,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -3746,7 +3931,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -4041,7 +4227,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -4291,7 +4478,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -4758,7 +4946,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -5599,7 +5788,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -5841,7 +6031,8 @@ } } } - ] + ], + "scalar" : "None" }, "t" : { "node" : { @@ -6335,7 +6526,8 @@ "value" : "3" } } - ] + ], + "scalar" : "None" } }, "15" : { @@ -6536,12 +6728,6 @@ }, "dictionarySymbolSet" : [ - { - "Struct" : { - "nodeId" : 90, - "unqualifiedName" : "SignalInfo" - } - }, { "AliasType" : { "nodeId" : 121, @@ -6554,6 +6740,12 @@ "unqualifiedName" : "numElements" } }, + { + "Struct" : { + "nodeId" : 90, + "unqualifiedName" : "SignalInfo" + } + }, { "Enum" : { "nodeId" : 119, diff --git a/compiler/tools/fpp-to-json/test/update-ref b/compiler/tools/fpp-to-json/test/update-ref index 58e479babc..447bcceb62 100755 --- a/compiler/tools/fpp-to-json/test/update-ref +++ b/compiler/tools/fpp-to-json/test/update-ref @@ -78,6 +78,8 @@ update "" simpleTopology update "" specialPorts update "" telemetry update "" telemetryPackets +update "" templateSystem +update "-s" templateSystem templateSystem_syntax_only update "" types update "-s" syntaxOnly update "fprime/defs.fpp" patternedConnections diff --git a/compiler/tools/fpp-to-layout/test/template/M_TopLayout.ref/C.txt b/compiler/tools/fpp-to-layout/test/template/M_TopLayout.ref/C.txt new file mode 100644 index 0000000000..aea17761c5 --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/M_TopLayout.ref/C.txt @@ -0,0 +1,7 @@ +c1 +pOut +0 +c2 +pIn +0 + diff --git a/compiler/tools/fpp-to-layout/test/template/clean b/compiler/tools/fpp-to-layout/test/template/clean new file mode 100755 index 0000000000..5a2a7feb80 --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/clean @@ -0,0 +1,5 @@ +#!/bin/sh -e + +export COMPILER_ROOT=../../../.. + +sh ../scripts/clean.sh diff --git a/compiler/tools/fpp-to-layout/test/template/run b/compiler/tools/fpp-to-layout/test/template/run new file mode 100755 index 0000000000..bf6f79f51e --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/run @@ -0,0 +1,5 @@ +#!/bin/sh + +export COMPILER_ROOT=../../../.. + +sh ../scripts/run.sh diff --git a/compiler/tools/fpp-to-layout/test/template/run.sh b/compiler/tools/fpp-to-layout/test/template/run.sh new file mode 100644 index 0000000000..a82c900c47 --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/run.sh @@ -0,0 +1,17 @@ +# template.fpp puts a topology in the body of a module template. +# template_hand.fpp is the same model with the expansion written out by hand. +# The two must produce the same layout, so both are checked against the same +# reference output. +template() +{ + run_test "" template && \ + compare M_Top C && \ + compare_out template +} + +template_hand() +{ + run_test "" template_hand && \ + compare M_Top C && \ + compare_out template_hand +} diff --git a/compiler/tools/fpp-to-layout/test/template/template.fpp b/compiler/tools/fpp-to-layout/test/template/template.fpp new file mode 100644 index 0000000000..39bda81966 --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/template.fpp @@ -0,0 +1,35 @@ +module template T(constant baseId: U32) { + + port P + + passive component C1 { + + output port pOut: P + + } + + passive component C2 { + + sync input port pIn: P + + } + + instance c1: C1 base id baseId + instance c2: C2 base id baseId + 0x100 + + topology Top { + + instance c1 + instance c2 + + connections C { + c1.pOut -> c2.pIn + } + + } + +} + +module M { + expand T(constant 0x100) +} diff --git a/compiler/tools/fpp-to-layout/test/template/template.ref.txt b/compiler/tools/fpp-to-layout/test/template/template.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-layout/test/template/template_hand.fpp b/compiler/tools/fpp-to-layout/test/template/template_hand.fpp new file mode 100644 index 0000000000..7b3d2dd43a --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/template_hand.fpp @@ -0,0 +1,31 @@ +module M { + + port P + + passive component C1 { + + output port pOut: P + + } + + passive component C2 { + + sync input port pIn: P + + } + + instance c1: C1 base id 0x100 + instance c2: C2 base id 0x100 + 0x100 + + topology Top { + + instance c1 + instance c2 + + connections C { + c1.pOut -> c2.pIn + } + + } + +} diff --git a/compiler/tools/fpp-to-layout/test/template/template_hand.ref.txt b/compiler/tools/fpp-to-layout/test/template/template_hand.ref.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/compiler/tools/fpp-to-layout/test/template/tests.sh b/compiler/tools/fpp-to-layout/test/template/tests.sh new file mode 100644 index 0000000000..fcdaccb1fa --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/tests.sh @@ -0,0 +1,4 @@ +tests=" +template +template_hand +" diff --git a/compiler/tools/fpp-to-layout/test/template/update-ref b/compiler/tools/fpp-to-layout/test/template/update-ref new file mode 100755 index 0000000000..c905604d41 --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/update-ref @@ -0,0 +1,5 @@ +#!/bin/sh + +export COMPILER_ROOT=../../../.. + +sh ../scripts/update-ref.sh diff --git a/compiler/tools/fpp-to-layout/test/template/update-ref.sh b/compiler/tools/fpp-to-layout/test/template/update-ref.sh new file mode 100644 index 0000000000..9549c12ce0 --- /dev/null +++ b/compiler/tools/fpp-to-layout/test/template/update-ref.sh @@ -0,0 +1,12 @@ +# The reference layout is shared with template_hand, so update it here and not +# there. +template() +{ + update "" template + move_layout_files M_Top C +} + +template_hand() +{ + update "" template_hand +} diff --git a/compiler/tools/fpp/src/main/scala/ToolUtils.scala b/compiler/tools/fpp/src/main/scala/ToolUtils.scala index 63f05263b4..5e86a9a460 100644 --- a/compiler/tools/fpp/src/main/scala/ToolUtils.scala +++ b/compiler/tools/fpp/src/main/scala/ToolUtils.scala @@ -10,33 +10,6 @@ import fpp.compiler.util._ object ToolUtils { def parseFiles(files: List[File]) = - Result.map(files, Parser.parseFile (Parser.transUnit) (None) _) - - def resolveAsts(a: Analysis, tul: List[Ast.TransUnit]) = - for { - aTul <- ResolveSpecInclude.transUnitList(a, tul) - a <- Right(aTul._1) - tul <- Right(aTul._2) - tul <- AddStateEnums.transUnitList(tul) - } yield (a, tul) - - def parseFilesAndResolveAsts(a: Analysis, files: List[File]): - Result.Result[(Analysis, List[Ast.TransUnit])] = - for { - tul <- parseFiles(files) - aTul <- resolveAsts(a, tul) - } yield aTul - - def parseFilesAndResolveAsts(a: Analysis, files1: List[File], files2: List[File]): - Result.Result[(Analysis, List[Ast.TransUnit], List[Ast.TransUnit])] = - for { - aTul <- ToolUtils.parseFilesAndResolveAsts(a, files1) - a <- Right(aTul._1) - files1 <- Right(aTul._2) - aTul <- ToolUtils.parseFilesAndResolveAsts(a, files2) - a <- Right(aTul._1) - files2 <- Right(aTul._2) - } - yield (a, files1, files2) + Result.map(files, Parser.parseFile (Parser.transUnit) (None)) } diff --git a/compiler/tools/fpp/src/main/scala/fpp-check.scala b/compiler/tools/fpp/src/main/scala/fpp-check.scala index e2237d39f8..05965b2479 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-check.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-check.scala @@ -21,8 +21,8 @@ object FPPCheck { } val a = Analysis(inputFileSet = options.files.toSet) for { - aTul <- ToolUtils.parseFilesAndResolveAsts(a, files) - a <- CheckSemantics.tuList(aTul._1, aTul._2) + tul <- ToolUtils.parseFiles(files) + (a, _) <- CheckSemantics.tuList(a, tul) _ <- options.unconnectedFile match { case Some(file) => writeUnconnectedPorts(a, file) case None => Right(()) diff --git a/compiler/tools/fpp/src/main/scala/fpp-depend.scala b/compiler/tools/fpp/src/main/scala/fpp-depend.scala index f908eeecc1..c6bae3e13e 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-depend.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-depend.scala @@ -45,9 +45,8 @@ object FPPDepend { } val a = Analysis(inputFileSet = options.files.toSet, dictionaryGeneration = true) for { - aTul <- ToolUtils.parseFilesAndResolveAsts(a, files) - a <- Right(aTul._1) - tul <- Right(aTul._2) + tul <- ToolUtils.parseFiles(files) + (a, tul) <- ResolveSpecInclude.transUnitList(a, tul) a <- ComputeDependencies.tuList(a, tul) _ <- options.directFile match { case Some(file) => writeIterable(a.directDependencyFileSet, file) @@ -70,9 +69,14 @@ object FPPDepend { } case None => Right(()) } + (a, expandedTul) <- { + if options.generatedAutocodeFile.isDefined || options.unitTestFile.isDefined + then expandSyntax(a, tul) + else Right((a, tul)) + } _ <- options.generatedAutocodeFile match { case Some(file) => - for (files <- ComputeGeneratedFiles.getAutocodeFiles(tul)) + for (files <- ComputeGeneratedFiles.getAutocodeFiles(a, expandedTul)) yield writeIterable(files, file) case None => Right(()) } @@ -80,7 +84,7 @@ object FPPDepend { case Some(file) => for { files <- ComputeGeneratedFiles.getTestFiles( - tul, + a, expandedTul, CppWriter.getTestHelperMode(options.autoTestHelpers) ) } @@ -98,6 +102,17 @@ object FPPDepend { } yield mapIterable(a.dependencyFileSet, System.out.println(_)) } + /** Expand syntax in the input translation units. + * Expand the syntax in the input together with the dependency + * files parsed during dependency analysis. Return the expanded input + * translation units. */ + def expandSyntax(a: Analysis, tul: List[Ast.TransUnit]): + Result.Result[(Analysis, List[Ast.TransUnit])] = + val depTul = a.dependencyTuMap.toList.sortBy(_._1.toString).map(_._2) + for ((a, tul1) <- ExpandSyntaxAndEnterSymbols.tuList(a, tul ++ depTul)) + // The expanded input translation units come first + yield (a, tul1.take(tul.length)) + def writeIterable[T]( its: Iterable[T], fileName: String, diff --git a/compiler/tools/fpp/src/main/scala/fpp-filenames.scala b/compiler/tools/fpp/src/main/scala/fpp-filenames.scala index a3964d7532..a10bd8e635 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-filenames.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-filenames.scala @@ -23,17 +23,18 @@ object FPPFilenames { case list => list } for { - tul <- ToolUtils.parseFilesAndResolveAsts(Analysis(), files).map(_._2) + tul <- ToolUtils.parseFiles(files) + (a, tul) <- expandSyntaxAndEnterSymbols(tul) files <- CppWriter.getMode(options.template, options.unitTest) match { - case CppWriter.Autocode => ComputeGeneratedFiles.getAutocodeFiles(tul) - case CppWriter.ImplTemplate => ComputeGeneratedFiles.getImplFiles(tul) + case CppWriter.Autocode => ComputeGeneratedFiles.getAutocodeFiles(a, tul) + case CppWriter.ImplTemplate => ComputeGeneratedFiles.getImplFiles(a, tul) case CppWriter.UnitTest => ComputeGeneratedFiles.getTestFiles( - tul, + a, tul, CppWriter.getTestHelperMode(options.autoTestHelpers) ) case CppWriter.UnitTestTemplate => ComputeGeneratedFiles.getTestImplFiles( - tul, + a, tul, CppWriter.getTestHelperMode(options.autoTestHelpers) ) } @@ -41,6 +42,15 @@ object FPPFilenames { yield files.sorted.map(System.out.println) } + def expandSyntaxAndEnterSymbols(tul: List[Ast.TransUnit]): + Result.Result[(Analysis, List[Ast.TransUnit])] = + for { + (a, tul) <- ResolveSpecInclude.transUnitList(Analysis(), tul) + (a, tul) <- AddStateEnums.transformList(a, tul, AddStateEnums.transUnit) + a <- EnterSymbols.visitList(Analysis(), tul, EnterSymbols.transUnit) + } + yield (a, tul) + def toolMain(args: Array[String]) = Tool(name).mainMethod(args, oparser, Options(), command) diff --git a/compiler/tools/fpp/src/main/scala/fpp-format.scala b/compiler/tools/fpp/src/main/scala/fpp-format.scala deleted file mode 100644 index 7d019f29b0..0000000000 --- a/compiler/tools/fpp/src/main/scala/fpp-format.scala +++ /dev/null @@ -1,72 +0,0 @@ -package fpp.compiler.tools - -import fpp.compiler.analysis._ -import fpp.compiler.ast._ -import fpp.compiler.codegen._ -import fpp.compiler.syntax._ -import fpp.compiler.transform._ -import fpp.compiler.util._ -import scopt.OParser - -object FPPFormat { - - case class Options( - include: Boolean = false, - files: List[File] = List() - ) - - def command(options: Options) = { - Error.setTool(Tool(name)) - val files = options.files.reverse match { - case Nil => List(File.StdIn) - case list => list - } - Result.seq( - ToolUtils.parseFiles(files), - List(resolveIncludes (options) _, writeFpp (options) _) - ) - } - - def toolMain(args: Array[String]) = - Tool(name).mainMethod(args, oparser, Options(), command) - - def resolveIncludes(options: Options)(tul: List[Ast.TransUnit]): - Result.Result[List[Ast.TransUnit]] = - { - options.include match { - case true => - ResolveSpecInclude.transUnitList(Analysis(), tul).map(_._2) - case false => Right(tul) - } - } - - def writeFpp(options: Options)(tul: List[Ast.TransUnit]): - Result.Result[List[Ast.TransUnit]] = - { - val lines = tul.map(FppWriter.transUnit).flatten - lines.map(Line.write(Line.stdout) _) - Right(tul) - } - - val builder = OParser.builder[Options] - - val name = "fpp-format" - - val oparser = { - import builder._ - OParser.sequence( - programName(name), - head(name, Version.v), - opt[Unit]('i', "include") - .action((_, c) => c.copy(include = true)) - .text("resolve include specifiers"), - help('h', "help").text("print this message and exit"), - arg[String]("file ...") - .unbounded() - .optional() - .action((f, c) => c.copy(files = File.fromString(f) :: c.files)) - .text("input files"), - ) - } - -} diff --git a/compiler/tools/fpp/src/main/scala/fpp-from-xml.scala b/compiler/tools/fpp/src/main/scala/fpp-from-xml.scala index af89844540..4d46122d81 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-from-xml.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-from-xml.scala @@ -15,7 +15,7 @@ object FPPFromXml { xmlFiles <- Result.map(options.files, parseXmlFile) lines <- XmlFppWriter.writeFileList(xmlFiles) } - yield lines.map(Line.write(Line.stdout) _) + yield lines.map(Line.write(Line.stdout)) } def parseXmlFile(file: File): Result.Result[XmlFppWriter.File] = { diff --git a/compiler/tools/fpp/src/main/scala/fpp-locate-defs.scala b/compiler/tools/fpp/src/main/scala/fpp-locate-defs.scala index 392858b2b5..42d826b35f 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-locate-defs.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-locate-defs.scala @@ -24,7 +24,8 @@ object FPPLocateDefs { case list => list } for { - tul <- ToolUtils.parseFilesAndResolveAsts(Analysis(), files).map(_._2) + tul <- ToolUtils.parseFiles(files) + (_, tul) <- ExpandSyntaxAndEnterSymbols.tuList(Analysis(), tul) } yield { val config = LocateDefsFppWriter.State(options.dir) diff --git a/compiler/tools/fpp/src/main/scala/fpp-locate-uses.scala b/compiler/tools/fpp/src/main/scala/fpp-locate-uses.scala index 20a3510c83..80ae27b853 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-locate-uses.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-locate-uses.scala @@ -26,22 +26,20 @@ object FPPLocateUses { } val a = Analysis(inputFileSet = options.files.toSet) for { - aTulTul <- ToolUtils.parseFilesAndResolveAsts(a, files, options.imports) - a <- Right(aTulTul._1) - tulFiles <- Right(aTulTul._2) - tulImports <- Right(aTulTul._3) - a <- CheckSemantics.tuList(a, tulFiles ++ tulImports) + tul <- ToolUtils.parseFiles(files ++ options.imports) + (a, tul) <- CheckSemantics.tuList(a, tul) + tulFiles = tul.take(files.length) a <- UsedSymbols.visitList(a, tulFiles, UsedSymbols.transUnit) } yield { - val list = a.usedSymbolSet.flatMap(writeUsedSymbol(a, options) _).toList + val list = a.usedSymbolSet.flatMap(writeUsedSymbol(a, options)).toList mapSeq(list, System.out.println(_)) } } def writeUsedSymbol(a: Analysis, options: Options)(s: Symbol): List[Line] = { val loc = Locations.get(s.getNodeId) - loc.file match { - case File.Path(path) => { + (loc.file, specLocKind(s)) match { + case (File.Path(path), Some(kind)) => { val name = a.getQualifiedName(s) val nameList = { s match { @@ -50,7 +48,7 @@ object FPPLocateUses { } } val nodeList = nameList.map(s => AstNode.create(s)) - val qualIdentNode = AstNode.create(Ast.QualIdent.fromNodeList(nodeList)) + val qualIdentNode = AstNode.create(Ast.QualIdent.fromNodeList(nodeList, false)) val baseDir = options.dir match { case Some(dir) => dir case None => "" @@ -58,23 +56,6 @@ object FPPLocateUses { val baseDirPath = java.nio.file.Paths.get(baseDir).toAbsolutePath val relativePath = baseDirPath.relativize(path) val fileNode = AstNode.create(relativePath.normalize.toString) - val kind = s match { - case _: Symbol.AbsType => Ast.SpecLoc.Type - case _: Symbol.AliasType => Ast.SpecLoc.Type - case _: Symbol.Array => Ast.SpecLoc.Type - case _: Symbol.Component => Ast.SpecLoc.Component - case _: Symbol.ComponentInstance => Ast.SpecLoc.Instance - case _: Symbol.Constant => Ast.SpecLoc.Constant - case _: Symbol.Enum => Ast.SpecLoc.Type - case _: Symbol.EnumConstant => Ast.SpecLoc.Type - case _: Symbol.Interface => Ast.SpecLoc.Interface - case _: Symbol.Module => throw InternalError("use should not be module symbol") - case _: Symbol.Port => Ast.SpecLoc.Port - case _: Symbol.StateMachine => Ast.SpecLoc.StateMachine - case _: Symbol.Struct => Ast.SpecLoc.Type - case _: Symbol.System => throw InternalError("use should not be system symbol") - case _: Symbol.Topology => Ast.SpecLoc.Instance - } val isDictionaryDef = s match { case Symbol.Array(aNode) => aNode._2.data.isDictionaryDef case Symbol.AliasType(aNode) => aNode._2.data.isDictionaryDef @@ -85,12 +66,37 @@ object FPPLocateUses { } val specLocNode = AstNode.create(Ast.SpecLoc(kind, qualIdentNode, fileNode, isDictionaryDef)) val specLocAnnotatedNode = (Nil, specLocNode, Nil) - FppWriter.specLocAnnotatedNode((), specLocAnnotatedNode) + FppWriter().specLocAnnotatedNode((), specLocAnnotatedNode) } - case File.StdIn => Nil + case _ => Nil } } + /** Gets the kind of location specifier to write for a used symbol. + * Returns None if the use requires no location specifier. */ + def specLocKind(s: Symbol): Option[Ast.SpecLoc.Kind] = + s match { + case _: Symbol.AbsType => Some(Ast.SpecLoc.Type) + case _: Symbol.AliasType => Some(Ast.SpecLoc.Type) + case _: Symbol.Array => Some(Ast.SpecLoc.Type) + case _: Symbol.Component => Some(Ast.SpecLoc.Component) + case _: Symbol.ComponentInstance => Some(Ast.SpecLoc.Instance) + case _: Symbol.Constant => Some(Ast.SpecLoc.Constant) + case _: Symbol.Enum => Some(Ast.SpecLoc.Type) + case _: Symbol.EnumConstant => Some(Ast.SpecLoc.Type) + case _: Symbol.Interface => Some(Ast.SpecLoc.Interface) + case _: Symbol.Module => throw InternalError("use should not be module symbol") + case _: Symbol.Port => Some(Ast.SpecLoc.Port) + case _: Symbol.StateMachine => Some(Ast.SpecLoc.StateMachine) + case _: Symbol.Struct => Some(Ast.SpecLoc.Type) + case _: Symbol.System => throw InternalError("use should not be system symbol") + case _: Symbol.Topology => Some(Ast.SpecLoc.Instance) + case _: Symbol.Template => Some(Ast.SpecLoc.Template) + case _: Symbol.TemplateConstantArg => None + case _: Symbol.TemplateTypeArg => None + case _: Symbol.TemplateInterfaceArg => None + } + def toolMain(args: Array[String]) = Tool(name).mainMethod(args, oparser, Options(), command) diff --git a/compiler/tools/fpp/src/main/scala/fpp-syntax.scala b/compiler/tools/fpp/src/main/scala/fpp-syntax.scala index b808487c91..268a60d0a2 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-syntax.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-syntax.scala @@ -12,7 +12,7 @@ object FPPSyntax { case class Options( ast: Boolean = false, - include: Boolean = false, + expand: Boolean = false, files: List[File] = List() ) @@ -24,7 +24,10 @@ object FPPSyntax { } Result.seq( ToolUtils.parseFiles(files), - List(resolveIncludes (options) _, printAst (options) _) + List( + expandSyntax (options), + printAst (options) + ) ) } @@ -37,19 +40,19 @@ object FPPSyntax { options.ast match { case true => { val lines = tul.flatMap(AstWriter.transUnit) - lines.map(Line.write(Line.stdout) _) + lines.map(Line.write(Line.stdout)) } case false => () } Right(tul) } - def resolveIncludes(options: Options)(tul: List[Ast.TransUnit]): + def expandSyntax(options: Options)(tul: List[Ast.TransUnit]): Result.Result[List[Ast.TransUnit]] = { - options.include match { - case true => - ResolveSpecInclude.transUnitList(Analysis(), tul).map(_._2) + options.expand match { + case true => + ExpandSyntaxAndEnterSymbols.tuList(Analysis(), tul).map(_._2) case false => Right(tul) } } @@ -66,9 +69,9 @@ object FPPSyntax { opt[Unit]('a', "ast") .action((_, c) => c.copy(ast = true)) .text("print the abstract syntax tree (ast)"), - opt[Unit]('i', "include") - .action((_, c) => c.copy(include = true)) - .text("resolve include specifiers"), + opt[Unit]('e', "expand") + .action((_, c) => c.copy(expand = true)) + .text("expand syntax"), help('h', "help").text("print this message and exit"), arg[String]("file ...") .unbounded() diff --git a/compiler/tools/fpp/src/main/scala/fpp-to-cpp.scala b/compiler/tools/fpp/src/main/scala/fpp-to-cpp.scala index 38209edc6c..98ea65a772 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-to-cpp.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-to-cpp.scala @@ -31,11 +31,9 @@ object FPPToCpp { val a = Analysis(inputFileSet = options.files.toSet) val mode = CppWriter.getMode(options.template, options.unitTest) for { - aTulTul <- ToolUtils.parseFilesAndResolveAsts(a, files, options.imports) - a <- Right(aTulTul._1) - tulFiles <- Right(aTulTul._2) - tulImports <- Right(aTulTul._3) - a <- CheckSemantics.tuList(a, tulFiles ++ tulImports) + tul <- ToolUtils.parseFiles(files ++ options.imports) + (a, tul) <- CheckSemantics.tuList(a, tul) + tulFiles = tul.take(files.length) // Compute the generated file names. This step also checks for // name collisions. s <- mode match { diff --git a/compiler/tools/fpp/src/main/scala/fpp-to-dict.scala b/compiler/tools/fpp/src/main/scala/fpp-to-dict.scala index a31b548346..8a3a862a6d 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-to-dict.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-to-dict.scala @@ -34,11 +34,9 @@ object FPPToDict { dictionarySpecVersion=options.dictionarySpecVersion ) for { - aTulTul <- ToolUtils.parseFilesAndResolveAsts(a, files, options.imports) - a <- Right(aTulTul._1) - tulFiles <- Right(aTulTul._2) - tulImports <- Right(aTulTul._3) - a <- CheckSemantics.tuList(a, tulFiles ++ tulImports) + tul <- ToolUtils.parseFiles(files ++ options.imports) + (a, tul) <- CheckSemantics.tuList(a, tul) + tulFiles = tul.take(files.length) state <- { val dir = options.dir match { case Some(dir1) => dir1 diff --git a/compiler/tools/fpp/src/main/scala/fpp-to-fpp.scala b/compiler/tools/fpp/src/main/scala/fpp-to-fpp.scala new file mode 100644 index 0000000000..0c791ea223 --- /dev/null +++ b/compiler/tools/fpp/src/main/scala/fpp-to-fpp.scala @@ -0,0 +1,80 @@ +package fpp.compiler.tools + +import fpp.compiler.analysis._ +import fpp.compiler.ast._ +import fpp.compiler.codegen._ +import fpp.compiler.syntax._ +import fpp.compiler.transform._ +import fpp.compiler.util._ +import scopt.OParser + +object FPPToFPP { + + case class Options( + expand: Boolean = false, + files: List[File] = List(), + imports: List[File] = Nil, + ) + + def command(options: Options) = { + Error.setTool(Tool(name)) + val files = options.files.reverse match { + case Nil => List(File.StdIn) + case list => list + } + for { + tul <- ToolUtils.parseFiles(files ++ options.imports) + (a, tul) <- expandSyntax (options) (Analysis(), tul) + tulFiles = tul.take(files.length) + _ <- writeFpp (a, options) (tulFiles) + } + yield () + } + + def toolMain(args: Array[String]) = + Tool(name).mainMethod(args, oparser, Options(), command) + + def expandSyntax(options: Options)(a: Analysis, tul: List[Ast.TransUnit]): + Result.Result[(Analysis, List[Ast.TransUnit])] = + { + options.expand match { + case true => ExpandSyntaxAndEnterSymbols.tuList(a, tul) + case false => Right(a, tul) + } + } + + def writeFpp(a: Analysis, options: Options)(tul: List[Ast.TransUnit]): + Result.Result[List[Ast.TransUnit]] = + { + val fppWriter = FppWriter(a) + val lines = tul.flatMap(fppWriter.transUnit) + lines.map(Line.write(Line.stdout)) + Right(tul) + } + + val builder = OParser.builder[Options] + + val name = "fpp-to-fpp" + + val oparser = { + import builder._ + OParser.sequence( + programName(name), + head(name, Version.v), + opt[Unit]('e', "expand") + .action((_, c) => c.copy(expand = true)) + .text("expand syntax"), + help('h', "help").text("print this message and exit"), + opt[Seq[String]]('i', "imports") + .valueName(",...") + .action((i, c) => c.copy(imports = i.toList.map(File.fromString(_)))) + .text("files to import"), + arg[String]("file ...") + .unbounded() + .optional() + .action((f, c) => c.copy(files = File.fromString(f) :: c.files)) + .text("input files"), + ) + } + +} diff --git a/compiler/tools/fpp/src/main/scala/fpp-to-json.scala b/compiler/tools/fpp/src/main/scala/fpp-to-json.scala index bac285eada..9c6a21be2b 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-to-json.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-to-json.scala @@ -22,11 +22,14 @@ object FPPtoJson { case Nil => List(File.StdIn) case list => list } + val a = Analysis(inputFileSet = options.files.toSet) for { - tul <- ToolUtils.parseFilesAndResolveAsts(Analysis(), files).map(_._2) - _ <- writeAst (options) (tul) + tul <- ToolUtils.parseFiles(files) + (a, tul) <- ResolveSpecInclude.transUnitList(a, tul) + aTulOpt <- analyze (options) (a, tul) + _ <- writeAst (options) (aTulOpt.map(_._2).getOrElse(tul)) _ <- writeLocMap (options) - _ <- writeAnalysis (options) (tul) + _ <- writeAnalysis (options) (aTulOpt.map(_._1)) } yield () } @@ -59,20 +62,19 @@ object FPPtoJson { def writeLocMap (options: Options): Result.Result[Unit] = writeJson(options, "fpp-loc-map.json", LocMapJsonEncoder.locMapToJson) - def writeAnalysis (options: Options) (tul: List[Ast.TransUnit]): + /** Analyze the model, returning the analysis and the translation units with + * syntax expanded. Return None if only the syntax was requested. */ + def analyze (options: Options) (a: Analysis, tul: List[Ast.TransUnit]): + Result.Result[Option[(Analysis, List[Ast.TransUnit])]] = + if options.syntaxOnly then Right(None) + else CheckSemantics.tuList(a, tul).map(Some(_)) + + def writeAnalysis (options: Options) (aOpt: Option[Analysis]): Result.Result[Unit] = - options.syntaxOnly match { - case false => - val files = options.files.reverse match { - case Nil => List(File.StdIn) - case list => list - } - val a = Analysis(inputFileSet = options.files.toSet) - for { - a <- CheckSemantics.tuList(a, tul) - _ <- writeJson(options, "fpp-analysis.json", AnalysisJsonEncoder.analysisToJson(a)) - } yield () - case true => Right(()) + aOpt match { + case Some(a) => + writeJson(options, "fpp-analysis.json", AnalysisJsonEncoder.analysisToJson(a)) + case None => Right(()) } val builder = OParser.builder[Options] diff --git a/compiler/tools/fpp/src/main/scala/fpp-to-layout.scala b/compiler/tools/fpp/src/main/scala/fpp-to-layout.scala index e22ade51b4..3389bc46c7 100644 --- a/compiler/tools/fpp/src/main/scala/fpp-to-layout.scala +++ b/compiler/tools/fpp/src/main/scala/fpp-to-layout.scala @@ -17,18 +17,16 @@ object FPPToLayout { ) def command(options: Options) = { - fpp.compiler.util.Error.setTool(Tool(name)) - val files = options.files.reverse match { + Error.setTool(Tool(name)) + val files = options.files.reverse match { case Nil => List(File.StdIn) case list => list } val a = Analysis(inputFileSet = options.files.toSet) for { - aTulTul <- ToolUtils.parseFilesAndResolveAsts(a, files, options.imports) - a <- Right(aTulTul._1) - tulFiles <- Right(aTulTul._2) - tulImports <- Right(aTulTul._3) - a <- CheckSemantics.tuList(a, tulFiles ++ tulImports) + tul <- ToolUtils.parseFiles(files ++ options.imports) + (a, tul) <- CheckSemantics.tuList(a, tul) + tulFiles = tul.take(files.length) state <- { val dir = options.dir match { case Some(dir1) => dir1 diff --git a/compiler/tools/fpp/src/main/scala/fpp.scala b/compiler/tools/fpp/src/main/scala/fpp.scala index 77f8ef04d3..9f2148f727 100644 --- a/compiler/tools/fpp/src/main/scala/fpp.scala +++ b/compiler/tools/fpp/src/main/scala/fpp.scala @@ -14,13 +14,13 @@ object FPP { case "check" => FPPCheck.toolMain(options.args) case "depend" => FPPDepend.toolMain(options.args) case "filenames" => FPPFilenames.toolMain(options.args) - case "format" => FPPFormat.toolMain(options.args) case "from-xml" => FPPFromXml.toolMain(options.args) case "locate-defs" => FPPLocateDefs.toolMain(options.args) case "locate-uses" => FPPLocateUses.toolMain(options.args) case "syntax" => FPPSyntax.toolMain(options.args) case "to-cpp" => FPPToCpp.toolMain(options.args) case "to-dict" => FPPToDict.toolMain(options.args) + case "to-fpp" => FPPToFPP.toolMain(options.args) case "to-json" => FPPtoJson.toolMain(options.args) case "to-layout" => FPPToLayout.toolMain(options.args) } @@ -59,13 +59,13 @@ object FPP { check performs semantic checking of FPP models depend computes dependencies for FPP source files filenames writes out the names of C++ files generated from FPP source files -format parses FPP source files and writes out formatted source files from-xml parses older F Prime XML files and converts them to FPP files locate-defs parses FPP source files and reports the locations of symbol definitions locate-uses parses FPP source files and reports the locations of symbols used in the files syntax parses FPP source files into an abstract syntax tree (AST) and optionally writes out the AST to-cpp parses FPP models, performs semantic checking on them, and writes out C++ files to-dict writes JSON dictionaries corresponding to F Prime topologies +to-fpp parses FPP source files optionally expands source and writes out FPP source files to-json parses an FPP model, performs semantic checking on it, and writes out the model in JSON to-layout writes layout text files for connection graphs within F Prime topologies """), @@ -76,10 +76,10 @@ to-layout writes layout text files for connection graphs within F Prime topolo .action((f, c) => c.copy(command = f)) .validate(c => c match { - case "check" | "depend" | "filenames" | "format" | "from-xml" | - "locate-defs" | "locate-uses" | "syntax" | - "to-cpp" | "to-dict" | "to-json" | "to-layout" => - Right(None) + case "check" | "depend" | "filenames" | "from-xml" | + "locate-defs" | "locate-uses" | "syntax" | "to-cpp" | + "to-dict" | "to-fpp" | "to-json" | "to-layout" => + Right(()) case _ => Left(s"invalid fpp command '$c'") } ), diff --git a/docs/README.adoc b/docs/README.adoc index 54ff2a7732..b6e3a13dd7 100644 --- a/docs/README.adoc +++ b/docs/README.adoc @@ -11,3 +11,9 @@ system: Once you have these tools installed, you can run `redo` in this directory to regenerate the HTML files from the AsciiDoc source files. + +The `wiki` directory contains the sources for the +https://github.com/nasa/fpp/wiki[FPP wiki]. +To update the wiki, edit these files and submit a pull request. +When the changes are merged to `main`, a CI job copies them to the wiki. +To preview the wiki pages locally, run `redo` in the `wiki` directory. diff --git a/docs/code-prettify/run_prettify.js b/docs/code-prettify/run_prettify.js index 5cf0202be4..1c10fcd59c 100644 --- a/docs/code-prettify/run_prettify.js +++ b/docs/code-prettify/run_prettify.js @@ -436,6 +436,7 @@ var IN_GLOBAL_SCOPE = false; "event," + "every," + "exit," + + "expand," + "external," + "fatal," + "format," + @@ -498,6 +499,7 @@ var IN_GLOBAL_SCOPE = false; "sync," + "system," + "telemetry," + + "template," + "text," + "throttle," + "time," + diff --git a/docs/fpp-spec.html b/docs/fpp-spec.html index 5a8cc52b52..7f6fdc78aa 100644 --- a/docs/fpp-spec.html +++ b/docs/fpp-spec.html @@ -5,7 +5,7 @@ -The F Prime Prime (FPP) Language Specification, v3.3.0 +The F Prime Prime (FPP) Language Specification, Unreleased, after v3.4.0